Skip to content

Commit c9239a4

Browse files
committed
The 'Session' param must not be annotated mandatory
1 parent d2e29ac commit c9239a4

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

NetScaler/Public/Add-NSIPResource.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ function Add-NSIPResource {
7474
#>
7575
[cmdletbinding(SupportsShouldProcess = $true, ConfirmImpact='Low')]
7676
param(
77-
[parameter(Mandatory)]
7877
$Session = $script:session,
7978

8079
[parameter(Mandatory)]

NetScaler/Public/Restart-NetScaler.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ function Restart-NetScaler {
6767
#>
6868
[cmdletbinding(SupportsShouldProcess = $true, ConfirmImpact='High')]
6969
param(
70-
[parameter(Mandatory)]
7170
$Session = $script:session,
7271

7372
[switch]$SaveConfig,

NetScaler/Public/Set-NSHostname.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ function Set-NSHostname {
4646
#>
4747
[cmdletbinding(SupportsShouldProcess = $true, ConfirmImpact='high')]
4848
param(
49-
[parameter(Mandatory)]
5049
$Session = $script:session,
5150

5251
[parameter(Mandatory)]

0 commit comments

Comments
 (0)