Gets the virtual machine configuration information for a service configuration or computer tier configuration.
Description
The Get-SCVMConfiguration cmdlet gets virtual machine configuration information for a service configuration or computer tier configuration.
For more information about Get-SCVMConfiguration, type: "Get-Help Get-SCVMConfiguration -online"
Parameters
All
Required?
false
Accept Pipeline Input?
false
Position?
named
Retrieves a full list of all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All retrieves all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ServiceConfiguration
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a service configuration object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ComputerTierConfiguration
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a computer tier configuration object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
Examples
1: Get all configuration information
for a virtual machine within a computer tier
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 for the service configuration stored 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 last command displays the properties of the virtual machine configuration stored in $VMConfig to the user.
2: Get all configuration information
for a virtual machine within a service configuration
The first command gets the service configuration named Service01 and stores the object in the $ServiceConfig variable.
The second command gets all virtrual machine configurations for the service configuration stored in $ServiceConfig and stores the objects in the $VMConfigs variable.
The last command displays the properties of the virtual machine configurations stored in $VMConfigs to the user.