Showing results for running - Scripting Blog [archived]

Jan 10, 2011
0
0

Provide Input to Applications with PowerShell

ScriptingGuy1
ScriptingGuy1

   Summary: Use SendKeys to provide input to graphical applications with Windows PowerShell.   Hey, Scripting Guy! I am almost embarrassed to admit this but you know what I miss most about VBScript? I miss the SendKeys function. I do not know why Windows PowerShell did not include a New-SendKeys cmdlet. I know all about the risks, ab...

Scripting Guy!Windows PowerShellscripting techniques
Jan 6, 2011
0
0

Use PowerShell and Group Policy for Your Logon Script

ScriptingGuy1
ScriptingGuy1

   Summary: Microsoft Scripting Guy Ed Wilson discusses the pros and the cons of using Windows PowerShell for logon Scripts.   Hey, Scripting Guy! In the past, I worked at a company that had an impressive logon script. It was written in VBScript and consumed more than 5,000 lines of code – I am not joking here, it was more than...

Scripting Guy!Windows PowerShellscripting techniques
Nov 14, 2010
0
0

Weekend Scripter: Use PowerShell to Patch VHD and WIM Image Files

ScriptingGuy1
ScriptingGuy1

    Summary: Microsoft PFE Ben Pearce shows how to use Windows PowerShell to perform offline servicing of Virtual Disks (VHD) and Windows Imaging Format (WIM) files.   Microsoft Scripting Guy Ed Wilson here. We continue with guest blogger Weekend Scripter today by having a post written by Ben Pearce. Ben Pearce is a UK based Premier ...

Scripting Guy!Windows PowerShellscripting techniques
Nov 7, 2010
0
0

Use PowerShell to Retrieve a Weather Forecast

ScriptingGuy1
ScriptingGuy1

  Summary: Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell to get a weather forecast from inside the Windows PowerShell ISE.   Microsoft Scripting Guy Ed Wilson here. It is amazing how quickly things change on the Internet. A couple of years ago I found a website that hosted several web services. It was really cool. ...

Scripting Guy!Windows PowerShellWeekend Scripter
Aug 12, 2010
0
0

Pausing a Windows PowerShell Script to Receive Keyboard Input

ScriptingGuy1
ScriptingGuy1

  Summary: Pausing execution of a Windows PowerShell script to receive keyboard input can be as simple as using the Read-Host cmdlet. But other methods are available.   Hey, Scripting Guy! I would like to pause a Windows PowerShell script and wait for user input. When the user types a particular key on the keyboard, I would like the scrip...

Scripting Guy!Windows PowerShellscripting techniques