< Back

Enable-AzureRmOperationalInsightsIISLogCollection

Thu Apr 04, 2019 5:39 am

NAME Enable-AzureRmOperationalInsightsIISLogCollection



SYNOPSIS

Starts collection of IIS logs from computers in a workspace.





SYNTAX

Enable-AzureRmOperationalInsightsIISLogCollection [-ResourceGroupName] <String> [-WorkspaceName] <String> [-DefaultProfile

<IAzureContextContainer>] [-Confirm] [-WhatIf] [<CommonParameters>]



Enable-AzureRmOperationalInsightsIISLogCollection [-Workspace] <PSWorkspace> [-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The Enable-AzureRmOperationalInsightsIISLogCollection cmdlet starts collection of Internet Information Services (IIS) logs from connected

computers in a workspace.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of a resource group that contains computers.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Workspace <PSWorkspace>

Specifies a workspace in which this cmdlet operates.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-WorkspaceName <String>

Specifies the name of a workspace in which this cmdlet operates.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

PSWorkspace

Parameter 'Workspace' accepts value of type 'PSWorkspace' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.OperationalInsights.Models.PSDataSource







NOTES









1:















RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... collection

Disable-AzureRmOperationalInsightsIISLogCollection