Differences

This shows you the differences between the selected revisions of the page.

2016-10-12 2016-10-13
explicit value to switch parameter argument for compatibility with PowerShell 2 (martin) = $true not needed on PS3 (martin)
Line 38: Line 38:
param ( param (
    # Mandatory parameters     # Mandatory parameters
-    [Parameter(Mandatory = $True)]+    [Parameter(Mandatory = $True)] # The explicit $True value assignment is not needed since PowerShell 3.0
    $sessionUrl,     $sessionUrl,
    [Parameter(Mandatory = $True)]     [Parameter(Mandatory = $True)]

Last modified: by martin