ps1

Determining Person Age

How do you calculate the age of a person, based on birthday? You can subtract the current time delivered by Get-Date from the birthday, but the...

read more

Hiding Progress Bars

Some cmdlets and scripts use progress bars to indicate progress. As you learned in the previous tip, progress bars cause delays, so if you...

read more

Bulk Renaming Photos

Here is a quick and fast way to bulk-rename files like photos, or other files. Have a look: #requires -Version 1.0 $Path = "$home\Pictures" $Filter...

read more

Managing Local Users

PowerShell 5.1 finally ships with cmdlets to manage local user accounts. To get a list of local user accounts, use Get-LocalUser and pipe the result...

read more

Getting AD User Attributes

By default, Get-ADUser (provided by ActiveDirectory module which is part of the free Microsoft RSAT tools) retrieves only a few default properties....

read more

Parsing Raw Text (Part 3)

In the previous tip we illustrated how you can use Select-String to find lines in raw text containing a specific word. It took some effort to...

read more
1 43 44 45 46 47 128