PowerTip: Use PowerShell to Copy Profiles to SkyDrive

PowerTip: Use PowerShell to Copy Profiles to SkyDrive

  • Comments 1
  • Likes

Summary: Use Windows PowerShell to copy all profiles from a local computer to SkyDrive.

Hey, Scripting Guy! Question How can I use Windows PowerShell to copy all of the profiles from my local computer to SkyDrive?

Hey, Scripting Guy! Answer Use the Get-ChildItem cmdlet. This works only if you have SkyDrive set up and available to the local computer:

Get-ChildItem $pshome\*profile.ps1, $home\Documents\WindowsPowerShell\*.profile.ps1 |
Copy-Item -Path $home\SkyDrive

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Good Tip!!!