Edit

Share via


Get-CsTeamsMobilityPolicy

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.

Syntax

Identity (Default)

Get-CsTeamsMobilityPolicy
    [[-Identity] <XdsIdentity>]
    [-Tenant <System.Guid>]
    [-LocalStore]
    [<CommonParameters>]

Filter

Get-CsTeamsMobilityPolicy
    [-Tenant <System.Guid>]
    [-Filter <String>]
    [-LocalStore]
    [<CommonParameters>]

Description

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.

The Get-CsTeamsMobilityPolicy cmdlet allows administrators to get all teams mobility policies.

NOTE: Please note that this cmdlet was deprecated and then removed from this PowerShell module. This reference will continue to be listed here for legacy purposes.

Examples

Example 1

PS C:\> Get-CsTeamsMobilityPolicy

Retrieve all teams mobility policies that are available in your organization

Parameters

-Filter

Enables you to use wildcard characters when indicating the policy (or policies) to be returned. For example, to return a collection of all the per-user policies, use this syntax: -Filter "tag:".

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

Specify the unique name of a policy you would like to retrieve

Parameter properties

Type:XdsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object