Invoke-RepositorySync



Summary

Synchronize repository and generate a report with repository content information

Syntax

Invoke-RepositorySync [[-Quiet]] [<CommonParameters>]

Description

This command performs a synchronization of a repository, by downloading latest SoftPaqs associated with the repository filters. At the end of each sync, it creates a repository report in a format (default .CSV) set via Set-RepositoryConfiguration.

The command may be scheduled via task manager to run on schedule. Define a notification email via Set-RepositoryNotificationConfiguration to receive any failure notifications during unattended operation.

This command may be followed by Invoke-RepositoryCleanup to remove any obsolete SoftPaqs from the repository.

Invoke-RepositorySync functionality is not supported in WinPE.

Parameters

Name Argument Description
Quiet Suppress progress messages during operation.

Examples


PS C:\> Invoke-RepositorySync -Quiet

See also