Browse by Tags

All Tags » Windows 7 » PowerShell V2 (RSS)

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 creates a zip file Technorati...
Posted by RichardSiddaway | with no comments
Filed under: ,

PowershellPack: copy-tozip

The PowerShell pack is part of the Windows 7 resource kit and is also available as a separate download.  The Filesystem module contains the following functions: Copy-ToZip Get-DuplicateFile Get-FreeDiskSpace Get-SHA1 Mount-SpecialFolder New-Zip Rename...
Posted by RichardSiddaway | with no comments
Filed under: ,

Module Help Files

The use of modules to supply PowerShell based functionality in Windows 7\Windows 2008 R2 makes accessing the help files a little bit problematic. We have to have the module loaded to access the file.  Sometimes I want to think through what I’m doing...

Scheduled Tasks

Keeping on the theme of Scheduled Tasks I wanted to dig into the tasks that exist on my system.  I did a fresh install of Windows 7 in August and haven’t created any scheduled tasks – so what I see should be close to the system defaults.  This...

Get-PSDrive

Get-PsDrive has been one of those cmdlets that you use without really noticing – when you want to see if a provider is loaded for instance. In the Windows 7 RC the display has had a makeover. PS> Get-PSDrive Name Used (GB) Free (GB) Provider Root CurrentLocation...

Computername parameter

This is something I’ve been meaning to share for a while. Many of the cmdlets in PowerShell v2 get an explicit remoting capability via the computername property. get-help * -Parameter computername | sort name Clear-EventLog Connect-WSMan Disconnect-WSMan...
More Posts « Previous page