Monthly Archives: February 2010

PowerShell in Practice – February update

The book is over half way through the author review process. This means that the editor has corrected my English and the technical reviewer has made his comments and I get to read all of this and revise as necessary. … Continue reading

Posted in Powershell | Leave a comment

User Group on Tuesday

Don’t forget the User group Live Meeting on Tuesday 2 March at 7.30 GMT. Details from http://msmvps.com/blogs/richardsiddaway/archive/2010/02/13/ug-meeting-2-march-2010.aspx Technorati Tags: PowerShell,User Group

Posted in PowerShell User Group | Leave a comment

Last Hotfix Install date

I was thinking about testing machines for when they were last patched and remembered that Get-Hotfix displays the Installed date for patches.  Unfortunately, it isn’t available for all patches so we can’t get a guaranteed last date of patching by … Continue reading

Posted in PowerShell V2 | Leave a comment

PowerShell pack: Mount-SpecialFolder

Special folders are things like Favourites, Desktop and StartMenu folders.  The Mount-SpecialFolder mounts one specified special folder or all special folders.  The folders involved can be found by using the .NET enumeration used to discover them. PS>  [Enum]::GetValues([Environment+SpecialFolder])DesktopProgramsPersonalPersonalFavoritesStartupRecentSendToStartMenuMyMusicDesktopDirectoryMyComputerTemplatesApplicationDataLocalApplicationDataInternetCacheCookiesHistoryCommonApplicationDataSystemProgramFilesMyPicturesCommonProgramFiles There are … Continue reading

Posted in PowerShell V2 | Leave a comment

PowerShell pack: Get-FreeDiskSpace

The Filesystem module has some interesting things for us.  The get-freediskspace function looked useful – so I tried it. It is safe so you can try this at home PS> Get-FreeDiskSpace Timestamp                 CounterSamples———                 ————–25/02/2010 22:13:44       \rslaptop01logicaldisk(harddiskvolume1)% free space :                          71.7171717171717 … Continue reading

Posted in Windows 7 | Leave a comment

Windows PowerShell Community Review

  Have you ever read Help that wasn’t really helpful? Here’s your chance to fix it. The Windows PowerShell documentation team and PowerShellCommunity.org jointly sponsor the Windows PowerShell Community Doc Review. As a member, you’ll get to read and comment … Continue reading

Posted in Powershell | Leave a comment

PowerShell pack: New-Zip

If all you want is an empty zip file for future use then import the filesystem module from the powershell pack and use New-Zip -Path test3.zip   In case you were wondering copy-tozip uses it in the background when it … Continue reading

Posted in PowerShell V2 | Leave a comment