How to get Alternate Access Mappings in SharePoint Farm Server using Powershell in 2010,2013,2016,2019?
Hello SharePointers, Below is theĀ Powershell script to get the list of Alternate access mappings from SharePoint Farm Server . Add – PSSnapin “Microsoft.SharePoint.PowerShell” function Get – Alternate – Access – URLs() { Add – Content $FilePath “Incoming Url, Zone, Public Url” $aamSettings = Get – SPAlternateURL | Select IncomingUrl, Zone, PublicUrl foreach($aamSetting in $aamSettings) […]