Showing posts from April, 2018

Free E-Book Download From Microsoft

For any one who is looking for Microsoft Resources (Free E-Books) this is the best place to find official Microsoft Books Microsoft Press - Free E books .Net Microservices Architecture book can be downloaded from here This Contains many latest Topics Such as Containers, Micro services and many more. Hope this might help anyone who was looking for the resources. Cheers

Get Site Collection Administrators

For one activity I had to find all Site Collection Administrators for each and every web application. since I had only few web applications. I managed get it done with the help of bellow link.   https://sharepoint. 209841/get-site-collection- administrators-using- powershell after few modifications, now this script will generate a .csv file with site name and all site collection administrators for each site collection. Add-PSSnapin Microsoft.SharePoint.PowerShell [System.Reflection.Assembly] ::LoadWithPartialName ( "Microsoft.SharePoint" ) > $null $ webApp = Get-SPWebApplication -Identity "http://webappURL" $ logFilePath = "FilePath\ $($ webApp .Name ) -Log.log" ; Add-Content -Path $ logFilePath -value "SiteName | Admin Name" ; $ siteCollections = $ webApp .Sites ; foreach ($ spSite in $ siteCollections ) {   $ siteURL =  $ spSite .Url ;   $ siteCollectionAdmi