Skip to content

Create Package Deployment - Powershell

Featured Replies

I am looking for a way to create new package deployments based on Collection name. I have the creation of the deployments down, but cannot figure how to gather and store the names of the collections to pass into the set-cmpackagedeployment cmdlet. My basic idea would be a for loop, so foreach object in the collection create package with package name and collection name.

  • Author

Thanks Peter, I ended up writing a script to create advertisements for each of the subCollections based on the parent. This will allow the advertisements to migrate.

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.