Microsoft
Software
Hardware
Network
Question : get-wmiobject error - Powershell
I am getting this error trying to querry a remote print server on my local LAN:
Get-WmiObject : Access denied
At C:\Documents and Settings\me\My Documents\Scripts\Print-st
atus-test-
3b.ps1:3 char:26
+ $colItems = get-wmiobject <<<< -class "Win32_Printer" -namespace "root\CIMV2" `
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,
Microsoft.
PowerShell
.Commands.
GetWmiObje
ctCommand
Answer : get-wmiobject error - Powershell
As the command states, you dont have access to WMI on that print server
Try running the script as a user that has those permissions.
Random Solutions
How do I chop off extra decimal places?
What is the fastest IDE hard drive available?
sbs2003 "windows 7" setup.exe problem
Send Outlook Contact Automatic Update
return type missing
problem with an exteranl hard drive
Best way to map network drives
Need to move bullets in Powerpoint text box outside margin
Update CFDIV when Dropdown is Dynamically Updated
SharePoint 2010 Upgrade Error: The missing feature may cause upgrade to fail. Please install any solution which contains the feature and restart upgrade if necessary.