external help file | Module Name | online version | schema |
---|---|---|---|
AppInsights.dll-Help.xml |
AppInsights |
2.0.0 |
PowerShell command used to track traces in application insights.
Send-AppInsightsTrace [-Message] <String> [[-Severity] <SeverityLevel>] [[-InstrumentationKey] <Guid>]
[[-Properties] <Hashtable>] [[-RoleName] <String>] [[-RoleInstance] <String>] [[-CaptureLevel] <Int32>]
[-CaptureCommand] [-DeveloperMode] [<CommonParameters>]
PowerShell command used to track traces in application insights.
Send-AppInsightsTrace -Message "Fruit selected" -Severity Critical -Properties @{ "Fruit" = "Apple" } -RoleName "My Custom Role"
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
The Message that is transmitted.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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 message severity. Values are Verbose, Information, Warning, Error, and Critical. Default is Information.
Type: SeverityLevel
Parameter Sets: (All)
Aliases:
Accepted values: Verbose, Information, Warning, Error, Critical
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.