DIR Return Create A Forum - Home
---------------------------------------------------------
Infrastructure Services
HTML https://infrastructureservices.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Powershell
*****************************************************
#Post#: 29--------------------------------------------------
Task 2
DIR By: uday
Date: October 28, 2019, 3:40 am
---------------------------------------------------------
Create two similar, but different, text files. Try comparing
them using Diff. To do so, run something like this: Diff
-reference (Get-Content File1.txt) -difference (Get-Content
File2.txt). If the files have only one line of text that’s
different, the command should work. If you add a bunch of lines
to one file, the command may stop working. Try experimenting
with the Diff command’s -syncWindow parameter to see if you can
get the command working again.
*****************************************************
Page 1 of 1