< Back

Remove-vRAPropertyGroup

Sat Jan 18, 2020 10:04 pm

NAME Remove-vRAPropertyGroup



SYNOPSIS

Removes a Property Group from the specified tenant





SYNTAX

Remove-vRAPropertyGroup [-Id] <String> [[-Tenant] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Uses the REST API to delete a property Group based on the Id supplied. If the Tenant is supplied it will delete

the property group for that tenant only.





PARAMETERS

-Id <String>

The id of the property Group to delete



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Tenant <String>

The tenant of the property Group to delete



Required? false

Position? 2

Default value

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 the property group "Hostname"



Remove-vRAPropertyGroup -Id Hostname









-------------------------- EXAMPLE 2 --------------------------



PS C:\\># Remove the property group "Hostname" using the pipeline



Get-vRAPropertyGroup -Id Hostname | Remove-vRAPropertyGroup -Confirm:$false









-------------------------- EXAMPLE 3 --------------------------



PS C:\\># Remove the property group "Hostname" from the tenant "Development"



Remove-vRAPropertyGroup -Id "Hostname" -Tenant Development











RELATED LINKS