CmdID / PowerShell / Cmdlets / Install
Install-HgsServer
Installs the Host Guardian Service server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-DatabasePathSpecifies a database path.-HgsDomainCredentialSpecifies the Active Directory domain administrator credentials for the primary HGS server.-HgsDomainNameSpecifies the name of the Active Directory domain for the HGS server.-LogDirectorySpecifies the output log directory location.-RestartIndicates that a system reboot is initiated after running this command.-SafeModeAdministratorPasswordSpecifies the password for the administrator account when the computer is started in Safe Mode or a variant of Safe Mode, such as Directory Services Restore Mode.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.