Showing results for Hey Scripting Guy! - Scripting Blog [archived]

Feb 6, 2016
0
0

PowerTip: Open a script in PowerShell ISE

Doctor Scripto
Doctor Scripto

Summary: Automatically open a script in the Windows PowerShell ISE.  How can I automatically open a script in the Windows PowerShell ISE from within a script?  Use the Windows PowerShell ISE automation model, and use the Add method for the Files collection on the current PowerShell tab, for example: $psISE.CurrentPowerShellTab.Files.Add("C:\fso\ba...

Scripting Guy!Windows PowerShellPowerTip
Feb 5, 2016
0
0

PowerTip: Update a PowerShell module

Doctor Scripto
Doctor Scripto

Summary: Learn how to update an installed Windows PowerShell module.  I used Install-Module to install a Windows PowerShell module, but how can I update it?  Use the Update-Module cmdlet, for example: Here are a couple of other examples: find-module *ise-preview | Update-Module Update-Module *ise-preview

Scripting Guy!Windows PowerShellPowerTip
Feb 5, 2016
0
0

Playing with PowerShell ISE Preview

Doctor Scripto
Doctor Scripto

Summary: This blog post explores the features and functionality of the newly released Windows PowerShell ISE Preview edition that runs on Windows PowerShell 5.0. After you install the Windows PowerShell ISE preview from the PowerShell Gallery and take a look at the modules and functions it provides, it is time to fire up the new ISE and play a bit...

Scripting Guy!Windows PowerShellISE
Feb 4, 2016
0
0

PowerTip: Install module from PowerShell Gallery

Doctor Scripto
Doctor Scripto

Summary: Learn how to install a module from the PowerShell Gallery.  How can I easily install a module from the PowerShell Gallery?  Use the Install-Module cmdlet in Windows PowerShell 5.0, and specify the name of the module.

Scripting Guy!Windows PowerShellPowerTip
Feb 1, 2016
0
0

PowerTip: Get password from PowerShell credential object

Doctor Scripto
Doctor Scripto

Summary: Learn how to retrieve the password from a Windows PowerShell credential object.  I am having a problem connecting to an application via Windows PowerShell. How can I verify the user name and password that was supplied to the credential object?  Assuming you have permissions to the object, you can use the GetNetworkCredential method, for e...

Scripting Guy!Windows PowerShellPowerTip