Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 60 additions & 5 deletions docs/Get-FSCPSNuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ Get the D365FSC NuGet package

## SYNTAX

### Version (Default)
```
Get-FSCPSNuget [-Version] <String> [-Type] <NuGetType> [[-Path] <String>] [-Force]
Get-FSCPSNuget -Version <String> -Type <NuGetType> [-Path <String>] [-Force]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### KnownVersion
```
Get-FSCPSNuget -KnownVersion <String> -KnownType <VersionStrategy> -Type <NuGetType> [-Path <String>] [-Force]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

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

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.

### EXAMPLE 4
```
Get-FSCPSNuget -KnownVersion "10.0.45" -KnownType GA -Type PlatformCompilerPackage -Path "c:\temp"
```

This will resolve the GA platform version for FNO 10.0.45 and download the PlatformCompilerPackage NuGet to c:\temp

### EXAMPLE 5
```
Get-FSCPSNuget -KnownVersion "10.0.45" -KnownType Latest -Type ApplicationDevALM -Path "c:\temp"
```

This will resolve the Latest application version for FNO 10.0.45 and download the ApplicationDevALM NuGet to c:\temp

## PARAMETERS

### -Version
The version of the NuGet package to download

```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Version
Aliases:

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

### -KnownVersion
The short FNO version (e.g.
"10.0.45").
The actual NuGet version will be resolved using the version info data and the KnownType parameter

```yaml
Type: String
Parameter Sets: KnownVersion
Aliases:

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

### -KnownType
The version strategy to use when resolving KnownVersion.
Valid values are GA and Latest

```yaml
Type: VersionStrategy
Parameter Sets: KnownVersion
Aliases:
Accepted values: GA, Latest

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -72,7 +127,7 @@ Aliases:
Accepted values: ApplicationSuiteDevALM, ApplicationDevALM, PlatformDevALM, PlatformCompilerPackage

Required: True
Position: 2
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -87,7 +142,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down
Loading