|
37 | 37 | },
|
38 | 38 | {
|
39 | 39 | "cell_type": "code",
|
40 |
| - "execution_count": 2, |
| 40 | + "execution_count": null, |
41 | 41 | "metadata": {
|
42 | 42 | "azdata_cell_guid": "05f101cc-6fe4-4f97-9e2a-88230ffa5462",
|
43 | 43 | "tags": [
|
44 | 44 | "hide_input"
|
45 | 45 | ]
|
46 | 46 | },
|
47 |
| - "outputs": [ |
48 |
| - { |
49 |
| - "data": { |
50 |
| - "text/html": [ |
51 |
| - "<script type=\"text/javascript\">#!javascript\r\n", |
52 |
| - "if ((typeof(requirejs) !== typeof(Function)) || (typeof(requirejs.config) !== typeof(Function))) { \r\n", |
53 |
| - " let script = document.createElement(\"script\"); \r\n", |
54 |
| - " script.setAttribute(\"src\", \"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js\"); \r\n", |
55 |
| - " script.onload = function(){\r\n", |
56 |
| - " loadDotnetInteractiveApi();\r\n", |
57 |
| - " };\r\n", |
58 |
| - " document.getElementsByTagName(\"head\")[0].appendChild(script); \r\n", |
59 |
| - "}\r\n", |
60 |
| - "else {\r\n", |
61 |
| - " loadDotnetInteractiveApi();\r\n", |
62 |
| - "}\r\n", |
63 |
| - "\r\n", |
64 |
| - "function loadDotnetInteractiveApi(){\r\n", |
65 |
| - " let apiRequire = requirejs.config({context:\"dotnet-interactive.32584.62760\",paths:{dotnetInteractive:\"http://localhost:62760/resources/dotnet-interactive\"}});\r\n", |
66 |
| - " apiRequire(['dotnetInteractive'], \r\n", |
67 |
| - " function(api) { \r\n", |
68 |
| - " api.createDotnetInteractiveClient(\"http://localhost:62760/\", window);\r\n", |
69 |
| - " },\r\n", |
70 |
| - " function(error){\r\n", |
71 |
| - " console.log(error);\r\n", |
72 |
| - " });\r\n", |
73 |
| - "}</script>" |
74 |
| - ] |
75 |
| - }, |
76 |
| - "metadata": {}, |
77 |
| - "output_type": "display_data" |
78 |
| - }, |
79 |
| - { |
80 |
| - "name": "stdout", |
81 |
| - "output_type": "stream", |
82 |
| - "text": [ |
83 |
| - "Creating Directory C:\\Users\\mrrob\\Documents\\dbachecks\n", |
84 |
| - "Path C:\\Users\\mrrob\\Documents\\dbachecks exists already\n", |
85 |
| - "Creating Directory C:\\Users\\mrrob\\Documents\\dbachecks\\SQL1\n", |
86 |
| - "Directory SQL1 exists already\n", |
87 |
| - "Creating File C:\\Users\\mrrob\\Documents\\dbachecks\\SQL1\\dummyfile.txt\n", |
88 |
| - "Creating Directory C:\\Users\\mrrob\\Documents\\dbachecks\\SQL2\n", |
89 |
| - "Directory SQL2 exists already\n", |
90 |
| - "Creating File C:\\Users\\mrrob\\Documents\\dbachecks\\SQL2\\dummyfile.txt\n", |
91 |
| - "Creating a credential file for the containers - Please don't do this in production\n", |
92 |
| - "Credential file created\n", |
93 |
| - "Setting the docker-compose files values\n" |
94 |
| - ] |
95 |
| - } |
96 |
| - ], |
| 47 | + "outputs": [], |
97 | 48 | "source": [
|
98 | 49 | "# Alter the Notebook Directory below before running this code\r\n",
|
99 | 50 | "$notebookDirectory ='C:\\Users\\mrrob\\OneDrive\\Documents\\GitHub\\JupyterNotebooks\\notebooks\\NotDotNet\\dbachecks'\r\n",
|
|
166 | 117 | },
|
167 | 118 | {
|
168 | 119 | "cell_type": "code",
|
169 |
| - "execution_count": 2, |
| 120 | + "execution_count": null, |
170 | 121 | "metadata": {
|
171 | 122 | "azdata_cell_guid": "63ae3fba-d0af-4226-9a2e-1ec9f92b76dd",
|
172 | 123 | "tags": []
|
173 | 124 | },
|
174 |
| - "outputs": [ |
175 |
| - { |
176 |
| - "name": "stdout", |
177 |
| - "output_type": "stream", |
178 |
| - "text": [ |
179 |
| - "Starting dbachecks_SQL2019-1_1 ... \n", |
180 |
| - "\n", |
181 |
| - "Starting dbachecks_SQL2019_1 ... \n", |
182 |
| - "\n", |
183 |
| - "\u001b[1A\u001b[2K\n", |
184 |
| - "Starting dbachecks_SQL2019_1 ... \u001b[32mdone\u001b[0m\n", |
185 |
| - "\u001b[1B\u001b[2A\u001b[2K\n", |
186 |
| - "Starting dbachecks_SQL2019-1_1 ... \u001b[32mdone\u001b[0m\n", |
187 |
| - "\u001b[2B\n" |
188 |
| - ] |
189 |
| - } |
190 |
| - ], |
| 125 | + "outputs": [], |
191 | 126 | "source": [
|
192 | 127 | "$FolderPath = $Env:USERPROFILE + '\\Documents\\dbachecks'\r\n",
|
193 | 128 | "Set-Location $FolderPath\r\n",
|
|
217 | 152 | },
|
218 | 153 | {
|
219 | 154 | "cell_type": "code",
|
220 |
| - "execution_count": 3, |
| 155 | + "execution_count": null, |
221 | 156 | "metadata": {
|
222 | 157 | "azdata_cell_guid": "f47bed8a-0d8c-4f13-ad42-c1685ad0961d"
|
223 | 158 | },
|
224 |
| - "outputs": [ |
225 |
| - { |
226 |
| - "name": "stdout", |
227 |
| - "output_type": "stream", |
228 |
| - "text": [ |
229 |
| - "CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES\n", |
230 |
| - "1b1c78f842d5 sqldbawithabeard/dbachecksdemo \"/opt/mssql/bin/perm…\" 10 seconds ago Up 8 seconds 0.0.0.0:5023->5023/tcp, 0.0.0.0:15593->1433/tcp dbachecks_SQL2019-1_1\n", |
231 |
| - "c05d2805d97d sqldbawithabeard/dbachecksdemo \"/opt/mssql/bin/perm…\" 10 seconds ago Up 8 seconds 0.0.0.0:5022->5022/tcp, 0.0.0.0:15592->1433/tcp dbachecks_SQL2019_1\n" |
232 |
| - ] |
233 |
| - } |
234 |
| - ], |
| 159 | + "outputs": [], |
235 | 160 | "source": [
|
236 | 161 | "docker ps -a"
|
237 | 162 | ]
|
|
0 commit comments