From 98b995a89d10da89d9d7da15b20c2c11340ef00f Mon Sep 17 00:00:00 2001 From: Alexis Spencer Date: Wed, 23 Nov 2022 16:13:28 +1100 Subject: [PATCH] for API as well --- Standard-CT-Module/CT-PS-Standard.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Standard-CT-Module/CT-PS-Standard.psm1 b/Standard-CT-Module/CT-PS-Standard.psm1 index 0414119..3c67466 100644 --- a/Standard-CT-Module/CT-PS-Standard.psm1 +++ b/Standard-CT-Module/CT-PS-Standard.psm1 @@ -139,7 +139,7 @@ Function Write-Transcript { Function Write-API-Log { [CmdletBinding()] Param( - [Parameter(ValueFromPipeline=$True, ValueFromPipelineByPropertyName=$True, Mandatory = $true)] + [Parameter(ValueFromPipeline=$True, ValueFromPipelineByPropertyName=$True)] $output, [Parameter(ValueFromPipeline=$True, ValueFromPipelineByPropertyName=$True)] [switch] $NoNewLine