Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are your favorite Powershell Cmdlets? [closed]

I just found /n softwares free Powershell NetCmdlets, and after playing with them I love the functionality they bring to the command line. So it raises the question what are your favorite Cmdlets, and how do you use them?

like image 353
Nick Berardi Avatar asked Aug 05 '08 18:08

Nick Berardi


People also ask

What are the most useful PowerShell commands?

Now that you know how to find PowerShell commands, lets get you in the hood. The next set of the most useful powershell commands are Cmdlets to help you manage files and folders. Gets items in a specified location.

What are PowerShell cmdlets?

PowerShell commands, usually in Verb-Noun format are Cmdlets ( “command lets”) used to automate tasks in Windows. In this tutorial I will share commands required to perform common tasks in Windows. Most Windows administrator will find this tutorial both useful and handy.

How do I use the Get-Help cmdlet in PowerShell?

While the Get-Command Cmdlet finds the Cmdlet you need the Get-Help PowerShell command gives you the information you need to run the command. The easiest wat to use the Get-Help Cmdlet is to enter Get-Help followed by the command you want information on. To find more information about the Get-EventLog Cmdlet, run the command below:

Why should I learn PowerShell?

When you access PowerShell for the first time, you can see many readily available cmdlets that can be used by default. The inclusion of this large number of cmdlets makes the “time to value” very quick, and it becomes immediately useful in most environments.


2 Answers

As a programmer/hacker, Get-Member and Get-Command are the ones I use more than any others, but the ones I use to show off are Select-Control and Send-Keys from WASP, the PowerGadgets, and some of my own stuff written in WPF against CTP2 or PoshConsole ;-)

Weather in PoshConsole

like image 54
Jaykul Avatar answered Oct 19 '22 11:10

Jaykul


there's an out-twitter script i use for posting to twitter. it's nice, as it means you can send something to twitter without the risk of being distracted by a browser.

i added an alias for it, "twit".

so now you can type, for example:

PS C:\>"trying out stack overflow" | twit

and if successfully lodged, it will return an integer that identifies your post.

like image 30
Leon Bambrick Avatar answered Oct 19 '22 10:10

Leon Bambrick