Skip to content

Commit 2e947e9

Browse files
authored
Merge pull request #180 from onikolaiev/develop
Generate package only from binaries. Added Known ParameterSet to the … #177
2 parents 0ef8d2a + 7c4e996 commit 2e947e9

8 files changed

Lines changed: 1852 additions & 1639 deletions

File tree

docs/Get-FSCPSNuget.md

Lines changed: 60 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ Get the D365FSC NuGet package
1212

1313
## SYNTAX
1414

15+
### Version (Default)
1516
```
16-
Get-FSCPSNuget [-Version] <String> [-Type] <NuGetType> [[-Path] <String>] [-Force]
17+
Get-FSCPSNuget -Version <String> -Type <NuGetType> [-Path <String>] [-Force]
18+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
19+
```
20+
21+
### KnownVersion
22+
```
23+
Get-FSCPSNuget -KnownVersion <String> -KnownType <VersionStrategy> -Type <NuGetType> [-Path <String>] [-Force]
1724
[-ProgressAction <ActionPreference>] [<CommonParameters>]
1825
```
1926

@@ -45,18 +52,66 @@ Get-FSCPSNuget -Version "10.0.1777.99" -Type PlatformCompilerPackage -Path "c:\t
4552

4653
This will download the NuGet package with version "10.0.1777.99" and type "PlatformCompilerPackage" to the c:\temp folder and override if the package with the same name exists.
4754

55+
### EXAMPLE 4
56+
```
57+
Get-FSCPSNuget -KnownVersion "10.0.45" -KnownType GA -Type PlatformCompilerPackage -Path "c:\temp"
58+
```
59+
60+
This will resolve the GA platform version for FNO 10.0.45 and download the PlatformCompilerPackage NuGet to c:\temp
61+
62+
### EXAMPLE 5
63+
```
64+
Get-FSCPSNuget -KnownVersion "10.0.45" -KnownType Latest -Type ApplicationDevALM -Path "c:\temp"
65+
```
66+
67+
This will resolve the Latest application version for FNO 10.0.45 and download the ApplicationDevALM NuGet to c:\temp
68+
4869
## PARAMETERS
4970

5071
### -Version
5172
The version of the NuGet package to download
5273

5374
```yaml
5475
Type: String
55-
Parameter Sets: (All)
76+
Parameter Sets: Version
5677
Aliases:
5778

5879
Required: True
59-
Position: 1
80+
Position: Named
81+
Default value: None
82+
Accept pipeline input: False
83+
Accept wildcard characters: False
84+
```
85+
86+
### -KnownVersion
87+
The short FNO version (e.g.
88+
"10.0.45").
89+
The actual NuGet version will be resolved using the version info data and the KnownType parameter
90+
91+
```yaml
92+
Type: String
93+
Parameter Sets: KnownVersion
94+
Aliases:
95+
96+
Required: True
97+
Position: Named
98+
Default value: None
99+
Accept pipeline input: False
100+
Accept wildcard characters: False
101+
```
102+
103+
### -KnownType
104+
The version strategy to use when resolving KnownVersion.
105+
Valid values are GA and Latest
106+
107+
```yaml
108+
Type: VersionStrategy
109+
Parameter Sets: KnownVersion
110+
Aliases:
111+
Accepted values: GA, Latest
112+
113+
Required: True
114+
Position: Named
60115
Default value: None
61116
Accept pipeline input: False
62117
Accept wildcard characters: False
@@ -72,7 +127,7 @@ Aliases:
72127
Accepted values: ApplicationSuiteDevALM, ApplicationDevALM, PlatformDevALM, PlatformCompilerPackage
73128

74129
Required: True
75-
Position: 2
130+
Position: Named
76131
Default value: None
77132
Accept pipeline input: False
78133
Accept wildcard characters: False
@@ -87,7 +142,7 @@ Parameter Sets: (All)
87142
Aliases:
88143

89144
Required: False
90-
Position: 3
145+
Position: Named
91146
Default value: None
92147
Accept pipeline input: False
93148
Accept wildcard characters: False

0 commit comments

Comments
 (0)