...
Use BU\\ in front of the name to create a group in the BU that the device is a member of.
Example
PowerShell
Code Block | ||
---|---|---|
| ||
if (CMS_AddComputerToStaticGroup -group 'BU\\static1') { $cs.Job_WriteLog("Added", "Computer added to static group: 'static1'") } |
...