Skip to content

Commit fa04fbd

Browse files
committed
fixes
1 parent 35d3c8f commit fa04fbd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/virtual-network/tutorial-restrict-network-access-to-resources.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -951,11 +951,11 @@ The virtual machine you created earlier that is assigned to the **subnet-private
951951

952952
1. Confirm that the VM has no outbound connectivity to any other public IP addresses:
953953

954-
```powershell
955-
ping bing.com
956-
```
954+
```powershell
955+
ping bing.com
956+
```
957957
958-
You receive no replies, because the network security group associated to the *Private* subnet does not allow outbound access to public IP addresses other than the addresses assigned to the Azure Storage service.
958+
You receive no replies, because the network security group associated to the *Private* subnet does not allow outbound access to public IP addresses other than the addresses assigned to the Azure Storage service.
959959
960960
1. Close the Bastion connection to **vm-private**.
961961
@@ -1114,16 +1114,16 @@ Exit the SSH session to the *vm-private* VM.
11141114
11151115
4. Close the Bastion connection to **vm-1**.
11161116
1117-
From your computer, attempt to view the file shares in the storage account with the following command:
1117+
1. From your computer, attempt to view the file shares in the storage account with the following command:
11181118
1119-
```powershell-interactive
1120-
$storage = @{
1121-
ShareName = "file-share"
1122-
Context = $storageContext
1123-
}
1124-
Get-AzStorageFile @storage
1119+
```powershell-interactive
1120+
$storage = @{
1121+
ShareName = "file-share"
1122+
Context = $storageContext
1123+
}
1124+
Get-AzStorageFile @storage
11251125
1126-
```
1126+
```
11271127
11281128
Access is denied, and you receive a *Get-AzStorageFile : The remote server returned an error: (403) Forbidden. HTTP Status Code: 403 - HTTP Error Message: This request is not authorized to perform this operation* error, because your computer is not in the *subnet-private* subnet of the *vnet-1* virtual network.
11291129

0 commit comments

Comments
 (0)