Summary: Use Windows PowerShell to return the remainder after dividing two numbers.
How can use Windows PowerShell to divide two numbers and only return the remainder (called a modulo operation)?
In Windows PowerShell, the modulo operator is the % sign. Here are a few examples of how to use it:
PS C:\> 3...
Summary: Learn how to easily add a number to an existing value stored in a variable and update the value of the variable.
How can I use Windows PowerShell to add a number to a value stored in a variable so that I can update the value in that variable with the number and store the number back into ...
Summary: Learn how to easily produce a list of approved Windows PowerShell verbs.
How can I find what verbs are approved for use in a Windows PowerShell function?
Use the Get-Verb cmdlet, and to make it easy to peruse, send the output to the Out-GridView cmdlet:
get-verb | Out-GridView...
Summary: Learn how to find aliases related to a series of cmdlets. How can I find aliases that are related to a series of Windows PowerShell cmdlets, such as processes? Use the Get-Alias cmdlet and specify a wildcard character for the definition parameter, for example:Get-Alias -Definition "*process...
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 ...