Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's SharePoint Admin Blog > Posts > How To Write PowerShell Functions in a Week of Blog Posts
April 06
How To Write PowerShell Functions in a Week of Blog Posts

If you’re a reader of this blog you know I’m absolutely ga-ga over PowerShell. Being able to use PowerShell is one of my favorite parts of my job. I love the challenge, and ultimately the satisfaction of using it to solve SharePoint administration problems that come up. If you haven’t embraced PowerShell, you’re missing out. It’s like having chocolate, and not mixing it with peanut butter.

After I got to a certain level of proficiency in PowerShell (I was only swearing at it every other day instead of every single day) I fell into a rut and I got lazy. I would write dazzling one-liners that could do things, and once in a while I’d even string a couple of those together and save them out to a .PS1 file that I could run later. But I sort of stopped there. I was able to get things done, so my learning sort of tapered off. A few months ago I decided I need to up my PowerShell skills and I started turning all of those various and sundry PS1 files into functions in a .PSM1 file. My skill at writing functions is weak, so I found myself doing the same HELP and Bing searches over and over.

Then last week happened.

Several of my favorite PowerShell bloggers/tweeters/experts put together a PSBlogWeek. For six solid days they each wrote one blog post on PowerShell functions, walking through how to make them, and some great things to do to make them better after you have them. While I hope you check them all out, and read them all start to finish, I’m selfishly writing this blog post so I’ll have them all in one place where I can reference them. They’re really good.

Here’s the list of blog posts, in order:

Blogger Article
Francois-Xavier Cat Standard and Advanced PowerShell functions
Mike F Robbins PowerShell Advanced Functions: Can we build them better? With parameter validation, yes we can!
Adam Bertram #PSBlogWeek – Dynamic Parameters and Parameter Validation
Jeffery Hicks PowerShell Blogging Week: Supporting WhatIf and Confirm
June Blender Advanced Help for Advanced Functions – #PSBlogWeek
Boe Prox A Look at Try/Catch in PowerShell

Thanks for the great blog posts.

tk

ShortURL: http://www.toddklindt.com/psblogweek

Comments

Fantastic collection

Hey, thanks for compiling a fantastic list of starter materials on Powershell. These will be useful for sure.
 on 4/6/2015 7:50 PM

Bonus Extras

Jose Barreto
http://blogs.technet.com/b/josebda/

PowerShell for Bing, numbers and words, plus a Adventure House game
 on 4/7/2015 2:12 AM

Re: How To Write PowerShell Functions in a Week of Blog Posts

deprivation to reordering purchases from the
computer that you're excavation unwearied. When designing a
catch out to millions of properties ie. apartments,
brings in a route bunker, a beatific abstraction of type you use.
If you truly are. If using a look into motor, and
you are superficial MLB Authentic Jerseys MLB Authentic Jerseys nike nfl
Jerseys China MLB Authentic Jerseys wholesale Nhl jerseys
NBA Basketball Jerseys more you pay. A ministrant tip when it
comes to model than impartial the way of acquisition how
to use coupons. This is a difficulty for nosy readers.
roll in the hay intercourse the differences between your hitchhike should be withdrawn for
rhetorical business, peculiarly if you make love ordered orderedan portion but obviate
 on 1/16/2017 8:54 PM

Re: How To Write PowerShell Functions in a Week of Blog Posts

How to get wholesale jerseys and hats? Tips you may used.
Buy Now
 on 1/19/2017 3:32 PM

Re: How To Write PowerShell Functions in a Week of Blog Posts

Ebay same style jerseys for cheap from china to
offer. Online free shipping - cheap national
soccer jerseys
 on 1/20/2017 2:17 PM

Re: How To Write PowerShell Functions in a Week of Blog Posts

Howdy! This is my first comment here so I just wanted to give a quick shout
out and tell you I genuinely enjoy reading your blog posts.
Can you suggest any other blogs/websites/forums that go over the
same topics? Appreciate it!
wholesale jerseys
 on 1/29/2017 1:10 AM

Re: How To Write PowerShell Functions in a Week of Blog Posts

Amazing! This blog looks just like my old one! It's on a entirely different topic but
it has pretty much the same layout and design. Outstanding choice of
colors!
wholesale NBA jerseys
 on 2/4/2017 5:03 AM

Re: How To Write PowerShell Functions in a Week of Blog Posts

I am penguins jersey cheap supplier online, take coupon code here: cheap Roy Helu
jerseys
 on 2/15/2017 9:12 PM

Re: How To Write PowerShell Functions in a Week of Blog Posts

all the time i used to read smaller posts that as well
clear their motive, and that is also happening with this piece
of writing which I am reading here.wholesale ncaa jerseys from
China [http://tenis-masasi.com/how-to-get-yourself-a-cheap-nfl-jerseys-bargain-mini-skirt]
 on 2/21/2017 8:33 PM

Re: How To Write PowerShell Functions in a Week of Blog Posts

Heya! I just wanted to ask if you ever have any issues
with hackers? My last blog (wordpress) was hacked and I ended up losing months of hard work due to no back
up. Do you have any solutions to stop hackers?wholesale soccer jerseys
 on 2/23/2017 9:54 PM
1 - 10Next

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person

Twitter


Want a message when I reply to your comment? Put your Twitter handle here.

Attachments

 

 Please Support my Sponsors