Muokkaa

Jaa


Get-CsExternalUserCommunicationPolicy

Returns information about one or more external user communication policies configured for your organization.

Syntax

Get-CsExternalUserCommunicationPolicy
   [[-Identity] <XdsIdentity>]
   [-Filter <String>]
   [-LocalStore]
   [-Tenant <Guid>]
   [<CommonParameters>]

Description

This cmdlet retrieves external user communication policy information. External user communication policies are used to block P2P file transfer with Federated partners.

Examples

-------------------------- Example 1 ------------------------

PS C:\> Get-CsExternalUserCommunicationPolicy

This example displays all the external user communication policies that have been defined for an organization along with the settings for each.

-------------------------- Example 2 ------------------------

PS C:\> Get-CsExternalUserCommunicationPolicy -Identity BlockExternalP2PFileTransfer

This example uses the Identity parameter to retrieve the external user communication policy settings for the policy named BlockExternalP2PFileTransfer.

-------------------------- Example 3 ------------------------

PS C:\> Get-CsExternalUserCommunicationPolicy -Filter tag*

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>.

-------------------------- Example 4 ------------------------

PS C:\> Get-CsExternalUserCommunicationPolicy -Filter Block*

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.

Parameters

-Filter

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-Identity

Unique identifier for the external user communication policy to be created.

Type:XdsIdentity
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-LocalStore

This parameter is reserved for internal Microsoft use.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-Tenant

Globally unique identifier (GUID) of the tenant account whose external user communication policy are being created. For example:

-Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"

You can return your tenant ID by running this command:

Get-CsTenant | Select-Object DisplayName, TenantID

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.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Inputs

None

Outputs

System.Object