Displaying 3 results from an estimated 3 matches for "execquery".
2005 Jan 13
1
Using WMI Classes to join worksation to domain
...e the worksation name, and was hoping to do the same with the domain join. The workstations are WinXP.
The code i'm using is
$objWMIService = GetObject("winmgmts:" + "{impersonationLevel=impersonate, authenticationLevel=Pkt}!\\.\root\cimv2")
$colComputers = $objWMIService.ExecQuery ("Select * from Win32_ComputerSystem")
For Each $objComputer in $colComputers
$ERRH = $ObjComputer.joindomainorworkgroup(domainname,"password","domainname\root","",1)
Next
if $ERRH <> 0
color r+/n
AT (2,6) "[ERROR: DOMAIN JOIN FAILED - "...
2005 Jun 01
2
Can WMI be used in WINE apps?
Hi,
After some googling I've found that there's very
little said about the possibility of using WMI from
Wine.
Has someone done any progress about it?
I find this subject very important; if you feel
interested here's why:
One may think this is a somehow fanciful intention,
after all WMI exists for the purpouse of administering
Windows, and no doubt that's best done from
2003 Jun 04
7
Samba as PDC with WinXP Clients -> headache!!
Hi.
my last post was about upscale configuration for my WinXP clients,
because I believed I had it working, but ...
Next day I booted the client and .... it wouldnt let me log onto the
domain again. :-(
I am using Samba 2.2.8a with Ldap backend which works great in workgroup
mode.
Joining the domain is very easy and works well, but then after rebooting
I get:
"Es kann keine