Sometimes there is a need to add Stage2 workflow step executing PowerShell script calling for a specific parameter like user PrimarySMTPaddress.
Execution may fail if parameter Token PrimarySMTPaddress is not available in Archive Shuttle database for source EV archive, e.g. in case of Ownerless archives.
Using the switch in the workflow step and point it to “Target” will resolve the issue as PrimarySMTPaddress is only available in the target environment because of used Leavers functionality.

Using customized PowerShell script in Stage2 workflow calling for source and target parameters which are not available will fail. There is a need to split this script and use “Source” switch for this part of Powershell script where only source parameters are called and do the same for this part of Powershell script where only target parameters are called to avoid failure.

Print Friendly, PDF & Email