Get-SCPhysicalComputerProfile
Gets a physical computer profile object.
Syntax
Get-SCPhysicalComputerProfile
[-VMMServer <ServerConnection>]
[-All]
[<CommonParameters>]
Get-SCPhysicalComputerProfile
[[-Name] <String>]
[-VMMServer <ServerConnection>]
[<CommonParameters>]
Get-SCPhysicalComputerProfile
[-VMMServer <ServerConnection>]
[-ID <Guid>]
[<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 |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the name of a Virtual Machine Manager (VMM) object.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
Specifies a VMM server object.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
PhysicalComputerProfile
This cmdlet returns a PhysicalComputerProfile object.