Remove-O365Domain
Remove-O365Domain
Removes the current Internet domain.
Syntax
Remove-O365Domain [ <CommonParameters>]
Detailed Description
The Remove-O365Domain cmdlet removes the current Internet domain for . You cannot remove the domain name that you are given when you sign up for . You can remove only custom domains that you add to .
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Remove the current Internet domain
This command removes the current Internet domain.
PS C:\> Remove-O365Domain
PS C:\>