Greetings.  Has anyone ever had success running Group Policy 
Management Console .wsf scripts using cfexecute?

When I run one of these scripts from a CMD line, it works like a charm.  When I 
run it from CF as such:

<cfexecute name = "G:\Inetpub\wwwroot\GPOstuff\wscript.exe"
 arguments = "G:\Inetpub\wwwroot\GPOstuff\GetReportsForGPO.wsf myGPOname  
g:\inetpub\wwwroot\GPOstuff"
 timeout = "300" 
</cfexecute>

it returns the cscript header " 
                Microsoft (R) Windows Script Host Version 5.6 Copyright (C) 
Microsoft Corporation 1996-2001. All rights reserved." and that's all.  No 
errors.  Nothing.  It ends too quickly, throws no errors, and says done.  Same 
goes for any of these scripts I try.  (If you have Group Policy Management 
installed, the scripts are in  c:\program files\gpmc\scripts.)

Having said that, here is the ultimate goal.  I want CF to return to me the 
Assigned Applications listed within a particular Active Directory GPO.  I have 
tried CFLDAP, I've tried these scripts, I've tried a number of things.  For the 
life of me, I can filter all the way down to the GPO in question and dump 
general info such as who has rights to it, etc, but I can't list the packages 
inside.  I've even asked it for "*" attributes.  It returns  Name and Value.  
When I make a call for one of those attribs, it returns blank.

The closest I've come is the GetReportsForGPO.wsf script.  IF I can get 
cfexecute to run this thing right, then I could parse the generated XML or HTML 
file.  Those generated files have in them what I need.

Has anyone tackled this particular problem?

Many thanks. 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236938
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to