< Back
Enable-ChainsawTeams
Post
NAME Enable-ChainsawTeams
SYNOPSIS
This will allow you to enter values that are bound to the Microsoft Teams endpoint.
SYNTAX
Enable-ChainsawTeams [[-URI] <String>] [[-Levels] <String[]>] [[-MessageTitle] <String>] [-ScopeGlobal]
[[-JsonConfig] <String>] [<CommonParameters>]
DESCRIPTION
In order to send to Teams, you need to make sure you have the following parameters filled.
[string[]] $Levels
[string] $URI
[string] $MessageTitle
PARAMETERS
-URI <String>
[string] This will define the Webhook URL that we will send data to.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Levels <String[]>
[string[]] This will define the events that it will monitor for. Enter the following values that are
predefined.
"Emergency"
"Alert"
"Critical"
"Error"
"Warning"
"Notice"
"Information"
"Debug"
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MessageTitle <String>
[string] This will define the header message in Teams.
If you have several processes that use the same webhook you can use this to define the process name.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScopeGlobal [<SwitchParameter>]
[switch] ScopeGlobal defines where to look for the Chainsaw Configuration.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-JsonConfig <String>
[string] This if filled will tell it where to look for an exported config file to reimport.
Required? false
Position? 4
Default value
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-ChainsawTeams -URI "https://FakeUrl.com" -Levels @("Emergency", "Alert", "Critical", "Error",
"Warning", "Notice", "Information", "Debug") -MessageTitle 'Message From Chainsaw'
Enable-ChainsawTeams -JsonConfig '.\\chainsaw.json'
RELATED LINKS
SYNOPSIS
This will allow you to enter values that are bound to the Microsoft Teams endpoint.
SYNTAX
Enable-ChainsawTeams [[-URI] <String>] [[-Levels] <String[]>] [[-MessageTitle] <String>] [-ScopeGlobal]
[[-JsonConfig] <String>] [<CommonParameters>]
DESCRIPTION
In order to send to Teams, you need to make sure you have the following parameters filled.
[string[]] $Levels
[string] $URI
[string] $MessageTitle
PARAMETERS
-URI <String>
[string] This will define the Webhook URL that we will send data to.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Levels <String[]>
[string[]] This will define the events that it will monitor for. Enter the following values that are
predefined.
"Emergency"
"Alert"
"Critical"
"Error"
"Warning"
"Notice"
"Information"
"Debug"
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MessageTitle <String>
[string] This will define the header message in Teams.
If you have several processes that use the same webhook you can use this to define the process name.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScopeGlobal [<SwitchParameter>]
[switch] ScopeGlobal defines where to look for the Chainsaw Configuration.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-JsonConfig <String>
[string] This if filled will tell it where to look for an exported config file to reimport.
Required? false
Position? 4
Default value
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-ChainsawTeams -URI "https://FakeUrl.com" -Levels @("Emergency", "Alert", "Critical", "Error",
"Warning", "Notice", "Information", "Debug") -MessageTitle 'Message From Chainsaw'
Enable-ChainsawTeams -JsonConfig '.\\chainsaw.json'
RELATED LINKS