Microsoft.PowerShell.Security
本節包含隨 PowerShell Microsoft.PowerShell.Security 模組一起安裝的 Cmdlet 說明主題。 安全性模組包含管理 Windows 基本安全性功能的 Cmdlet 和提供者。
Microsoft.PowerShell.Security
ConvertFrom-SecureString |
將安全字串轉換為加密的標準字串。 |
ConvertTo-SecureString |
將純文字或加密字串轉換為安全字串。 |
Get-Acl |
取得資源的安全性描述元,例如檔案或登錄機碼。 |
Get-AuthenticodeSignature |
取得檔案之 Authenticode 簽章的相關資訊。 |
Get-CmsMessage |
取得已使用密碼編譯訊息語法格式加密的內容。 |
Get-Credential |
根據使用者名稱和密碼取得認證物件。 |
Get-ExecutionPolicy |
取得目前會話的執行原則。 |
Get-PfxCertificate |
取得計算機上 PFX 憑證檔案的相關信息。 |
New-FileCatalog |
建立 Windows 目錄檔案,其中包含指定路徑中檔案和資料夾的密碼編譯哈希。 |
Protect-CmsMessage |
使用密碼編譯訊息語法格式來加密內容。 |
Set-Acl |
變更指定專案的安全性描述元,例如檔案或登錄機碼。 |
Set-AuthenticodeSignature |
將 Authenticode 簽章新增至 PowerShell 腳本或其他檔案。 |
Set-ExecutionPolicy |
設定 Windows 電腦的 PowerShell 執行原則。 |
Test-FileCatalog |
只有 Windows 才支援此 Cmdlet。 |
Unprotect-CmsMessage |
使用密碼編譯訊息語法格式解密已加密的內容。 |