Archive for the ‘Operators’ Category

Powershell conditional and looping statements

Introduction The following examples will provide how to use the conditional statements(if, elseif, else, switch) and looping statements(for, while, do/while, foreach, foreach-object, where-object). Though these are very common techniques used in any programming language, the syntax is what matters here. Examples in this post gives understanding of the usage and syntax. Email this page

April 22, 2012 · Adi · No Comments
Tags: , , ,  · Posted in: Conditional Statements, Operators, Powershell, Sharepoint 2010

PowerShell in Sharepoint 2010 – Basics Part 3

Introduction We learned how to use variables, arrays and hashtables in Powershell basics part 1. We learned how to use arithmetic, assignment and comparison operators in Powershell basics part 2. Now we will check how we can use logical operators and redirection operators Email this page

April 20, 2012 · Adi · No Comments
Tags: , , , , ,  · Posted in: Operators, Packaging and Deployment, Powershell, Sharepoint 2010