forked from OCram85/PSCredentialStore
prettify the parameters
This commit is contained in:
parent
79a1a214c2
commit
56727afa3e
@ -73,11 +73,13 @@ function Connect-To {
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
[CmdletBinding(DefaultParameterSetName = 'Private')]
|
[CmdletBinding(DefaultParameterSetName = 'Private')]
|
||||||
|
|
||||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
|
||||||
'PSAvoidGlobalVars',
|
'PSAvoidGlobalVars',
|
||||||
'',
|
'',
|
||||||
Justification = 'Wrapping existing var from WinSCP module.'
|
Justification = 'Wrapping existing var from WinSCP module.'
|
||||||
)]
|
)]
|
||||||
|
|
||||||
param (
|
param (
|
||||||
[Parameter(Mandatory = $true, ParameterSetName = 'Shared')]
|
[Parameter(Mandatory = $true, ParameterSetName = 'Shared')]
|
||||||
[Parameter(Mandatory = $true, ParameterSetName = 'Private')]
|
[Parameter(Mandatory = $true, ParameterSetName = 'Private')]
|
||||||
|
Loading…
Reference in New Issue
Block a user