Monthly Archives: November 2008

Open a CSV

PowerShell has great functionality for working with csv files.  They make an excellent way of saving information generated by PowerShell – for instance Get-Process | Export-Csv data.csv -NoTypeInformation Having created a csv file how can we read it?  It is … Continue reading

Posted in Powershell | Leave a comment

Scripting and automation

Is there a difference between scripting and automation.  According to Dan  the answer is yes.   Scripting means you perform a task programmatically using a scripting language (PowerShell I hope).  Automation means that the script is automatically initiated as a … Continue reading

Posted in Scripting | 1 Comment

get-scripting podcast 5

Want to learn more about how PowerGUI came about and where its going – then listen to the latest get-scripting podcast at     Share this post :   Technorati Tags: PowerShell,podcast

Posted in Powershell | Leave a comment


I was working with an Exchange 2007 system today – using Get-StorageGroupCopyStatus.  One of the things I was interested in was the logs that had been generated, replicated and replayed.  Exchange 2007 uses 1 MB log files and the file … Continue reading

Posted in Powershell | Leave a comment

Testing AD existence

Another question from the webcast concerned testing for the existence of an OU if you know its distinguished name.  It turns out that the System.DirectoryServices.DirectoryEntry class has an Exits method that can be used for testing in this way. One … Continue reading

Posted in PowerShell and Active Directory | Leave a comment

PowerShell and DHCP

One of the questions on the AD webcast I’ve just finished was about administering DHCP with PowerShell.  As far as I am aware there isn’t an interface available through .NET, WMI or COM that enables us to administer DHCP servers … Continue reading

Posted in Powershell | Leave a comment


In my post on PowerShell Objects –!43CFA46A74CF3E96!1875.entry – I mentioned Tee-Object and gave an example.  Mats left me a message asking why Tee and asking did it mean temporary. I had always looked at it as a branching – … Continue reading

Posted in Powershell | Leave a comment