Search Results for

    Show / Hide Table of Contents

    Copy-UssInstallerFromServer

    SYNOPSIS

    Copies an installer from one server to another server.

    SYNTAX

    Copy-UssInstallerFromServer -InstallerId <Guid> -SourceServer <String> [-SourcePort <Int32>] [-SourceUseSsl]
     [-SourceIdentity <String>] [-SourceCredential <PSCredential>] [-NoWait] [-Server <String>] [-Port <Int32>]
     [-Credential <PSCredential>] [<CommonParameters>]
    

    DESCRIPTION

    Use Copy-UssInstallerFromServer to copy an installer from one server to another server.

    EXAMPLES

    Example 1

    PS C:\> Copy-UssInstallerFromServer -InstallerId '573825a9-b22d-437e-bc1e-537bf6c2f0b1' -Server 'https://myserver.com' -SourceServer 'https://otherserver.com'
    

    This example copies the installer with the ID '573825a9-b22d-437e-bc1e-537bf6c2f0b1' from the server 'https://otherserver.com' to the server 'https://myserver.com'.

    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
    

    -InstallerId

    Specifies the installer ID to copy.

    Type: Guid
    Parameter Sets: (All)
    Aliases: Guid, InstallerGuid, Installer
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -NoWait

    Specifies that the cmdlet should not wait for the operation to complete.

    Type: SwitchParameter
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Port

    DEPRICATED: 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
    

    -SourceCredential

    Specifies the credentials of the source server.

    Type: PSCredential
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -SourceIdentity

    DEPRICATED.

    Type: String
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -SourcePort

    DEPRIECATED: Use -SourceServer instead.

    Type: Int32
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -SourceServer

    Specifies the source server to copy the installer from.

    Type: String
    Parameter Sets: (All)
    Aliases: SourceHost, Host
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -SourceUseSsl

    DEPRICATED: Use -SourceServer instead.

    Type: SwitchParameter
    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.

    INPUTS

    None

    OUTPUTS

    System.Object

    NOTES

    RELATED LINKS

    In This Article
    Back to top Generated by DocFX