The Get-SCSQLProfile cmdlets gets a SQL Server profile.
For more information about Get-SCSQLProfile, type: "Get-Help Get-SCSQLProfile -online".
Parameters
All
Required?
false
Accept Pipeline Input?
false
Position?
named
Retrieves a full list of all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All retrieves all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.
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.
VMTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM template object used to create virtual machines.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.
The first command gets the SQL Server profile object named SQLProfile01 and stores the object in the $SQLProfile variable.
The second command displays information about the SQL Server profile object stored in $SQLProfile to the user