Monthly Archives: July 2007

Searching for Groups

I do a lot of work with Active Directory.  One of the common tasks with AD is searching.  I saw a question about searching an OU for groups with "exec" in their name.  There are at least two approaches – … Continue reading

Posted in PowerShell and Active Directory | Leave a comment

Windows Live Writer

I have used Live Writer for a few posts and I quite like it.  The editor is better than editing the blog directly and it has a few features that are really useful. Managing categories is much simpler and the list … Continue reading

Posted in General | Leave a comment

PowerShell for deployment

Thanks to Marco for pointing this out.   Blog entry by Scott Hanselman http://www.hanselman.com/blog/PaperManagingLargeScaleSystemDeploymentAndConfigurationWithWindowsPowerShell.aspx   on using PowerShell to manage large scale software deployment and configuration.  As an example of what can be achieved through PowerShell this is superb

Posted in Powershell | Leave a comment

PowerShell Newsgroup

If you want to get your questions about PowerShell answered try the Microsoft PowerShell discussion group at   http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell    

Posted in Powershell | Leave a comment

Timezone Information

While looking at the information available on time via WMI I came across the Win32_TimeZone class PS> Get-WmiObject -Class Win32_TimeZone | Format-List Bias      : 0SettingID :Caption   : (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London Caption is the important … Continue reading

Posted in PowerShell and WMI | Leave a comment

PowerGUI

One thing I forgot to mention about the new version of PowerGUI is that you can save the scripts from the new editor to .ps1 files.  Very useful.  I am going to try and use PowerGUI as my PowerShell editor … Continue reading

Posted in Powershell | Leave a comment

PowerGUI 1.0.9

The latest version of PowerGUI – 1.0.9 – is available for download from http://www.powergui.org   One of the additions for this release is a new editor for script nodes.  It has some Intellisense built into it which is a big help when … Continue reading

Posted in Powershell | Leave a comment

Posting Order

Just realised I posted the articles about using WMI to get disk information in the wrong order.  Apart from the comment at the start of the last post (first one read?) they stand alone so shouldn’t be too confusing 

Posted in Powershell | Leave a comment

Logical Drives

This one shouldn’t be a surprise Get-WmiObject -Class Win32_LogicalDisk | Select DeviceId, Name, Description, VolumeName, DriveType, MediaType, FileSystem, Size, FreeSpace | Format-List Note this command will also show mapped drives Again if you want to see the list of properties available (Get-WmiObject -Class … Continue reading

Posted in PowerShell and WMI | Leave a comment

Physical Drives

Following on from mapped drives we want to look at physical drives next.  The PowerShell is very similar Get-WmiObject -Class Win32_DiskDrive | Select Caption, DeviceId, Manufacturer, VolumeName, MediaType, Model, Name, Partitions, Size, Status | Format-List Other properties available can be obtained via $d … Continue reading

Posted in PowerShell and WMI | Leave a comment