Get-SCCustomProperty

Gets a custom property definition from the VMM database.

Description

The Get-SCCustomProperty cmdlet gets a custom property definition from the System Center Virtual Machine Manager (VMM) database.

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

Parameters

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.

Member

Required? true
Accept Pipeline Input? false
Position? named
Specifies an object that is part of a group.

VMMServer

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

Name

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

VMMServer

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

Examples

1: Get a custom property by its name.
PS C:\> $CustomProp = Get-SCCustomProperty -Name "Cost Center"
PS C:\> $CustomProp
The first command gets the custom property object named Cost Center and stores the object in the $CustomProp variable.

The second command displays the properties of the custom property object stored in $CustomProp to the user.
2: Get all custom properties for a specific member type.
PS C:\> Get-SCCustomProperty -Member "VM"
This command returns all custom properties that contain VM as a member.

See Also