Beginning Power Shell Guide

Ch1 - Installation and Configuration

  1. Install
  2. Configuration
  3. Execution Policy
  4. Extending with PSSnapins & Providers

Ch2 - Concepts

  1. CMDLets
  2. Interactive Shell
    1. Working with old style Commands UA-NS
    2. Objects
    3. Variables

Ch3 - Scripting

  1. Functions
  2. Filters WS-NS

Ch4 - Advanced Concepts

  1. Arrays UA-NS
  2. Typing BS-NS
  3. Pipes BS-NS
  4. Script Blocks UA-NS
  5. ADSI and AD RS-UR
  6. WMI RS-UR
Last edited Dec 3 2008 at 5:22 PM by staceyw, version 47
Comments
bsonposh Feb 1 2007 at 8:43 PM 
I think we should start off with an outline and then assign each section to whom ever wants to write it. We can then post the content here and have everyone review it. Finally we can work on the format.

staceyw Feb 2 2007 at 1:57 AM 
Sounds good. That reminds me of a fortune cookie I had the other day which said, "Begin ... The rest is easy". I love that.

rsiddaw Feb 2 2007 at 7:59 AM 
Sounds like a plan

rsiddaw Feb 2 2007 at 8:03 AM 
Not having worked on anything like this before - not sure how we edit the guide. Do I have the right permissions?

bsonposh Feb 2 2007 at 1:13 PM 
I can provide that. We can work on the outline/format/content... when we get the alpha release I can put it on my site and I will give you and Marco full access to the page.

marcoshaw Feb 2 2007 at 1:43 PM 
After each section/sub-section, let put a 'examples' item. If PSH includes something with 'get-help whatever_cmdlet -examples', then we simply refer that as an exercise, otherwise, we put in an example.

As for assigning, at the header of each section/sub-section, put some "()", "[]", or "{}" identifiers maybe along with "insert name here" for whomever will take on that section/sub-section.

staceyw Feb 2 2007 at 2:11 PM 
"rsiddaw wrote Today at 3:03 AM delete this comment
Not having worked on anything like this before - not sure how we edit the guide. Do I have the right permissions?"

You would need Dev permissions on this project. Are you interested? Do you have VSTS?

rsiddaw Feb 2 2007 at 2:33 PM 
Very much interested. I was involved in the discussion on the microsoft powershell newsgroup (RichS) on this and would like to contribute

staceyw Feb 2 2007 at 3:03 PM 
Done. rsiddaw - you are now a Developer on the project and should be able to see the "edit" link in upper left of wiki pages, etc.

staceyw Feb 2 2007 at 4:10 PM 
"After each section/sub-section, let put a 'examples' item. If PSH includes something with 'get-help whatever_cmdlet -examples', then we simply refer that as an exercise, otherwise, we put in an example. As for assigning, at the header of each section/sub-section, put some "()", "[]", or "{}" identifiers maybe along with "insert name here" for whomever will take on that section/sub-section."

Good idea. Cool thing is, you can "link" to a real *.ps1 script in the tree (just browse to it in the src tree to get the URL). Naturally, the code needs to exist first. We can also go the other way and take the samples and add them to the tree latter. Either way. Look forward to seeing the doc grow.

rsiddaw Feb 2 2007 at 4:53 PM 
Thank you - that seems to be working

bsonposh Feb 2 2007 at 5:35 PM 
I think that is a good idea William...
So... Marco/Rich put your initials next to what ever sections you want to write.

rsiddaw Feb 3 2007 at 9:00 PM 
I've picked up the Install\Config section as I added it. I'll pick up some more when you guys have had a chance to select

I would suggest that wherever possible we make the examples administrative tasks that will (a) aid the admin by supplying remade scripts and (b) shoe the admins how to approach scripting tasks.

bsonposh Feb 4 2007 at 12:36 AM 
I selected some.. I will pick up what ever is left

staceyw Feb 5 2007 at 9:43 PM 
Refactored TOC today. Just click on the link to take you to the empty Wiki page and click Edit to start adding content for your page.

bsonposh Feb 5 2007 at 10:50 PM 
I like that.. very nice

bsonposh Feb 7 2007 at 6:03 PM 
I added a the functions section... Let me know if you guys think the format is ok. I would like everyone to comment that is envolved.

rsiddaw Feb 7 2007 at 8:42 PM 
I like this - I'll start adding content. I tend to write as it comes and then go back and edit so first draft will probably be quite rough. I presume we will use US spellings e.g. color as opposed to British colour. Coming from England I have an opinion as to which is right but I'll fit in with the majority view :-)

bsonposh Feb 7 2007 at 9:02 PM 
I dont think it matters... but they... then I can blame all my spelling mistakes on the british :)

bsonposh Feb 7 2007 at 10:07 PM 
I started Objects... Please comment

rsiddaw Feb 8 2007 at 3:29 PM 
If we had any gunboats left ..... I'd send one over :-)

rsiddaw Feb 8 2007 at 3:54 PM 
I've commented on Objects & Executionpolicy is ready for commenting

bsonposh Feb 10 2007 at 2:55 AM 
Just a thought, but maybe we should come up with three or four status values to be consistent:
NS = Not Started
SC = Started Content
UR = Under Review (will proceed to Done when everyone approves.)
Done = Review Finished and Section Considered complete
Ref = Under Revised Review. For when a section is revised.

If this is cool then we can label all the sections.

bsonposh Feb 10 2007 at 2:59 AM 
Example:
CMDLets (UA-NS)
Function (BS-UR)
Objects (BS-Done)
Install (RS-NS)
Profiles (RS-NS)
Execution Policy (RS-UR)
Extending with PSSnapins & Providers (RS-NS)

rsiddaw Feb 10 2007 at 11:35 AM 
Works for me

rsiddaw Feb 10 2007 at 11:45 AM 
Changed Profiles to Configuration as we are really talking about config which goes beyond profiles
This is looking good guys

bsonposh Feb 10 2007 at 3:25 PM 
Variables is now Under Review... Please comment

bsonposh Feb 11 2007 at 8:53 PM 
CMDLets is in SC, but stop by and comment please

rsiddaw Feb 12 2007 at 5:54 PM 
Configuration is now Under Review - - all comments welcome

bsonposh Feb 13 2007 at 9:28 PM 
Ok... lets get some stuff finalized... Please take a moment to approve/disapprove on everything marked UR. If all approve (William, Rich, and myself) we will mark as done.

rsiddaw Feb 18 2007 at 5:51 PM 
Install is ready to review

bsonposh Feb 19 2007 at 12:13 AM 
William... can you review all the stuff marked UR and approve/disapprove. We can mark a big chunk as done.

rsiddaw Mar 13 2007 at 1:10 PM 
Chapter 1 finished and all available for review

bsonposh Mar 13 2007 at 4:18 PM 
we are still waiting on William... did he bow out? I guess we can mark them done since we both checked off.

rsiddaw Mar 15 2007 at 8:55 AM 
I'm OK with that. Its over a month since we asked for review\sign off. Should we start to open this up for wider comment eg via PowerShell newsgroup?

bsonposh Mar 15 2007 at 9:41 PM 
fine with me

staceyw Mar 16 2007 at 4:32 PM 
Sorry guys. Been on vacation and other things. They look good. The thing with wiki, they are never done, nor should they be. It is a "green" document that can change as we learn more or find something that just does not sound right or could be said clearer. It can and should grow and change over time.

bsonposh Mar 16 2007 at 9:25 PM 
:)

rsiddaw Mar 20 2007 at 10:47 PM 
OK ADSI and AD next. Need to think about this one a bit so it doesn't end up as book :-)

bsonposh Mar 22 2007 at 4:50 AM 
Looks like I just have types and pipes left. Hope to get it soon

bsonposh Mar 25 2007 at 2:54 AM 
If we dont like the "done" any other suggestions? I agree with william that its probaby never quite done.

rsiddaw Mar 25 2007 at 12:21 PM 
How about just not having anything against the sections that we are happy with at the moment. In otherwords the default state is done. Any section that has a label is being worked on

bsonposh Mar 25 2007 at 8:02 PM 
sounds good.

bsonposh Mar 26 2007 at 5:15 PM 
removed the "done"

rsiddaw May 26 2007 at 2:28 PM 
Finally found time to get back to this. I've done a first pass on the ADSI and AD section. All comments gratefully received

bsonposh Dec 31 2007 at 8:47 PM 
IMO we should move this guide to the community site.

rsiddaw Jan 5 2008 at 3:25 PM 
I presume you mean powershellcommunity.org Works for me. Actually moving it may encourage me to finish off a few more sections as I visit the community site more than here

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987