web analytics

Posts Tagged 'Boundaries'

How to create boundaries using Excel file

Posted by:

To create boundaries using Excel file

  1. Create a new Excel Workbook (.XLSX)
  2. Add the necessary information
  3. Create an instance of the SMS_Boundary WMI class

Sample Input file

Examples

How to export Configuration Manager boundaries to Excel

Posted by:

To export Configuration Manager boundaries to Excel

  1. Create a new Excel Workbook using “Excel.Application” com object
  2. Query SMS_Boundary WMI Class

Example

How to remove a Boundary from a Boundary Group

Posted by:

To remove a Boundary from a Boundary Group

  1. Set up a connection to the SMS Provider.
  2. Query a Boundary Group from SMS_BoundaryGroup WMI class
  3. Use the RemoveBoundary method.
  4. Set the Boundary ID property.
  5. Depending on the configuration, set the correct value

Examples

How to add a Boundary to Boundary Group

Posted by:

To add a Boundary to Boundary Group

  1. Set up a connection to the SMS Provider.
  2. Query a Boundary Group from SMS_BoundaryGroup WMI class
  3. Use the AddBoundary method.
  4. Set the Boundary ID property.
  5. Depending on the configuration, set the correct value

Examples

How to create a IP Range Boundary

Posted by:

To create a IP Range Boundary

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

Examples

How to create a IPv6 Boundary

Posted by:

To create a IPv6 Boundary

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

Example

How to create an Active Directory Site Boundary

Posted by:

 To create an Active Directory Site Boundary

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

Examples

How to create a IP Subnet Boundary

Posted by:

To create a IP Subnet Boundary

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

Examples