Skip to content

Commit ef5903c

Browse files
so that we can check the db tags
1 parent 06c96ac commit ef5903c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

developing/Robs-Instance.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ $Checks = 'LoginAuditSuccessful', 'LoginAuditFailed'
2323
Set-DbcConfig -Name skip.security.PublicPermission -Value $false
2424
$Checks = 'PublicRolePermission'
2525
$Checks = 'PUblicPermission'
26+
$Checks = 'Database'
27+
$Checks = 'AgentServiceAccount', 'DbaOperator', 'DatabaseMailProfile', 'AgentMailProfile'
28+
29+
$DatabaseTags = (Get-DbcCheck -Group Database).UniqueTag
30+
31+
$Checks = $DatabaseTags[1..5]
32+
2633

2734
Invoke-PerfAndValidateCheck -Checks $Checks
2835
Invoke-PerfAndValidateCheck -Checks $Checks -PerfDetail

0 commit comments

Comments
 (0)