< Back

New-AMRepositoryMap

Sat Jan 11, 2020 3:01 am

NAME New-AMRepositoryMap



SYNOPSIS

Creates server to server repository mappings





SYNTAX

New-AMRepositoryMap [[-SourceObject] <Object>] [[-DestinationObject] <Object>] [-CreateReverseMapping]

[[-FilePath] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

New-AMRepositoryMap creates repository mappings between two servers to be supplied to Copy-AMWorkflow.





PARAMETERS

-SourceObject <Object>

The source object to map



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DestinationObject <Object>

The destination object to map



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CreateReverseMapping [<SwitchParameter>]

Also create the reverse mapping from destination server to source server



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-FilePath <String>

The file path to save repository mappings in, saved in the user profile by default



Required? false

Position? 3

Default value "$($env:APPDATA)\\AutomatePS\\repositorymap.csv"

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS

https://github.com/AutomatePS/AutomatePS