Search found 14139 matches

by jvierra
Thu Sep 04, 2008 5:33 am
Forum: VBScript
Topic: Pulling Multiple Account Atts
Replies: 3
Views: 1211

Pulling Multiple Account Atts

Here is a working example Const ADS_SCOPE_SUBTREE = 2 Set objConnection = CreateObject("ADODB.Connection") Set objCommand = CreateObject("ADODB.Command") objConnection.Provider = "ADsDSOObject" objConnection.Open "Active Directory Provider" Set objCommand.ActiveConnection = objConnection objCommand....
by jvierra
Wed Sep 03, 2008 11:47 pm
Forum: VBScript
Topic: Formatting VBscript text output?
Replies: 3
Views: 3520

Formatting VBscript text output?

Are you trying to format the mail mesage body or the log file? If you aretrying to format the mail message then using either PowerSHell or VBScript you will need to assign the txt to the Message.HTMLBody property. The "TextBody " property is just for plain text. Normally both are assigned. The text ...
by jvierra
Wed Sep 03, 2008 4:33 am
Forum: VBScript
Topic: Add runas to command shell on any file
Replies: 7
Views: 2361

Add runas to command shell on any file

I kept thinking it was some kind of special switch like "directory service" "domain system" or "don't screamit"

Got me on that one.
by jvierra
Mon Sep 01, 2008 12:48 am
Forum: Windows PowerShell
Topic: How do I get a Powershell script to set Wallpaper?
Replies: 8
Views: 15961

How do I get a Powershell script to set Wallpaper?

It is teh "cat's pajamas" of scripting in teh Windows World. I understand that Apple and Unix are negotiating for license rights. The full movie should be coming out in June. Stay tuned. I left the timeout as an excercise for you. The method is not really related to Powerhell but is a technique that...
by jvierra
Mon Sep 01, 2008 12:31 am
Forum: Windows PowerShell
Topic: How do I get a Powershell script to set Wallpaper?
Replies: 8
Views: 15961

How do I get a Powershell script to set Wallpaper?

For fun here is a solution:



uploads/2491/SetWallpaper.txt
by jvierra
Mon Sep 01, 2008 12:06 am
Forum: Windows PowerShell
Topic: How do I get a Powershell script to set Wallpaper?
Replies: 8
Views: 15961

How do I get a Powershell script to set Wallpaper?

This sets thet wallpaper value:

Code: Select all

	
set-itemproperty -path "HKCU:Control PanelDesktop" -name WallPaper -value Zapotec.bmp
	
by jvierra
Sun Aug 31, 2008 1:00 pm
Forum: Other Scripting Languages
Topic: mysql + javascript
Replies: 5
Views: 4737

mysql + javascript

Hey - and watch out for those Polar Bears. They never stop to Browse when hungry.

Hmmm... Maxthon browser. I'll have to look into that.

GL;)

Keep the JS coming.
by jvierra
Sun Aug 31, 2008 6:27 am
Forum: Windows PowerShell
Topic: select from list - possible ?
Replies: 1
Views: 1339

select from list - possible ?

Couldn't find an example of a listbox that was simple so I created one that may be more helpful than the FlowPanel example.

This one works best when executed from PS command line

. c:scriptListBox.ps1

or whatever the path is that you saved it to.


uploads/2491/ListBox.txt
by jvierra
Sat Aug 30, 2008 8:10 am
Forum: Other Scripting Languages
Topic: Logging into a URL with a batch file
Replies: 3
Views: 2677

Logging into a URL with a batch file

Sorry - I have teh same issue with sites that are not set up to let me save my credentials and with clients who don't know how to manage their proxy servers with Active Directory. It's a real pain sometimes.
by jvierra
Sat Aug 30, 2008 7:00 am
Forum: Other Scripting Languages
Topic: Logging into a URL with a batch file
Replies: 3
Views: 2677

Logging into a URL with a batch file

Unfortunately there isn't. The item teh user gavce you is just a batch file with an initial page set on the launch command line. You can do this easier by just saving the page as a shrtcut to your desktop. It will do teh same thing. Most web sites handle logins with ?Challenge/Response or with an au...