Skip to content

Commit 8fb5161

Browse files
Merge pull request #9 from alexprotsenko/patch-17
Update SQLAssessmentAPITutorialNotebook.ipynb
2 parents 4de3a25 + a6d9c88 commit 8fb5161

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

samples/manage/sql-assessment-api/notebooks/SQLAssessmentAPITutorialNotebook.ipynb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@
485485
"cell_type": "code",
486486
"source": [
487487
"#Create new rule with cmd probe type. It runs 'dir' cmd command and checks that resulted list is'n empty.\r\n",
488-
"# !!! Complete the prerequisites below before running this block.\r\n",
489488
"#Make sure that xp_cmdshell is enabled\r\n",
490489
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRuleCmdShellProbe.json\")"
491490
],
@@ -513,7 +512,6 @@
513512
"source": [
514513
"#Create new rule with Powershell probe type.\r\n",
515514
"#It runs query to get major PS version\r\n",
516-
"# !!! Complete the prerequisites below before running this block.\r\n",
517515
"#Make sure that xp_cmdshell is enabled and PS execution policy is RemoteSigned or Unrestricted.\r\n",
518516
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRulePowerShellProbe.json\")"
519517
],
@@ -538,7 +536,7 @@
538536
"cell_type": "code",
539537
"source": [
540538
"#Create new rule with Registry probe\r\n",
541-
"# !!! Complete the prerequisites below before running this block.\r\n",
539+
"#Make sure that xp_cmdshell is enabled\r\n",
542540
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRuleRegistryProbe.json\")"
543541
],
544542
"metadata": {
@@ -564,7 +562,6 @@
564562
"cell_type": "code",
565563
"source": [
566564
"#Create new rule with WMI probe\r\n",
567-
"# !!! Complete the prerequisites below before running this block.\r\n",
568565
"#Make sure that xp_cmdshell is enabled.\r\n",
569566
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRuleWmiProbe.json\")"
570567
],
@@ -615,4 +612,4 @@
615612
}
616613
}
617614
]
618-
}
615+
}

0 commit comments

Comments
 (0)