Powershell scripts for Sharepoint 2010
Check if file or folder path is absolute or relative
$false
[System.IO.Path]::IsPathRooted("../Folder")
[System.IO.Path]::IsPathRooted("MyFile.xml")
$true
[System.IO.Path]::IsPathRooted("C:\MyFile.xml")
© 2012 All rights reserved.