Public/Write-ConnectorVerbose.ps1
|
<# .SYNOPSIS Writes verbose log entry to screen and sends the log entry to the Fortytwo IAM Core Connector API .DESCRIPTION Writes verbose log entry to screen and sends the log entry to the Fortytwo IAM Core Connector API .PARAMETER Text The log message to send. .EXAMPLE Write-ConnectorVerbose -Text "Starting something" #> function Write-ConnectorVerbose { [CmdletBinding()] Param( [Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true)] [string] $Text ) Process { Write-Verbose $Text Send-ConnectorLog -Text $Text -Type Info } } |