< Back

New-AzureRmOperationalInsightsWindowsPerformanceCounterDataSource

Thu Apr 04, 2019 5:40 am

NAME New-AzureRmOperationalInsightsWindowsPerformanceCounterDataSource



SYNOPSIS

Adds Windows performance counter data source for connected computers that run the Windows operating system.





SYNTAX

New-AzureRmOperationalInsightsWindowsPerformanceCounterDataSource [-ResourceGroupName] <String> [-WorkspaceName] <String> [-Name] <String>

[-ObjectName] <String> [-CounterName] <String> [-DefaultProfile <IAzureContextContainer>] [-Force] [-InstanceName <String>] [-IntervalSeconds

<Int32>] [-UseLegacyCollector] [-Confirm] [-WhatIf] [<CommonParameters>]



New-AzureRmOperationalInsightsWindowsPerformanceCounterDataSource [-Workspace] <PSWorkspace> [-Name] <String> [-ObjectName] <String>

[-CounterName] <String> [-DefaultProfile <IAzureContextContainer>] [-Force] [-InstanceName <String>] [-IntervalSeconds <Int32>]

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





DESCRIPTION

The New-AzureRmOperationalInsightsWindowsPerformanceCounterDataSource cmdlet adds a Windows performance counter data source for connected

computers that run the Windows operating system.





PARAMETERS

-CounterName <String>

Specifies the name of a counter.



Required? true

Position? 5

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-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



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-InstanceName <String>

Specifies an instance name.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-IntervalSeconds <Int32>

Specifies the interval of collection.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Specifies a name for the data source.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ObjectName <String>

Specifies the name of an object.



Required? true

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

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



-UseLegacyCollector [<SwitchParameter>]

Use legacy collector or the default collector.



Required? false

Position? named

Default value False

Accept pipeline input? False

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 ... datasource