web analytics

Posts Tagged 'Distribution Point Group'

How to invoke a Distribution Point Group refresh

Posted by:

To invoke a Distribution Point Group refresh

  1. Set up a connection to the SMS Provider.
  2. Get the specific Distribution Point Group instance by using the Distribution Point Group ID or Name.
  3. Refresh the Distribution Point Group using the RefreshDPGroup Method in Class
    SMS_DistributionPointGroup method.

Examples

How to remove a Distribution Point from a Distribution Point Group

Posted by:

To remove a Distribution Point from a Distribution Point Group

  1. Set up a connection to the SMS Provider.
  2. Query a Distribution Point Group from SMS_DistributionPointGroup WMI class
  3. Use the RemoveDistributionPoints method.
  4. Set the DPNALPath and RemoveTargetedPackages properties.
  5. Depending on the configuration, set the correct value

Examples

To use an example 4 and 5 you need know Distribution Point Group group ID code.

Continue Reading →

How to invoke a Package Redistribution

Posted by:

To invoke a Package Redistribution

  1. Set up a connection to the SMS Provider.
  2. Query a Distribution Point Group from SMS_DistributionPointGroup WMI class
  3. Use the ReDistributePackage method.
  4. Set the PackageID property.
  5. Depending on the configuration, set the correct value

Examples

How to add a Package to Distribution Point Group

Posted by:

To add a Package to a Distribution Point Group

  1. Set up a connection to the SMS Provider.
  2. Query a Distribution Point Group from SMS_DistributionPointGroup WMI class
  3. Use the AddPackages method.
  4. Set the PackageIDs property.
  5. Depending on the configuration, set the correct value

Examples

How to remove a Package from a Distribution Point Group

Posted by:

To remove a Package from a Distribution Point Group

  1. Set up a connection to the SMS Provider.
  2. Query a Distribution Point Group from SMS_DistributionPointGroup WMI class
  3. Use the RemovePackages method.
  4. Set the PackagesID property.
  5. Depending on the configuration, set the correct value

Examples

How to remove a Collection from a Distribution Point Group

Posted by:

To remove a Collection from a Distribution Point Group

  1. Set up a connection to the SMS Provider.
  2. Query a Distribution Point Group from SMS_DistributionPointGroup WMI class
  3. Use the DisassociateCollections method.
  4. Set the CollectionID property.
  5. Depending on the configuration, set the correct value

Examples

To use an example 4 and 5 you need to know Distribution Point Group group ID code

How to add a Collection to a Distribution Point Group

Posted by:

To add a Collection to a Distribution Point Group

  1. Set up a connection to the SMS Provider.
  2. Query a Distribution Point Group from SMS_DistributionPointGroup WMI class
  3. Use the AssociateCollections method.
  4. Set the CollectionID property.
  5. Depending on the configuration, set the correct value

Examples

To use an example 4 and 5 you need to know Distribution Point Group group ID code

How to add a Distribution Point to a Distribution Point Group

Posted by:

To add a Distribution Point to a Distribution Point Group

  1. Set up a connection to the SMS Provider.
  2. Query a Distribution Point Group from SMS_DistributionPointGroup WMI class
  3. Use the AddDistributionPoints method.
  4. Set the DPNALPath and AddTargetedPackages properties. By default AddTargetedPackages value is True
  5. Depending on the configuration, set the correct value

Examples

To use an example 4 and 5 you need know Distribution Point Group group ID code.

How to create a Distribution Point Group

Posted by:

To create a  Distribution Point Group

  1. Set up a connection to the SMS Provider.
  2. Create an instance of the SMS_DistributionPointGroup WMI class
  3. Set the Name property.
  4. Depending on the configuration, set the correct value

Examples