Back to overview
NAME New-HostingConnection SYNOPSIS Create a new hosting connection SYNTAX New-HostingConnection [-Name] <String> [-ConnectionType] <String> [-HypervisorAddress] <String> [-HypervisorCredential] <PSCredential> [<CommonParameters>] DESCRIPTION This function only creates a connection to a hosting environment without choosing any resources (see New-HostingResource) PARAMETERS -Name <String> Name of the hosting connection Required? true Position? 1 Default value Accept pipeline input? false Accept wildcard characters? false -ConnectionType <String> Connection type can be VCenter, XenServer and SCVMM among several others Required? true Position? 2 Default value Accept pipeline input? false Accept wildcard characters? false -HypervisorAddress <String> This contains the URL to the vCenter web API Required? true Position? 3 Default value Accept pipeline input? false Accept wildcard characters? false -HypervisorCredential <PSCredential> A credentials object for authentication against the hypervisor Required? true Position? 4 Default value Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). -------------------------- EXAMPLE 1 -------------------------- C:\PS>New-HostingConnection -Name vcenter-01 -ConnectionType VCenter -HypervisorAddress https://vcenter-01.example.com/sdk -HypervisorCredential (Get-Credential) RELATED LINKS New-HostingResource