Skip to content

extended to use the CertifyTheWeb script param #4

@BananaAcid

Description

@BananaAcid

CertifyTheWeb passes a Result-object to the script, containing a bunch of properties. One is the CertificateThumbprintHash.

changed/added:

Param(
	$Result,
	[string]$Thumbprint,
	[switch]$LogOutput,
	[string]$LogPath
)

#----------------------------------------------------------[Declarations]----------------------------------------------------------

If ($PSBoundParameters.ContainsKey('Result') -Like $True) {
	$Thumbprint = $Result.ManagedItem.CertificateThumbprintHash;
}

$RunAsAdministrator ......

Setup here:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions