-
Recent Posts
Categories
Topics
Archives
Tag Archives: PowerShell
Editing the FIM Portal web.config in a farm topology
Hit an interesting issue this week. One of the projects I’m working on was patching pre-production with 4.1.3419.0 and at the end of the process two of the four portals were down. Properly down. HTTP 500 error. The issue was … Continue reading
Posted in FIM, Scripting, SharePoint
Tagged FIM, Script, PowerShell, Farm, SharePoint, FIM 2010 R2, FIM 2010
1 Comment
FIM Service Principal Names and Kerberos Delegation
Kerberos authentication and delegation. A surprisingly complex subject for many. But it shouldn’t be! If truth be told I’ve been a little shocked at how difficult some folk involved in FIM projects (or general infrastructure projects) find implementing multiple-tier applications … Continue reading
FIM, PowerShell and DateTime type attributes
In FIM 2010 we couldn’t update DateTime attribute types using the Configuration Migration PowerShell cmdlets. This used to crop up from time to time and has hampered quite a few people over the last couple of years. The good news … Continue reading
Posted in FIM, FIM 2010 R2, Scripting
Tagged DateTime, FIM 2010 R2, FIMAutomation, Forefront Identity Manager 2010 R2, PowerShell, Script, Tip
5 Comments
Initialising arrays in PowerShell
Initializing arrays in PowerShell (en-US spelling for search engine purposes ). I think it’s taken me three years to work this out and it took a rushed script with a typo to figure it out. Later I finally found the … Continue reading
Obtaining a random result set in PowerShell
Given a set of data how does one return an arbitrary subset? Well in T-SQL we’d do this: So how can we do this in PowerShell? Well in pretty much the same way actually. Pipe to Sort-Object and then to … Continue reading
How to use Sort Keys in LDP
I knocked up an example PowerShell one liner for a colleague to get the oldest item in the Deleted Objects container because of a need to identify the default tombstone lifetime (i.e. when there’s no value on the nTDSService object’s … Continue reading
Posted in Active Directory, Scripting
Tagged Active Directory, AD, Help, LDAP, LDP, PowerShell, Tip
Leave a comment
Invoking (running) SQL Server Agent Jobs using PowerShell
As I navigate the meandering thread of complexities that is the identity management project I inevitably find myself using SQL Server more and more. Forgone is the text delimited management agent; embraced is the database management agent (specifically, SQL Server). … Continue reading
Posted in Scripting, SQL Server
Tagged Example, PowerShell, PS, Script, Scripting, SQL, SQL Server, SQL Server Agent, Tip
Leave a comment
SQL Server aliases
(a.k.a. Honestly…My top Layer-8 issue of 2010) SQL Server aliases: they need to be created on all clients that use them, not just the SQL Server! How do we create them? Two primary ways: CLICONFG.EXE (%systemroot%\system32\cliconfg). Native to Windows, the … Continue reading
Posted in Scripting, SQL Server
Tagged Example, Help, Layer-8, PowerShell, PS, Script, Scripting, Setup, SQL, SQL Server, Tip
4 Comments