# Add-VaultJob Adds a Job to the Vault JobQueue. ## Syntax ```{code-block} powershell :linenos: Add-VaultJob -Name [-Parameters ] [-Description ] [-Priority ] [] ``` ## Parameters ```{eval-rst} .. csv-table:: :header: "Type","Name","Description","Default value","Optional" "String","Name","The name of job to add","","no" "Hashtable","Parameters","A hashtable of parameters for the job","","yes" "String","Description","A description of the job","powerVault: added job","yes" "Integer","Priority","The priority of the job. Possible values are: High, Medium, Low","Medium","yes" ``` ## Return type [Job](/code_reference/objects/job) ← on success\ **empty** ← on failure ## Remarks The **Priority** argument can be specified by passing either a number or passing one of the following values: High, Medium, Low.\ Passing a lower number means a higher priority. 1 is the lowest possible number.\ *High* is equal to priority 1, *Medium* is equal to priority 10 and *Low* is equal to priority 20. ## Examples **Adds a Job to the Vault JobQueue:** ```powershell $job = Add-VaultJob -Name "Sample.CreatePDF" -Parameters @{"EntityId"=88;"EntityClassId"="FILE"} -Description "Job for creating PDF" ``` **Adds a Job with High Priority:** ```powershell $job = Add-VaultJob -Name "TransferBOMToERP" -Parameters @{"EntityId"=$entity.Id;"EntityClassId"=$entity._EntityTypeID} -Priority High ```