PageSourceSearch

https://www.getps.dev/assets/js/6f16b558.2f17b926.js

js getps.dev collected 2026-10-08 19:58:34 UTC 7,517 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgetps_dev=self.webpackChunkgetps_dev||[]).push([["5071"],{74951(e,n,i){i.r(n),i.d(n,{metadata:()=>s,default:()=>h,frontMatter:()=>l,contentTitle:()=>t,toc:()=>o,assets:()=>d});var s=JSON.parse('{"id":"PSImmich/Command Reference/Add-IMSharedLinkAsset","title":"Add-IMSharedLinkAsset","description":"Help page for the Powershell \\"Add-IMSharedLinkAsset\\" command","source":"@site/modules/PSImmich/03-Command Reference/Add-IMSharedLinkAsset.mdx","sourceDirName":"PSImmich/03-Command Reference","slug":"/PSImmich/Command Reference/Add-IMSharedLinkAsset","permalink":"/modules/PSImmich/Command Reference/Add-IMSharedLinkAsset","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"id":"Add-IMSharedLinkAsset","title":"Add-IMSharedLinkAsset","description":"Help page for the Powershell \\"Add-IMSharedLinkAsset\\" command","keywords":["Powershell","PSImmich","Help","Documentation"],"hide_title":false,"hide_table_of_contents":false},"sidebar":"defaultSidebar","previous":{"title":"Add-IMPartner","permalink":"/modules/PSImmich/Command Reference/Add-IMPartner"},"next":{"title":"Clear-IMJob","permalink":"/modules/PSImmich/Command Reference/Clear-IMJob"}}'),r=i(74848),a=i(28453);let l={id:"Add-IMSharedLinkAsset",title:"Add-IMSharedLinkAsset",description:'Help page for the Powershell "Add-IMSharedLinkAsset" command',keywords:["Powershell","PSImmich","Help","Documentation"],hide_title:!1,hide_table_of_contents:!1},t,d={},o=[{value:"SYNOPSIS",id:"synopsis",level:2},{value:"SYNTAX",id:"syntax",level:2},{value:"DESCRIPTION",id:"description",level:2},{value:"EXAMPLES",id:"examples",level:2},{value:"EXAMPLE 1",id:"example-1",level:3},{value:"PARAMETERS",id:"parameters",level:2},{value:"-Session",id:"-session",level:3},{value:"-Id",id:"-id",level:3},{value:"-SharedLinkId",id:"-sharedlinkid",level:3},{value:"-WhatIf",id:"-whatif",level:3},{value:"-Confirm",id:"-confirm",level:3},{value:"-ProgressAction",id:"-progressaction",level:3},{value:"CommonParameters",id:"commonparameters",level:3},{value:"INPUTS",id:"inputs",level:2},{value:"OUTPUTS",id:"outputs",level:2},{value:"NOTES",id:"notes",level:2},{value:"RELATED LINKS",id:"related-links",level:2},{value:"EDIT THIS DOC",id:"edit-this-doc",level:2}];function c(e){let n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"synopsis",children:"SYNOPSIS"}),"\n",(0,r.jsx)(n.p,{children:"Adds assets to an existing shared link."}),"\n",(0,r.jsx)(n.h2,{id:"syntax",children:"SYNTAX"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-powershell",children:"Add-IMSharedLinkAsset [[-Session] <ImmichSession>] [-Id] <String[]> [-SharedLinkId] <String>\n [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]\n"})}),"\n",(0,r.jsx)(n.h2,{id:"description",children:"DESCRIPTION"}),"\n",(0,r.jsx)(n.p,{children:"Expands shared link content by adding more assets to it."}),"\n",(0,r.jsx)(n.h2,{id:"examples",children:"EXAMPLES"}),"\n",(0,r.jsx)(n.h3,{id:"example-1",children:"EXAMPLE 1"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-powershell",children:"Add-IMSharedLinkAsset -SharedLinkId 'link-id' -Id 'asset1', 'asset2'\n"})}),"\n",(0,r.jsx)(n.p,{children:"Adds assets to existing shared link."}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"PARAMETERS"}),"\n",(0,r.jsx)(n.h3,{id:"-session",children:"-Session"}),"\n",(0,r.jsx)(n.p,{children:"Optional session object for multi-instance connections."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:"Type: ImmichSession\nParameter Sets: (All)\nAliases:\n\nRequired: False\nPosition: 1\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"})}),"\n",(0,r.jsx)(n.h3,{id:"-id",children:"-Id"}),"\n",(0,r.jsx)(n.p,{children:"Asset IDs to add to the shared link."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:"Type: String[]\nParameter Sets: (All)\nAliases:\n\nRequired: True\nPosition: 2\nDefault value: None\nAccept pipeline input: True (ByPropertyName, ByValue)\nAccept wildcard characters: False\n"})}),"\n",(0,r.jsx)(n.h3,{id:"-sharedlinkid",children:"-SharedLinkId"}),"\n",(0,r.jsx)(n.p,{children:"Shared link ID to modify."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:"Type: String\nParameter Sets: (All)\nAliases:\n\nRequired: True\
1nPosition: 3\nDefault value: None\nAccept pipeline input: True (ByPropertyName, ByValue)\nAccept wildcard characters: False\n"})}),"\n",(0,r.jsx)(n.h3,{id:"-whatif",children:"-WhatIf"}),"\n",(0,r.jsx)(n.p,{children:"Shows what would happen if the cmdlet runs.\nThe cmdlet is not run."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:"Type: SwitchParameter\nParameter Sets: (All)\nAliases: wi\n\nRequired: False\nPosition: Named\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"})}),"\n",(0,r.jsx)(n.h3,{id:"-confirm",children:"-Confirm"}),"\n",(0,r.jsx)(n.p,{children:"Prompts you for confirmation before running the cmdlet."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:"Type: SwitchParameter\nParameter Sets: (All)\nAliases: cf\n\nRequired: False\nPosition: Named\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"})}),"\n",(0,r.jsx)(n.h3,{id:"-progressaction",children:"-ProgressAction"}),"\n",(0,r.jsx)(n.p,{children:"{{ Fill ProgressAction Description }}"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:"Type: ActionPreference\nParameter Sets: (All)\nAliases: proga\n\nRequired: False\nPosition: Named\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"})}),"\n",(0,r.jsx)(n.h3,{id:"commonparameters",children:"CommonParameters"}),"\n",(0,r.jsxs)(n.p,{children:["This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see ",(0,r.jsx)(n.a,{href:"http://go.microsoft.com/fwlink/?LinkID=113216",children:"about_CommonParameters"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"inputs",children:"INPUTS"}),"\n",(0,r.jsx)(n.h2,{id:"outputs",children:"OUTPUTS"}),"\n",(0,r.jsx)(n.h2,{id:"notes",children:"NOTES"}),"\n",(0,r.jsx)(n.p,{children:"Supports -WhatIf and -Confirm for safety."}),"\n",(0,r.jsx)(n.h2,{id:"related-links",children:"RELATED LINKS"}),"\n",(0,r.jsx)(n.h2,{id:"edit-this-doc",children:"EDIT THIS DOC"}),"\n",(0,r.jsxs)(n.p,{children:["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 ",(0,r.jsx)(n.a,{href:"https://github.com/hanpq/PSImmich",children:"Github"})]})]})}function h(e={}){let{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},28453(e,n,i){i.d(n,{R:()=>l,x:()=>t});var s=i(96540);let r={},a=s.createContext(r);function l(e){let n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.