PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Get-NetPrefixPolicy', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Gets the prefix policy.


Get-NetPrefixPolicy [[-Prefix] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-Label <UInt32[]>] [-Precedence <UInt32[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]

Search powershellhelp.space


The Get-NetPrefixPolicy cmdlet gets the prefix policy. A computer uses a prefix policy to select source and destination addresses. A prefix policy establishes selection
criteria based on the precedence of destination addresses and on labels that are attached to source addresses. For more information, see RFC 3484.



Online Version: http://go.microsoft.com/fwlink/?LinkId=288387
Source and Destination Address Selection for IPv6 on TechNet




Example 1: Get a prefix policy

PS C:\>Get-NetPrefixPolicy

This command gets the prefix policy on the computer on which you run the command.

Example 2: Get a prefix policy by precedence

PS C:\>Get-NetPrefixPolicy –Precedence 1

This command gets the prefix policy that has a precedence of 1.