Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use BU\\ in front of the name to create a group in the BU that the device is a member of.

Example

(blue star) PowerShell
Code Block
languagepowershell
if (CMS_AddComputerToStaticGroup -group 'BU\\static1') {
  $cs.Job_WriteLog("Added", "Computer added to static group: 'static1'")
} 

...