Powershell

Checking Execution Policy

Execution policy determines what kind of scripts PowerShell will execute. You need to set execution policy to something other than Undefined,...

read more

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
1 46 47 48 49 50 130