@@ -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
4653This 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
5172The version of the NuGet package to download
5273
5374``` yaml
5475Type : String
55- Parameter Sets : (All)
76+ Parameter Sets : Version
5677Aliases :
5778
5879Required : 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
60115Default value : None
61116Accept pipeline input : False
62117Accept wildcard characters : False
@@ -72,7 +127,7 @@ Aliases:
72127Accepted values : ApplicationSuiteDevALM, ApplicationDevALM, PlatformDevALM, PlatformCompilerPackage
73128
74129Required : True
75- Position : 2
130+ Position : Named
76131Default value : None
77132Accept pipeline input : False
78133Accept wildcard characters : False
@@ -87,7 +142,7 @@ Parameter Sets: (All)
87142Aliases :
88143
89144Required : False
90- Position : 3
145+ Position : Named
91146Default value : None
92147Accept pipeline input : False
93148Accept wildcard characters : False
0 commit comments