Get-SCGuestOSProfile

Gets a guest operating system profile object from the VMM library.

Description

The Get-SCGuestOSProfile cmdlet gets one or more guest operating system profile objects from the System Center Virtual Machine Manager (VMM) library.

For more information about Get-SCGuestOSProfile, type: "Get-Help Get-SCGuestOSProfile -online". 

Parameters

Name

Required? false
Accept Pipeline Input? false
Position? 0
Specifies the name of a VMM object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Name

Required? false
Accept Pipeline Input? false
Position? 0
Specifies the name of a VMM object.

AnswerFile

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a script object stored in the VMM library to use as an answer file. The name of the answer file script depends on the operating system that you want to install on a virtual machine:

 ANSWER FILE	GUEST OS TO INSTALL ON VM
 -----------	-------------------------
 Sysprep.inf	Windows XP, Windows Server 2000, or Windows Server 2003
 Unattend.xml   Windows Vista, Windows 7, or Windows Server 2008 

OperatingSystem

Required? false
Accept Pipeline Input? false
Position? named
Specifies the type of operating system for a virtual machine. To list the names of all available operating systems in VMM, type: "Get-SCOperatingSystem".

Examples

1: Get all guest operating system profiles from the library.
PS C:\> Get-SCGuestOSProfile -VMMServer "VMMServer01.Contoso.com"
This command gets all guest OS profile objects from the library on VMMServer01 and displays information about these profiles to the user.
2: Get a specific guest operating system profile from the library.
PS C:\> Get-GuestOSProfile -Name "NewOSProfile01"
This command gets the guest OS profile object named NewOSProfile01 and displays information about this profile to the user.

See Also