Wednesday, August 02, 2006

PowerShell + sourcesafe = :D

gci -i "*.aspx" -r | select-string "searchstring" | %{ $_.RelativePath($(get-item .).FullName) } | %{ ss checkout $_ -i- -gf }

{checks out items from current project dependant if they contain the pattern searchstring}

No comments: