Search found 15436 matches

by jvierra
Tue Dec 29, 2009 7:56 am
Forum: VBScript
Topic: Start multiple services on remote machines
Replies: 10
Views: 4835

Start multiple services on remote machines

What services and how do you know it isn't working? What errors are you getting?
by jvierra
Tue Dec 29, 2009 5:09 am
Forum: VBScript
Topic: Sending email through vbscript
Replies: 3
Views: 2299

Sending email through vbscript

spectre - I am going to agree with you. ON some versions of CDO the default does not seem to be set. Setting this to 2 seems to allow it to work even with Windows Authentication. I will have to test this further to try to see why it varies. WIth Outlook 2003 CDO we get an option error which doesn't ...
by jvierra
Tue Dec 29, 2009 1:12 am
Forum: VBScript
Topic: monitoring server for unexpected reboot
Replies: 2
Views: 1446

monitoring server for unexpected reboot

Using the event log would be after-the-fact and require constantly scanning for a condiiton.

We could use WMI alerts but using the scheduler is far more reliable and extremely easy to enable.

by jvierra
Tue Dec 29, 2009 1:07 am
Forum: VBScript
Topic: Connect to recordset
Replies: 1
Views: 1152

Connect to recordset

YOu have not connected to the database yet. Create the conenction and set teh conenctions string before opening the recordset.
by jvierra
Wed Dec 23, 2009 1:22 am
Forum: PowerShell
Topic: Emailing the output of a script?
Replies: 3
Views: 1439

Emailing the output of a script?

Tahks for the detailed info. YOur output is an object collection and not text. You need to convert it to text. Pipe the out put to Out-String to convert it. Sorry I didn't see that earlier. Like this: $body  = ( $_ | Get-VMGuest | Select-Object -ExpandProperty Disks |         Select-Object $VMNameEx...
by jvierra
Tue Dec 22, 2009 5:31 pm
Forum: PowerShell
Topic: Emailing the output of a script?
Replies: 3
Views: 1439

Emailing the output of a script?

This party makes no sense. Select-Object $VMNameExp, $PathExp, $CapacityExp, $FreeSpaceExp, $UsageExp What is it you are trying to select. I dont think it will expand to what you think. Print the body elements as text to see if they are correct. YOu are creating hashes but I don't think they are eva...
by jvierra
Tue Dec 22, 2009 7:15 am
Forum: PowerShell
Topic: Emailing the output of a script?
Replies: 3
Views: 1439

Emailing the output of a script?

Try this:


$body = $( $_ | Get-VMGuest | Select-Object -ExpandProperty Disks | Select-Object $VMNameExp, $PathExp, $CapacityExp, $FreeSpaceExp, $UsageExp )
jvierra2009-12-22 15:18:16
by jvierra
Tue Dec 22, 2009 3:29 am
Forum: VBScript
Topic: How to install IE8 from VB
Replies: 3
Views: 1884

How to install IE8 from VB

It's the hard way. One ot two lines of code will trigger the download and install remotely and it will guarantee that teh right versoin is installed. The log will tell you what is missing. The EXE installer cannot be easily used remotely and requires some system preparation that may be an issue. Goo...
by jvierra
Mon Dec 21, 2009 10:15 pm
Forum: VBScript
Topic: How to install IE8 from VB
Replies: 3
Views: 1884

How to install IE8 from VB

Her - try this.
IE8-WindowsXP-x86-ENU.exe /passive /nobackup /norestart


Be sure all required patches and updates have been installed first or install may fail.
jvierra2009-12-22 06:16:11
by jvierra
Mon Dec 21, 2009 6:44 am
Forum: VBScript
Topic: How to install IE8 from VB
Replies: 3
Views: 1884

How to install IE8 from VB

IE8 can be deployed through WSUS.

YOu can also use SMS to force an install.

The WU client COM classes allow you to trigger a download and install.

http://msdn.microsoft.com/en-us/library ... S.85).aspx