Showing archive results for 2013

Feb 22, 2013
Post comments count0
Post likes count0

PowerTip: Find Dynamic Parameters for Certain PowerShell Providers

Doctor Scripto

Summary: Learn how to find out about dynamic parameters for certain Windows PowerShell providers.  How can I easily find out about parameters that are added to cmdlets when they are used with a specific Windows PowerShell provider?  Use the Get-Help cmdlet and look for the Help topic related to the provider. Near the bottom...

Scripting Guy!Windows PowerShellPowerTip
Feb 22, 2013
Post comments count0
Post likes count0

Use PowerShell to Find Installed Video Codecs on Windows 8

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find installed video codecs on Windows 8.  Hey, Scripting Guy! Dude, I am in trouble. Big time! Last week, I installed Windows 8 on the laptops used by all our department heads and front-line supervisors. I thought the responsiveness and the apps wou...

Scripting Guy!Windows PowerShellscripting techniques
Feb 21, 2013
Post comments count0
Post likes count0

PowerTip: Count the Number of Commands Exposed by Imported Modules

Doctor Scripto

Summary: Learn how to count the number of commands exposed by imported Windows PowerShell modules.  I want to know how many commands are available through the modules I have imported into my current Windows PowerShell session. How can I do this?  Use the Get-Module cmdlet and pipe the results to the Foreach-Object ...

Scripting Guy!Windows PowerShellPowerTip
Feb 21, 2013
Post comments count0
Post likes count0

Use PowerShell to Perform an Orderly Shutdown of a Server Running Hyper-V

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to shut down all virtual machines on a server running Hyper-V prior to shutting down the server.  Hey, Scripting Guy! From time to time I need to shut down one of our servers that is running the Hyper-V role. The problem is that these servers have multiple virtua...

Scripting Guy!Windows PowerShellscripting techniques
Feb 20, 2013
Post comments count0
Post likes count0

PowerTip: Turn Off PowerShell Module Autoload

Doctor Scripto

Summary: Learn how to turn off Windows PowerShell module auto-loading.  I want to disable the Windows PowerShell 3.0 module automatic loading of modules. How do I do this?  Set the value of the $PSModuleAutoloadingPreference automatic variable to none, as shown here. $PSModuleAutoloadingPreference = "none" Note&nb...

Scripting Guy!Windows PowerShellPowerTip