This function is part of my AADSites module, which can be downloaded here. For more info on the module see here.
This function moves a subnet to a different site. This can be useful to adjust the site topology slightly, or preparation for removal of a site.
This function moves a subnet to a different site. This can be useful to adjust the site topology slightly, or preparation for removal of a site.
NAME
Move-AADSubnetToSite
SYNOPSIS
Move a subnet to a different site
SYNTAX
Move-AADSubnetToSite [-Identity] [-site][ ]
DESCRIPTION
Move a subnet to a different site
Returns true if successful and false if not.
PARAMETERS
-Identity
Mandatory - The name of the subnet you want to move.
Position 0.
-site
Mandatory - The name of the site to move to.
Position 0.
-------------------------- EXAMPLE 1 --------------------------
Simple usage
move-AADSubnetToSite -identity 192.168.1.0/24 -site Sitename
-------------------------- EXAMPLE 2 --------------------------
Simple usage - using positional parameters
move-AADSubnetToSite 192.168.1.0/24 Sitename
Comments
Post a Comment