COMMAND EVERYTHING.
Sets the range of IPv6 addresses to exclude from an IPv6 scope.
Networking / Security · Risk: High · Documentation VerifiedLast verified: 2026-10-26
Microsoft DhcpServer reference: Sets the range of IPv6 addresses to exclude from an IPv6 scope. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Add-DhcpServerv6ExclusionRange [-ComputerName <String>] [-StartRange] <IPAddress> [-EndRange] <IPAddress>
[-Prefix] <IPAddress> [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesUse an account with the target resource permissions documented for Add-DhcpServerv6ExclusionRange. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Windows / DhcpServer · Windows Server 2025 documentation; feature/module prerequisites apply
-AsJob-CimSession-ComputerName-Confirm-EndRange (required)-PassThru-Prefix (required)-StartRange (required)-ThrottleLimit-WhatIfWindows with the DhcpServer module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
This cmdlet changes system state. Review every target and parameter in the official reference, test outside production, and prepare an appropriate backup or rollback. Do not execute the example automatically.
Add-DhcpServerv6ExclusionRange -Prefix 2001:4898:7020:1020:: -StartRange 2001:4898:7020:1020::1 -EndRange 2001:4898:7020:1020::10This example excludes the IPv6 addresses from 2001:4898:7020:1020::1 to 2001:4898:7020:1020::10 from DHCPv6 scope 2001:4898:7020:1020:: on the DHCP server service that runs on the local computer. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.
Sign in to keep your own command reference lists.
Explain or customize this command with AI