< Back

Write-ToLogAnalytics

Fri Jan 10, 2020 7:54 pm

NAME Write-ToLogAnalytics



SYNTAX

Write-ToLogAnalytics [-PSObject] <psobject[]> [[-ALTableIdentifier] <string>] [[-ALWorkspaceID] <string>]

[[-WorkspacePrimaryKey] <string>] [-invocationStartTime] <datetime> [-invocationEndTime] <datetime>

[<CommonParameters>]





PARAMETERS

-ALTableIdentifier <string>

Name for Table to store Events in Azure Log Analytics



Required? false

Position? 1

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-ALWorkspaceID <string>



Required? false

Position? 2

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-PSObject <psobject[]>



Required? true

Position? 0

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-WorkspacePrimaryKey <string>



Required? false

Position? 3

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-invocationEndTime <datetime>



Required? true

Position? 5

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-invocationStartTime <datetime>



Required? true

Position? 4

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? 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

System.Management.Automation.PSObject[]

System.String

System.DateTime





OUTPUTS

System.Object



ALIASES

None





REMARKS

None