in reply to Re^3: How to Start a Process in a Remote Win32 Machine using Perl and WMI
in thread How to Start a Process in a Remote Win32 Machine using Perl and WMI
What do you think?I am trying to delve deeper into these windows objects I suppose.
http://live.sysinternals.com/psexec.exe ought to also work :)
Also, all docs are on MSDN, so [ddg://site:microsoft.com ole winmgmts impersonationLevel (security)], [google://site:microsoft.com ole winmgmts impersonationLevel (security)] site:microsoft.com ole winmgmts impersonationLevel (security), site:microsoft.com ole winmgmts impersonationLevel (security) ... Microsoft Windows 2000 Scripting Guide - WMI Security Settings
The default namespace is \root\cimv2. For more information about namespaces, see Creating Hierarchies Within WMI.
So there you have it :) everything accessible via WMI must be assigned to a namespace ... and thats the default one ... Happy hunting :)
my tips copy/paste
If you want to automate anything on win32 you have to absorb the following knowledge . It mostly consists of learing the ole/excel/powerpoint... object model, and using Win32::OLE to call it or sending messages using guitest. OLE is essentially a fancy/standardised way of sending messages. Its very much like web-scraping, you have to know HTTP/HTML DOM .... the rest is just legwork
|
---|