Send-Inventory

<< Click to Display Table of Contents >>

RayVentory Scan Engine > 12.6 u4 > User Guide > PowerShell Automation 

Send-Inventory

Uploads the inventory files to the parent upload location.

 

Syntax:

 

Send-Inventory -UploadLocation <string> [-Credentials <PSCredential>]

 

Parameters:

Upload location is required, the credentials are optional:

 

-UploadLocation <string>
The full upload location of the parent upload server.

 

-Credentials <PSCredential>
The optional credentials to authenticate against the upload location server.

 

Full Parameter Reference:

 

Parameter name

Type

Is required?

Specific position?

Accepts pipeline input?

Set name

Aliases

Is dynamic?

UploadLocation

String

Yes

0

No

(all)

None

No

Credentials

String

No

1

No

(all)

None

No

 

Example:

To upload inventory files to the specified parent:

 

    Send-Inventory "http://parent:80/Inventories"