Skip to content

Commit 99a8460

Browse files
authored
Merge pull request #2075 from PowerShell/ADS-Server-creation
Add Notebook for Azure Friday Episode
2 parents 5d60b0f + 121ca6e commit 99a8460

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"metadata": {
3+
"kernelspec": {
4+
"name": "SQL",
5+
"display_name": "SQL",
6+
"language": "sql"
7+
},
8+
"language_info": {
9+
"name": "sql",
10+
"version": ""
11+
}
12+
},
13+
"nbformat_minor": 2,
14+
"nbformat": 4,
15+
"cells": [
16+
{
17+
"cell_type": "markdown",
18+
"source": "## Creating a SQL Server in a Linux Container [Using PowerShell]\r\n\r\n|Module|Link|\r\n|------------|---------------------------------------|\r\n|SqlServer|https://www.powershellgallery.com/packages/SqlServer/|\r\n|ReportingServicesTools|https://www.powershellgallery.com/packages/ReportingServicesTools/|\r\n|MicrosoftPowerBIMgmt|https://www.powershellgallery.com/packages/MicrosoftPowerBIMgmt/|\r\n|SqlServerDsc|https://www.powershellgallery.com/packages/SqlServerDsc/|\r\n|Az.Sql|https://www.powershellgallery.com/packages/Az.Sql/|\r\n\r\n<pre>\r\nIf you don't already have a terminal window open, you need to first: <a href=\"command:workbench.action.terminal.focus\">Open the terminal</a> \r\n</pre>\r\n<pre> \r\nYou probably don't have this directory on your machine, so run this: <a href=\"command:workbench.action.terminal.sendSequence?%7B%22text%22%3A%22mkdir%20C:%2FSQLData%2FDocker%2FSQLDev66%22%7D\">mkdir C:/SQLData/Docker/SQLDev63 </a>\r\n</pre>\r\n<pre>\r\n<a href=\"command:workbench.action.terminal.sendSequence?%7B%22text%22%3A%22Invoke-Expression%20(Invoke-WebRequest%20https:%2F%2Fgist.githubusercontent.com%2FSQLvariant%2F63193826e2352f2a8c1c85f63c724501%2Fraw%2Fd424e4127ceda141cc091aa7cfba7a11e410143e/DockerDesktop-with-SQL-PowerShell-63.ps1)%22%7D\">Spin up a Docker Container with Invoke-Expression (Invoke-WebRequest https://gist.githubusercontent.com/SQLvariant) </a> Just click enter after the command is placed into the terminal. Just click enter after the command is placed into the terminal. When prompted, the sa password is Test1234, but you can obviously change this.\r\n</pre>\r\n<pre> \r\nView the PowerShell Script with <a href=\"command:workbench.action.terminal.sendSequence?%7B%22text%22%3A%22PSEdit%20C:%2FSQLData%2FDocker-Desktop-with-SQL-PowerShell-63.ps1%22%7D\">PSEdit </a>\r\n</pre>\r\n",
19+
"metadata": {}
20+
},
21+
{
22+
"cell_type": "code",
23+
"source": "SELECT name, create_date\r\nFROM sys.databases",
24+
"metadata": {},
25+
"outputs": [],
26+
"execution_count": 0
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)