Connect-CCMServer

Creates a session to a central management instance

Syntax

Connect-CCMServer `
  -Hostname <String> `
  -Credential <PSCredential> `
  [-UseSSL] [<CommonParameters>]

Description

Creates a web session cookie used for other functions in the ChocoCCM module

Aliases

None

Examples

EXAMPLE 1

Connect-CCMServer -Hostname localhost:8090

EXAMPLE 2

$cred = Get-Credential ; Connect-CCMServer -Hostname localhost:8090 -Credential $cred

Inputs

None

Outputs

None

Parameters

-Hostname <String>

The hostname and port number of your Central Management installation

PropertyValue
Aliases
Required?true
Position?1
Default Value
Accept Pipeline Input?false

-Credential <PSCredential>

The credentials for your Central Management installation. You’ll be prompted if left blank

PropertyValue
Aliases
Required?true
Position?named
Default Value
Accept Pipeline Input?false

-UseSSL

PropertyValue
Aliases
Required?false
Position?named
Default ValueFalse
Accept Pipeline Input?false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters https://go.microsoft.com/fwlink/p/?LinkID=113216 .

Function Reference

NOTE

This documentation has been automatically generated from Import-Module "ChocoCCM" -Force; Get-Help Connect-CCMServer -Full.