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 | ConfigureClaims.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 | 30 |
| 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 | [boole an]$Enable d, | |||||
| 5 | [strin g]$Encrypt ionCertifi cate, | |||||
| 6 | [strin g]$Federat ionMetadat aUrl | |||||
| 7 | ) | |||||
| 8 | ||||||
| 9 | $RemoveSna pInWhenDon e = $False | |||||
| 10 | ||||||
| 11 | if (-not ( Get-PSSnap in -Name M icrosoft.C rm.PowerSh ell -Error Action Sil entlyConti nue)) | |||||
| 12 | { | |||||
| 13 | Add-PS Snapin Mic rosoft.Crm .PowerShel l | |||||
| 14 | $Remov eSnapInWhe nDone = $T rue | |||||
| 15 | } | |||||
| 16 | ||||||
| 17 | $ClaimsSet tings = Ge t-CrmSetti ng -Settin gType Clai msSettings | |||||
| 18 | ||||||
| 19 | if($PSBoun dParameter s.Contains Key('Enabl ed')) {$Cl aimsSettin gs.Enabled = $Enable d} | |||||
| 20 | if($Encryp tionCertif icate) {$C laimsSetti ngs.Encryp tionCertif icate = $E ncryptionC ertificate } | |||||
| 21 | if($Federa tionMetada taUrl) {$C laimsSetti ngs.Federa tionMetada taUrl = $F ederationM etadataUrl } | |||||
| 22 | ||||||
| 23 | Set-CrmSet ting -Sett ing $Claim sSettings | |||||
| 24 | ||||||
| 25 | $ClaimsSet tings | |||||
| 26 | ||||||
| 27 | if($Remove SnapInWhen Done) | |||||
| 28 | { | |||||
| 29 | Remove -PSSnapin Microsoft. Crm.PowerS hell | |||||
| 30 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.