Highlighted

Incremental synchronisation with AUSST

New Here ,
Nov 17, 2016

Copy link to clipboard

Copied

Hi

I've built an internal update server using AUSST for updates. I want to set a script to run the updates incrementally without being logged in - assumed a powershell script run as a scheduled task would be the best option. The script I've written is below:

$body = "C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\AUSST\AdobeUpdateServerSetupTool.exe"--root="D:\Updates\Adobe" --incremental |Out-String



"Updates are complete." -Nonewline -Foregroundcolor Green



-From email@domain -To email@domain -Subject "Adobe AUSST Updates" -Body $body -SmtpServer "mailbox.domain.local"

I get the following error when running this though:

At line:1 char:117

+ ... tupTool.exe" --root="D:\Updates\Adobe" --incremental |Out-String

+                    ~~~~~~~~~~~~~~~~~~~~~~~

Unexpected token 'root="D:\Updates\Adobe"' in expression or statement.

At line:1 char:9

+ $body = "C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\AUSS ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The '--' operator works only on variables or on properties.

    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException

    + FullyQualifiedErrorId : UnexpectedToken

Can anyone see where I'm going wrong? I've not done an awful lot with Powershell so excuse me if I'm doing something daft.

Cheers.

Tom

Views

184

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Incremental synchronisation with AUSST

New Here ,
Nov 17, 2016

Copy link to clipboard

Copied

Hi

I've built an internal update server using AUSST for updates. I want to set a script to run the updates incrementally without being logged in - assumed a powershell script run as a scheduled task would be the best option. The script I've written is below:

$body = "C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\AUSST\AdobeUpdateServerSetupTool.exe"--root="D:\Updates\Adobe" --incremental |Out-String



"Updates are complete." -Nonewline -Foregroundcolor Green



-From email@domain -To email@domain -Subject "Adobe AUSST Updates" -Body $body -SmtpServer "mailbox.domain.local"

I get the following error when running this though:

At line:1 char:117

+ ... tupTool.exe" --root="D:\Updates\Adobe" --incremental |Out-String

+                    ~~~~~~~~~~~~~~~~~~~~~~~

Unexpected token 'root="D:\Updates\Adobe"' in expression or statement.

At line:1 char:9

+ $body = "C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\AUSS ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The '--' operator works only on variables or on properties.

    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException

    + FullyQualifiedErrorId : UnexpectedToken

Can anyone see where I'm going wrong? I've not done an awful lot with Powershell so excuse me if I'm doing something daft.

Cheers.

Tom

Views

185

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation