Showing results for January 2015 - Scripting Blog [archived]

Jan 31, 2015
0
0

PowerTip: Use PowerShell to Display Network Adapter Power Settings

Doctor Scripto
Doctor Scripto

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 power &...

Scripting Guy!Windows PowerShellPowerTip
Jan 31, 2015
0
0

PowerShell Spotlight: Three Upcoming Spotlight Events

Doctor Scripto
Doctor Scripto

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 PowerShell ...

Jan 30, 2015
0
0

PowerTip: Use PowerShell to Round to Specific Decimal Place

Doctor Scripto
Doctor Scripto

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. By ...

Scripting Guy!Windows PowerShellPowerTip
Jan 30, 2015
0
0

Rounding Numbers—PowerShell Style

Doctor Scripto
Doctor Scripto

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 ...

Scripting Guy!Windows PowerShellgetting started
Jan 29, 2015
0
1

PowerTip: Express Percentage in PowerShell

Doctor Scripto
Doctor Scripto

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     &...

Scripting Guy!Windows PowerShellPowerTip