Search Results for

    Show / Hide Table of Contents

    Hardware Station Packages

    Hardware Station Device Configuration Package

    Create a package to deploy one or more device configuration XML files for the Hardware Station.

    Prepare one or more device configuration XML files with the configuration settings for the Hardware Station.

    The package will deliver the configuration files to C:\ProgramData\LS Retail\LS Hardware Station\devices on the client device and restart the Hardware Station service, resulting in the import of the files.

    $ErrorActionPreference = 'stop'
    
    Import-Module LsPackageTools\HardwareStation
    
    $PackageArgs = @{
        PackageId = "cronus-hwst-device-config"
        Name = "Cronus Hardware Station Device Configuration"
        Path = 'c:\path\to\device\config.xml' # or a directory with multiple configurations 'c:\path\to\devices\'
        Version = '1.0.0'
        OutputDir = 'c:\path\to\output'
    }
    
    New-HardwareStationDeviceConfigPackage @PackageArgs | Import-UssPackage
    

    This example creates a Hardware Station device configuration package containing the config.xml from the location c:\path\to\device\config.xml. The package is created in the output directory c:\path\to\output.

    In This Article
    Back to top Generated by DocFX