< Back
New-StringEncryptionCertificate
Post
NAME New-StringEncryptionCertificate
SYNOPSIS
Create a certificate to encrypt strings.
SYNTAX
New-StringEncryptionCertificate [-Name] <String> [-CertificateStore] <String> [<CommonParameters>]
DESCRIPTION
Create a self signed certificate for encrypting and decrypting strings.
PARAMETERS
-Name <String>
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CertificateStore <String>
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
New-StringEncryptionCertificate -Name "test" -CertificateStore CurrentUser
Create a self signed certificate to encrypt strings.
PS C:\\> New-StringEncryptionCertificate -Name "test" -CertificateStore CurrentUser
PSParentPath: Microsoft.PowerShell.Security\\Certificate::CurrentUser\\my
Thumbprint Subject
---------- -------
BFF5E290E5ACE5E8958A414662BD62412EC09EE1 CN=test
PS C:\\>
RELATED LINKS
SYNOPSIS
Create a certificate to encrypt strings.
SYNTAX
New-StringEncryptionCertificate [-Name] <String> [-CertificateStore] <String> [<CommonParameters>]
DESCRIPTION
Create a self signed certificate for encrypting and decrypting strings.
PARAMETERS
-Name <String>
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CertificateStore <String>
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
New-StringEncryptionCertificate -Name "test" -CertificateStore CurrentUser
Create a self signed certificate to encrypt strings.
PS C:\\> New-StringEncryptionCertificate -Name "test" -CertificateStore CurrentUser
PSParentPath: Microsoft.PowerShell.Security\\Certificate::CurrentUser\\my
Thumbprint Subject
---------- -------
BFF5E290E5ACE5E8958A414662BD62412EC09EE1 CN=test
PS C:\\>
RELATED LINKS