Implement StorageGRID connection #79

Open
pinguinfuss wants to merge 23 commits from pinguinfuss/PSCredentialStore:ConnectTo-StorageGRID into master
Showing only changes of commit c125ad0acd - Show all commits

View File

@ -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 {