Showing results for February 2013 - Page 4 of 11 - Scripting Blog [archived]

Feb 21, 2013
0
0

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

Doctor Scripto
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
0
0

PowerTip: Turn Off PowerShell Module Autoload

Doctor Scripto
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
Feb 20, 2013
0
0

Use PowerShell to Find Servers that Need a Reboot

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find servers that need to be rebooted.   Hey, Scripting Guy! My boss is a Falstaff sort of character, but every once in a while he does actually have a good idea. When he recently logged on to a server console (don’t ask me why my boss was actually ...

Scripting Guy!Windows PowerShellscripting techniques
Feb 19, 2013
0
0

PowerTip: Change PowerShell to Display More Info by Default

Doctor Scripto
Doctor Scripto

Summary: Change Windows PowerShell so that it will display more information by default.  I pipe information and select certain properties, but the information in my table is truncated. Using Autosize or Wrap does not help. How can I change Windows PowerShell so that it displays the information contained in the property?  You are runn...

Scripting Guy!Windows PowerShellPowerTip
Feb 19, 2013
0
1

Use a PowerShell Function to See If a Command Exists

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, writes a Windows PowerShell function to see if a command exists before calling the command. Microsoft Scripting Guy, Ed Wilson, is here. This Thursday, February 21, 2013, I will be on the PowerScripting Podcast. I always enjoy talking with Jon and Hal, and while I am not sure of the actual agenda, I do k...

Scripting Guy!Windows PowerShellscripting techniques