Showing posts with label PowerShell. Show all posts
Showing posts with label PowerShell. Show all posts

PowerShell Tip: Pipe to the Windows Clipboard

Through this blog post, I discovered the wonderful clip, which allows you to pipe to the clipboard from PowerShell (or cmd).

The IT department at my company has a weird scheme that they like to use for assigning computer names, so I find myself running a PowerShell command like this several times a week when I need to summon my cryptic computer name:

$Env:COMPUTERNAME | clip

PowerShell Tip: Get Synopses for All Built-in Cmdlets

I've been messing around with PowerShell quite a bit lately.  Here's a little one-liner I cooked up that's helping me as I continue to familiarize myself with PowerShell's built-in cmdlets:

gcm | get-help | ft name, synopsis -auto

And here's what the results look like: