Skip to main content

Connect-Immich

SYNOPSIS

SYNTAX

AccessToken

Connect-Immich -BaseURL <String> [-AccessToken <String>] [-PassThru] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

Credentials

Connect-Immich -BaseURL <String> [-Credential <PSCredential>] [-PassThru] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTION

Connect to a Immich instance

EXAMPLES

EXAMPLE 1

Connect-Immich -BaseURL 'https://immich.domain.com' -AccessToken 'ABoR54bB1NUc4aNY0F2PhppP1tVDu2Husr3vEbPUsw5'

Connect using access token

EXAMPLE 2

Connect-Immich -BaseURL 'https://immich.domain.com' -Credentials (Get-Credential)

Connect using username and password

PARAMETERS

-BaseURL

Defines the base URL to the immich instance

-BaseURL 'https://immich.domain.com'

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AccessToken

Connects to immich using a access token. This AccessToken can be generated from the Immich Web GUI.

-AccessToken 'ABoR54bB1NUc4aNY0F2PhppP1tVDu2Husr3vEbPUsw5'

Type: String
Parameter Sets: AccessToken
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Credential

Connect to immich using username and password. Parameter accepts a PSCredentials object

-Credential (Get-Credential)

Type: PSCredential
Parameter Sets: Credentials
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

This parameter will cause the function to return a ImmichSession object that can be stored in a variable and referensed with the -Session parameter on most cmdlets.

-PassThru

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

EDIT THIS DOC

This page was auto-generated from the powershell command comment based help. To edit the content of this page, update the script file comment based help on github Github