Microsoft.PowerShell.Security

本節包含隨 PowerShell Microsoft.PowerShell.Security 模組一起安裝的 Cmdlet 說明主題。 安全性模組包含管理 Windows 基本安全性功能的 Cmdlet 與提供者。

Microsoft.PowerShell.Security

ConvertFrom-SecureString

Converts a secure string to an encrypted standard string.

ConvertTo-SecureString

Converts encrypted standard strings to secure strings. It can also convert plain text to secure strings. It is used with ConvertFrom-SecureString and Read-Host.

Get-Acl

Gets the security descriptor for a resource, such as a file or registry key.

Get-AuthenticodeSignature

Gets information about the Authenticode signature for a file.

Get-CmsMessage

Gets content that has been encrypted by using the Cryptographic Message Syntax format.

Get-Credential

Gets a credential object based on a user name and password.

Get-ExecutionPolicy

Gets the execution policies for the current session.

Get-PfxCertificate

Gets information about .pfx certificate files on the computer.

Protect-CmsMessage

Encrypts content by using the Cryptographic Message Syntax format.

Set-Acl

Changes the security descriptor of a specified item, such as a file or a registry key.

Set-AuthenticodeSignature

Adds an Authenticode signature to a PowerShell script or other file.

Set-ExecutionPolicy

Sets the PowerShell execution policies for Windows computers.

Unprotect-CmsMessage

Decrypts content that has been encrypted by using the Cryptographic Message Syntax format.