Historic Blog. No longer active. A script repository that stopped at Powershell 4.0 is at www.rmfdevelopment.com/PowerShell_Scripts . My historic blog (no longer active) on Network Security ( http://thinking-about-network-security.blogspot.com ) is also Powershell heavy. AS of 2/27/2014 all Scripts are PS 4.0.
Nice. You can get the locations without parsing strings. Also, one of the profile doesn't exist notepad throws an error. $profile.psextended.psobject.properties | where {test-path $_.value} | foreach {notepad $_.value}
Shay:Thanks for this...I had some trouble with your syntax...but this worked:$profile.psextended.psobject.properties | Select Value
Post a Comment
2 comments:
Nice. You can get the locations without parsing strings. Also, one of the profile doesn't exist notepad throws an error.
$profile.psextended.psobject.properties | where {test-path $_.value} | foreach {notepad $_.value}
Shay:
Thanks for this...I had some trouble with your syntax...but this worked:
$profile.psextended.psobject.properties | Select Value
Post a Comment