Microsoft.PowerShell.Security Module
本部分包含随 PowerShell Microsoft.PowerShell.Security 模块一起安装的 cmdlet 的帮助主题。 安全模块包含管理 Windows 基本安全功能的 cmdlet 和提供程序。
Microsoft.PowerShell.Security Cmdlet
| Cmdlet | 说明 |
|---|---|
| ConvertFrom-SecureString |
Converts a secure string to an encrypted standard string. |
| ConvertTo-SecureString |
Converts plain text or encrypted strings to secure strings. |
| 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. |
| New-FileCatalog |
Creates a Windows catalog file containing cryptographic hashes for files and folders in the specified paths. |
| 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. |
| Test-FileCatalog |
This cmdlet is only supported on Windows. |
| Unprotect-CmsMessage |
Decrypts content that has been encrypted by using the Cryptographic Message Syntax format. |