< Back

Set-LinaTenant

Fri Jan 10, 2020 9:28 pm

NAME Set-LinaTenant



SYNOPSIS

Changes the configuration of a Tenant.





SYNTAX

Set-LinaTenant -LinaTenants <PSObject[]> [-IsDefault <Nullable`1>] [-AutoCreateClients <Nullable`1>]

[-WindowsDefaultProtection <String>] [-LinuxDefaultProtection <String>] [-MacDefaultProtection <String>]

[-DefaultStrategy <String>] [<CommonParameters>]





DESCRIPTION

Changes the configuration of a tenant for example its Comments.





PARAMETERS

-LinaTenants <PSObject[]>



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-IsDefault <Nullable`1>

Set the tenant as the default one



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AutoCreateClients <Nullable`1>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WindowsDefaultProtection <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LinuxDefaultProtection <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MacDefaultProtection <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DefaultStrategy <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

LinaTenant Object





OUTPUTS

The modified LinaTenant Object





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-LinaTenant -ID 2 | Set-LinaTenant -SetDefault



Set the Tenant with ID 2 as the default tenant









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-LinaTenant -Name "MyTenant" | Set-LinaTenant



Unset the Tenant MyTenant as the default tenant











RELATED LINKS