Use the Export-History PowerShell Function to Save Commands

  Summary: Use the Export-History Windows PowerShell function to simplify saving command history. Microsoft Scripting Guy Ed Wilson here. One of the things I was thinking about when I was writing the article this week about the History cmdlets was that I wish it were a bit easier to export my history. This gave me…

0

Use PowerShell to Download Files from the Internet

Summary: Learn how to use Windows PowerShell to download files from the Internet and other cool tasks in today’s Quick-Hits Friday. In this Post: Working with Windows PowerShell Group Policy Cmdlets Using PowerShell to Log In to an HTTPS Website PowerShell Best Practices  VBScript for Setting SACLs and DACLs on Registry Keys Using PowerShell to…

3

Accelerate the PowerShell Console with Custom Drives

   Summary: Microsoft Scripting Guy Ed Wilson teaches how to accelerate work in the Windows PowerShell console with PSDrives.   Hey, Scripting Guy! I noticed in one of your screen shots that you were running the script from a rather deeply nested path of c:\data\ScriptingGuys\2011\HSG-1-3-11. I remember thinking what a silly path for a PowerShell…

1

Use the PowerShell Add-History Cmdlet to Customize the Console

   Summary: Learn how to use the Windows PowerShell Add-History cmdlet to customize the console for more efficient automation.   Hey, Scripting Guy! I love using the Windows PowerShell history cmdlets to simplify my server and workstation automation needs. It is much easier to Invoke-History than it is to write a script, even a simple…

1

Use PowerShell History to Speed Repetitive Commands

   Summary: Learn how to use the Windows PowerShell history cmdlets to speed execution of repetitive commands.   Hey, Scripting Guy! I recently read that Windows PowerShell keeps a history of commands. I am not sure if this is true or not because I cannot seem to figure out how to get to that history….

0

Simplify PowerShell Hash Table Creation with a Simple Cmdlet

   Summary: Learn how to use an easy-to-use Windows PowerShell cmdlet to simplify creating hash tables.   Hey, Scripting Guy! Good morning, Ed. I have been a Scripting Guy fan for years and although I have not read all the thousands of posts, I have definitely read more than a few of them. This is…

7

Weekend Scripter: Query the Bing Search Engine from a PowerShell Script

  Summary: Microsoft MVP Sean Kearney shows how to use the Bing web services API from inside a Windows PowerShell script.   Microsoft Scripting Guy Ed Wilson here. Sean Kearney is back with us today as he continues to share with us his discoveries while playing. Read more about Sean in the introduction on this…

0

Weekend Scripter: Discovering PowerShell Cmdlet Parameter Aliases

   Summary: Increase your Windows PowerShell productivity by unleashing the power of parameter aliases.   Microsoft Scripting Guy Ed Wilson here. The more I work with Windows PowerShell the more I enjoy it. On the other hand, there are still some challenges that need to be met in terms of both discoverability and in usability….

1

Use Jobs to Run Parallel Queries or Remove Objects from Active Memory

   Summary: Learn how to use jobs to run parallel queries, remove objects from active memory, work with text files and use the Get-Member Cmdlet to go behind the scenes of PowerShell commands in this edition of Quick Hits Friday.   In this Post: Use Jobs to Run Parallel Queries with Windows PowerShell Remove Application…

0

Schedule PowerShell Scripts that Require Input Values

  Summary: Learn how to use the Windows Task Scheduler to run Windows PowerShell scripts that require input values.   Hey, Scripting Guy! I have a Windows PowerShell script that collects information from a computer and writes the results to a text file. I would like to be able to schedule the running of this…

4