Rich James (8/24/2012)
OPC.Three..The difference I see between your setup and mine from this is that I'm using a Domain account, rather than a local machine account.
Do you get the same behaviour with a Local account as with a Domain one?
That is a valid point so I just tried this with a Domain Account and it did work. Here is what I did:
- Drop the test Agent Job
- Drop the test Proxy
- Drop the test Credential
- Create the Credential with the Domain Account (only has access to server based on MyServer\Users Local Group containing MyDomain\Domain Users Domain Group)
- Create Proxy using Credential
- Create Agent Job with PowerShell Step that uses Proxy
- Ran the job -> step output contained 'Access Denied'
- Granted WMI Control Remote Enable permission on ROOT\CIMV2 namespace to my domain user
- Ran the job -> step output contained volume info as expected
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato