--- external help file: VMware.HV.Helper-help.xml Module Name: VMware.HV.Helper online version: schema: 2.0.0 --- # Set-HVlicense ## SYNOPSIS Sets or changes the license for Horizon View ## SYNTAX ``` Set-HVlicense [-license] [[-HvServer] ] [] ``` ## DESCRIPTION Sets or changes the license for Horizon View ## EXAMPLES ### EXAMPLE 1 ``` Set-HVlicense -license "LICENSE-KEY" ``` Returns information about the sites within a Horizon View Pod Federation. ## PARAMETERS ### -license License key (string) ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -HvServer Reference to Horizon View Server to query the virtual machines from. If the value is not passed or null then first element from global:DefaultHVServers would be considered in-place of hvServer ```yaml Type: Object Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS ## OUTPUTS ## NOTES | | | |-|-| | Author | Wouter Kursten | | Author email | wouter@retouw.nl | | Version | 1.0 | ===Tested Against Environment==== | | | |-|-| | Horizon View Server Version | 7.4,7.5 | | PowerCLI Version | PowerCLI 10 | | PowerShell Version | 5.0 | ## RELATED LINKS