Read-SCVMMManagedComputer
Refreshes a computer that is managed by VMM.
Syntax
Read-SCVMMManagedComputer
[-VMMManagedComputer] <VMMManagedComputer>
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Description
The Read-SCVMMManagedComputer cmdlet refreshes computers managed by Virtual Machine Manager (VMM).
Examples
Example 1: Refresh a managed computer object
PS C:\> Get-SCVMMManagedComputer -ComputerName "SPF.Contoso.com" | Read-SCVMMManagedComputer
This command gets the computer object named SPF.Contoso.com and then uses the pipeline operator to pass the object to Read-SCVMMManagedComputer, which refreshes the computer.
Parameters
-JobVariable
Specifies that job progress is tracked and stored in the variable named by this parameter.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PROTipID
Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsynchronously
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMManagedComputer
Specifies a computer object that is managed by VMM.
Type: | VMMManagedComputer |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
VMMManagedComputer
The cmdlet returns a VMMManagedComputer object.