external help file | Module Name | online version | schema |
---|---|---|---|
DellOpenManage-help.xml |
DellOpenManage |
2.0.0 |
Create an MCM group and add all possible members to the created group
New-OMESupportAssistGroup [[-AddGroup] <String>] [-GenerateJson] [-ExportExampleJson] [<CommonParameters>]
This script uses the OME REST API to create mcm group, find memebers and add the members to the group.
$TestSupportAssistGroup = '{
"MyAccountId": "",
"Name": "Support Assist Group 1",
"Description": "Support Assist Group",
"DispatchOptIn": false,
"CustomerDetails": null,
"ContactOptIn": false
}'
New-OMESupportAssistGroup -AddGroup $TestSupportAssistGroup
Create new Support Assist group from json stored in variable
New-OMESupportAssistGroup -AddGroup $(Get-Content "C:\Temp\Group.json" -Raw)
Create new Support Assist group from file
New-OMESupportAssistGroup -ExportExampleJson
Export example json
JSON string containing group payload. Use -GenerateJson or -ExportExampleJson for examples
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Prompt for values to necessary fields and generate JSON string
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Print example JSON string
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.