Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I'm building scripts for administrative purposes on a NetApp. One of the parts is removing snapshots from the system. When I run the following command the powershell scripts comes with a confirmation popup: remove-nasnapshot volume snapshot.
Is it possible to skip the confirmation and directly remove the snapshot after running the script?
I'm using Powershell Toolkit version 1.2.
Thanks for your help.
Regards,
Eelco
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use the -Confirm parameter like so;
Remove-NaSnapshot <snapname> -Confirm:$false
Regards,
Ed.
1 REPLY 1
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use the -Confirm parameter like so;
Remove-NaSnapshot <snapname> -Confirm:$false
Regards,
Ed.
