Skip to content

Commit 46bfdd7

Browse files
committed
Merge branch 'main' into ProtectTemplates-chrisda
2 parents f42aeb3 + ab18608 commit 46bfdd7

9 files changed

+160
-428
lines changed

skype/skype-ps/skype/Get-CsInboundBlockedNumberPattern.md

Lines changed: 17 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
33
online version: https://docs.microsoft.com/powershell/module/skype/get-csinboundblockednumberpattern
4-
applicable: Skype for Business Online
4+
applicable: Microsoft Teams, Skype for Business Online
55
title: Get-CsInboundBlockedNumberPattern
6-
author: tomkau
7-
ms.author: tomkau
6+
author: jenstrier
7+
ms.author: jenstr
88
ms.reviewer:
99
manager: bulenteg
1010
schema: 2.0.0
@@ -19,14 +19,12 @@ Returns a list of all blocked number patterns added to the tenant list.
1919

2020
### Identity (Default)
2121
```
22-
Get-CsInboundBlockedNumberPattern [-Tenant <Guid>] [[-Identity] <XdsGlobalRelativeIdentity>]
23-
[-LocalStore] [<CommonParameters>]
22+
Get-CsInboundBlockedNumberPattern [[-Identity] <string>] [<CommonParameters>]
2423
```
2524

2625
### Filter
2726
```
28-
Get-CsInboundBlockedNumberPattern [-Tenant <Guid>] [-Filter <String>] [-LocalStore]
29-
[<CommonParameters>]
27+
Get-CsInboundBlockedNumberPattern [-Filter <string>] [<CommonParameters>]
3028
```
3129

3230
## DESCRIPTION
@@ -36,15 +34,23 @@ This cmdlet returns a list of all blocked number patterns added to the tenant li
3634

3735
### Example 1
3836
```powershell
39-
PS C:> Get-CsInboundBlockedNumberPattern
37+
PS> Get-CsInboundBlockedNumberPattern
4038
```
4139

42-
In the preceding example, the *Get-CsInboundBlockedNumberPattern* cmdlet is called without any parameters in order to return all the blocked number patterns.
40+
In this example, the *Get-CsInboundBlockedNumberPattern* cmdlet is called without any parameters in order to return all the blocked number patterns.
41+
42+
### Example 2
43+
```powershell
44+
PS> Get-CsInboundBlockedNumberPattern -Filter Block*
45+
```
46+
47+
In this example, the *Get-CsInboundBlockedNumberPattern* cmdlet will return all the blocked number patterns which identity starts with Block.
48+
4349

4450
## PARAMETERS
4551

4652
### -Filter
47-
Enables you to limit the returned data by filtering on Skype for Business Online-specific attributes. The Filter parameter uses the same Windows PowerShell filtering syntax that is used by the Where-Object cmdlet.
53+
Enables you to limit the returned data by filtering on the Identity.
4854

4955
```yaml
5056
Type: String
@@ -62,7 +68,7 @@ Accept wildcard characters: False
6268
Indicates the Identity of the blocked number patterns to return.
6369
6470
```yaml
65-
Type: XdsGlobalRelativeIdentity
71+
Type: String
6672
Parameter Sets: Identity
6773
Aliases:
6874

@@ -73,46 +79,13 @@ Accept pipeline input: False
7379
Accept wildcard characters: False
7480
```
7581
76-
### -LocalStore
77-
This parameter is reserved for internal Microsoft use.
78-
79-
```yaml
80-
Type: SwitchParameter
81-
Parameter Sets: (All)
82-
Aliases:
83-
84-
Required: False
85-
Position: Named
86-
Default value: None
87-
Accept pipeline input: False
88-
Accept wildcard characters: False
89-
```
90-
91-
### -Tenant
92-
This parameter is reserved for internal Microsoft use.
93-
94-
```yaml
95-
Type: Guid
96-
Parameter Sets: (All)
97-
Aliases:
98-
99-
Required: False
100-
Position: Named
101-
Default value: None
102-
Accept pipeline input: False
103-
Accept wildcard characters: False
104-
```
105-
10682
### CommonParameters
10783
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
10884
10985
## INPUTS
11086
111-
### None
112-
11387
## OUTPUTS
11488
115-
### System.Object
11689
## NOTES
11790
11891
## RELATED LINKS
Lines changed: 23 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
33
online version: https://docs.microsoft.com/powershell/module/skype/get-csinboundexemptnumberpattern
4-
applicable: Skype for Business Online and Teams
4+
applicable: Microsoft Teams, Skype for Business Online
55
author: jenstrier
66
ms.author: jenstr
77
ms.reviewer:
@@ -16,8 +16,14 @@ Returns a specific or the full list of all number patterns exempt from call bloc
1616

1717
## SYNTAX
1818

19+
### Identity (Default)
1920
```
20-
Get-CsInboundExemptNumberPattern [[-Identity] <XdsGlobalRelativeIdentity>] [-Tenant <Guid>] [-Filter <Object>] [-LocalStore] [<CommonParameters>]
21+
Get-CsInboundBlockedNumberPattern [[-Identity] <string>] [<CommonParameters>]
22+
```
23+
24+
### Filter
25+
```
26+
Get-CsInboundBlockedNumberPattern [-Filter <string>] [<CommonParameters>]
2127
```
2228

2329
## DESCRIPTION
@@ -27,25 +33,32 @@ This cmdlet returns a specific or all exempt number patterns added to the tenant
2733

2834
### Example 1
2935
```powershell
30-
Get-CsInboundExemptNumberPattern
36+
PS>Get-CsInboundExemptNumberPattern
3137
```
3238
This returns all exempt number patterns.
3339

3440
### Example 2
3541
```powershell
36-
Get-CsInboundExemptNumberPattern -Identity "Exempt1"
42+
PS>Get-CsInboundExemptNumberPattern -Identity "Exempt1"
3743
```
3844

3945
This returns the exempt number patterns with Identity Exempt1.
4046

47+
### Example 3
48+
```powershell
49+
PS>Get-CsInboundExemptNumberPattern -Filter "Exempt*"
50+
```
51+
52+
This example returns the exempt number patterns with Identity starting with Exempt.
53+
4154
## PARAMETERS
4255

4356
### -Filter
44-
Enables you to limit the returned data by filtering on specific attributes. The Filter parameter uses the same Windows PowerShell filtering syntax that is used by the Where-Object cmdlet.
57+
Enables you to limit the returned data by filtering on Identity.
4558

4659
```yaml
47-
Type: Object
48-
Parameter Sets: (All)
60+
Type: String
61+
Parameter Sets: (Filter)
4962
Aliases:
5063

5164
Required: False
@@ -59,55 +72,21 @@ Accept wildcard characters: False
5972
Unique identifier for the exempt number pattern to be listed.
6073
6174
```yaml
62-
Type: XdsGlobalRelativeIdentity
63-
Parameter Sets: (All)
64-
Aliases:
65-
66-
Required: True
67-
Position: 1
68-
Default value: None
69-
Accept pipeline input: False
70-
Accept wildcard characters: False
71-
```
72-
73-
### -LocalStore
74-
This parameter is reserved for internal Microsoft use.
75-
76-
```yaml
77-
Type: SwitchParameter
78-
Parameter Sets: (All)
75+
Type: String
76+
Parameter Sets: (Identity)
7977
Aliases:
8078

8179
Required: False
82-
Position: Named
83-
Default value: None
84-
Accept pipeline input: False
85-
Accept wildcard characters: False
86-
```
87-
88-
### -Tenant
89-
This parameter is reserved for internal Microsoft use.
90-
91-
```yaml
92-
Type: System.Guid
93-
Parameter Sets: (All)
94-
Aliases:
95-
96-
Required: False
97-
Position: Named
80+
Position: 1
9881
Default value: None
9982
Accept pipeline input: False
10083
Accept wildcard characters: False
10184
```
10285
10386
## INPUTS
10487
105-
### None
106-
10788
## OUTPUTS
10889
109-
### System.Object
110-
11190
## NOTES
11291
11392
You can use Test-CsInboundBlockedNumberPattern to test your call block and exempt phone number ranges.
@@ -122,4 +101,3 @@ You can use Test-CsInboundBlockedNumberPattern to test your call block and exemp
122101
[Test-CsInboundBlockedNumberPattern](Test-CsInboundBlockedNumberPattern.md)
123102
124103
[Get-CsTenantBlockedCallingNumbers](Get-CsTenantBlockedCallingNumbers.md)
125-

skype/skype-ps/skype/Get-CsOnlineUser.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Returns information about users who have accounts homed on Microsoft Teams or Sk
1919

2020
```
2121
Get-CsOnlineUser [[-Identity] <UserIdParameter>]
22+
[-AccountType <String>]
2223
[-Credential <PSCredential>]
2324
[-DomainController <Fqdn>]
2425
[-Filter <String>]
@@ -103,6 +104,13 @@ Example 5 returns information for user accounts that have been assigned a design
103104

104105
## PARAMETERS
105106

107+
### -AccountType
108+
This parameter is added to Get-CsOnlineUser starting from TPM 4.5.1 to indicate the user type. The possible values for the AccountType parameter are:
109+
- `User` - to query for user accounts.
110+
- `ResourceAccount` - to query for app endpoints or resource accounts.
111+
- `Guest` - to query for guest accounts.
112+
- `Unknown` - to query for a user type that is not known.
113+
106114
### -Identity
107115
Indicates the Identity of the user account to be retrieved.
108116

@@ -178,7 +186,7 @@ The following updates are applicable for organizations having TeamsOnly users th
178186

179187
In the Teams PowerShell Module version 3.0.0 or later, filtering functionality is now limited to the following attributes (note that these changes are currently only rolled out in commercial environments and are currently **not** applicable to government environments):
180188

181-
189+
- AccountType
182190
- accountEnabled
183191
- AssignedPlan
184192
- Company
@@ -562,11 +570,6 @@ The following attributes are no longer relevant to Teams and have been dropped f
562570
- Office
563571
- Phone
564572
- WindowsEmailAddress
565-
- OnPremHostingProvider (available in Teams PowerShell Module 4.4.1 and later)
566-
- OnPremSipEnabled (available in Teams PowerShell Module 4.4.1 and later)
567-
- OnPremSipAddress (available in Teams PowerShell Module 4.4.1 and later)
568-
- OnPremOptionFlags (available in Teams PowerShell Module 4.4.1 and later)
569-
- OnPremEnterpriseVoiceEnabled (available in Teams PowerShell Module 4.4.1 and later)
570573
- SoftDeletedUsers (available in Teams PowerShell Module 4.4.3 and later)
571574

572575

0 commit comments

Comments
 (0)