< Back
Remove-AzureServiceAntimalwareExtension
Post
NAME Remove-AzureServiceAntimalwareExtension
SYNOPSIS
Removes the antimalware configuration from a cloud service.
SYNTAX
Remove-AzureServiceAntimalwareExtension [-ServiceName] <String> [[-Slot] <String>] [[-Role] <String[]>] [[-EndpointSuffix] <String>] [-Profile
<AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureServiceAntimalwareExtension cmdlet removes the antimalware configuration and any associated antimalware monitoring from the Microsoft
Antimalware extension associated with a cloud service.
PARAMETERS
-ServiceName <String>
Specifies the name of the cloud service.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Slot <String>
Specifies a deployment slot. Valid values are:
-- Production
-- Staging
The default value is Production.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Role <String[]>
Specifies an array of roles. The default value is all roles.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-EndpointSuffix <String>
Specifies the storage endpoint suffix.
Required? false
Position? 3
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
<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
This cmdlet removes only the configuration associated with the specified role. It does not uninstall or remove any already running instances of the
Microsoft Antimalware extension from roles. To return these roles to a start state that does not have Microsoft Antimalware running, first remove
the configuration by using this cmdlet, and then reimage or redeploy the service.
-------------------------- Example 1: Remove the extension --------------------------
PS C:\\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03"
This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03.
-------------------------- Example 2: Remove the extension for the Staging slot --------------------------
PS C:\\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Staging"
This command removes the antimalware extension and monitoring of associated antimalware events from all roles in the staging slot of the service named
ContosoService03.
-------------------------- Example 3: Remove the extension for a specified slot and role --------------------------
PS C:\\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Production" -Role "web role"
This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03 in the specified
slot and role.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=402841
Set-AzureServiceAntimalwareExtension
SYNOPSIS
Removes the antimalware configuration from a cloud service.
SYNTAX
Remove-AzureServiceAntimalwareExtension [-ServiceName] <String> [[-Slot] <String>] [[-Role] <String[]>] [[-EndpointSuffix] <String>] [-Profile
<AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureServiceAntimalwareExtension cmdlet removes the antimalware configuration and any associated antimalware monitoring from the Microsoft
Antimalware extension associated with a cloud service.
PARAMETERS
-ServiceName <String>
Specifies the name of the cloud service.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Slot <String>
Specifies a deployment slot. Valid values are:
-- Production
-- Staging
The default value is Production.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Role <String[]>
Specifies an array of roles. The default value is all roles.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-EndpointSuffix <String>
Specifies the storage endpoint suffix.
Required? false
Position? 3
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
<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
This cmdlet removes only the configuration associated with the specified role. It does not uninstall or remove any already running instances of the
Microsoft Antimalware extension from roles. To return these roles to a start state that does not have Microsoft Antimalware running, first remove
the configuration by using this cmdlet, and then reimage or redeploy the service.
-------------------------- Example 1: Remove the extension --------------------------
PS C:\\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03"
This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03.
-------------------------- Example 2: Remove the extension for the Staging slot --------------------------
PS C:\\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Staging"
This command removes the antimalware extension and monitoring of associated antimalware events from all roles in the staging slot of the service named
ContosoService03.
-------------------------- Example 3: Remove the extension for a specified slot and role --------------------------
PS C:\\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Production" -Role "web role"
This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03 in the specified
slot and role.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=402841
Set-AzureServiceAntimalwareExtension