The Set-HgsClientConfiguration cmdlet modifies the configuration of a Host Guardian Service client.
You can configure the client in either local mode or Host Guardian Service mode.
In local mode, there is no attestation and the client keeps key material.
Examples
Example 1: Set an attestation and key protection servers
This command configures the URLs used by the attestation client and the key protection client.
Use this command to configure the local host to run in Host Guardian Service mode.
This command changes the Host Guardian Service client from Host Guardian Service mode to Local mode.
This command resets the attestation server URL and the key protection server URL.
Parameters
-AttestationServerUrl
Specifies the URL of an attestation server.
A Host Guardian Service client in Secure Hosting Service mode uses the server that this parameter specifies.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FullSecureHostingServiceMode
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
SecureHostingServiceMode
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-Confirm
Prompts you for confirmation before running the cmdlet.
Indicates that this cmdlet changes the mode of client from Host Guardian Service to Local mode.
A change in mode to Local resets the attestation server and key protection server URLs.
Specifies the URL of an attestation server to use if the primary attestation server cannot be reached.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FullSecureHostingServiceMode
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-FallbackKeyProtectionServerUrl
Specifies the URL of a key protection server to use if the primary attestation server cannot be reached.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FullSecureHostingServiceMode
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-KeyProtectionServerUrl
Specifies the URL of a key protection server.
A Host Guardian Service client in Secure Hosting Service mode uses the server that this parameter specifies.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FullSecureHostingServiceMode
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
SecureHostingServiceMode
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
Outputs
CimInstance
An HGS client configuration object containing information about the operating mode, configured URLs, and result of the most recent attestation attempt, if applicable.