external help file | Module Name | online version | schema |
---|---|---|---|
AppInsights.dll-Help.xml |
AppInsights |
2.0.0 |
PowerShell command used to track custom events in application insights.
Send-AppInsightsEvent [-Name] <String> [[-Timestamp] <DateTimeOffset>] [[-Metrics] <Hashtable>]
[[-InstrumentationKey] <Guid>] [[-Properties] <Hashtable>] [[-RoleName] <String>] [[-RoleInstance] <String>]
[[-CaptureLevel] <Int32>] [-CaptureCommand] [-DeveloperMode] [<CommonParameters>]
PowerShell command used to track custom events in application insights.
Send-AppInsightsEvent -EventName "Apple Orderd" -Properties @{ "Fruit" = "Apple"; "Type" = "Granny Smith" } -Metrics @{ "Weight" = 12 }
Disables the capturing for the PowerShell command context. For instance, if sensitive data would be captured.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Defines which level in the call stack is taken into account for the command context.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Application Insights Instrumentation Key.
Type: Guid
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional dictionary with custom metrics.
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Event that is transmitted.
Type: String
Parameter Sets: (All)
Aliases: EventName
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional dictionary with custom properties.
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Defines whether the process was successfully processed.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Defines whether the process was successfully processed.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The datetime when telemetry was recorded. Default is UTC.Now.
Type: DateTimeOffset
Parameter Sets: (All)
Aliases: StartTime
Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enables the application insights developer mode.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.