Linn Kubler wrote:
[Quoted Text] > Hi, > > I'm playing around with scripting, specifically scripting to get > inventory information from a desktop computer. I'm using the scripts > provided on a Microsoft technet page. I'm trying to inventory a > remote computer but I find that if I run the script as administrator > it works fine but if I try to run the script as a standard user I get > an access violation error message. > > Is it possible to run the script as a standard user but send the > administrator credentials to the remote system? If so, how? > > Thanks in advance, > Linn
WMI ConnectServer Scripting Templates (Command-Line) http://www.microsoft.com/technet/scriptcenter/scripts/templates/wmi/connect/default.mspx
WMI ConnectServer Scripting Templates (GUI) http://www.microsoft.com/technet/scriptcenter/scripts/templates/wmi/connect/gui.mspx
-- Michael Harris Microsoft.MVP.Scripting
|