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
This cmdlet retrieves external user communication policy information. External user communication policies are used to block P2P file transfer with Federated partners.
21
22
22
23
## EXAMPLES
23
24
24
-
### Example 1 (Skype for Business Online)
25
+
### -------------------------- Example 1 ------------------------
26
+
```
27
+
PS C:\> Get-CsExternalUserCommunicationPolicy
28
+
```
29
+
30
+
This example displays all the external user communication policies that have been defined for an organization along with the settings for each.
31
+
32
+
### -------------------------- Example 2 ------------------------
This example uses the Identity parameter to retrieve the external user communication policy settings for the policy named BlockExternalP2PFileTransfer.
38
+
39
+
### -------------------------- Example 3 ------------------------
This example uses the Filter parameter to retrieve all the external user communication policies along with the settings for each. All per-user external user communication policies have an Identity in the format tag:<ExternalUserCommunicationPolicy>.
45
+
46
+
### -------------------------- Example 4 ------------------------
This example uses the Filter parameter to retrieve all the external user communication policies which their name begins with the string "Block" along with the configuration for each one.
This parameter accepts a wildcard string and returns all external user communication policies with identities matching that string. For example, a Filter value of tag:* will return all external user communication policies excluding Global policy.
If you are using a remote session of Windows PowerShell and are connected only to Skype for Business Online you do not have to include the Tenant parameter. Instead, the tenant ID will automatically be filled in for you based on your connection information. The Tenant parameter is primarily for use in a hybrid deployment.
Indicates that this cmdlet runs as a background job.
144
+
145
+
When you specify the AsJob parameter, the command immediately returns an object that represents the background job. You can continue to work in the session while the job finishes. The job is created on the local computer and the results from the Skype for Business Online session are automatically returned to the local computer. To get the job results, use the Receive-Job cmdlet.
146
+
147
+
For more information about Windows PowerShell background jobs, see [about_Jobs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_jobs?view=powershell-6) and [about_Remote_Jobs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_remote_jobs?view=powershell-6).
115
148
116
149
```yaml
117
150
Type: SwitchParameter
@@ -140,4 +173,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
This cmdlet returns information about one or more hybrid application endpoints in your organization along with their settings. Some of this settings are SipAddress, DisplayName and LineURI.
24
+
25
+
The `Get-CsHybridApplicationEndpoint` cmdlet provides numerous ways for you to filter the collection of endpoints actually returned when you run the cmdlet. For example, if you don't want to return all your Skype for Business Server endpoints you can apply the optional parameters Filter or LdapFilter. (These parameters are mutually exclusive: if you use Filter in a command you cannot use LdapFilter in that same command, and vice-versa.) The Filter parameter enables you to limit the returned data to endpoints who meet the specified Skype for Business Server criteria; for example, you might decide to return only enabled endpoints, or only endpoints with a LineURI assigned. The LdapFilter parameter enables you to limit the returned data to users who fit other Active Directory-based criteria.
23
26
24
27
## EXAMPLES
25
28
26
-
### Example 1
27
-
```powershell
28
-
PS C:\> {{ Add example code here }}
29
+
### -------------------------- Example 1 --------------------------
30
+
```
31
+
PS C:\> Get-CsHybridApplicationEndpoint
32
+
```
33
+
34
+
This example displays all the hybrid application endpoints that have been defined for an organization along with the settings for each.
35
+
36
+
### -------------------------- Example 2 --------------------------
This example uses the Filter parameter to retrieve all the hybrid application endpoints with the word "bot" in their DisplayName attribute along with the configuration for each one.
32
49
33
50
## PARAMETERS
34
51
35
52
### -Credential
36
-
{{Fill Credential Description}}
53
+
Enables you to run the Get-CsHybridApplicationEndpoint cmdlet under alternate credentials. This might be required if the account you used to log on to the Windows does not have the necessary privileges required to work with user objects.
54
+
55
+
To use the Credential parameter you must first create a PSCredential object by using the [Get-Credential](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-credential?view=powershell-6) cmdlet. For details, see the Get-Credential cmdlet help topic.
37
56
38
57
```yaml
39
58
Type: PSCredential
40
59
Parameter Sets: (All)
41
60
Aliases:
42
-
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
61
+
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Enables you to connect to the specified domain controller in order to retrieve user information. To connect to a particular domain controller, include the DomainController parameter followed by the fully qualified domain name (FQDN) (for example, atl-cs-001.litwareinc.com).
53
72
54
73
```yaml
55
74
Type: Fqdn
56
75
Parameter Sets: (All)
57
76
Aliases:
58
-
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
77
+
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Enables you to limit the returned data by filtering on Skype for Business Server 2015-specific attributes. For example, you can limit returned data to endpoints with specific word in their DisplayName attribute.
88
+
89
+
The Filter parameter uses the same Windows PowerShell filtering syntax that is used by the Where-Object cmdlet. For example, a filter that returns only endpoints with a value in their LineURI attribute would look like this, with LineURI representing the Active Directory attribute, -ne representing the comparison operator (not equal to), and $null (a built-in Windows PowerShell variable) representing the filter value:
90
+
91
+
{LineURI -ne $null}
69
92
70
93
```yaml
71
94
Type: String
72
95
Parameter Sets: (All)
73
96
Aliases:
74
-
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
97
+
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Enables you to limit the returned data by filtering on generic Active Directory attributes (that is, attributes that are not specific to Skype for Business Server 2015). For example, you can limit returned data to endpoints which work in a specific department, or endpoints which have a specified manager or job title.
124
+
125
+
The LdapFilter parameter uses the LDAP query language when creating filters. For example, a filter that returns only endpoints which belongs in the city of Redmond would look like this: "l=Redmond", with "l" (a lowercase L) representing the Active Directory attribute (locality); "=" representing the comparison operator (equal to); and "Redmond" representing the filter value.
101
126
102
127
```yaml
103
128
Type: String
104
129
Parameter Sets: (All)
105
130
Aliases:
106
-
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
131
+
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Enables you to return information about endpoints in a specific organizational unit (OU) or container. The OU parameter returns data from both the specified OU and any of its child OUs. For example, if the Finance OU has two child OUs--AccountsPayable and AccountsReceivable--endpoints will be returned from each of these three OUs.
142
+
143
+
When specifying an OU, use the distinguished name (DN) of that container; for example: -OU "OU=Finance,dc=litwareinc,dc=com". To return endpoints accounts from the Users container, use this syntax:
144
+
145
+
-OU "cn=Users,dc=litwareinc,dc=com"
117
146
118
147
```yaml
119
148
Type: OUIdParameter
120
149
Parameter Sets: (All)
121
150
Aliases:
122
-
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
151
+
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Enables you to limit the number of records returned by the cmdlet. For example, to return seven endpoints (regardless of the number of endpoints that are in your forest) include the ResultSize parameter and set the parameter value to 7. Note that there is no way to guarantee which seven endpoints will be returned.
162
+
163
+
The result size can be set to any whole number between 0 and 2147483647, inclusive. If set to 0 the command will run, but no data will be returned. If you set the ResultSize to 7 but you have only three endpoints in your forest, the command will return those three endpoints, and then complete without error.
Copy file name to clipboardExpand all lines: skype/skype-ps/skype/Get-CsIPPhonePolicy.md
+19-10Lines changed: 19 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -8,26 +8,25 @@ schema: 2.0.0
8
8
# Get-CsIPPhonePolicy
9
9
10
10
## SYNOPSIS
11
-
{{Fill in the Synopsis}}
11
+
Use the Get-CsIPPhonePolicy cmdlet to get all the settings of the Skype for Business Online global IP phone policy. IP phone policies define the Skype for Business Online features that are available to users.
IP phone policies are applied each time a user accesses the system via an IP phone device. The Get-CsIPPhonePolicy cmdlet retrieves the global IP phone policy that has been configured in your organization along with all their settings.
22
21
23
22
## EXAMPLES
24
23
25
-
### Example 1
24
+
### -------------------------- Example 1 ------------------------
26
25
```
27
-
{{ Add example code here }}
26
+
PS C:\> Get-CsIPPhonePolicy
28
27
```
29
28
30
-
{{ Add example description here }}
29
+
This example returns the global IP phone policy along with all their settings..
Indicates that this cmdlet runs as a background job.
119
+
120
+
When you specify the AsJob parameter, the command immediately returns an object that represents the background job. You can continue to work in the session while the job finishes. The job is created on the local computer and the results from the Skype for Business Online session are automatically returned to the local computer. To get the job results, use the Receive-Job cmdlet.
121
+
122
+
For more information about Windows PowerShell background jobs, see [about_Jobs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_jobs?view=powershell-6) and [about_Remote_Jobs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_remote_jobs?view=powershell-6).
116
123
117
124
```yaml
118
125
Type: SwitchParameter
@@ -144,4 +151,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
0 commit comments