Get-NanoServerPackage

Gets available packages for a Nano Server installation image.

Syntax

Get-NanoServerPackage
   [[-MediaPath] <String>]
   [[-BasePath] <String>]
   [[-LogPath] <String>]
   [<CommonParameters>]

Description

The Get-NanoServerPackage cmdlet gets packages that are available to embed into a Nano Server installation image.

Examples

Example 1: Get available packages

PS C:\> Get-NanoServerPackage -MediaPath D:\

This command gets packages available on the source media mounted on the D: drive.

Parameters

-BasePath

Specifies the path to the source media.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LogPath

Specifies the path where log files from the operation will be collected.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MediaPath

Specifies the path of the source media. If a local copy of the source media already exists, and it is specified as the base path, then no copying is performed.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

String