PowerTip: Use PowerShell to Copy Profiles to SkyDrive

Doctor Scripto

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

0 comments

Discussion is closed.

Feedback usabilla icon