Search found 14154 matches

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: 15988

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: 4740

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: 1340

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: 2683

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: 2683

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...
by jvierra
Sat Aug 30, 2008 5:45 am
Forum: VBScript
Topic: Registry search
Replies: 23
Views: 20565

Registry search

To sacve your time and patience we should just continue on, for the moment, with your original script tecchnique. If you need to rerofit it with WUS that will be very easy once the script is working. Troubleshoooting WU can be a pain in the neck if youve never done it before and it won't teach you a...
by jvierra
Sat Aug 30, 2008 5:01 am
Forum: VBScript
Topic: Registry search
Replies: 23
Views: 20565

Registry search

This works on every machine I have tried it on. It also correctly reports that it is not installed on a machine where it is in the registry but has been uninstalled or superceded. This is a simple test script wit hno functions and only two arguments at the top for testing. It is essentially the Micr...
by jvierra
Sat Aug 30, 2008 4:45 am
Forum: VBScript
Topic: Registry search
Replies: 23
Views: 20565

Registry search

On all of my machines that I am testing it finds that KB perfectly.

[Security Update for Microsoft Office Word 2003 (KB954464)] Type:1 ArticleID:954464

If you know the UUID I can scan for it alone on a list of servers. This is very fast.

by jvierra
Fri Aug 29, 2008 11:13 am
Forum: VBScript
Topic: Registry search
Replies: 23
Views: 20565

Registry search

Here is how to use an array.

aPatches = Array( _ "KB948988", _ "KB946648", _ "KB950974", _ "KB951066", _ "KB952954", _ "KB953838", _ "KB921596", _ "KB951548", _ "KB954464", _ "KB955439", _ "KB944338-v2" _)

For Each patch in aPatches
' process teh patch
Next
by jvierra
Fri Aug 29, 2008 9:53 am
Forum: VBScript
Topic: Wshshell.Exec + stdout.readline + Instr
Replies: 8
Views: 5057

Wshshell.Exec + stdout.readline + Instr

It has more options and the output is more consistent and easier to pull out of a file. Just redirect request to teh file then read it back line by line.