你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Enable-AipServiceDevicePlatform

Enables protection support from Azure Information Protection for device platforms.

语法

AllPlatforms

Enable-AipServiceDevicePlatform
    [-All]
    [<CommonParameters>]

Platforms

Enable-AipServiceDevicePlatform
    [-Windows]
    [-WindowsStore]
    [-WindowsPhone]
    [-Mac]
    [-iOS]
    [-Android]
    [-Web]
    [<CommonParameters>]

说明

The Enable-AipServiceDevicePlatform cmdlet enables protection support from Azure Information Protection for device platforms. Your tenant can support any combination of the following device platforms:

  • Android
  • iOS
  • Macintosh operating system
  • Web
  • Windows operating system
  • Windows Phone
  • Windows Store

To support all platforms, specify the All parameter.

You must use PowerShell to do this configuration; you cannot do this configuration by using a management portal.

示例

Example 1: Enable protection support for device platforms

PS C:\>Enable-AipServiceDevicePlatform -WindowsPhone -WindowStore

This command enables protection support for device platforms for Windows Phone and Windows Store device platforms.

Example 2: Enable protection support for all device platforms

PS C:\>Enable-AipServiceDevicePlatform -All

This command enables protection support for all device platforms.

参数

-All

Indicates that the cmdlet specifies all device platforms. The cmdlet enables protection support for all device platforms.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

AllPlatforms
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Android

Indicates that the cmdlet specifies the Android device platform. The cmdlet enables protection support for the specified device platform.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

Platforms
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-iOS

Indicates that the cmdlet specifies the iOS device platform. The cmdlet enables protection support for the specified device platform.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

Platforms
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Mac

Indicates that the cmdlet specifies the Macintosh operating system device platform. The cmdlet enables protection support for the specified device platform.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

Platforms
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Web

Indicates that the cmdlet specifies the web device platform. The cmdlet enables protection support for the specified device platform.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

Platforms
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Windows

Indicates that the cmdlet specifies the Windows operating system device platform. The cmdlet enables protection support for the specified device platform.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

Platforms
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-WindowsPhone

Indicates that the cmdlet specifies the Windows Phone device platform. The cmdlet enables protection support for the specified device platform.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

Platforms
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-WindowsStore

Indicates that the cmdlet specifies the Windows Store device platform. The cmdlet enables protection support for the specified device platform.

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

Platforms
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值: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.