Getting Started with Vcf Sddc Manager cmdlets
Provides cmdlets for managing VCF SDDC Manager servers.
Step 1: Connect to Environment
To setup a connection you should use the
Connect-VcfSddcManagerServer
command. Run the code sample below to connect.
#
PS C:\> Connect-VcfSddcManagerServer -Server MySDDCManager.com -User "User" -Password "Password" Connects to a VMware SDDC Manager server with a MySDDCManager.com address by passing a valid user name and password.
You can also connect to remote environment by running one of the alternative options to connect below:
Option 1 :
#
PS C:\> $myCredential = Get-Credential PS C:\> Connect-VcfSddcManagerServer -Server MySDDCManager.com -Credential $myCredential Connects to a VMware SDDC Manager server with a MySDDCManager.com address by passing a credential object.
Step 2: Retrieve a object by running a Get command
You can READ objects by using
Get-SddcCluster
cmdlet. See example below:
# Retrieve all Cluster objects.
PS C:\> Get-SddcCluster