Archives: September 2012
PowerShell Split-Path Bug And A Workaround
Split-Path is a cmdlet built into Windows PowerShell that returns a specific part of a path, e.g. a parent directory or a filename. Here's a simple example of how it works:
PS C:\Users\Kendal> $Path = Get-Location
PS C:\Users\Kendal> Split-Path $Path
C:\Users
But try it on a Path that doesn't exist… Read more
0 comments, 613 reads
Posted in Kendal Van Dyke on 5 September 2012



Subscribe to this blog