Hi, I need some help. I want to update / change the PW application for all DWG files from ‘’AutoCAD Mechanical’’ to ‘’AutoCAD’’

I have following PowerShell command see below, but I’m not able to filter for the PW application ‘’AutoCAD Mechanical’’. With this command I get all DWG files, but I need only the DWG files with the PW application ‘’AutoCAD Mechanical’’

 

Get-PWDocumentsBySearch -FileName "%.dwg" -GetAttributes | Set-PWDocumentApplication -Application "AutoCAD"