ps1

Scanning Ports

Here is a straightforward way to test ports on a local or remote system. You can even specify a timeout (in milliseconds): function Get-PortInfo {...

read more

Resetting Console Colors

It can be easy to mess up console colors in the PowerShell console. A single call with accidental values, or a script that messed with the colors,...

read more

Listing Network Drives

There are many ways to create a list of network drives. One involves a COM interface that was used by VBScript as well, and we’ll pick it to...

read more

Sending Emails via Outlook

You can always use Send-MailMessage to send a mail via any SMTP server. If you’d like to use your Outlook client, though, i.e. to keep access...

read more

Formatting Date and Time

Formatting date and time to your needs is easy with the -Format parameter provided by Get-Date. You can use it either with the current date, or...

read more
1 22 23 24 25 26 128