共用方式為


Get-ScannerConfiguration

取得 Microsoft Purview 資訊保護 掃描器的組態設定。

Syntax

Get-ScannerConfiguration []

Description

Get-ScannerConfiguration Cmdlet 會取得 Microsoft Purview 資訊保護掃描程式的組態設定。

如果您執行 Import-ScannerConfiguration,此動作會自動將掃描器設定為離線設定。 因此,當您從檔案匯入設定之後執行此 Get-ScannerConfiguration Cmdlet 時, OnlineConfiguration 會顯示 [關閉]。

範例

範例 1:取得 Microsoft Purview 資訊保護 掃描器的組態

PS C:\> Get-ScannerConfiguration
OnlineConfiguration : On
ReportLevel         : Info
LogLevel            : Trace
Cluster             : contoso-test
SqlInstance         : localhost\sqlexpress
DatabaseName        : AIPScannerUL_contoso-test
Cloud               : Commercial

此命令會取得 Microsoft Purview 資訊保護 掃描器目前的PowerShell組態設定。

在此範例中,輸出顯示掃描器使用在線組態的預設組態、 信息的報告層級,以及 追蹤的記錄層級。 叢集名稱、SQL 實例和資料庫名稱會列出,而雲端類型為 Commercial

輸入

None

輸出

System.Object