Skip to content

Commit 806622f

Browse files
committed
update .md files to add a new parameter
1 parent 74faf4a commit 806622f

File tree

3 files changed

+51
-3
lines changed

3 files changed

+51
-3
lines changed

help/Install-PSResource.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Installs resources from a registered repository.
1717

1818
```
1919
Install-PSResource [-Name] <string[]> [-Version <string>] [-Prerelease] [-Repository <string[]>]
20-
[-Credential <pscredential>] [-Scope <ScopeType>] [-TrustRepository] [-Reinstall] [-Quiet]
20+
[-Credential <pscredential>] [-Scope <ScopeType>] [-TemporaryPath <string>] [-TrustRepository] [-Reinstall] [-Quiet]
2121
[-AcceptLicense] [-NoClobber] [-SkipDependencyCheck] [-AuthenticodeCheck] [-PassThru] [-WhatIf]
2222
[-Confirm] [<CommonParameters>]
2323
```
@@ -224,6 +224,22 @@ Accept pipeline input: False
224224
Accept wildcard characters: False
225225
```
226226
227+
### -TemporaryPath
228+
229+
Specifies the path to temporarily install the resource before actual installation. If no temporary path is provided, the resource is temporarily installed in the current user's temporary folder.
230+
231+
```yaml
232+
Type: System.String
233+
Parameter Sets: (All)
234+
Aliases:
235+
236+
Required: False
237+
Position: Named
238+
Default value: None
239+
Accept pipeline input: False
240+
Accept wildcard characters: False
241+
```
242+
227243
### -Prerelease
228244
229245
When specified, includes prerelease versions in search results returned.

help/Save-PSResource.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Saves resources (modules and scripts) from a registered repository onto the mach
1717

1818
```
1919
Save-PSResource [-Name] <string[]> [-Version <string>] [-Prerelease] [-Repository <string[]>]
20-
[-Credential <pscredential>] [-AsNupkg] [-IncludeXML] [-Path <string>] [-TrustRepository]
20+
[-Credential <pscredential>] [-AsNupkg] [-IncludeXML] [-Path <string>] [-TemporaryPath <string>] [-TrustRepository]
2121
[-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-Quiet] [-WhatIf] [-Confirm]
2222
[<CommonParameters>]
2323
```
@@ -207,6 +207,22 @@ Accept pipeline input: False
207207
Accept wildcard characters: False
208208
```
209209
210+
### -TemporaryPath
211+
212+
Specifies the path to temporarily install the resource before saving. If no temporary path is provided, the resource is temporarily installed in the current user's temporary folder.
213+
214+
```yaml
215+
Type: System.String
216+
Parameter Sets: (All)
217+
Aliases:
218+
219+
Required: False
220+
Position: Named
221+
Default value: None
222+
Accept pipeline input: False
223+
Accept wildcard characters: False
224+
```
225+
210226
### -Prerelease
211227
212228
When specified, includes prerelease versions in search results returned.

help/Update-PSResource.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Downloads and installs the newest version of a package already installed on the
1717

1818
```
1919
Update-PSResource [[-Name] <string[]>] [-Version <string>] [-Prerelease] [-Repository <string[]>]
20-
[-Scope <ScopeType>] [-TrustRepository] [-Credential <pscredential>] [-Quiet] [-AcceptLicense]
20+
[-Scope <ScopeType>] [-TemporaryPath <string>] [-TrustRepository] [-Credential <pscredential>] [-Quiet] [-AcceptLicense]
2121
[-Force] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-WhatIf] [-Confirm]
2222
[<CommonParameters>]
2323
```
@@ -162,6 +162,22 @@ Accept pipeline input: False
162162
Accept wildcard characters: False
163163
```
164164

165+
### -TemporaryPath
166+
167+
Specifies the path to temporarily install the resource before actual installatoin. If no temporary path is provided, the resource is temporarily installed in the current user's temporary folder.
168+
169+
```yaml
170+
Type: System.String
171+
Parameter Sets: (All)
172+
Aliases:
173+
174+
Required: False
175+
Position: Named
176+
Default value: None
177+
Accept pipeline input: False
178+
Accept wildcard characters: False
179+
```
180+
165181
### -Prerelease
166182

167183
When specified, allows updating to a prerelease version.

0 commit comments

Comments
 (0)