CmdID / PowerShell / Cmdlets / Set
Set-HgsServer
Sets the Host Guardian Service server configuration. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 parameters Its page in the reference
Parameters
-HttpIndicates that the HGS Server is accessible over HTTP.-HttpPortSpecifies the HTTP port.-HttpsIndicates that the HGS Server is accessible over HTTPS.-HttpsCertificatePasswordSpecifies the password to the certificate file specified in HttpsCertificatePath.-HttpsCertificatePathSpecifies the path to the HTTPS certificate file (.pfx).-HttpsCertificateThumbprintIndicates the thumbprint of the HTTPS certificate.-HttpsPortSpecifies the HTTPS port of the HGS server.-TrustActiveDirectoryIndicates that this cmdlet sets the Attestation service operation mode to Active Directory.-TrustTpmIndicates that this cmdlet sets the Attestation service operation mode to trusted platform module (TPM).-UpdateMemoryLimitIndicates that the application pool memory limit for the attestation service should be updated to reflect the current amount of physical memory in the system.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.