daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Nov 9th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $csvCreate:
  2.  
  3. Server Names Services Name
  4. ------------ --------------
  5. abc           mn
  6. 123           OK
  7. $csvCreate1:
  8.  
  9. Server Names Mounts  
  10. ------------ ------  
  11. abc          OK      
  12. 123          /etc/999
  13.    
  14. Server Names Services Name Mounts  
  15. ------------ ------------- -------  
  16. abc            mn            OK      
  17. 123            OK           /etc/999
  18.    
  19. $csvCreate = $csvCreate | Select-Object ServerName,Services
  20.    $csvCreate1 = $csvCreate1 | Select-Object Mounts
  21.    $finalData = $csvCreate +$csvCreate1
  22.    $finalData | Export-Csv -Path $pathComparedServicess.csv -NoTypeInformation
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top