User import
Import a single user
- To import a user, enter the following chain of command (pipeline) (example) (upper arrow in illus.):
Add-CCSUser -LogonName user14@ccsdemo.de
- Confirm with Enter.
- If the import of the user was carried out, the following message will be displayed (lower arrow in illus.):
User with logon name ‚user14@ccsdemo.de‘ added.
To import users, you can combine the command Add-CCS-User with the SID of the designated user.
Import of a user group
- Use the command Add-CCSGroup if you want to import an AD group instead.
- Enter a chain of command as follows (example) (upper arrow in illus.):
Add-CCSGroup -SamAccountName Sales
- Confirm with Enter.
- If the import of the user was carried out, the following message will be displayed (lower arrow in illus.):
Group with name ‚Sales‘ added.
Add a printer
Assign shared printer
To add a printer which is shared on a print server to a user, use the command: Add-CCSNetworkPrinter
- Enter a chain of command as follows (example) (upper arrow in illus.):
Get-CCSUser -SamAccountName user14@ccsdemo.de | Add-CCSNetworkPrinter -ServerName mtc.ccsdemo.de -PrinterShareName "Brother Color Leg Type1"
- Confirm with Enter.
- Subsequently you get the information that the printer has been assigned to the appropriate user (lower arrow in illus.).
Assign local printer
- Do you want to assign a printer locally created on a Cortado server to all users, add the command: Get-CCSUsers
- Enter a chain of command as follows (example) (upper arrow in illus.):
Get-CCSUsers | Add-CCSLocalPrinter -PrinterName "Personal Printer"
- Confirm with Enter.
- You will then receive the message that the printer has been added to all users (lower arrow in illus.).
Assign a printer to an AD group
- Enter the following command if you want to assign a printer share to a user group (example):
Get-CCSGroupUsers -SamAccountName Sales | Add-CCSNetworkPrinter -ServerName mtc.ccsdemo.de -PrinterShareName "Brother Color Leg Type1"
- Confirm with Enter.
- You will then receive the message that the printer has been added to all users of the AD group.
Manage Cortado password
Advanced password settings
Analogous to the possible settings in the Management Console, you can manage the Cortado password with PowerShell. To do so, the Cortado password has to be activated using the command Set-CCSPasswordSettings with the parameter -EnableCortadopassword. With this command you can set if the Cortado password has to contain characters or symbols.
- Enter the following chain of command (example) (upper arrow in illus.):
Set-CCSPasswordSettings -EnableCortadoPassword 1 -Passwordisnumeric 0 -MustContainNumbers 1 -MustContainCharacters 1 -MustContainSymbols 1
- Confirm with Enter.
- You will then receive the message that the password has been saved successfully (lower arrow in illus.).
The Cortado password is converted with the command -Passwordisnumeric 0 to Password contains only numbers on Advanced password settings. In the example above, it must contain numbers, characters and symbols.
Set password change interval
With the cmdlet -Set-CCSPasswordChangeInterval you can set the period of validity of the Cortado password in days. With the cmdlet Set-CCSPasswordMinLength you set the minimum length of the password. With Set-CCSPasswordRetryCount you can specify the possible number of maximum wrong entries.
Allocating a new password
With the cmdlet Update-CCSPassword you can allocate a new password to a user.
- To do so, enter the following chain of command (example) (upper arrow in illus.):
Get-CCSUser -SamAccountName user14@ccsdemo.de | Update-CCSPassword -CCSPassword 4!heidh3§
- Confirm with Enter.
- You will then receive the message that the user has received a new password (lower arrow in illus.).