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 | ConfigureWebAddressSettings.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 | 38 |
| 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]$RootDom ainScheme, | |||||
| 5 | [strin g]$Deploym entSdkRoot Domain, | |||||
| 6 | [strin g]$Discove ryRootDoma in, | |||||
| 7 | [boole an]$NlbEna bled, | |||||
| 8 | [strin g]$SdkRoot Domain, | |||||
| 9 | [strin g]$SslHead er, | |||||
| 10 | [strin g]$WebAppR ootDomain | |||||
| 11 | ) | |||||
| 12 | ||||||
| 13 | $RemoveSna pInWhenDon e = $False | |||||
| 14 | ||||||
| 15 | if (-not ( Get-PSSnap in -Name M icrosoft.C rm.PowerSh ell -Error Action Sil entlyConti nue)) | |||||
| 16 | { | |||||
| 17 | Add-PS Snapin Mic rosoft.Crm .PowerShel l | |||||
| 18 | $Remov eSnapInWhe nDone = $T rue | |||||
| 19 | } | |||||
| 20 | ||||||
| 21 | $WebAddres sSettings = Get-CrmS etting -Se ttingType WebAddress Settings | |||||
| 22 | ||||||
| 23 | if($Deploy mentSdkRoo tDomain) { $WebAddres sSettings. Deployment SdkRootDom ain = $Dep loymentSdk RootDomain } | |||||
| 24 | if($Discov eryRootDom ain) {$Web AddressSet tings.Disc overyRootD omain = $D iscoveryRo otDomain} | |||||
| 25 | if($PSBoun dParameter s.Contains Key('NlbEn abled')) { $WebAddres sSettings. NlbEnabled = $NlbEna bled} | |||||
| 26 | if($RootDo mainScheme ) {$WebAdd ressSettin gs.RootDom ainScheme = $RootDom ainScheme} | |||||
| 27 | if($SdkRoo tDomain) { $WebAddres sSettings. SdkRootDom ain = $Sdk RootDomain } | |||||
| 28 | if($PSBoun dParameter s.Contains Key('SslHe ader')) {$ WebAddress Settings.S slHeader = $SslHeade r} | |||||
| 29 | if($WebApp RootDomain ) {$WebAdd ressSettin gs.WebAppR ootDomain = $WebAppR ootDomain} | |||||
| 30 | ||||||
| 31 | Set-CrmSet ting -Sett ing $WebAd dressSetti ngs | |||||
| 32 | ||||||
| 33 | $WebAddres sSettings | |||||
| 34 | ||||||
| 35 | if($Remove SnapInWhen Done) | |||||
| 36 | { | |||||
| 37 | Remove -PSSnapin Microsoft. Crm.PowerS hell | |||||
| 38 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.