views:

697

answers:

5

I know of a couple, and I've seen several blogs which include scripts sporadically, but I was wondering if there were any other good places to look.

http://powershell.com/cs/media/13/default.aspx

http://powershellcommunity.org/Scripts.aspx

+1  A: 

Try here:

PoshCode

EBGreen
That seems to be the same list as in the powershellcommunity.org link
Mike Shepard
Ehh...you're right. I think the poshcode site is the real site and the PS community site is just repuvlishing their RSS.
EBGreen
I probably wouldn't have noticed, but the next to last script is mine. :-)
Mike Shepard
EBGreen is more or less right. It's very much a two-way relationship and the same team of people work on both sites. I'm one o' dem people, Joel Bennett is another.
halr9000
A: 

Here is sample code for basic tasks and here examples specifically for regular expressions.

You might want to buy Lee Holmes book Windows PowerShell Cookbook and download his sample code.

As you say, PowerShellCommunity.org is also a good place to look.

John D. Cook
+2  A: 

As EBGreen states, PoshCode <-> PowershellCommunity.org/scripts.aspx. Just for the sake of completeness, let me say more on PoshCode.

We have over 600 scripts up there already. I don't know if anyone on here has followed along on the project's goals, but right now it's a heavily modified pastebin on LAMP. There's a codeplex project in the works to do it up right with a web service & db backend. There's even interest from Jeffrey Snover to embrace it. Er, not in the typical Microsoft sense of embrace and extend. I mean the community de-facto standard sort of embrace. :)

PoshCode "Mk. I" http://poshcode.org Mk. II: http://www.codeplex.com/PoshCode

More details were discussed on my podcast two different times: http://powerscripting.wordpress.com/2008/08/25/episode-38-poshcode-and-powershellplus/

http://powerscripting.wordpress.com/2008/09/07/episode-40-poshboard-part-duex/

The second show has guests Jeffrey Snover, Keith Hill, Oisin Grehan, and Joel Bennett.

Another resource of moderate value (but increasing, I think) is the TechNet Script Center. The reason it has been only of moderate value historically is that the Scripting Guys were heavy on the PowerShell--to the point that the posh code wasn't embracing some of the best features of PowerShell. But there are new Scripting Guys in town, and we're interviewing them for Episode 49.

halr9000
I will ad that Hal and Johnathan do a great job on the podcast.
EBGreen
I hadn't noticed the mention of the TechNet Script Center (or had and for some reason hadn't clicked on the link). I was heartened by the nicely categorized lists, but the scripts almost look like they're generated, they just output properties of various WMI classes. Not very instructive.
Mike Shepard
A: 

I found another one (I'm always looking...)

http://www.powershellpro.com/powershell-forum/

Mike Shepard
A: 

The Powershell Toolbar has a good list of repositories, as well as blogs, podcasts, utilities, etc.

Mike Shepard