Export (0) Print
Expand All

Windows PowerShell Security Cmdlets

Updated: August 1, 2016

This section contains the help topics for the cmdlets that are installed with Windows PowerShell Microsoft.PowerShell.Security module. The Security module contains cmdlets and providers that manage the basic security features of Windows.

Security Cmdlets

 

Name Description

ConvertFrom-SecureString

Converts a secure string into 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 in 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 in 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 resource, such as a file or a registry key.

Set-AuthenticodeSignature

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

Set-ExecutionPolicy

Changes the user preference for the execution policy of the shell.

Unprotect-CmsMessage

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

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

Community Additions

ADD
Show:
© 2016 Microsoft