SharePoint farm config – via powershell

"Can't I just use Powershell to dump this info? – So let's see!"  # run this from a front-end as Farm Administrator # tell powershell to load Sharepoint DLL's[void] [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")[void] [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")[void] [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Search")[void] [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Administration.ServerFarm")## find the installed iFilters#function Get-iFilters { Param( [string] $Computer ) $hashtable = @{} $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $Computer) $regKey= $reg.OpenSubKey("SOFTWARE\Classes") if ($regKey.SubKeyCount) {  foreach ($rkey in $regKey.GetSubKeyNames())…

2

Powershell and EWS – how to update Contacts

“OK, so what we want is a special group of people to get a list of corporate contacts from SQL and push that into their Exchange Contacts every month”. Seems a reasonable ask. A good chance to explore some new stuff. This little exercise had me going in circles, but I was eventually able to lookup the users in…

7