11 lines
354 B
PowerShell
11 lines
354 B
PowerShell
function Trace-ClearActions {
|
|
<#
|
|
.SYNOPSIS
|
|
Clear all trace actions in the global state
|
|
#>
|
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '', Justification = 'Clearing global state')]
|
|
[CmdletBinding()]
|
|
param ()
|
|
|
|
$global:TraceActionList = New-Object -TypeName "System.Collections.ArrayList"
|
|
} |