Powershell

Batch Process an Array via Powershell for FIMService write back (Or any PS scenario)

So, A long time ago I wrote a post showing how you can do Composite write-back to FIMService via Powershell. That used “Search-ResourcePaged” command from the Lithnet Module. But it’s not helpful in the scenario where you already have a list of users (say an exported CSV or a text file) you want to perform …

Batch Process an Array via Powershell for FIMService write back (Or any PS scenario) Read More »

Powershell Tip: FIM/MIM Explicit Disconnectors be gone… quickly!!!

Happy New Year!!! Hope everyone had a great 2017 and hopefully an even better 2018 If you know disconnectors then you definitely know how irritating the FIM/MIM GUI can be to convert a disconnector from explicit to normal or vice versa when you have potentially 10’s or 100’s of them… Joiner tab isn’t really friendly …

Powershell Tip: FIM/MIM Explicit Disconnectors be gone… quickly!!! Read More »

MIM AD Sync Error: Unable to update the password – Another POV

So we sync AD users from cross-domain (not a single forest). So say from “DC=contoso,DC=com” to “DC=fabrikam,DC=com”. Not getting too much into it, we do some matching and rules extension to convert a few value to match the destination domain. Have recently been seeing the following error when sync engine is trying to enable a …

MIM AD Sync Error: Unable to update the password – Another POV Read More »

Powershell Tip: Send quick Email when a service goes down [Update: And bring it back up]

Yes we have SCOM monitoring and stuff, but if some testing or debugging is going on and do don’t want to do down the hassle of setting up alerts and just simply want to get notified when a service goes down, here is a simple script  

It’s pretty self explanatory. You can also …

Powershell Tip: Send quick Email when a service goes down [Update: And bring it back up] Read More »

AzureAD: Get List of all users with a particular license

You might have to do reporting and want a list of all users in Azure AD which have a particular license.. Following is an easy way to do so

Get-MsolAccountSku will give you a table of all the License Types you have and count AccountSkuId ActiveUnits WarningUnits ConsumedUnits TENANTNAME:AAD_BASIC 300000 0 1 TENANTNAME:AAD_PREMIUM 300000 …

AzureAD: Get List of all users with a particular license Read More »

%d bloggers like this: