Hi 523311,
Is "\mynas\something\folder\file.abc" a directory path? Per my test, the cmdlet returns nothing when the path is a directory. You have to provide a file path to the "-Path" parameter.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.