< Back

Sync-CrmSolutionFromSource

Sat Jan 18, 2020 7:25 pm

NAME Sync-CrmSolutionFromSource



SYNOPSIS

Syncs a Solution in a Dynamics Crm org against a source solution

in another org.





SYNTAX

Sync-CrmSolutionFromSource [-SourceCredential <PSCredential>] [-TargetCredential <PSCredential>] -ConfigFilePath

<String> [<CommonParameters>]



Sync-CrmSolutionFromSource -SourceUsername <String> -SourcePassword <SecureString> -TargetUsername <String>

-TargetPassword <SecureString> -ConfigFilePath <String> [<CommonParameters>]





DESCRIPTION

Syncs a Solution in a Dynamics Crm org against a source solution

in another org.



Necessary parameters read from config file. File can be generated

using the '-GenerateConfig' switch -- this will prompt you for

the required parameters -- or via the 'New-CrmSolutionFromSourceConfig' cmdlet.



If Solution does not already exist on target, it will be created. If publisher

does not already exist on target, it will be created. All publisher info and

solution name are assumed to be the same on source and target.



If the target Solution exists and contains SolutionComponents, any

SolutionComponents not in source Solution will be removed from

the target Solution.



If specified in config, entities with rootcomponentbehaviors of 0 will be

changed to 1.





PARAMETERS

-SourceCredential <PSCredential>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TargetCredential <PSCredential>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SourceUsername <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SourcePassword <SecureString>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TargetUsername <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TargetPassword <SecureString>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ConfigFilePath <String>



Required? true

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

-Solution on target Dynamics Crm Org.



-'Errorlog.txt', if errors encountered.



-'BuildCrmSolutionLog.json', contains useful information about SolutionComponents

manipulated by the cmdlet. This includes those Added, Skipped, and comparison results.







RELATED LINKS





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Test-CrmSchemaNameExists; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Test-CrmSchemaNameExists [[-metadata] <hashtable>] [[-SchemaName] <string>]



ModuleName : POPSCrmTools

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-CrmSchemaNameExists

Category : Function

Component :

Role :

Functionality :