Hi Admin, i would like to know how to delete shadow copies through remotely which are older than 30 days. I found the script through which i can delete locally but need a script for remote shadow copy deletion. tried to modify the script but not sure whether it works or not, could you please assist.
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
If you pipe $result through Get-Member, you will see there is no Delete Method as your error suggests. I would think you would need to replace this line with something like this. I have no way to test.