Greetings,
I am fairly new to the whole powershell/netapp domain.
The idea is to list the available backups on the server and then delete all of them for we use cloning to get the most recent snapshots of SQL databases. There is simply no need to older data. As far as I understand, the loop will go through each component of the get-backup array and try to delete it, failing on one will result going to the next, and that is what we are looking for.
So I was trying something like:
get-backup -server ourserver -serverinstance -ourserverinstance; delete-backup
I get the following:
cmdlet delete-backup at command pipeline position 1
Supply values for the following parameters:
Database:
Backup:
How do I do wild cards here? Thanks