Edit

Share via


Set-AzOperationalInsightsIntelligencePack

Enables or disables the specified Intelligence Pack.

Note

Solutions is being deprecated, please use az monitor log-analytics solution and Get-AzMonitorLogAnalyticsSolution instead if this command.

Syntax

Default (Default)

Set-AzOperationalInsightsIntelligencePack
    [-ResourceGroupName] <String>
    [-WorkspaceName] <String>
    [-IntelligencePackName] <String>
    [-Enabled] <Boolean>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Set-AzOperationalInsightsIntelligencePack cmdlet enables the specified Intelligence Pack if Enabled is set to $True and disables it if Enabled is set to $False.

Examples

Example 1: Set Intelligence Packs

Set-AzOperationalInsightsIntelligencePack -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -IntelligencePackName "ContosoWorkspace" -Enabled $True

This command enables the specified Intelligence Pack.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Enabled

The Set-AzOperationalInsightsIntelligencePack cmdlet enables the specified Intelligence Pack if Enabled is set to $True and disables it if Enabled is set to $False.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-IntelligencePackName

Specifies the Intelligence Pack name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ResourceGroupName

Specifies the resource group name

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-WorkspaceName

Specifies the name of the workspace.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Name

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Boolean

Outputs

PSIntelligencePack