Get-SCISOConfiguration

Get-SCISOConfiguration

Gets the ISO configuration for a virtual machine configuration.

構文

Parameter Set: Default
Get-SCISOConfiguration -VMConfiguration <VMConfiguration> [-VMMServer <ServerConnection> ] [ <CommonParameters>]

詳細説明

The Get-SCISOConfiguration cmdlet gets the ISO configuration for a virtual machine configuration. An ISO configuration allows you to customize the source and target locations for the physical resources that are needed to create a virtual machine.

パラメーター

-VMConfiguration<VMConfiguration>

Specifies a virtual machine configuration object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • ISOConfiguration

Example Example 1:. Get the ISO configuration for a given virtual machine configuration.:

The first command gets the service configuration object named Service01, and then stores the object in the $ServiceConfig variable.

The second command gets the computer tier configuration object for the service configuration in $ServiceConfig, and then stores the object in the $TierConfig variable.

The third command gets the virtual machine configuration for the computer tier configuration stored in $TierConfig, and then stores the object in the $VMConfig variable.

The fourth command gets the ISO configuration for the first virtual machine configuration stored in $VMConfig, and then stores the object in the $ISOConfig variable.

The last command displays the properties of the ISO configuration stored in $ISOConfig.

PS C:\> $ServiceConfig = Get-SCServiceConfiguration -Name "Service01"
PS C:\> $TierConfig = Get-SCComputerTierConfiguration -ServiceConfiguration $ServiceConfig
PS C:\> $VMConfig = Get-SCVMConfiguration -ComputerTierConfiguration $TierConfig
PS C:\> $ISOConfig = Get-SCISOConfiguration -VMConfiguration $VMConfig
PS C:\> $ISOConfig

関連トピック

Set-SCISOConfiguration

Get-SCServiceConfiguration

Get-SCComputerTierConfiguration

Get-SCVMConfiguration