Create a New Key in Microsoft Enhanced RSA and AES Cryptographic Provider (PowerShell)
# Function to generate a new key in the CSP #Display All: certutil -csp “Microsoft Enhanced RSA and AES Cryptographic Provider” -key #Display One: certutil -csp “Microsoft Enhanced RSA and AES Cryptographic Provider” -key “_DRMS:Mode2:MS-GUID:{f15ac94b-a1d7-471f-a338-a37f8f56c20e}” # function New-RSAKeyInCSP { param( [int]$KeySize = 2048, [string]$ContainerName = “MyNewKey_$(Get-Date -Format ‘yyyyMMddHHmmss’)”, [bool]$MachineKey = $true, [string]$CSPName = “Microsoft Enhanced […]