http://blogs.msdn.com/powershell/archive/2007/06/19/get-scriptdirectory.aspx
function Get-ScriptDirectory{$Invocation = (Get-Variable MyInvocation -Scope 1).ValueSplit-Path $Invocation.MyCommand.Path}
Tuesday, July 17, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment