Search found 14694 matches

by jvierra
Wed May 23, 2007 8:23 am
Forum: VBScript
Topic: VBScript Limitations?
Replies: 9
Views: 14273

VBScript Limitations?

The actual string allocation is surely done by teh string alloc primitives in teh system. I would expect that PowerShell and CScript would see similar limits. On a server it may be because the system can allocate a larger WOrking set to a process. Microsft has another technique for large strigs that...
by jvierra
Wed May 23, 2007 7:39 am
Forum: VBScript
Topic: String manipulation
Replies: 4
Views: 3323

String manipulation

I just ran into the same need last week so it was fresh in my head.

There are many other methods but that is the esiest and probably teh most efficient.

Regular expression are actualy more powerful but need a liitle learning curve.
by jvierra
Wed May 23, 2007 6:38 am
Forum: VBScript
Topic: Delete unwanted profiles
Replies: 3
Views: 18057

Delete unwanted profiles

As I pointed out. YOu can run the script remotely against any number of computers. I have done this many times. Just set the script to run on a subset - say 100 - overnight. YOu could increase it to 300 or 400 and have them done by morning in a fairly fast network. The startup script can do this but...
by jvierra
Wed May 23, 2007 6:18 am
Forum: VBScript
Topic: VBScript Limitations?
Replies: 9
Views: 14273

VBScript Limitations?

Ok - I'll play. Running on my system teh script blows up as soon as the page file fills up. Be sure that your paging file has enoughroom. FOr a 400 MB file you would need at least 600 to 700 Mb of free space. If you are trying to load teh whole file so you can scan it you will, most likely, have pro...
by jvierra
Wed May 23, 2007 5:03 am
Forum: VBScript
Topic: Delete unwanted profiles
Replies: 3
Views: 18057

Delete unwanted profiles

The Windows Resource Kit contains a utility which can "correctly" delete profiles. It can be used to remove al roaming profiles which will be recreated at next logon. Tjis is , perhaps, teh best way to keep machines clean. It can also be used to delete all local profiles that are not used by the sys...
by jvierra
Wed May 23, 2007 4:44 am
Forum: VBScript
Topic: VBScript Limitations?
Replies: 9
Views: 14273

VBScript Limitations?

I have seen some similar issues when trying to read large files and large bibnary files. SOme issues seem to happen when reading in Unicode files. I think it has to do with the large reads supressing some event responses in CScript. I have worked around this in the past by using the fso.Read( nChars...
by jvierra
Wed May 23, 2007 1:49 am
Forum: VBScript
Topic: Getting an Access Token
Replies: 3
Views: 4009

Getting an Access Token

Thanks DOn, Jeff. I have a doxxen utilities that can get the access token in various ways. I believe the only way to get it is direct API calls or through NET classes. I have never seen any COM object before Authorization MAnager that could get a token. Even AzMan is limited in what tokens it can ge...
by jvierra
Tue May 22, 2007 9:57 am
Forum: VBScript
Topic: Getting an Access Token
Replies: 3
Views: 4009

Getting an Access Token

I know this is an unusual request for scripting but I have been asked to retrieve an access token. I don't yet know what kind of a token is needed. Everything I know telss me that their are only access tokens on code objects. Users and groups have privileges that are converted into access tokens by ...
by jvierra
Tue May 22, 2007 9:57 am
Forum: VBScript
Topic: Getting an Access Token
Replies: 3
Views: 4009

Getting an Access Token

I know this is an unusual request for scripting but I have been asked to retrieve an access token. I don't yet know what kind of a token is needed. Everything I know telss me that their are only access tokens on code objects. Users and groups have privileges that are converted into access tokens by ...
by jvierra
Tue May 22, 2007 8:08 am
Forum: VBScript
Topic: Exchange New User from file
Replies: 4
Views: 4676

Exchange New User from file

Be sure teh file has not been saved as UNICODE. Also be sure that the line terminators are correct. Use a test file created with notepad with one or two users in it to get the script working.