-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working on ValidDatabaseOwner for #884
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So in Instances v5 we call the NewGet-AllInstancesInfo function (so maybe we need a Get-AllDatabasesInfo)
dbachecks/checks/Instancev5.Tests.ps1
Line 27 in ae74f95
I am then adding a skip for every test (although that will need checking later because I will have missed some !)
We know the tags that have been chosen
dbachecks/checks/Instancev5.Tests.ps1
Line 9 in ae74f95
So we pass both InstancesSmo and Tags to the New Get-AllInstanceInfo (Databasinfo here)
Then create a configvalues property
dbachecks/internal/functions/NewGet-AllInstanceInfo.ps1
Line 33 in ae74f95
When we have a need for one we add it
dbachecks/internal/functions/NewGet-AllInstanceInfo.ps1
Line 52 in ae74f95
and then reference it in the check like this
dbachecks/checks/Instancev5.Tests.ps1
Line 74 in ae74f95
Does that help?