Start of the Story Querying a database is something I do quite regularly. Whether it’s for work at Nintex or other projects. Sometimes this is just from using SQL Management Studio, othertimes, it is for something more complex and requires some code to be written that makes SQL queries and does something on the data. […]
After learning the basics in the first post – PowerShell Basics 101 , the aim is to use this new found knowledge to do some interesting things with SharePoint. Connecting to a SharePoint Site If you open the SharePoint 2010 Management Console, all the appropriate assemblies for SharePoint will be loaded for you. To instantiate […]
Here’s a few basics that I’m aware of that make things easier for me when I play around with PowerShell. Variables PowerShell variables all start with a dollar ($) sign.Initializing a variable requires simply giving it a name, followed by an equals (=) and the value $myVar = 1 If you want to initialize a […]