Good PowerShell guide, getting started through more advanced usage

19

22

Does anyone have a really good tutorial or getting started guide for Microsoft's PowerShell? I'm a long time Linux/Unix user, and very familiar with scripting languages, command-line usage with bash, ksh and zsh. I'm an intermediate Ruby programmer, and have used all these tools for command-line file management and automation tasks.

I would love a "PowerShell for Bash Experts" guide if such a thing exists, or is on that level of detail.

jtimberman

Posted 2009-07-18T01:24:40.687

Reputation: 20 109

Question was closed 2016-11-02T01:06:15.043

Answers

8

TheTXI

Posted 2009-07-18T01:24:40.687

Reputation: 3 551

1The second link to MSDN there - Windows Powershell Programmer's Guide, looks to be broken ... – Everyone – 2011-05-18T11:57:53.057

As a possible replacement to the second link, I found a link on MSDN labelled Windows Powershell Programmer's Guide. I never saw where the link used to go, but the title seems to match. Also, the Guide in the first link appears to be a subset of this one.

– merv – 2012-01-29T20:09:02.107

4

I've found this guide to be extremely helpful. Mastering Powershell - http://powershell.com/cs/blogs/ebook/

It's a free E-Book by a Powershell MVP that is well written.

Mike

Michael Walker

Posted 2009-07-18T01:24:40.687

Reputation:

+1, I also found this one very helpful. – ThatGraemeGuy – 2009-11-30T16:28:47.410

2

I got started using the tutorial on powershellpro.

My only complaints are:

  • The navigation is hard to use (list of links on the right hand side)
  • There are a few errors and typos throughout. Although if you're an astute reader, you'll notice right away.

The teaching techniques I found useful were when they show how to do a task in both PowerShell and through regular Windows GUI (like MMC) and when they describe real-world uses for some of the scripts or commands.

Travis

Posted 2009-07-18T01:24:40.687

Reputation: 2 125

1

I found this is a very good starter guide. The eBook is free for download.

Sky100

Posted 2009-07-18T01:24:40.687

Reputation: 111

0

You may read free e-book PowerShell Succinctly:

enter image description here

Description

PowerShell Succinctly highlights some of the PowerShell programming model’s many benefits, specifically for .NET developers and system administrators. Author Rui Machado guides readers through time-saving methods that simplify code testing by eliminating the need to create a new application in Visual Studio. Also included are tips for using additional services, such as PowerGui, WMI, and SQL Server, to get the most out of PowerShell. Even if you don’t already use scripting languages to manage your machines, PowerShell Succinctly will show you just how easy it is to automate activities, work with databases, and interact with a variety of file types with this useful model.

Table of Contents

  • Basics
  • File System
  • Processes
  • Windows Management Instrumentation
  • Remove PowerShell
  • Structured Files
  • SQL Server and PowerShell Microsoft Office Interop

Link: https://www.syncfusion.com/resources/techportal/details/ebooks/powershell

Dariusz Woźniak

Posted 2009-07-18T01:24:40.687

Reputation: 315

0

I found this tutorial very helpful when I was learning powershell. I haven't gotten all the way through, so I don't know how advanced it gets, but I think it covers things fairly well.

Timothy Carter

Posted 2009-07-18T01:24:40.687

Reputation: 361