Search found 15436 matches

by jvierra
Wed Dec 30, 2009 1:39 pm
Forum: VBScript
Topic: Oversized PST Alert
Replies: 9
Views: 3742

Oversized PST Alert

If the script works then why not use it.

Maybe I don't understand your question. What is it that your script does not do or what errors are you getting?

If you try to search whole drives the script will take hours to run maybe even days.

by jvierra
Wed Dec 30, 2009 1:08 pm
Forum: VBScript
Topic: Oversized PST Alert
Replies: 9
Views: 3742

Oversized PST Alert

If you set teh Group Policy for a size limit it will alert teh user when size has been rachesd and you canhave them call the help desk. Doing this any other way is not really very easy unless you have an exact setup for all PSTS. If this is the case then Just use the FileSystemObject to check the si...
by jvierra
Wed Dec 30, 2009 9:57 am
Forum: VBScript
Topic: Servers' Site Memebership
Replies: 3
Views: 1681

Servers' Site Memebership

The only other piece of the puzzle is subnet. A site has zero or more associated subnets. I am not really sure how to explain this but here is a go at it. A ADSI computer object does not have a site as such. It has na IP which is part of a subnet. It is possible to grab the IP and to look it up in t...
by jvierra
Wed Dec 30, 2009 6:16 am
Forum: VBScript
Topic: Servers' Site Memebership
Replies: 3
Views: 1681

Servers' Site Memebership

The following gets tehj GUIDs of all objects in the Site container. Set objRootDSE = GetObject("LDAP://RootDSE") strConfigurationNC = objRootDSE.Get("configurationNamingContext") strSubnetsContainer = "LDAP://cn=Sites," & strConfigurationNC Set objSubnetsContainer =...
by jvierra
Wed Dec 30, 2009 5:57 am
Forum: VBScript
Topic: Help automating an Access macro through VBS
Replies: 3
Views: 1631

Help automating an Access macro through VBS

Unfortuantely that is NOT VBSxrpt but is MSAccess VBA code. You really should go to an Office VBA forum for that support as it is not very close to VBScript issues. The issue youare having are not part of scripting. The quick answer to your question is NO. Try mapping a drive to teh resource via use...
by jvierra
Wed Dec 30, 2009 5:52 am
Forum: VBScript
Topic: Send output in email issue
Replies: 3
Views: 1609

Send output in email issue

Add this to end of mail sending routine.

Set objMessage = Nothing
by jvierra
Wed Dec 30, 2009 12:13 am
Forum: VBScript
Topic: Start multiple services on remote machines
Replies: 10
Views: 4835

Start multiple services on remote machines

You need to put in trace statements to see what is happening. If computers are not pinging then all will be skipped. Why is there an On Error Resume Next? It will not work as expectd if there is an error as you are not handling any errors. The "strCommand" will generate a syntax error.
by jvierra
Tue Dec 29, 2009 11:55 pm
Forum: VBScript
Topic: list to install
Replies: 2
Views: 893

list to install

hi - welcome again.

Please try not to double post. If this is the same as your other request then look at the other post for an answer.

Use the Scripting.FileSystemObject to read through list of computer names.

See Script sharing for examples.


by jvierra
Tue Dec 29, 2009 11:48 pm
Forum: VBScript
Topic: Oversized PST Alert
Replies: 9
Views: 3742

Oversized PST Alert

For registry based file size warning for Outlook PST files see the following:

http://support.microsoft.com/kb/832925

by jvierra
Tue Dec 29, 2009 11:38 pm
Forum: VBScript
Topic: Start multiple services on remote machines
Replies: 10
Views: 4835

Start multiple services on remote machines

Why would these services not be sarted? BITS is set for manual and starts when needed. WU is set for automatic and should alwasy be running. If it's not you probably have an issue that needs to be repaired. WINMGMT should always be running. If it's not running then soemthings is definitely wrong. YO...