< Back
Remove-vRAGroupPrincipal
Post
NAME Remove-vRAGroupPrincipal
SYNOPSIS
Remove a vRA custom group
SYNTAX
Remove-vRAGroupPrincipal -Id <String[]> [-Tenant <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove a vRA custom group
PARAMETERS
-Id <String[]>
The principal id of the custom group
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Tenant <String>
The tenant of the group
Required? false
Position? named
Default value $Global:vRAConnection.Tenant
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
System.String.
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-vRAGroupPrincipal -PrincipalId Group@Tenant
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-vRAGroupPrincipal -Id Group@Tenant | Remove-vRAGroupPrincipal
RELATED LINKS
SYNOPSIS
Remove a vRA custom group
SYNTAX
Remove-vRAGroupPrincipal -Id <String[]> [-Tenant <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove a vRA custom group
PARAMETERS
-Id <String[]>
The principal id of the custom group
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Tenant <String>
The tenant of the group
Required? false
Position? named
Default value $Global:vRAConnection.Tenant
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
System.String.
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-vRAGroupPrincipal -PrincipalId Group@Tenant
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-vRAGroupPrincipal -Id Group@Tenant | Remove-vRAGroupPrincipal
RELATED LINKS