Set-Domain
This cmdlet supports
# |
Parameter
|
Type
|
Mandatory (R/O) | Description |
Valid Values
| ||||
---|---|---|---|---|---|---|---|---|---|
1 | |||||||||
2 |
Identity (alias: Name) |
string | R | A property, that is used for managing the domain |
Value of the Name parameter can be used as Identity
|
||||
3 | IsDefault | bool | O | This parameter specifies whether this domain will be set |
|
||||
4 | IsExcluded | bool | O |
The parameter specifies whether the domain is excluded (won't be used for generating Email addresses for mail-enabled objects) or not |
|
No parameters
Example of using Set-Domain cmdlet
Setting "accountname.com" domain as a default domain:
Set-Domain "accountname.com" -IsDefault $true