Invoke-DestinationAndSourceSync
SYNOPSIS
Updates source settings with destination settings values.
SYNTAX
1 2 |
|
DESCRIPTION
The Invoke-DestinationAndSourceSync sets some values from the destination settings object on the source settings object if they are missing or null. This function makes so that you can override some settings for each source. Ex. if the source does not have a URL, the URL from the destination is used.
Properties that this function "synchronizes" are:
- url
- apiKey
- writeXML
- dryRun
- batchSize
- batchDelay
EXAMPLES
EXAMPLE 1
1 2 3 4 5 6 7 8 9 10 11 |
|
URL apiKey writeXML --- ------ -------- value4 value5 value3
PARAMETERS
-Destination
Destination settings object.
1 2 3 4 5 6 7 8 9 |
|
-ProgressAction
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by the Write-Progress cmdlet. The Write-Progress cmdlet creates progress bars that show a command's status.
The ProgressAction parameter takes one of the ActionPreference enumeration values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend, or Break.
1 2 3 4 5 6 7 8 9 |
|
-Source
Source settings object.
1 2 3 4 5 6 7 8 9 |
|
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.