Five Simple But Powerful PowerShell Functions/Filters for SharePoint
To start out, a function in PowerShell is similar to a function in any other development language. (See my last post “Commands in PowerShell” for a little PowerShell basics on command and functions.) It takes zero or more inputs, runs zero or more statements and possibly returns one or more values. Functions in PowerShell are a way to gather up multiple statements into a functional, reusable...
November 28th, 2007 by Darrin
Commands in PowerShell
Commands do the work in PowerShell. Its that simple yet when I speak about PowerShell and SharePoint there always seems to be some confusion on what a command is. That’s understandable because in PowerShell there are many ways to execute a command. Yesterday I was speaking with someone and started talking about functions and filters in PowerShell. The person whom I was speaking with had not worked...
November 27th, 2007 by Darrin
Five Simple But Powerful PowerShell Functions/Filters for SharePoint
To start out, a function in PowerShell is similar to a function in any other development language. (See my last post “Commands in PowerShell” for a little PowerShell basics on command and functions.) It takes zero or more inputs, runs zero or more statements and possibly returns one or more values. Functions in PowerShell are a way to gather up multiple statements into a functional, reusable...
November 25th, 2007 by Darrin
Comments Off
Barcelona, Spain PowerShell/SharePoint Scripts
As promised here are the PowerShell scripts I used in my session at ITForums in Barcelona Spain. PS_SPDemoCode.zip If you want to follow along with the demo script (demoScript.txt) you must place the files in the correct location or change the included demo script. Once the files are placed in the correct location on the SharePoint server you can copy and paste the commands from demoScript.txt...
November 23rd, 2007 by Darrin





