Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4479
  • Last Modified:

Powershell Get-WMIObject Quota Violation

Hello,

I am having a problem running get-wmiobject against a couple of large web servers.  Basically when I run:

$sites = Get-WMIObject -NameSpace "root\WebAdministration" -Class Site -Authentication PacketPrivacy -ComputerName COMPUTERNAME

I receive the error:

Get-WmiObject : Quota violation
    + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], ManagementException
    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

I have attempted to limit what is returned by:

$sites = Get-WMIObject -NameSpace "root\WebAdministration" -Class Site -Authentication PacketPrivacy -ComputerName COMPUTERNAME -Property Name, Bindings, Id, LogFile

And a couple of other select and filter options with the same result.  This is happening on multiple systems hosting 4000+ sites in IIS each.

I have seen the issue with WMI in Server 2k3, but these systems are all Server 2k8 r2 with the latest patches installed.

Thank you for any information.
0
omnipower321
Asked:
omnipower321
1 Solution

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now