Is Get-Service subject to permissions per Service?


all,

i running 2 commands using service, accross netwrok same host.  difference query different services, wuauserv reports fine, , ccmexec reports not existing.  i've tried on number of hosts , have seen behaviour on lot of them, not all.  can explain why get-service work on a subset of services on same box using same credentials? othere services falsly being reported well.

i have pasted examples of get-service lines , output below.

ps c:\windows\system32> get-service -name wuauserv -computer testserver

status name displayname

running wuauserv automatic updates ___________________________________________________________________________________________________________

ps c:\windows\system32> get-service -name ccmexec -computer testserver

get-service : cannot find service service name 'ccmexec'. @ line:1 char:12 + get-service <<<< -name ccmexec -computer testserver + categoryinfo : objectnotfound: (ccmexec:string) [get-service], servicecommandexception + fullyqualifiederrorid : noservicefoundforgivenname,microsoft.powershell.commands.getservicecommand


brad

 

is get-service subject permissions per service?

yes, is.

 

each service has own acl controlled  servicecontrolmanager(scm)

smsagent (ccmexec) more secured windows update



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...