Get-SCOperatingSystem

Gets valid operating system objects from the VMM database.

Description

The Get-SCOperatingSystem cmdlet gets one or more operating system objects from the System Center Virtual Machine Manager (VMM) database. An operating system object is used to identify the operating system that is installed on a particular virtual hard disk.

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

Parameters

VMMServer

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

VMMServer

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

ID

Required? true
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.

ApplicationProfile

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies an application profile object.

VMMServer

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

Examples

1: Get all operating system objects in your VMM environment.
PS C:\> Get-SCOperatingSystem -VMMServer "VMMServer01.Contoso.com"
This command gets all operating system objects from the VMM database on VMMServer01 and displays information about these operating system objects to the user.
2: Get all operating system objects in your VMM environment with the specified processor architecture.
PS C:\> Get-OperatingSystem -VMMServer "VMMServer01.Contoso.com" | where {$_.Architecture -eq "amd64"} | Format-Table -property Name,Architecture
This command gets all operating system objects from VMMServer01 and then selects only those operating systems that have an amd64 processor architecture. The command uses the Format-Table cmdlet to display only the Name and Architecture properties for each selected operating system.

See Also