CmdID / PowerShell / Cmdlets / Add
Add-DhcpServerv4Scope
Adds an IPv4 scope on the DHCP server service. Windows Server PowerShell reference
From the Windows Server PowerShell reference 21 parameters Its page in the reference
Parameters
Show its 21 parameters
-ActivatePoliciesSpecifies the enabled state of the policy enforcement on the scope that is added.-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ComputerName, -CnSpecifies the DNS name, or IPv4 or IPv6 address, of the target computer that runs the DHCP server service.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DelaySpecifies the number of milliseconds by which the DHCP server service should wait before responding to the client requests.-DescriptionSpecifies the description string for the IPv4 scope that is added.-EndRangeSpecifies the ending IP address of the range in the subnet from which IP addresses should be leased by the DHCP server service.-LeaseDurationSpecifies the time interval for which an IP address should be leased to a client in this scope.-MaxBootpClientsSpecifies, if the scope type is specified as Both to allow for both DHCP and BootP clients, the maximum number of BootP clients which should be leased an IP address from this scope.-NameSpecifies the name of the IPv4 scope that is added.-NapEnableSpecifies the enabled state of Network Access Protection (NAP) for this scope.-NapProfileSpecifies that the NAP profile should be set only if NAP is enabled on the scope.-PassThruReturns an object representing the item with which you are working.-StartRangeSpecifies the starting IP address of the range in the subnet from which IP addresses should be leased by the DHCP server service.-StateSpecifies the state of the scope when it is created.-SubnetMaskSpecifies the subnet mask for the scope specified in IP address format.-SuperscopeNameSpecifies the name of the superscope to which the scope is added.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TypeSpecifies the type of clients to be serviced by the scope.-WhatIf, -wiShows what would happen if the cmdlet runs.