prettify parameters and stuff
This commit is contained in:
parent
2a51e76b07
commit
c125ad0acd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user