' $Word=NEW-OBJECT -COMOBJECT WORD.APPLICATION  Foreach ($File in $Files) {      # open a Word document, filename from the directory      $Doc=$Word.Documents.Open($File.fullname)      # Swap out DOCX with PDF in the Filename      $Name=