< Back

Remove-vRATenantDirectory

Sat Jan 18, 2020 10:05 pm

NAME Remove-vRATenantDirectory



SYNOPSIS

Remove a vRA Tenant Directory





SYNTAX

Remove-vRATenantDirectory [-Id] <String> [-Domain] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Remove a vRA Tenant Directory





PARAMETERS

-Id <String>

Tenant Id



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Domain <String>

Tenant Directory Domain



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

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-vRATenantDirectory -Id Tenant01 -Domain vrademo.local













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



PS C:\\>$Id = "Tenant01"



Get-vRATenantDirectory -Id $Id | Remove-vRATenantDirectory -Id $Id -Confirm:$false











RELATED LINKS