Private/Format-Debug.ps1
function Format-Debug { param( [Parameter(Mandatory = $true)] [System.Management.Automation.InvocationInfo] $Invocation, [Parameter(Mandatory = $true)] [string] $Message ) Write-Debug "[$($Invocation.MyCommand.ModuleName)/$($Invocation.InvocationName)] $Message" } |