Minimum rights for Remote Powershell access and VMI call

  • I am currently reviewing one of our SQL jobs that collects disk drive space on all of our production and acceptance server. The main bulk of the job consists of step which calls a Powershell script that queries the WMI and logs the returned data into a database which is used to produce reports.

    Our current setup has using a local admin account to access WMI on the servers but my boss has decided that this isn't good practice due to security issues. Thus I am trying to find out what minimum rights are needed to be able to carry out powershell remote calls and also querying WMI. I have been told that the current setup has to remain in place.

    Any information would much appreciated

  • Been doing something similar myself - you need to look at DCOM settings & WMI security, instructions are here:

    DCOM: http://msdn.microsoft.com/en-us/library/aa393266.aspx

    WMI: http://msdn.microsoft.com/en-us/library/aa393613.aspx

    Interestingly, once I'd enabled DCOM for the relevant user, I could get the WMI data through PS despite a warning that I didn't have the necessary permissions!

    Cheers

    Gaz

  • Much appreciated for the info. Will check it out.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply