Get-SCISOConfiguration
Get-SCISOConfiguration
Gets the ISO configuration for a virtual machine configuration.
Syntax
Parameter Set: Default
Get-SCISOConfiguration -VMConfiguration <VMConfiguration> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-ISOConfiguration 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.
Parameters
-VMConfiguration<VMConfiguration>
Specifies a virtual machine configuration object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- ISOConfiguration
Examples
1. Get the ISO configuration for a given virtual machine configuration.
The first command gets the service configuration object named Service01 and stores the object in the $ServiceConfig variable.
The second command gets the computer tier configuration object for the the service configuration in $ServiceConfig and stores the object in the $TierConfig variable.
The third command gets the virtual machine configuration for the computer tier configuration stored in $TierConfig and stores the object in the $VMConfig variable.
The fourth command gets the ISO configuration for the first virtual machine configuration stored in $VMConfig and stores the object in the $ISOConfig variable.
The last command displays the properties of the ISO configuration stored in $ISOConfig to the user.
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