PowerShell Module

<< Click to Display Table of Contents >>

RayQC > 8.0 > User Guide > Command Line Tools 

PowerShell Module

In order to get started, make sure that the module is imported. Invoke the following command in PowerShell terminal of your choice:

 

Import-Module "<RayQCInstallDir>\Libs\RayQC.Automation.dll"

 

You can show the available commands by invoking the following PowerShell code:

 

 (Get-module RayQC.Automation).ExportedCommands

 

Import-Package

Imports the specified package into the Software library.

 

Name 

Type 

Mandatory 

Description 

File

FileInfo

Yes

The file to import (for example an MSI file)

Transforms

FileInfo[]

No

An optional list of transforms to apply upon import.

Folder

String

No

The Software Library path where the package is to be imported to

ExtractFiles

Boolean

No

A boolean value indicating whether the files should be extracted upon import (recommended).

Package

PSPackage

Yes

The instance of PSPackage object (for reimporting)

 

 Returns PSPackage object with the newly imported package.