When trying to run a PowerShell command (Get-WsusServer, in my case), you get this error:
Get-WsusServer : Request for principal permission failed.
At line:1 char:1
+ Get-WsusServer
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Updat…usServerCommand:GetWsusServerCommand) [Get-WsusServer],
SecurityException
+ FullyQualifiedErrorId : UnexpectedError,Microsoft.UpdateServices.Commands.GetWsusServerCommand
This is because you need to be running PowerShell as an administrator. Close PowerShell, right click the PowerShell icon and click “Run as administrator”. You should then be able to run your command without getting the Request for principal permission failed error.