To be able to use all cmdlets with a specific Hub, the following initialization must be done after the PowerShell module installation. These commands can also be used on top of each script:
# Specifying the URL of the target Hub Set-TPHubUri -Uri https://192.168.209.71 # Accepting the web console’s certificate by the PowerShell module Set-TPHubServerCertificateValidation -Option AcceptAlways # Specifying the password of the target Hub Get-TPHubAuthentication -PlainPassword print4life