27. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/9/2018 12:16:35 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.

27.1 Files compared

# Location File Last Modified
1 RAMS-2.3.0.zip\RAMS-2.3.0\ps UpdateCommitteeTypesList.ps1 Wed Aug 22 16:04:26 2018 UTC
2 RAMS-2.3.0.zip\RAMS-2.3.0\ps UpdateCommitteeTypesList.ps1 Fri Nov 9 14:54:12 2018 UTC

27.2 Comparison summary

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

27.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

27.4 Active regular expressions

No regular expressions were active.

27.5 Comparison detail

  1   <#
  2   .SYNOPSIS
  3       NOT US ED. Adds t he Supplem ental Comm ittee entr ies to the  Committee Types list .
  4       
  5   .DESCRIPTI ON
  6       adds S C1, SC2, S C3 to the  "Committee  Types" li st .
  7           SC 1 - Supple mental Com mittee
  8           SC 2 - Supple mental Com mittee
  9           SC 3 - Supple mental Com mittee 
  10       
  11   .PARAMETER  site
  12       [strin g] The url  of the si te where t he content  is to be  created
  13       
  14   .NOTES
  15       NOT US ED in R2.3  Deploymen t Driver o r elsewher e.
  16       
  17   .EXAMPLE
  18       #when  run from t he powersh ell comman d prompt.
  19         .\UpdateCo mmitteeTyp esList.ps1  -site "ht tps:// DNS . URL /sites/IRB Applicatio ns"
  20     
  21   #>
  22  
  23   Param(
  24       [Param eter(Manda tory=$True )]
  25       [strin g]$site
  26   )
  27  
  28   #Try{
  29   Add-PSSnap in Microso ft.SharePo int.PowerS hell
  30   SPSite
  31   write-log  -message " MAKE SURE, 'site' is  set to APP ROPRIATE S ITE/ENVIRO NMENT URL  BEFORE RUN NING at !! " -console Foreground  Magenta
  32  
  33   # GET THE  SITE
  34  
  35   $web = Get -SPWeb $si te
  36  
  37   $listName  = "Committ ee Types"
  38   $myList =  $spListCol lection.Tr yGetList($ listName);
  39  
  40   #POPULATE  COMMITTEE  TYPES LIST  WITH ITEM S
  41  
  42   # TODO - C HITA - Do  we need to  verify th at ID 5-8  is not use d and Code  105-107 i s not used ?
  43   #Populate  the list w ith new it ems
  44   $newItem =  $myList.A ddItem();
  45   $newitem[" Committee  ID"] = 5;
  46   $newitem[" Committee' s Name"] =  "SC1";
  47   $newitem[" Committee  Code"] = 1 05;
  48   $newItem[" Descriptio n"] = "Sup plemental  Committee  1"
  49   $newitem.u pdate();
  50  
  51   $newItem =  $myList.A ddItem();
  52   $newitem[" Committee  ID"] = 6;
  53   $newitem[" Committee' s Name"] =  "SC2";
  54   $newitem[" Committee  Code"] = 1 06;
  55   $newItem[" Descriptio n"] = "Sup plemental  Committee  2"
  56   $newitem.u pdate();
  57  
  58   $newItem =  $myList.A ddItem();
  59   $newitem[" Committee  ID"] = 7;
  60   $newitem[" Committee' s Name"] =  "SC3";
  61   $newitem[" Committee  Code"] = 1 07;
  62   $newItem[" Descriptio n"] = "Sup plemental  Committee  3"
  63   $newitem.u pdate();
  64  
  65   $web.Dispo se();
  66  
  67   write-log  -message " ALL DONE!"  -consoleF oreground  green
  68   <#
  69   }
  70   catch [Exc eption]{
  71       write- error "$_. Exception"  | format- list -forc e
  72   }
  73   #>