How to change the Port Number on Web Application in SharePoint

Categories: PowerShell, SharePoint
#Use SharePoint 2013 Management Shell
#Script PowerShell

# $WebApp is the Web Application URL
$WebApp = "http://webapplication:80100"
# $WebAppNew is the New Web Application URL
$WebAppNew = "http://webapplication:4100"
Set-SPAlternateURL -Identity $WebApp -Zone Default -Url $WebAppNew
«
»

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.