[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] BBWin 0.11 Centralised Config problems
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] BBWin 0.11 Centralised Config problems
- From: "Etienne Grignon" <etienne.grignon (at) gmail.com>
- Date: Sun, 18 May 2008 09:32:25 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dI8/A6jgVS2QR8kM3EXw6WVqYk7lwnTsZ1sJiZurk6w=; b=ucs4NXtzh7wSoMaNECjLTDiNa8WNq8x9Prq/MeU+MXVnjqXnPlp2eA8k6p0oyB1QFuAK3DKFvfNKC9fr92zhYN49sQ+/oGuilA3WFMFnzR9DknADm6ir3SrLd4tJ4jAEXrYsRIdb0sFOw8EBlRirI27Shpn+r827nfGN1NmWSb4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qa/WfEsq+rSkovDYFkLWq8CImRTCZWLwHRgvLd3t5Z1h+ql9pjmUjNt4VIasE80lGfuOnR1mVUdG5pRv6VRVUyMHKryoWeJJUw7OIvfoMXowFaMfUEfM9Z4hRciU4We8tKAAqvvmsiwZLE5d0080sxthmH+vcMp2gZkytw3uenk=
- References: <OF9E81592A.C87E440C-ON6925741E.008074D9-6925741F.0000485C (at) nt.gov.au> <68e737a10804030529j50cfc16ag2dd80f96d4100d06 (at) mail.gmail.com> <a3f6b7e50804030640v75914205pc6f28d3749b14548 (at) mail.gmail.com> <68e737a10804030712w18d2ae5dk7856e59aea558e4a (at) mail.gmail.com> <a3f6b7e50804040721t428964bfk41c425f36f3e9061 (at) mail.gmail.com>
Hello,
2008/4/4 ndegz <nndegz (at) gmail.com>:
> Hi Etienne,
> Thanks for the info. I'm now trying to implement a vbs script solution (
> perl is out of the question at the moment) and i'm getting errors. How do
> you run a vbs script from client-local?
> I've tried the following
> file:`C:\listing.vbs`
> [WARN]: [files]: C:\listing.vbs command failed : The handle is invalid.
> I tried this also
> file:`cscript C:\listing.vbs`
> and i get this error
> [WARN]: [files]: Unknow hash type for file configuration : \listing.vbs`
>
> listing.vbs is a script i borrowed from microsoft's scripting repository
>
> strComputer = "."
>
> Set objWMIService = GetObject("winmgmts:" _
> & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
>
> Set colFileList = objWMIService.ExecQuery _
> ("ASSOCIATORS OF {Win32_Directory.Name='C:\CFusionMX\Mail\Spool'} Where
> " _
> & "ResultClass = CIM_DataFile")
>
> For Each objFile In colFileList
> Wscript.Echo objFile.Name
> Next
>
Try using this :
file:`cscript C:\listing.vbs`
--
Etienne GRIGNON