Import-UssPackage
SYNOPSIS
Imports a package to the server.
SYNTAX
Import-UssPackage [-Path] <String> [-Force] [-Server <String>] [-Port <Int32>] [-Credential <PSCredential>]
[<CommonParameters>]
EXAMPLES
Example 1
PS C:\> Import-UssPackage -Path "C:\path\to\package.zip"
This example imports the package located at "C:\path\to\package.zip" to the server http://localhost:8060
.
Example 2
PS C:\> Import-UssPackage -Path "C:\path\to\package.zip" -Server "https://my-update-service-server.com"
This example imports the package located at "C:\path\to\package.zip" to the server https://my-update-service-server.com
.
DESCRIPTION
Use Import-UssPackage
to import a package to the server.
PARAMETERS
-Credential
Specifies the credentials of the server.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Force
Specifies that the package should be imported even if it already exists.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Path
Specifies the path to the package to import.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Port
DEPRECATED: Use -Server instead.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Server
Specifies the server to connect to.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.