< Back
Remove-vRAPropertyDefinition
Post
NAME Remove-vRAPropertyDefinition
SYNOPSIS
Removes a Property Definiton from the specified tenant
SYNTAX
Remove-vRAPropertyDefinition [-Id] <String> [[-Tenant] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Uses the REST API to delete a property definiton based on the Id supplied. If the Tenant is supplied it will
delete the property for that tenant only.
PARAMETERS
-Id <String>
The id of the property definition 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 definition 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 "Hostname"
Remove-vRAPropertyDefinition -Id Hostname
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Remove the property "Hostname" using the pipeline
Get-vRAPropertyDefinition -Id Hostname | Remove-vRAPropertyDefinition -Confirm:$false
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Remove the property "Hostname" from the tenant "Development"
Remove-vRAPropertyDefinition -Id "Hostname" -Tenant Development
RELATED LINKS
SYNOPSIS
Removes a Property Definiton from the specified tenant
SYNTAX
Remove-vRAPropertyDefinition [-Id] <String> [[-Tenant] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Uses the REST API to delete a property definiton based on the Id supplied. If the Tenant is supplied it will
delete the property for that tenant only.
PARAMETERS
-Id <String>
The id of the property definition 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 definition 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 "Hostname"
Remove-vRAPropertyDefinition -Id Hostname
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Remove the property "Hostname" using the pipeline
Get-vRAPropertyDefinition -Id Hostname | Remove-vRAPropertyDefinition -Confirm:$false
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Remove the property "Hostname" from the tenant "Development"
Remove-vRAPropertyDefinition -Id "Hostname" -Tenant Development
RELATED LINKS