Showing tag results for Windows PowerShell

Nov 12, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create Variables in Windows PowerShell?

ScriptingGuy1
ScriptingGuy1

  Hey, Scripting Guy! In VBScript, it was easy to create a variable; all I had to do was use the DIM statement. I did not need to specify a type or a value or anything. I just used DIM and the variable would be created. How do I create variables in Windows PowerShell? Please tell me you haven’t made it harder. -- TL  Hello TL...

Scripting Guy!Windows PowerShellgetting started
Nov 11, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Change on the Fly the Way Windows PowerShell Functions Work?

ScriptingGuy1
ScriptingGuy1

  Hey, Scripting Guy! I have started using functions in Windows PowerShell to encapsulate complex commands, and it works pretty well. However, I would like to be able to change the way the functions work on the fly. By this I do not mean that I will throw the computer across the room and see how the function works, but rather I want to mo...

Scripting Guy!Windows PowerShellgetting started
Nov 10, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create a Custom Function?

ScriptingGuy1
ScriptingGuy1

  Hey, Scripting Guy! I am getting tired of typing the long commands used in Windows PowerShell. I know you Scripting Guys seem to show people always typing commands inside the Windows PowerShell console, but I do not think I like to work that way. It is TOO MUCH TYPING. I would love to be able to shorten some of the commands, but I do no...

Scripting Guy!Windows PowerShellgetting started
Nov 9, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Tell Me About Aliases in Windows PowerShell

ScriptingGuy1
ScriptingGuy1

  Hey, Scripting Guy! I have been playing around with Windows PowerShell 2.0 in Windows 7 and I think that I like it. However, it seems to require an awful lot of typing. The double command names, such as Get-Process, are somewhat helpful for remembering things, but it is quite a bit of typing. Yes, it is shorter than writing a VBScript t...

Scripting Guy!Windows PowerShellgetting started
Nov 5, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Start an Event Based on When a Registry Value Is Changed?

ScriptingGuy1
ScriptingGuy1

  Hey, Scripting Guy! I need to be notified when a particular registry key value gets changed. The registry value is in the HKEY_LOCAL_MACHINE hive. What I am trying to accomplish is this: I am using a script to install software. After the first piece of software is successfully installed, I want to install a subsequent piece of software....

Scripting Guy!Windows PowerShellscripting techniques