You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/mail-flow/Get-RemoteDomain.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -32,21 +32,21 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
32
32
Get-RemoteDomain
33
33
```
34
34
35
-
This example returns all remote domains configured in the Active Directory forest in which you run the command.
35
+
This example returns a summary list of all remote domains in the organization.
36
36
37
37
### -------------------------- Example 2 --------------------------
38
38
```
39
-
Get-RemoteDomain Contoso
39
+
Get-RemoteDomain -Identity Contoso | Format-List
40
40
```
41
41
42
-
This example returns the configuration for the remote domain Contoso.
42
+
This example returns detailed information for the remote domain named Contoso.
43
43
44
44
### -------------------------- Example 3 --------------------------
45
45
```
46
46
Get-RemoteDomain | Where {$_.TNEFEnabled -eq $false}
47
47
```
48
48
49
-
This example queries Active Directory for all remote domains and displays only those remote domains for which Transport Neutral Encapsulation Format (TNEF) encoding isn't used.
49
+
This example returns all domains where Transport Neutral Encapsulation Format (TNEF) encoding isn't used.
The Identity parameter specifies the remote domain you want to view. Enter either the GUID or name of the remote domain.
73
+
The Identity parameter specifies the remote domain that you want to view. You can use any value that uniquely identifies the remote domain. For example:
This example creates the remote domain named Contoso for the domain contoso.com and all subdomains.
36
38
37
39
## PARAMETERS
38
40
39
41
### -DomainName
40
-
The DomainName parameter specifies the SMTP domain that you want to establish as a remote domain. Valid input for the DomainName parameter is an SMTP domain. You can use a wildcard character to specify all subdomains of a specified domain, as shown in the following example: \*.contoso.com. However, you can't embed a wildcard character, as shown in the following example: domain.\*.contoso.com. The domain name string may contain a maximum of 256 characters.
42
+
The DomainName parameter specifies the SMTP domain that you want to establish as a remote domain. A valid value is an SMTP domain (for example, contoso.com). The maximum length is 256 characters.
43
+
44
+
You can use the wildcard character (\*) to specify a domain and all subdomains (for example: \*.contoso.com), but you can't embed the wildcard character (for example, domain.\*.contoso.com).
The Name parameter specifies a unique name for the remote domain object.
59
+
The Name parameter specifies a unique name for the remote domain object. The maximum length is 64 characters. If the value contains spaces, enclose the value in quoatation marks (").
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/mail-flow/Remove-RemoteDomain.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,13 @@ This example removes the remote domain object named Contoso.
37
37
## PARAMETERS
38
38
39
39
### -Identity
40
-
The Identity parameter specifies the remote domain you want to remove. Enter either the GUID or name of the remote domain.
40
+
The Identity parameter specifies the remote domain that you want to remove. You can use any value that uniquely identifies the remote domain. For example:
0 commit comments