Copy-PSModuleToFolder
Last updated
Was this helpful?
Was this helpful?
Copy-PSModuleToFolder -Name OSD -Destination 'C:\Modules'
Copies the latest installed OSD module to C:\Modules\OSD\<version>.Copy-PSModuleToFolder -Name OSD,PackageManagement -Destination 'C:\Modules' -RemoveOldVersions
Removes existing destination module content and copies fresh module versions.