Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureServiceAntimalwareConfig

Get-AzureServiceAntimalwareConfig

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Gets configuration details for the Microsoft Antimalware extension for a service.

Syntax

Get-AzureServiceAntimalwareConfig [-ServiceName] [-Slot] [<CommonParameters>]

Detailed Description

The Get-AzureServiceAntimalwareConfig cmdlet gets the antimalware configuration and monitoring configuration details associated with the Microsoft Antimalware extension for a cloud service.

Parameters

-ServiceName <String>

Specifies the name of the cloud service.

Aliases

None

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.

Aliases

None

Required?

false

Position

1

Default value

none

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Example 1: Get configuration for a service --------------------------

This command returns the antimalware configuration object for the specified service name. Because this command does not specify the Slot parameter, the command gets the configuration for the default slot, Production. For services that have monitoring enabled, the command also returns a monitoring configuration object.

PS C:\>Get-AzureServiceAntimalwareConfig -ServiceName "ContosoService03"

-------------------------- Example 2: Get configuration for a service for the Staging slot --------------------------

This command returns the antimalware configuration object for the specified service name. Because this command specifies a value of Staging for the Slot parameter, the command gets the configuration for the Staging slot. For services that have monitoring enabled, the command also returns a monitoring configuration object.

PS C:\>Get-AzureServiceAntimalwareConfig -ServiceName "ContosoService03" -Slot Staging

Online Version
Remove-AzureServiceAntimalwareExtension
Set-AzureServiceAntimalwareExtension