Microsoft Virtualization Discussions

Disable the confirmation message with cmd-let Remove-NaSnapvault ?

DETIENNE1976
3,976 Views

Hi,

I try to use cmd-let "Remove-NaSnapvault" from the toolkit, I would know if it's possible to disable the confirmation message?

It's work fine with the command "snapvault stop -f " on the vfiler context on CLI via SSH but I didn't find the way to do this by the powershell cmd-let.

Anyway, The cmd-let "Invoke-NaSsh" don't work in a multistore context.

Regards.

David.

1 ACCEPTED SOLUTION

vinith
3,976 Views

Can you try this?, try appending a -confirm:$false

Remove-NaSnapvault <----> -Confirm:$false

View solution in original post

2 REPLIES 2

vinith
3,977 Views

Can you try this?, try appending a -confirm:$false

Remove-NaSnapvault <----> -Confirm:$false

DETIENNE1976
3,976 Views

Hello thank's for your Help

It's work fine

Public