Get-M365DataAtRestEncryptionPolicyAssignment

此指令程式只能在雲端式服務中使用。

使用 Get-M365DataAtRestEncryptionPolicyAssignment Cmdlet 來檢視目前指派的Microsoft 365 待用資料加密原則。

如需下方<語法>一節中參數集的詳細資訊,請參閱 Exchange Cmdlet 語法

Syntax

Get-M365DataAtRestEncryptionPolicyAssignment []

Description

此 Cmdlet 會列出目前指派給租使用者的Microsoft 365 待用資料加密原則。

您必須已獲指派權限,才能執行此指令程式。 雖然本主題已列出這個指令程式的所有參數,不過,如果某些參數並未包含在指派給您的權限中,您可能就無法存取這些參數。 若要尋找在組織中執行任何 Cmdlet 或參數所需的權限,請參閱 Find the permissions required to run any Exchange cmdlet

範例

範例 1

Get-M365DataAtRestEncryptionPolicyAssignment

此範例會傳回所有Microsoft 365 待用資料加密原則指派的摘要清單。

範例 2

Get-M365DataAtRestEncryptionPolicyAssignment | Format-List

此範例會傳回所有Microsoft 365 待用資料加密原則指派的詳細資訊。

CommonParameters

這個 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutVariable、-OutBuffer、-PipelineVariable、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters