Update VMware.VMC.psm1
This commit is contained in:
@@ -25,7 +25,7 @@ Function Get-VMCCommand {
|
||||
|
||||
}
|
||||
Function Connect-VMCVIServer {
|
||||
<#
|
||||
<#
|
||||
.NOTES
|
||||
===========================================================================
|
||||
Created by: VMware
|
||||
@@ -43,7 +43,7 @@ Function Connect-VMCVIServer {
|
||||
Connect-VMCVIServer -Server <VMC vCenter address> -User <Username> -Password <Password>
|
||||
.NOTES
|
||||
Easiest way is to pipe through your credentials from Get-VMCSDDCDefaultCredential
|
||||
#>
|
||||
#>
|
||||
Param (
|
||||
[Parameter(Mandatory=$true)]$Org,
|
||||
[Parameter(Mandatory=$true)]$Sddc,
|
||||
@@ -64,7 +64,8 @@ Function Connect-VMCVIServer {
|
||||
Write-Host "Connecting to VMC CIS Endpoint" $Server
|
||||
Connect-CisServer -Server $Server -User $creds.cloud_username -Password $creds.cloud_password | Add-Member -MemberType Noteproperty -Name Location -Value "VMC"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Function Get-VMCOrg {
|
||||
<#
|
||||
.NOTES
|
||||
|
||||
Reference in New Issue
Block a user