Skip to content

Commit a1af659

Browse files
authored
Small fixes to avoid hard to troubleshoot errors.
Fixed a missing whitespace that made a command throw a non trivial error. Added a reminder to change the default server name in the nslookup step. Fixed multi-line formatting on the server connection section.
1 parent 970db77 commit a1af659

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

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

Lines changed: 9 additions & 8 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,7 +194,7 @@ 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:
200200
```azurepowershell
@@ -207,12 +207,13 @@ mstsc /v:<publicIpAddress>
207207
```
208208
3. Install SQL Server Management Studio
209209
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.
210+
| Setting | Value |
211+
| --- | --- |
212+
| Server type | Database Engine |
213+
| Server name | myserver.database.windows.net |
214+
| Username | Enter the username provided during creation |
215+
| Password | Enter the password provided during creation |
216+
| Remember Password | Yes |
216217
5. Select Connect.
217218
6. Browse Databases from left menu.
218219
7. (Optionally) Create or query information from mydatabase

0 commit comments

Comments
 (0)