< Back
Remove-ZabbixUserGroup
Post
NAME Remove-ZabbixUserGroup
SYNOPSIS
Remove/Delete user group
SYNTAX
Remove-ZabbixUserGroup [-UserGroupID] <Array> [[-UserGroupName] <Array>] [[-jsonrpc] <String>] [[-session]
<String>] [[-id] <String>] [[-URL] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove/Delete user group
PARAMETERS
-UserGroupID <Array>
UserGroupID
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-UserGroupName <Array>
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-jsonrpc <String>
Required? false
Position? 3
Default value ($global:zabSessionParams.jsonrpc)
Accept pipeline input? false
Accept wildcard characters? false
-session <String>
Required? false
Position? 4
Default value ($global:zabSessionParams.session)
Accept pipeline input? false
Accept wildcard characters? false
-id <String>
Required? false
Position? 5
Default value ($global:zabSessionParams.id)
Accept pipeline input? false
Accept wildcard characters? false
-URL <String>
Required? false
Position? 6
Default value ($global:zabSessionParams.url)
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ZabbixUserGroup | ? name -match "group" | Remove-ZabbixUserGroup -WhatIf
Whatif on delete multiple user groups
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ZabbixUserGroup | ? name -eq "UserGroup" | Remove-ZabbixUserGroup
Delete user group
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Remove-ZabbixUserGroup -UserGroupID (Get-ZabbixUserGroup | ? name -Match "UserGroup").usrgrpid -WhatIf
Delete multiple user groups
RELATED LINKS
SYNOPSIS
Remove/Delete user group
SYNTAX
Remove-ZabbixUserGroup [-UserGroupID] <Array> [[-UserGroupName] <Array>] [[-jsonrpc] <String>] [[-session]
<String>] [[-id] <String>] [[-URL] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove/Delete user group
PARAMETERS
-UserGroupID <Array>
UserGroupID
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-UserGroupName <Array>
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-jsonrpc <String>
Required? false
Position? 3
Default value ($global:zabSessionParams.jsonrpc)
Accept pipeline input? false
Accept wildcard characters? false
-session <String>
Required? false
Position? 4
Default value ($global:zabSessionParams.session)
Accept pipeline input? false
Accept wildcard characters? false
-id <String>
Required? false
Position? 5
Default value ($global:zabSessionParams.id)
Accept pipeline input? false
Accept wildcard characters? false
-URL <String>
Required? false
Position? 6
Default value ($global:zabSessionParams.url)
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ZabbixUserGroup | ? name -match "group" | Remove-ZabbixUserGroup -WhatIf
Whatif on delete multiple user groups
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ZabbixUserGroup | ? name -eq "UserGroup" | Remove-ZabbixUserGroup
Delete user group
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Remove-ZabbixUserGroup -UserGroupID (Get-ZabbixUserGroup | ? name -Match "UserGroup").usrgrpid -WhatIf
Delete multiple user groups
RELATED LINKS