Endable-DbaTraceflag is missing "-whatif" option.
Verified issue does not already exist?
I have searched and found no existing issue
What error did you receive?
I noticed that Enable-DbaTraceFlag is missing the wonderfull "-whatif" option. Was it deemed not necsessary or is it missing?
Steps to Reproduce
Enable-DbaTraceFlag serverXXX -TraceFlag 12347 -whatif Enable-DbaTraceFlag : A parameter cannot be found that matches parameter name 'whatif'. At line:1 char:49
- Enable-DbaTraceFlag serverXXX -TraceFlag 12347 -whatif
-
~~~~~~~- CategoryInfo : InvalidArgument: (:) [Enable-DbaTraceFlag], ParameterBindingException
- FullyQualifiedErrorId : NamedParameterNotFound,Enable-DbaTraceFlag
Please confirm that you are running the most recent version of dbatools
2.1.24
Other details or mentions
N/A
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe)
PowerShell Host Version
Name Value
PSVersion 5.1.19041.5007
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.5007
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
SQL Server Edition and Build number
N/A
.NET Framework Version
N/A