Get-SCPhysicalComputerProfile

Gets a physical computer profile object.

Syntax

Get-SCPhysicalComputerProfile [-All] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCPhysicalComputerProfile [-ID <Guid>] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCPhysicalComputerProfile [[-Name] <String>] [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The Get-SCPhysicalComputerProfile cmdlet gets a physical computer profile object.

Examples

Example 1: Get a physical computer profile by ID

PS C:\> $PhysicalComputerProfile = Get-SCPhysicalComputerProfile -ID "d1ce0773-4f50-4f12-a244-38a5a35c5326"

This command gets the physical computer profile that has the specified ID, and then stores it in the $PhysicalComputerProfile variable.

Example 2: Get a physical computer profile by name

PS C:\> $PCP = Get-SCPhysicalComputerProfile -Name "Windows Server 2012 R2"

This command gets the physical computer profile named Windows Server 2012 R2, and then stores it in the $PCP variable.

Parameters

-All

Indicates that this cmdlet gets all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All gets all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Required:False
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

PhysicalComputerProfile

This cmdlet returns a **PhysicalComputerProfile** object.