Why would you ever do that you might ask. My use case was to create an admin tool as a webpage with the Office 365 API tools, that would allow the administrator to see statistics for all exchange mailboxes. Statistics that could could be days with most booked meetings, or […]
Estimated reading time: 2 minutes
Currently I’m working on a project where we are developing a custom claims provider, by inheriting from the SPClaimProvider class and installing it with a farm feature that inherits from SPClaimProviderFeatureReceiver. This worked great until we did some refactoring of the code when moving it from a prototype to production […]
Estimated reading time: 1 minute
I just wanted to share a list of useful powershell commands that I use every once in a while, the list will most likely keep growing. I have divided it into two sections one for SharePoint related commands and one for just plain old ps commands. Powershall Commands Add-PSSnapin “Microsoft.SharePoint.Powershell” […]
Estimated reading time: 1 minute
The following powershell sniplet can do exactly that. $Account = “ADACCOUNT” #Change this Write-Host Looking up SID for account $Account $AdObj = New-Object System.Security.Principal.NTAccount($Account) $strSID = $AdObj.Translate([System.Security.Principal.SecurityIdentifier]) Write-Host Found SID for account $strSID.Value $w = wevtutil gl application Write-Host $w $channelAccess = $w[5] if ($channelAccess.Contains(“channelAccess:”)) { $str = $channelAccess.Replace(“channelAccess: “,””) […]
Estimated reading time: 47 seconds