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
updateable view
Looking for bicycle cadence indicator using colored LEDs to show speed
Question about BATCH file - stored values??
Table alignment in Dreamweaver
adding sudo info to my lastlogin's report
trying to add PasswordChar to text box Web c#
DNS name resolution, plain host name vs. FQDN
What is best way to transfer Settings and Files from one XP Prof. to a new XP Prof. PC
wss troubles with CSS / top nav
Deleted File? user or system?