Skip to main content
Participating Frequently
November 17, 2016
Question

Incremental synchronisation with AUSST

  • November 17, 2016
  • 0 replies
  • 353 views

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

This topic is closed to new replies. Start a new post to keep the conversation going.