Welcome to the Microsoft Script Center. We are dedicated to the system administrator scripters of the world. At the Microsoft Script Center, we focus on teaching people how to use Windows PowerShell to reduce time spent performing mundane tasks.
Â
What's new?
Check out the Hey, Scripting Guy! blog to catch all the latest news, events, and, of course, scripts!
PowerTip: Use PowerShell to Copy Files Summary: Learn how to use Windows PowerShell to copy files from one location to another.
How can I use Windows PowerShell to copy a file to a new location?
Use the Copy-Item cmdlet and specify the path to the original file and a destination for the copy. In this example, file 20110314.log in the C:\fso folder is copied to folder C:\fsox with the new name mylog.log.
Note The destination folder C:\fsox must exist.
Copy-Item -Path C:\fso\2011031...
More >
Friday, Apr 19