Set-HPAnalyticsConsentTenantID



Summary

Sets the Tenant ID of a device for the purpose of HP Analytics reporting

Syntax

Set-HPAnalyticsConsentTenantID [-UUID] <Guid> [[-Force]] [<CommonParameters>]

Set-HPAnalyticsConsentTenantID [-NewUUID] [[-Force]] [<CommonParameters>]

Set-HPAnalyticsConsentTenantID [-None] [<CommonParameters>]

Description

This command configures HP Analytics Tenant ID. The Tenant ID is optional and defined by the organization.

If the Tenant ID is not set, the default value is 'Individual'.

Parameters

Name Argument Description
UUID <Guid> Sets the UUID to the specified GUID. If the TenantID is already configured, the operation will fail unless the -Force parameter is also specified.
NewUUID Sets the UUID to an auto-generated UUID. If the TenantID is already configured, the operation will fail unless the -Force parameter is also specified.
None If specified, this command will remove the TenantID if TenantID is set. TenantID will be set to 'Individual'.
Force If specified, this command will force the Tenant ID to be set even if the Tenant ID is already set.

Notes

This command requires elevated privileges.

Examples


PS C:\> # Sets the tenant ID to a specific UUID PS C:\> Set-HPAnalyticsConsentTenantID -UUID 'd34da70b-9d64-47e3-8b3f-9c561df32b98'

PS C:\> # Sets the tenant ID to an auto-generated UUID PS C:\> Set-HPAnalyticsConsentTenantID -NewUUID

PS C:\> # Removes a configured UUID PS C:\> Set-HPAnalyticsConsentTenantID -None

PS C:\> # Sets (and overwrites) an existing UUID with a new one PS C:\> Set-HPAnalyticsConsentTenantID -NewUUID -Force

See also