posts-powershell

Simple PowerShell Chat

Here’s a fun PowerShell script that you can use to create a simple multi-channel chat room. All you need is a network share where everyone has...

read more

Testing Password Strength

In previous tips, we already talked about services such as haveIbeenpwned.com. They harvest leaked passwords from previous hacker attacks so you can...

read more

Finding Public IP Address

Here is a one-liner that retrieves your current public IP address: PS> Invoke-RestMethod -Uri http://ipinfo.io ip : 87.153.224.209 hostname :...

read more

Real-Time Log Processing

PowerShell comes with a powerful yet simple way of monitoring file changes. Let’s assume you have a log file that changes every now and then....

read more

Detecting Storage Issues

In Windows 10 and Windows Server 2016, PowerShell can access storage reliability data so you can find out whether there is something wrong with one...

read more

Resetting Winsock

PowerShell can execute internal PowerShell commands and also regular console commands, so it’s not a bad thing to continue to use console...

read more

Accepting Masked Passwords

If you ever write PowerShell functions that need to accept sensitive input such as passwords, make sure you allow users to submit SecureString...

read more
1 8 9 10 11 12 119