Adds a Windows Server Update Services computer to VMM.
Description
The Add-SCUpdateServer cmdlet adds a Microsoft Windows Server Update Services (WSUS) computer to System Center Virtual Machine Manager (VMM). Adding a WSUS computer integrates VMM with WSUS setup and enables the update management feature.
For more information about Add-SCUpdateServer, type: "Get-Help Add-SCUpdateServer -online".
The first command gets the Run As account object named RunAsAccount01 and stores the object in the $Credential variable.
The second command adds update server WSUSComputer01 to VMM, enabling update servicing functionality. As this command is processed, $Credential provides Run As account credentials to Add-SCUpdateServer.