CmdID / PowerShell / Cmdlets / New
New-HgsGuardian
Creates a Host Guardian Service guardian. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 parameters Its page in the reference
Parameters
-AllowExpiredIndicates that this cmdlet can create a guardian by using certificates that are expired.-AllowUntrustedRootIndicates that this cmdlet can create a guardian by using self-signed certificates.-EncryptionCertificateSpecifies the path of a .pfx file that contains a password protected encryption certificate for the guardian.-EncryptionCertificatePasswordSpecifies the password to decrypt the .pfx file that contains the encryption certificate.-EncryptionCertificateThumbprintSpecifies the encryption certificate thumbprint.-GenerateCertificatesIndicates that this cmdlet generates self-signed signing and encryption certificates for the guardian.-NameSpecifies a name for the new guardian.-SigningCertificateSpecifies the path of a .pfx file that contains a password protected signing certificate for the guardian.-SigningCertificatePasswordSpecifies the password necessary to decrypt the signing certificate .pfx file.-SigningCertificateThumbprintSpecifies the thumbprint of a signing certificate located in the local computer certificate store.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.