Showing results for December 2014 - Page 7 of 13 - Scripting Blog [archived]

Dec 16, 2014
Post comments count0
Post likes count0

PowerTip: Programmatically Open Script in PowerShell ISE

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to open a script in the Windows PowerShell ISE.  How can I use Windows PowerShell to run a script that will open another script in a new tab            in the Windows PowerShell ISE?  Use the CurrentPowerShellTab Files Add method from the $psISE object, for ...

Scripting Guy!Windows PowerShellPowerTip
Dec 16, 2014
Post comments count0
Post likes count0

Use PowerShell to Find Hotfixes Installed in Time Range

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find hotfixes that were installed during a certain time range.  Hey, Scripting Guy! I have a problem at work. It seems there was a hotfix that was installed in the last couple of months that is causing problems with the video driver on a certain model of compu...

Scripting Guy!Windows PowerShellscripting techniques
Dec 15, 2014
Post comments count0
Post likes count0

PowerTip: Require Specific Module in PowerShell Script

Doctor Scripto
Doctor Scripto

Summary: Learn how to require a specific module in a Windows PowerShell script.  How can I prevent a Windows PowerShell script from running if it requires the Active Directory module            and the module is not available?  At first line of the script, use the #Requires statement to require the ...

Scripting Guy!Windows PowerShellPowerTip
Dec 15, 2014
Post comments count0
Post likes count0

Start Virtual Machines in Order and Wait for Stabilization

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using a Windows PowerShell workflow to ensure that virtual machines start in order and stabilize. Microsoft Scripting Guy, Ed Wilson, is here. Last month, I wrote the following blog post: Use PowerShell to Start or Stop Virtual Machines in Order. The workflow worked great. The problem is that...

Scripting Guy!Windows PowerShellWorkflow
Dec 14, 2014
Post comments count0
Post likes count0

PowerTip: Cause Out-GridView Cmdlet to Pause

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to pause the script while the Out-GridView displays.  How can I pause the execution of my Windows PowerShell script while the Out-GridView cmdlet displays a grid view?            (I do not need to pass information from the grid to the script.)  The &nda...

Scripting Guy!Windows PowerShellPowerTip