#Set locations $newtonfolder = “\\newton\d$\Applications” $maurisfolder = “\\mauris\d$\Applications” write-host Set Locations cls

#Get contents $newtoncontents = Get-ChildItem $newtonfolder -Recurse | where {!$_.PSIsContainer} $mauriscontents = Get-ChildItem $maurisfolder -Recurse | where {!$_.PSIsContainer} Write-Host Have recieved content from $newtonfolder and $maurisfolder cls

#Compare on name and length and find changed files on laptop write-host Comparing Differences $diff = Compare-Object $newtoncontents $mauriscontents -Property name, length -PassThru | where {$_.sideindicator -eq “<=”} cls

#Output differences write-host Files that are not on Mauris $diff | Select-Object FullName | Out-File ‘C:\Compare.log’