Setup: Microsoft SQL server installed Problem: You need a list of databases and all their important properties. Solution: Source: Internet
Monthly Archives: May 2014
Custom ADFS 2 rule to add group names in Claim token
Setup: ADFS 2.0 server configured Problem: The default rule “Send LDAP attributes as Claims” will add sAMAccountName attribute for every group in Claim token. If group name and sAMAccountName are different, you need custom rules to populate the Claim with group names. Solution: Create the following two custom rules:
Compare group membership of two users in Powershell
Setup: Member server in Active Directory domain Problem: You need to compare group membership of two users Solution: Run this command in PowerShell The get-hash is a PowerShell hash function . Get-QADUser cmdlet is part of ActiveRoles
Compute a hash from a string in PowerShell
Setup: Computer with PowerShell installed Problem: Sometimes you want to create a hash from a string. Solution: Run this PowerShell script or include the function in your code: Example: