Tag Archives: PowerShell

PowerShell v2 Snippets

Here is a new, hopefully ever expanding library of PowerShell snippets. Set PowerShell Current Working Directory To set current working directory to current directory currently navigated to use [IO.Directory]::SetCurrentDirectory((Convert-Path (Get-Location -PSProvider FileSystem))) or [Environment]::CurrentDirectory=(Get-Location -PSProvider FileSystem).ProviderPath These snippets are from: … Continue reading

Posted in PowerShell, Snippets | Tagged | Leave a comment