< Back
Remove-AzureServiceADDomainExtension
Post
NAME Remove-AzureServiceADDomainExtension
SYNOPSIS
Removes the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot.
SYNTAX
Remove-AzureServiceADDomainExtension [[-ServiceName] <String>] [[-Slot] <String>] [[-Role] <String[]>] [-Profile <AzureSMProfile>] [-InformationAction
<ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
Remove-AzureServiceADDomainExtension [[-ServiceName] <String>] [[-Slot] <String>] [-UninstallConfiguration] [-Profile <AzureSMProfile>]
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureServiceADDomainExtension cmdlet removes the cloud service Active Directory (AD) domain extension applied on all roles or named roles at
a certain deployment slot.
PARAMETERS
-ServiceName <String>
Specifies the name of an Azure service.
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Slot <String>
Specifies the environment of the deployment to modify. Valid values are: Production or Staging.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Role <String[]>
Specifies an optional array of roles for which to specify the remote desktop configuration. If not specified, the AD domain configuration is applied
as the default configuration for all roles.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-UninstallConfiguration [<SwitchParameter>]
Indicates that this cmdlet uninstalls all AD domain configurations from the cloud service.
Required? true
Position? 2
Default value False
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
NOTES
-------------------------- Example 1: Remove an AD domain extension --------------------------
PS C:\\>Remove-AzureServiceADDomainExtension -ServiceName $Svc
This command removes the extension specified by the $Svc variable.
-------------------------- Example 2: Remove an AD Domain extension for a specified role --------------------------
PS C:\\>Remove-AzureServiceADDomainExtension -ServiceName $Svc -Role "WebRole1"
This command removes the service extension for the specified role.
RELATED LINKS
Get-AzureServiceADDomainExtension
SYNOPSIS
Removes the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot.
SYNTAX
Remove-AzureServiceADDomainExtension [[-ServiceName] <String>] [[-Slot] <String>] [[-Role] <String[]>] [-Profile <AzureSMProfile>] [-InformationAction
<ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
Remove-AzureServiceADDomainExtension [[-ServiceName] <String>] [[-Slot] <String>] [-UninstallConfiguration] [-Profile <AzureSMProfile>]
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureServiceADDomainExtension cmdlet removes the cloud service Active Directory (AD) domain extension applied on all roles or named roles at
a certain deployment slot.
PARAMETERS
-ServiceName <String>
Specifies the name of an Azure service.
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Slot <String>
Specifies the environment of the deployment to modify. Valid values are: Production or Staging.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Role <String[]>
Specifies an optional array of roles for which to specify the remote desktop configuration. If not specified, the AD domain configuration is applied
as the default configuration for all roles.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-UninstallConfiguration [<SwitchParameter>]
Indicates that this cmdlet uninstalls all AD domain configurations from the cloud service.
Required? true
Position? 2
Default value False
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
NOTES
-------------------------- Example 1: Remove an AD domain extension --------------------------
PS C:\\>Remove-AzureServiceADDomainExtension -ServiceName $Svc
This command removes the extension specified by the $Svc variable.
-------------------------- Example 2: Remove an AD Domain extension for a specified role --------------------------
PS C:\\>Remove-AzureServiceADDomainExtension -ServiceName $Svc -Role "WebRole1"
This command removes the service extension for the specified role.
RELATED LINKS
Get-AzureServiceADDomainExtension