Cortado Server – Manual

Import PowerShell modules and log on

25 views March 21, 2019 December 20, 2019 0

Import modules

Each time you open a PowerShell session or run a script, you have to import the PowerShell modules.

  • To do so, enter the following command:

Import-module CCSPowershell

  • Confirm with Enter.
  • Ignore the warning message that is displayed.
Importing PowerShell Modules

Importing PowerShell Modules

Save credentials

To connect via PowerShell with the Cortado server, generate the credentials of the Cortado-Service account as a variable.

  • To do so, enter the following command (example) (upper arrow in illus.):

$ccsCred =Get-Credential ccsadmin@ccsdemo.de

  • Confirm with Enter.
  • A window opens, enter the password of CortadoService account (lower arrow in illus.) and confirm with OK.
 Enter password to log in to the Cortado server via PowerShell

Enter password to log in to the Cortado server via PowerShell

Now you can connect to the Cortado server while sending the credentials of the Cor­tadoService account in the variable.

  •  Enter a command as shown in the following example (upper arrow in illus.):

Connect-CCSFarm -CCSUrl https://mdm.ccsdemo.de -PSCredential $ccsCred

  • Confirm with Enter.
  • Afterwards, you get the following message (lower arrow in illus.):

Successfully connected to CCSFarm

Successfully connected to Cortado server via PowerShell

Successfully connected to Cortado server via PowerShell

Was this helpful?