776. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:57:03 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

776.1 Files compared

# Location File Last Modified
1 C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM\trunk\SDK\SampleCode\PS UpdateOrg.ps1 Tue Dec 20 19:51:48 2016 UTC
2 Wed Feb 1 19:57:03 2017 UTC

776.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 0 0
Removed 1 55

776.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

776.4 Active regular expressions

No regular expressions were active.

776.5 Comparison detail

1   param        
2   (        
3       #requi red params        
4       [strin g]$Name =  $(throw "N ame parame ter not sp ecified"),        
5               
6       #optio nal params        
7       [switc h]$Upgrade ,        
8       [switc h]$WaitFor Job        
9   )        
10          
11   $RemoveSna pInWhenDon e = $False        
12          
13   if (-not ( Get-PSSnap in -Name M icrosoft.C rm.PowerSh ell -Error Action Sil entlyConti nue))        
14   {        
15       Add-PS Snapin Mic rosoft.Crm .PowerShel l        
16       $Remov eSnapInWhe nDone = $T rue        
17   }        
18          
19   $opId = Up date-CrmOr ganization  -Name $Na me $Upgrad e        
20   $opId        
21          
22   if($WaitFo rJob)        
23   {        
24       $opsta tus = Get- CrmOperati onStatus - OperationI d $opid        
25       while( $opstatus. State -eq  "Processin g")        
26       {        
27           Wr ite-Host [ (Get-Date) ] Processi ng...        
28           St art-Sleep  -s 30        
29           $o pstatus =  Get-CrmOpe rationStat us -Operat ionId $opi d        
30       }        
31          
32       if($op status.Sta te -eq "Fa iled")        
33       {        
34           Th row ($opst atus.Proce ssingError .Message)        
35       }        
36          
37       if($Up grade)        
38       {        
39           Wr ite-Host [ (Get-Date) ] Upgrade  org comple ted succes sfully.        
40       }        
41       else        
42       {        
43           Wr ite-Host [ (Get-Date) ] Update o rg complet ed success fully.        
44       }        
45   }        
46   else        
47   {        
48       Write- Host [(Get -Date)] Up date org a sync job r equested.        
49   }        
50          
51          
52   if($Remove SnapInWhen Done)        
53   {        
54       Remove -PSSnapin  Microsoft. Crm.PowerS hell        
55   }