Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # refer to
- # http://uranuxtech.blogspot.jp/2014/07/powershell-here-string.html
- # http://tech.guitarrapc.com/entry/2014/01/17/073338
- PS > $tmplist2 = @'
- >> .VirtualBox
- >> Contacts
- >> Desktop
- >> Documents
- >> Downloads
- >> Favorites
- >> Links
- >> Music
- >> Pictures
- >> Saved Games
- >> Searches
- >> Videos
- >> VirtualBox VMs
- >> '@
- >>
- PS > $tmplist2 -Split "`n" | % { $_ + " " + (Test-Path $_) }
- .VirtualBox True
- Contacts True
- Desktop True
- Documents True
- Downloads True
- Favorites True
- Links True
- Music True
- Pictures True
- Saved Games True
- Searches True
- Videos True
- VirtualBox VMs True
- PS > $tmplist2 -Split "`n" | % { $_ + " --> " + (Test-Path $_) }
- .VirtualBox --> True
- Contacts --> True
- Desktop --> True
- Documents --> True
- Downloads --> True
- Favorites --> True
- Links --> True
- Music --> True
- Pictures --> True
- Saved Games --> True
- Searches --> True
- Videos --> True
- VirtualBox VMs --> True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement