Get-NanoServerPackage
Gets available packages for a Nano Server installation image.
Syntax
Default (Default)
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-LogPath
Specifies the path where log files from the operation will be collected.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.