Search found 1 match

by Vinny vinchenzo
Wed Sep 22, 2021 3:27 pm
Forum: PowerShell
Topic: Need to pass only NOT NULL Hash Table values
Replies: 3
Views: 3168

Need to pass only NOT NULL Hash Table values

Hi, I need to create a wrapper for a command line executable that accepts 3 optional parameters. To be able to read those parameters, I did add a Param keyword and that works fine: Param( [Parameter(Mandatory=$false)] [string] $SERVER_PROXY, [Parameter(Mandatory=$false)] [string] $SITE_TOKEN, [Param...