Add-SCACCloudSystem
Add-SCACCloudSystem
Adds a connection to a VMM management server or service provider.
構文
Parameter Set: SPF
Add-SCACCloudSystem [-Name] <String> [-ServiceLocation] <Uri> [-CertificateFilePath] <String> [-CertificatePassword] <SecureString> -SPF [-Description <String> ] [-PassThru] [ <CommonParameters>]
Parameter Set: VMM
Add-SCACCloudSystem [-Name] <String> [-ServerName] <String> [-Port] <Int32> -VMM [-Description <String> ] [-PassThru] [ <CommonParameters>]
詳細説明
The Add-SCACCloudSystem cmdlet adds a new connection to a VMM management server or service provider.
パラメーター
-CertificateFilePath<String>
Specifies a file path to the certificate.
エイリアス |
なし |
必須? |
true |
位置は? |
3 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-CertificatePassword<SecureString>
Specifies a secure string that contains a password for the certificate.
エイリアス |
なし |
必須? |
true |
位置は? |
4 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Description<String>
Provides a description for the connection.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies a name for the cloud system.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PassThru
Returns a cloud system object. By default, this cmdlet does not generate output.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Port<Int32>
Specifies a port to use for the connection.
エイリアス |
なし |
必須? |
true |
位置は? |
3 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ServerName<String>
Specifies the name of a VMM management server.
エイリアス |
なし |
必須? |
true |
位置は? |
2 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ServiceLocation<Uri>
Specifies the service location URI.
エイリアス |
なし |
必須? |
true |
位置は? |
2 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-SPF
Indicates that the connection is made with .
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-VMM
Indicates that the connection is made with a VMM management server.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Add a connection to a VMM management server
This command adds a connection named CloudSystem01 to the VMM management server named VMMServer01 using port 8100.
PS C:\> Add-SCACCloudsystem -Name "VMMCloudSystem01" -VMM -ServerName "VMMServer01.Contoso.com" -Port 8100
Example 2: Add a connection to a service provider
The first command creates a secure string for the provided password and stores the secure string in the $Password variable.
The second command adds a service provider connection.
PS C:\> $Password = ConvertTo-SecureString "PassWord!" -AsPlainText -Force
PS C:\> Add-SCACCloudsystem -Name "ServiceProvider01" -ServiceLocation "https://Server01.contoso.com:8090/SC2012/VMM/Microsoft.Management.OData.svc/4deca2d5-6169-49ca-aa7a-efd6e4b372a3" -CertificateFilePath "\\FileServer01\Certs\TenantCert.pfx" -CertificatePassword $Password -SPF