Search found 14543 matches

by jvierra
Tue Nov 13, 2007 7:21 am
Forum: VBScript
Topic: Looking for Critics
Replies: 3
Views: 2393

Looking for Critics

dim oWMI
Set oWMI = Create....

Function GetWMIObject( oWMI, xxx, yyy )

set q = oWMI.ExecQuery( -- sdome query -- )
etc...
End FUnction
by jvierra
Sun Nov 11, 2007 4:59 am
Forum: VBScript
Topic: script to check Forest-Wide group policy settings.
Replies: 5
Views: 2141

script to check Forest-Wide group policy settings.

In WS2003 policies can only be defined at teh domain or site levels. There are no "Foewst -wide" policy settings.
by jvierra
Thu Nov 08, 2007 2:51 am
Forum: VBScript
Topic: ACL query
Replies: 2
Views: 1784

ACL query

Tough question. Yes - their are many third party tools that can do this. No - there is no "builtin" method for doing thids in one command. You can use SUBINACL to query each individual server for the file, service and registry ACL entries. There is NO WAY using script with objects or WMI to get all ...
by jvierra
Tue Oct 16, 2007 1:18 am
Forum: VBScript
Topic: Querying for Security Information
Replies: 15
Views: 15996

Querying for Security Information

I believe that, for what you are trying to do, reading th e whole file into a varaiable and then scanning it for the string in question would be easiest. Also not that ALL policy settings returned by SecEdit scans are stored as registry settings which are much easier to read. If you need to do a lar...
by jvierra
Fri Oct 12, 2007 7:34 am
Forum: VBScript
Topic: Scripting NTFS Perms IIS7
Replies: 5
Views: 3054

Scripting NTFS Perms IIS7

DOn't thnk there is a generic modify. I think it is write + delete.
by jvierra
Fri Oct 12, 2007 5:16 am
Forum: VBScript
Topic: Scripting NTFS Perms IIS7
Replies: 5
Views: 3054

Scripting NTFS Perms IIS7

I believe what may be confusing you is that ASP.NET uses teh "web.config" file to set the conditions and parameteres used for "authentication" providers. These values are settable via the WMI IIS provider is some cases. In other cases you can do direct updates to the config files via script assuming...
by jvierra
Thu Oct 11, 2007 11:26 am
Forum: VBScript
Topic: Scripting NTFS Perms IIS7
Replies: 5
Views: 3054

Scripting NTFS Perms IIS7

Sam - your request doesn't make much sense. Can you describe what permissions you need to set.

IUSR is an account onn IIS that is ussed to proxy for the anonymous web user. It doesn't have any NTFS permissions.

IE7 has little to do with IUSR_machine account or with IISx.

by jvierra
Sat Aug 04, 2007 3:00 am
Forum: Other Scripting Languages
Topic: Object required Error in HTA
Replies: 1
Views: 3880

Object required Error in HTA

You canot address a popup like a normal window. It is a light-weight window without an addressable body. YOu can create a po9pup and kill it but anything else will likely ail.

Popup does not support all HTL objects such as "input". and "select".
by jvierra
Thu Jul 26, 2007 5:31 am
Forum: VBScript
Topic: Sending either a task or reminder in Outlook
Replies: 2
Views: 1860

Sending either a task or reminder in Outlook

That is a fairly complext task the uses the Outlook object model. Check out this site as it contains a world of information and examples on Outlook programming most can be converted to vbscript with a little effort. Post back if you have questions on conversion issues. http://www.outlookcode.com/
by jvierra
Tue Jul 24, 2007 7:21 am
Forum: VBScript
Topic: Get the number of files in a folder
Replies: 6
Views: 5369

Get the number of files in a folder

COme to think of it there is. fso.files.count I suggest downloading a copy of the WSH help file from teh MS download site. It has a very good object listing along with all properties, methods and examples. Should save you a lot of time. Download http://www.microsoft.com/downloads/details.aspx?Family...