Skip to main content

Invoke-IISCrypto

Description

Retrieves and/or applies IISCrypto current details on the system based on the arguments passed. Please note that when using the audit functionality of this script, any field that has not been set by IISCrypto or through registry keys will have a value of null. This indicates that no configuration changes have been made for these fields and the Windows defaults are still applied.

Requirements

If attempting to apply a template, the script requires the URL to where the template is being hosted. Information on prebuilt and custom templates can be found in the 'Custom Templates' section of this web page: https://www.nartac.com/Products/IISCrypto

Usage

To retrieve current IISCrypto configuration:

.\Invoke-IISCrypto.ps1 -Audit

To apply the template that is hosted at the template URL:

.\Invoke-IISCrypto.ps1 -ApplyTemplate -TemplateURL "templateurl.com/template.ictpl"

Parameters

ParameterAliasRequiredDefaultTypeDescription
AuditFalseSwitchRetrieves IISCrypto Audit information if specified
ApplyTemplateFalseSwitchApplies IISCrypto template if specified
TemplateURLFalseStringSpecifies what URL to pull the IISCrypto template from

Output

Location of output for log, result, and error files.

.\Invoke-IISCrypto-log.txt .\Invoke-IISCrypto-error.txt