Advertisement
Lars-UT

Move PowerShell default profile to Dropbox directory

Jul 10th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <# Move #PowerShell default profile to Dropbox directory #> cmd /c move "%userprofile%\Documents\WindowsPowerShell" c:\Dropbox\WindowsPowerShell ;if($lastexitcode -eq 0){ cmd /c mklink /d "%userprofile%\Documents\WindowsPowerShell" c:\Dropbox\WindowsPowerShell }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement