Search found 13931 matches

by jvierra
Wed Mar 19, 2008 5:01 am
Forum: VBScript
Topic: need script to export .pst
Replies: 10
Views: 4071

need script to export .pst

Then you can just copy the PST. It is exactly the same as an export. Just copy it before opening Outlook.


by jvierra
Wed Mar 19, 2008 4:53 am
Forum: VBScript
Topic: need script to export .pst
Replies: 10
Views: 4071

need script to export .pst

Are you on Exchange? Is it an Exchange mailbox that you want to export?

If so you can do it at the server using MS utilities. It's much easier. You can export every maibox to it's own PST with one command.

by jvierra
Wed Mar 19, 2008 4:35 am
Forum: VBScript
Topic: need script to export .pst
Replies: 10
Views: 4071

need script to export .pst

No. To copy it you only need to copy it. A full export of a PST toa PST is exactly the same as copying the file using the command line copy command. Are you talking about exporting an Exchange mailbox? This is not a PST and has to be handled in a different way. From your post I am assuming you are t...
by jvierra
Wed Mar 19, 2008 3:43 am
Forum: Other Scripting Languages
Topic: how to open a desktop folder
Replies: 5
Views: 2786

how to open a desktop folder

YOu are not starting the batch fle in teh correct folder most likely. Out a C to the correct folder at the beginng of the batch file.
by jvierra
Wed Mar 19, 2008 3:37 am
Forum: VBScript
Topic: Script to Email Password Expiration Warning
Replies: 7
Views: 13697

Script to Email Password Expiration Warning

Try the following. Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000 Set ObjTopLevel = GetObject ("LDAP://cn=users,dc=mydomain,dc=com") For Each ObjOU in ObjTopLevel    Select Case ObjOU.Class        Case "user"     intAccountControl = ObjOU.Get("userAccountControl")            If (intAccountControl AND ADS...
by jvierra
Tue Mar 18, 2008 8:03 am
Forum: Windows PowerShell
Topic: mouse movement
Replies: 3
Views: 3891

mouse movement

What is your question. I think the forum is served best by asking questions here don't you think.

Don't be embarrased. We all have muxh to learn and by sharing here we all benefit.
by jvierra
Tue Mar 18, 2008 5:57 am
Forum: Windows PowerShell
Topic: how to change text in note pads
Replies: 2
Views: 3049

how to change text in note pads

The real answer is that you can't "change text" in notepad instances. YOu can "SendKeys" which would include the delete key or any key that inserts text or moves the insertion point. You cannot affect the mouse and you cannot read the contents of notepad or any other window. This is by design and fo...
by jvierra
Tue Mar 18, 2008 4:44 am
Forum: Windows PowerShell
Topic: computer asset inventory
Replies: 59
Views: 36279

computer asset inventory

For baldcat - Let's drop the "procedural" in favor of "Declaritive". You would like to do the following. Get all computer in the domain with processors speeds greate than "n". In PoSh this might look something like this: Get-DomainComputers | Where { $_.speed > $n } Unfortunately processor speed is ...
by jvierra
Sat Mar 15, 2008 4:05 pm
Forum: VBScript
Topic: File Copy Script
Replies: 5
Views: 1731

File Copy Script

This exact script works on every machine I have tried it on: Set WshShell = WScript.CreateObject("WScript.Shell")sSysRoot = WshShell.ExpandEnvironmentStrings("%WinDir%")WScript.Echo sSysRoot What OS are you using? What error message are you getting? YOur original script had many errors in it. This:...
by jvierra
Sat Mar 15, 2008 7:16 am
Forum: Other Scripting Languages
Topic: Database image
Replies: 7
Views: 4067

Database image

For completeness - here is the doc on writing binary image into the current document object using a base64 encoded stream: http://www.elf.org/essay/inline-image.html The only way to encode the stream would be with the XML library. We would also have to test to see whether MS implementation supports ...