Working with Fixed Number Sizes in PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about working with fixed number sizes in Windows PowerShell. Hey, Scripting Guy! I have a script that returns a specific type of number, so I added a...
View ArticlePowerTip: Use Parentheses to Override Operator Precedence
Summary: Use parentheses to override operator precedence in Windows PowerShell. How can I ensure that a math expression that keeps returning incorrect information will work properly in...
View ArticleFormatting PowerShell Decimal Places
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using strings to format the display of decimal places in Windows PowerShell. Hey, Scripting Guy! One of the things I have a problem with is when...
View ArticlePowerTip: Format Decimal Numbers in PowerShell
Summary: Learn how to display a specific number of decimal points in Windows PowerShell. How can I use Windows PowerShell to display only one decimal place on a number that currently has two? Use a...
View ArticlePowerTip: Round a Number with PowerShell
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...
View ArticleUsing PowerShell and Standard Number Formats
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using standard number formats. Hey, Scripting Guy! I love using Windows PowerShell. I use it for everything. My problem is that it does not do...
View ArticlePowerTip: Express Percentage in PowerShell
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...
View ArticleRounding Numbers—PowerShell Style
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....
View ArticlePowerTip: Use PowerShell to Round to Specific Decimal Place
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...
View ArticlePowerTip: Use PowerShell to Display Network Adapter Power Settings
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...
View ArticleWeekend Scripter: Use PowerShell to Troubleshoot Group Policy Part 2
Summary: Guest blogger, Alex Verboon, continues his series about using Windows PowerShell to troubleshoot Group Policy.Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Alex...
View ArticlePowerTip: Back up GPOs with PowerShell
Summary: Use Windows PowerShell to back up all GPOs in a domain. How can I use Windows PowerShell to generate a backup of all Group Policy Objects in a domain? Use the Backup-GPO cmdlet from the Remote...
View ArticleRegistry Cmdlets: Working with the Registry
Summary: Richard Siddaway investigates how to use CIM to manage the registry.Honorary Scripting Guy, Richard Siddaway, here filling in for my good friend The Scripting Guy. Today, I'm starting a series...
View ArticlePowerTip: Use PoweShell to Search for CIM Classes
Summary: Learn how to use Windows PowerShell to search for CIM classes. How can I use Windows PowerShell to find a CIM class on my machine? Use Get-WmiObject in List mode. For instance, to find the...
View ArticleRegistry Cmdlets: First Steps with CDXML
Summary: Richard Siddaway shows how to start creating CDXML cmdlets.Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the second post in a...
View ArticlePowerTip: Use PowerShell to Find Parameters for CIM Class Method
Summary: Learn how to discover the parameters for a method in a CIM class. How can I find the parameters of a CIM class method, such as GetStringValue in the StdRegprov class? Use Get-CimClass to get...
View ArticleRegistry Cmdlets: Advanced CDXML
Summary: Richard Siddaway shows some advanced features in CDXML.Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the third post in a...
View ArticlePowerTip: Override Modules in PowerShell Session
Summary: Learn how to override the modules you have imported into your Windows PowerShell session. How can I re-load the Windows PowerShell module that I am developing so I can test the changes at each...
View ArticleRegistry Cmdlets: Complete the Registry CDXML Module
Summary: Richard Siddaway shows how to complete the registry CDXML module.Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the final post...
View ArticlePowerTip: Use PowerShell to Install Modules on Your System
Summary: Learn how to use Windows PowerShell to install modules on your system. How can I use Windows PowerShell to roll out a new set of modules that are used extensively in my organization? When...
View Article