Search Results for

    Show / Hide Table of Contents

    Get-UscArguments

    SYNOPSIS

    Gets arguments for a package.

    SYNTAX

    Default

    Get-UscArguments [-PackageId] <String> [[-Version] <VersionQuery>] [[-Parameters] <Object>]
     [-Directory <String>] [<CommonParameters>]
    

    Hashtable

    Get-UscArguments -InputHashtable <Hashtable> [[-Parameters] <Object>] [-Directory <String>]
     [<CommonParameters>]
    

    DESCRIPTION

    Get arguments for the specified package and it's dependencies.

    EXAMPLES

    Example 1

    PS C:\> Get-UscArguments -Id 'ls-central-app' -Version '17.0.0'
    Key          Value
    ---            -----
    bc-server      {[ServiceUser, ${environment.NetworkServiceUser}], [ServicePassword, dummy], [ConnectionString, Data Source=${System.SqlServerInst...
    bc-server-base {[TargetPathX64, ${environment.ProgramFiles}\Microsoft Dynamics 365 Business Central]}
    

    This example returns a hashtable of packages and their default parameters.

    PARAMETERS

    -Directory

    Specifies an optional alternative client directory.

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

    -InputHashtable

    Type: Hashtable
    Parameter Sets: Hashtable
    Aliases:
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: True (ByValue)
    Accept wildcard characters: False
    

    -PackageId

    Specifies the package ID to get arguments for.

    Type: String
    Parameter Sets: Default
    Aliases: Package, PackageVersion, Id
    
    Required: True
    Position: 1
    Default value: None
    Accept pipeline input: True (ByPropertyName, ByValue)
    Accept wildcard characters: False
    

    -Parameters

    Specifies parameters to set.

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

    -Version

    Specifies a package version to be returned.

    Type: VersionQuery
    Parameter Sets: Default
    Aliases:
    
    Required: False
    Position: 2
    Default value: None
    Accept pipeline input: True (ByPropertyName)
    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

    System.String

    LSRetail.UpdateService.Common.SemanticVersioning.VersionQuery System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

    OUTPUTS

    System.Object

    NOTES

    RELATED LINKS

    In this article
    Back to top Generated by DocFX