external help file | Module Name | online version | schema |
---|---|---|---|
DellOpenManage-help.xml |
DellOpenManage |
2.0.0 |
Edit Support Assist group in OpenManage Enterprise
Edit-OMESupportAssistGroup [-Group] <Group> [[-EditGroup] <String>] [[-Devices] <Device[]>] [[-Mode] <String>]
[<CommonParameters>]
{{ Fill in the Description }}
Get-OMEGroup "Test Group 01" | Edit-OMEGroup
Force group update. This is a workaround that will trigger baselines to update devices in the associated group.
$TestSupportAssistGroup = '{
"MyAccountId": "",
"Name": "Support Assist Group 2",
"Description": "Support Assist Group",
"DispatchOptIn": false,
"CustomerDetails": null,
"ContactOptIn": false
}'
"Support Assist Group 1" | Get-OMEGroup | Edit-OMESupportAssistGroup -EditGroup $TestSupportAssistGroup -Verbose
Edit Support Assist group from json stored in variable
Get-OMEGroup "Test Group 01" | Edit-OMESupportAssistGroup -EditGroup $(Get-Content "C:\Temp\Group.json" -Raw)
Edit Support Assist group from json stored in file
Get-OMEGroup "Test Group 01" | Edit-OMESupportAssistGroup -Devices $("PowerEdge R640" | Get-OMEDevice -FilterBy "Model")
Add devices to group
Get-OMEGroup "Test Group 01" | Edit-OMESupportAssistGroup -Mode "Remove" -Devices $("PowerEdge R640" | Get-OMEDevice -FilterBy "Model")
Remove devices from group
Object of type Group returned from Get-OMEGroup function
Type: Group
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
JSON string containing group payload
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Array of type Device returned from Get-OMEDevice function.
Type: Device[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Method by which devices are added or removed (Default="Append", "Remove")
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: Append
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.