Skip to content

Commit 9a1c808

Browse files
Update create-network-security-perimeter-powershell.md
Suggested preview version and updated install module command
1 parent 8c96cc2 commit 9a1c808

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

articles/private-link/create-network-security-perimeter-powershell.md

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,44 +23,28 @@ Get started with network security perimeter by creating a network security perim
2323

2424
[!INCLUDE [network-security-perimeter-add-preview](../../includes/network-security-perimeter-add-preview.md)]
2525

26-
- The latest version of the Azure PowerShell module with tools for network security perimeter.
26+
- Install the Az.Tools.Installer module:
2727

2828
```azurepowershell
2929
# Install the Az.Tools.Installer module
3030
Install-Module -Name Az.Tools.Installer -Repository PSGallery
3131
```
3232
33-
- Use `Az.Tools.Installer` to install the preview build of the `Az.Network`:
33+
- Install the preview build of the `Az.Network`:
3434
3535
```azurepowershell-interactive
36-
# Install the preview build of the Az.Network module
37-
Install-Module -Name Az.Tools.Installer -Repository PSGallery -allowprerelease -force
38-
39-
# List the current versions of the Az.Network module available in the PowerShell Gallery
40-
Find-Module -Name Az.Network -Allversions -AllowPrerelease
41-
42-
# Install the preview build of the Az.Network module using the
43-
44-
Install-AzModule -Name Az.Network -AllowPrerelease -Force
45-
Install-AzModule -Path <previewVersionNumber>
36+
# Install the preview build of the Az.Network module
37+
Install-Module -Name Az.Network -AllowPrerelease -Force -RequiredVersion 7.13.0-preview
4638
```
47-
> [!NOTE]
48-
> The preview version of the Az.Network module is required to use network security perimeter capabilities. The latest version of the Az.Network module is available in the PowerShell Gallery. Look for the newest version that ends in `-preview`.
49-
50-
- If you choose to use Azure PowerShell locally:
51-
- [Install the latest version of the Az PowerShell module](/powershell/azure/install-azure-powershell).
52-
- Connect to your Azure account using the
53-
[Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
54-
- If you choose to use Azure Cloud Shell:
55-
- For more information on Azure Cloud Shell, see [Overview of Azure Cloud Shell](/azure/cloud-shell/overview).
39+
40+
- You can choose to use Azure PowerShell locally or use [Azure Cloud Shell](/azure/cloud-shell/overview).
5641
- To get help with the PowerShell cmdlets, use the `Get-Help` command:
5742
```azurepowershell-interactive
58-
5943
# Get help for a specific command
60-
get-help -Name <powershell-command> - full
44+
Get-Help -Name <powershell-command> - full
6145
6246
# Example
63-
get-help -Name New-AzNetworkSecurityPerimeter - full
47+
Get-Help -Name New-AzNetworkSecurityPerimeter - full
6448
```
6549
6650
## Sign in to your Azure account and select your subscription

0 commit comments

Comments
 (0)