Skip to content

Commit 40cdb0a

Browse files
authored
Merge pull request #48480 from quique-z/patch-1
Small fixes to avoid hard to troubleshoot errors.
2 parents 8f27263 + 16c2ffd commit 40cdb0a

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

articles/private-link/create-private-endpoint-powershell.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ $subnet = $virtualNetwork `
133133
$privateEndpoint = New-AzPrivateEndpoint -ResourceGroupName "myResourceGroup" `
134134
-Name "myPrivateEndpoint" `
135135
-Location "westcentralus" `
136-
-Subnet $subnet`
136+
-Subnet $subnet `
137137
-PrivateLinkServiceConnection $privateEndpointConnection
138138
```
139139

@@ -194,9 +194,10 @@ mstsc /v:<publicIpAddress>
194194
## Access SQL Database Server privately from the VM
195195

196196
1. In the Remote Desktop of myVM, open PowerShell.
197-
2. Enter `nslookup myserver.database.windows.net`.
197+
2. Enter `nslookup myserver.database.windows.net`. Remember to replace `myserver` with your SQL server name.
198198

199199
You'll receive a message similar to this:
200+
200201
```azurepowershell
201202
Server: UnKnown
202203
Address: 168.63.129.16
@@ -205,17 +206,21 @@ mstsc /v:<publicIpAddress>
205206
Address: 10.0.0.5
206207
Aliases: myserver.database.windows.net
207208
```
208-
3. Install SQL Server Management Studio
209-
4. In Connect to server, enter or select this information:
210-
Setting Value
211-
Server type Select Database Engine.
212-
Server name Select myserver.database.windows.net
213-
Username Enter a username provided during creation.
214-
Password Enter a password provided during creation.
215-
Remember password Select Yes.
216-
5. Select Connect.
217-
6. Browse Databases from left menu.
218-
7. (Optionally) Create or query information from mydatabase
209+
210+
3. Install SQL Server Management Studio.
211+
4. In **Connect to server**, enter or select this information:
212+
213+
| Setting | Value |
214+
| --- | --- |
215+
| Server type | Database Engine |
216+
| Server name | myserver.database.windows.net |
217+
| Username | Enter the username provided during creation |
218+
| Password | Enter the password provided during creation |
219+
| Remember Password | Yes |
220+
221+
5. Select **Connect**.
222+
6. Browse **Databases** from the left menu.
223+
7. (Optionally) Create or query information from mydatabase.
219224
8. Close the remote desktop connection to *myVM*.
220225
221226
## Clean up resources

0 commit comments

Comments
 (0)