Skip to main content

Get-IMAssetFolder

SYNOPSIS​

Browses the folders that Immich assets were imported from

SYNTAX​

list (Default)​

Get-IMAssetFolder [-Session <ImmichSession>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

path​

Get-IMAssetFolder [-Session <ImmichSession>] -Path <String> [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTION​

Without parameters, returns the unique folder paths that the assets on the server were originally stored in. With -Path, returns the assets whose original file is directly inside the specified folder.

EXAMPLES​

EXAMPLE 1​

Get-IMAssetFolder

Returns the unique folder paths of all assets on the server.

EXAMPLE 2​

Get-IMAssetFolder -Path '/usr/src/app/upload/library/2024'

Returns the assets whose original file is in the specified folder.

PARAMETERS​

-Session​

Optionally define an Immich session object to use. This is useful when you are connected to more than one Immich instance.

Type: ImmichSession
Parameter Sets: (All)
Aliases:

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

-Path​

The original folder path to list assets for, exactly as it is reported by Immich (see the list form of this command).

Type: String
Parameter Sets: path
Aliases:

Required: True
Position: Named
Default value: None
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 PowerShell comment-based help. To edit this page, update the corresponding command help in the module source repository.