Rm Cannot Remove Is A Directory. Remove-Item -Force -Recurse -Path $directoryPath I am getting t