Azure / Azure/azure-powershell

Restore-AzSqlDatabase does not respect the WhatifPreference

Open
#15,618 8 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.