Tuesday 15 October 2013

Administration on HNSC URL

Earlier we discussed about HNSC Concept and How to create HNSC in SharePoint. To know that click here

In this post I am explaining how to manage(Add/Remove) the URL of HNSC.

Add URL for HNSC site.

To view the existing URL's and its zone use the below command.

Get-SPSiteURL -Identity "http://FirstSiteCollection.SharePointShiva.com"

Note the output and Use the below command to add the new URL in existing site collection

Set-SPSiteURL -Identity "http://FirstSiteCollection.SharePointShiva.com" - Url  http://addingnewurl.SharePointShiva.com -Zone "custom"

The above command will add the new url called addingnewurl.sharepointshiva.com to the existing site collection which contain the url called firstsitecollection.sharepointshiva.com

Don't forget to mention the ZONE.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Remove the URL of HNSC.

Remove-SPSiteURL -Identity http://firstsitecollection.sharepointshiva.com

Post your query in comment.

No comments:

Post a Comment

Rescan Disk Option Greyed Out | New Disks Not visible on Disk management | Update-HostStorageCache

  Recently I have added several LUN from NetApp Storage to Hyper-V servers. But in the disk management I couldn't see those new LUN. Exi...