Azure / Azure/azure-powershell
Restore-AzSqlDatabase does not respect the WhatifPreference
Open
act-observability-squad
customer-reported
needs-team-attention
question
Service Attention
SQL - Backup & Restore
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
## Description
For Az.Sql in Version 3.4.0, the Restore-AzSqlDatabase with the -whatIf switch present still restores the actual database instead of calling the ShouldProcess.
Name Value
---- -----
PSVersion 5.1.19041.1023
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1023
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Contributor guide
Assessment
This issue has not been assessed yet.