Getting Started with Azure Active Directory

So you’ve heard the rumblings about Azure Active Directory and would like to find out more on what it’s all about. Let’s get you set up with some of the key pieces you’ll need and introduce a few concepts at the same time. Updated 2/28/2013 to account for the updated AAD PowerShell module (https://aka.ms/aadposh). Sign up for…

1

Request ADFS Security Token with PowerShell

In the course of my work I often have need to investigate end-to-end protocol flows. For example, I want to see an RST being generated, I want to see HTTP 302 or 200 responses coming back from a server, and I want to see what my SOAP messages actually look like on the wire. Unfortunately…

2

Better SharePoint Lists and List Items in PowerShell

Those who’ve read some of my previous articles or attended my PowerShell trainings know how much emphasis I put on PowerShell’s object-centric nature. The great power of PowerShell lies in its ability to dynamically create objects and members from many different object frameworks, including .NET, COM, WMI, XML, and ADO.NET data sources. SharePoint lists are…

7

PSObject and the Adapted and Extended Type Systems (ATS and ETS)

A proper title for this post could have been “What is PowerShell?” The PSObject layer and the Extended and Adapted Type Systems are the heart of what make PowerShell what it is – a shell for all objects. If you are one of the many who confuse PowerShell as a .NET shell, by the end…

1

Understanding and extending the SharePoint PowerShell snapin

SharePoint 2010 introduces the new, powerful SharePoint Management Shell, helping administrators better manage, maintain, and gain insight into their SharePoint environment, while providing a gateway into various aspects of the SharePoint object model for powerful scripting and reporting. The functionality of the new management shell is made available via the SharePoint PowerShell snapin, which like…

1

SharePoint 2010 Certificates and Certificate Authority

SharePoint Certificate Authority and Root Certificate To properly understand the out-of-the-box configuration of the SharePoint local Security Token Service and the SharePoint Services host, it’s important to understand the SharePoint certificate authority and collection of certificates created by default in a farm. When connecting to SharePoint 2007 shared Web services via HTTPS (via the Office…

2

Decrypt secure strings in PowerShell

Before I show you how to decrypt a SecureString quickly in PowerShell, let’s explain why this is something an administrator should be aware of and able to do and why this doesn’t constitue a “hack” or circumvention of security. What I’m demonstrating isn’t a magic trick – it’s by design! SecureStrings are meant to be…

3

Modify SharePoint web.config files via PowerShell (on Hey Scripting Guy)

It’s Guest Blogger Week at the Hey, Scripting Guy blog this week, and today they’re featuring an article by me! Check it out at Use PowerShell to script changes to the SharePoint web.config file. Hey, Scripting Guy is a great resource for PowerShell tips and lots of script recipes – a must on the blogroll…


HTTP Request Throttling in SharePoint 2010 (Part 2)

In Part 1 of this series on HTTP Request Throttling, we discussed how to retrieve and modify existing monitors. It’s now time to see how you can add your own monitors to the Request Throttling and Monitoring system. As an example, we’ll assume that you’d like to add a monitor for CPU percentage to the…

1

HTTP Request Throttling in SharePoint 2010 (Part 1)

SharePoint Web servers can generate a pretty heavy resource load, consuming processor time, memory, and disk I/O. Usually, a farm will continue to process requests even while under heavy strain, only the performance and response time for end users will gradually degrade, as Web pages take longer to return and AJAX and service requests take…

5