Skip to main content

AADSites - Remove-AADSiteFromSitelink Syntax

This function is part of my AADSites module, which can be downloaded here.  For more info on the module see here.


Remove-AADSiteFromSitelink removes the specified site from a site link.

PARAMETERS

-Identity
Mandatory - The name of the site you want to remove.

Position 0.

-sitelink

Mandatory - The name of the sitelink to remove the site from

Position 1.

-------------------------- EXAMPLE 1 --------------------------
Simple usage

PS C:\> Remove-AADSiteFromSitelink -identity Sitename -sitelink Sitelinkname

-------------------------- EXAMPLE 2 --------------------------

Simple usage - using positional parameters

PS C:\> Remove-AADSiteFromSitelink Sitename Sitelinkname

Comments