Summary: Use Windows PowerShell to display network adapter power settings. How can I use Windows PowerShell to see if my laptop is going to sleep—it keeps dropping off of the wireless network. Use the Get-NetAdapterPowerManagement Windows PowerShell command to display the po
Summary: Windows PowerShell MVP, Teresa Wilson, spotlights three Windows PowerShell events. Microsoft Scripting Guy, Ed Wilson, is here. I was talking with Teresa (The Scripting Wife) about some ideas she had for sharing information with IT professionals. We came up with the idea for her to write a blog post once a month called PowerShel
Summary: Use Windows PowerShell to round numbers to a specific decimal place. How can I use Windows PowerShell to round a number to a specific number of decimal places, and continue to have a number instead of converting it to a string. Use the Round static method from the System.Math class.
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to round numbers. Hey, Scripting Guy! I think your series about formatting numbers has been pretty interesting. However, everything you have shown has a major problem—and that is that you convert numbers into strings. I would love to be able to d
Summary: Learn an easy method to express a percentage in Windows PowerShell. How can I use Windows PowerShell to express a two-decimal place percentage? For example, I have multiple calculations in a Windows PowerShell script, and I am tired of always dividing two numbers, multiplying