Skip to content

Application and Package source locations

Featured Replies

Hi

 

We current deploy 500+ applications and or Packages.

 

Unfortunately for security reasons the source location needs to be changed, in a hurry.

 

is there a method to do all these using a script or inbuilt function?

 

Thanks

Powershell use it.

here is some example of command you can use

 

Get-CMPackage | Select Name ,Manufacture ,Version,Description ,Language ,Path

 

Get-CMProgram | Select ProgramName ,PackageName |export-csv C:\install\pak.csv -Delimiter ";"

 

Update-SCCMDriverPkgSourcePath -sccmserver (Connect-SCCMServer) -currentPath "\\OLDSERVER\Source\DriverPackages" -newPath "\\NEWSERVER\Source\DriverPackages"

Update-SCCMPackageSourcePath -sccmserver (Connect-SCCMServer) -currentPath "\\OLDSERVER\Source\Packages" -newPath "\\NEWSERVER\Source\Packages"

 

kind regard

sg

http://www.learnmesccm.com/

https://www.linkedin...ahic/a0/842/b21

Update-SCCMDriverPkgSourcePath -sccmserver (Connect-SCCMServer) -currentPath "\\OLDSERVER\Source\DriverPackages" -newPath "\\NEWSERVER\Source\DriverPackages"

Update-SCCMPackageSourcePath -sccmserver (Connect-SCCMServer) -currentPath "\\OLDSERVER\Source\Packages" -newPath "\\NEWSERVER\Source\Packages"

 

Those are not standard PowerShell cmdlets... In that case you would need some additional code..

 

Another thing you could look at is this free tool by Coretech: http://blog.coretech.dk/kea/updated-version-of-the-package-source-changer/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.