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
EXCEPTION_ACCESS_VIOLATION
Backup Exec 2010 using external USB drives after changing they go offline
Undo any user changes at boot up.
SBS2003 Domain Controller Server - all users working offline and can't print to shared printers
BSOD and bootcat.cache
Will the new iTunes allow my old songs bought in the iTunes Music Store onto a new iPhone, iPad, iPod, etc.?
Cross Tab with SELECTIVE total
TOC guide
does BEGIN TRAN put a lock?
csv row limit