I’m trying to delete files from multiple folders from an DS Card in a Nikon Z6ii camera – the card is not seen as a logical drive in my computer, though. There are multiple folders in the form 100NZ6_2, 101NZ6_2, 102NZ6_2 and so on. The folders show as (for example): This PCZ 6_2Removable StorageDCIM100NZ6_2
I tried referencing the camera name plus folder name in my script, but it was not recognized e.g.
Remove-Item "This PCZ 6_2Removable StorageDCIM100NZ6_2*.*"