diff --git a/src/Connection/Disconnect-From.ps1 b/src/Connection/Disconnect-From.ps1 index b98a892..0550534 100644 --- a/src/Connection/Disconnect-From.ps1 +++ b/src/Connection/Disconnect-From.ps1 @@ -56,14 +56,16 @@ function Disconnect-From { #> [CmdletBinding()] + [Diagnostics.CodeAnalysis.SuppressMessageAttribute( 'PSAvoidGlobalVars', '', Justification = 'Wrapping existing global vars from external modules' )] + param ( [Parameter(Mandatory = $true)] - [string]$RemoteHost, + [string] $RemoteHost, [Parameter(Mandatory = $true)] [ValidateSet( @@ -77,10 +79,10 @@ function Disconnect-From { 'VMware', 'VMwareCisServer' )] - [string]$Type, + [string] $Type, [Parameter(Mandatory = $false)] - [switch]$Force + [switch] $Force ) begin {