The Remove-SCSQLProfile cmdlet removes a SQL Server profile from System Center Virtual Machine Manager (VMM).
For more information about Remove-SCSQLProfile, type: "Get-Help Remove-SCSQLProfile -online".
Parameters
SQLProfile
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
0
Specifies a SQL Server profile object.
Confirm
Required?
false
Accept Pipeline Input?
false
Position?
named
Prompts for confirmation before running the command.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
The first command gets the SQL Server profile object named SQLProfile01 and stores the object in the $SQLProfile variable.
The second command removes the SQL Server profile object stored in $SQLProfile from VMM.