Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Return remainder after dividing two numbers

Summary: Use Windows PowerShell to return the remainder after dividing two numbers. (image)  How can use Windows PowerShell to divide two numbers and only return the remainder (called a modulo operation)? (image)  In Windows PowerShell, the modulo operator is the % sign. Here are a few examples of how to use ...

PowerTip: Find related cmdlet aliases

Summary: Learn how to find aliases related to a series of cmdlets.(image)  How can I find aliases that are related to a series of Windows PowerShell cmdlets, such as processes?(image)  Use the Get-Alias cmdlet and specify a wildcard character for the definition parameter, for example:Get-Alias -Definition "*process"(image...

Weekend Scripter: Find Information on the Hey, Scripting Guy! Blog

Summary: Ed Wilson, Microsoft Scripting Guy, talks about how to find stuff on the Hey, Scripting Guy! Blog. Microsoft Scripting Guy, Ed Wilson, is here. It is hard to imagine that it is 2016. It’s even harder to imagine that I have been writing the Hey, Scripting Guy! Blog since 2008! With the current pace of twice a day posts, 7 days a ...