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.
| # | 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 | ConfigureIfd.ps1 | Tue Dec 20 19:51:48 2016 UTC |
| 2 | Wed Feb 1 19:57:03 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 34 |
| 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 |
No regular expressions were active.
| 1 | param | |||||
| 2 | ( | |||||
| 3 | #optio nal params | |||||
| 4 | [strin g]$Discove ryWebServi ceRootDoma in, | |||||
| 5 | [boole an]$Enable d, | |||||
| 6 | [strin g]$Externa lDomain, | |||||
| 7 | [strin g]$Organiz ationWebSe rviceRootD omain, | |||||
| 8 | [strin g]$WebAppl icationRoo tDomain | |||||
| 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 | $IfdSettin gs = Get-C rmSetting -SettingTy pe IfdSett ings | |||||
| 20 | ||||||
| 21 | if($Discov eryWebServ iceRootDom ain) {$Ifd Settings.D iscoveryWe bServiceRo otDomain = $Discover yWebServic eRootDomai n} | |||||
| 22 | if($Extern alDomain) {$IfdSetti ngs.Extern alDomain = $External Domain} | |||||
| 23 | if($PSBoun dParameter s.Contains Key('Enabl ed')) {$If dSettings. Enabled = $Enabled} | |||||
| 24 | if($Organi zationWebS erviceRoot Domain) {$ IfdSetting s.Organiza tionWebSer viceRootDo main = $Or ganization WebService RootDomain } | |||||
| 25 | if($WebApp licationRo otDomain) {$IfdSetti ngs.WebApp licationRo otDomain = $WebAppli cationRoot Domain} | |||||
| 26 | ||||||
| 27 | Set-CrmSet ting -Sett ing $IfdSe ttings | |||||
| 28 | ||||||
| 29 | $IfdSettin gs | |||||
| 30 | ||||||
| 31 | if($Remove SnapInWhen Done) | |||||
| 32 | { | |||||
| 33 | Remove -PSSnapin Microsoft. Crm.PowerS hell | |||||
| 34 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.