Skip to content

Commit 3b50e9b

Browse files
authored
Merge pull request MicrosoftDocs#2642 from greiginsydney/patch-34
Fixed MD bugs and Example 4
2 parents fa37393 + bd0e0f1 commit 3b50e9b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

skype/skype-ps/skype/Get-CsAllowedDomain.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Conversely, the blocked list represents domains that users are expressly forbidd
4141

4242
The Get-CsAllowedDomain cmdlet provides a way for you to return information about all the domains on the allowed domains list.
4343

44-
4544
## EXAMPLES
4645

4746
### -------------------------- Example 1 --------------------------
@@ -66,21 +65,19 @@ Get-CsAllowedDomain -Filter *fabrikam*
6665
```
6766

6867
The command shown in Example 3 returns a collection of all the allowed domains that have the string value "fabrikam" anywhere in their Identity.
69-
To do this, the command uses the Filter parameter and the filter value "*fabrikam*".
68+
To do this, the command uses the Filter parameter and the filter value "\*fabrikam\*".
7069
This filter value tells the Get-CsAllowedDomain cmdlet to return only those domains where the Identity (the only property you can filter on) includes the string value "fabrikam".
7170
Domains such as fabrikam.com, fabrikam.net, and africa.fabrikam.org will all be returned by this command.
7271

7372
### -------------------------- Example 4 --------------------------
7473
```
75-
Where-Object {$_.ProxyFqdn -ne $Null}
76-
7774
Get-CsAllowedDomain | Where-Object {$_.ProxyFqdn -eq $Null}
7875
```
7976

8077
In Example 4, the Get-CsAllowedDomain cmdlet and the Where-Object cmdlet are used to return a collection of all the domains where no value has been entered for the ProxyFqdn property.
8178
To carry out this task, the Get-CsAllowedDomain cmdlet is first called without any additional parameters in order to return a collection of all the allowed domains.
8279
This collection is then piped to the Where-Object cmdlet, which selects only those allowed domains where the ProxyFqdn property is equal to a null value; a null value means that no value has been entered for ProxyFqdn.
83-
To find all the domains that have a value of some kind configured for the ProxyFqdn property, use this syntax instead:
80+
To find all the domains that have a value of some kind configured for the ProxyFqdn property, use this syntax instead: `Where-Object {$_.ProxyFqdn -ne $Null}`.
8481

8582
### -------------------------- Example 5 --------------------------
8683
```
@@ -91,7 +88,6 @@ Example 5 returns all the allowed domains that have their health status checked
9188
To do this, the Get-CsAllowedDomain cmdlet is first used to return a collection of all the domains on the allowed domains list.
9289
That collection is then piped to the Where-Object cmdlet, which picks out only those domains where the MarkForMonitoring property is equal to True.
9390

94-
9591
## PARAMETERS
9692

9793
### -Identity
@@ -122,7 +118,7 @@ To return all of the domains that have an Identity that begins with the letter "
122118

123119
To return all of the domains that have an Identity that ends with ".net", use this syntax: `-Filter "*.net"`
124120

125-
To return all of the domains that have an Identity that begins with the letter "r" or with the letter "g", use this syntax: `-Filter \[rg\]*`
121+
To return all of the domains that have an Identity that begins with the letter "r" or with the letter "g", use this syntax: `-Filter [rg]*`
126122

127123
```yaml
128124
Type: String

0 commit comments

Comments
 (0)