{'Description':'DNS name or IP address of the target computer running the DHCP server service.','In':True}
StartRange
string
1
✓
-
{'Description':'Start IP address of the range within the subnet from which IP addresses should be leased by the server.','In':True}
EndRange
string
2
✓
-
{'Description':'End IP address of the range within the subnet from which IP addresses should be leased by the server.','In':True}
Name
string
3
✓
-
{'Description':'Name of the IPv4 scope being added.','In':True}
Description
string
4
✓
-
{'Description':'Description string for the IPv4 scope being added.','In':True}
State
string
5
✓
-
{'Description':'This specified if the scope should be created in active or inactive state. Valid values are {Active, Inactive}. Only an active scope will respond to client requests. Default value is Active','In':True,'ValueMap':['Active', 'InActive'],'Values':['Active', 'InActive']}
SuperscopeName
string
6
✓
-
{'Description':'The name of the superscope to which the scope will be added.','In':True}
MaxBootpClients
uint32
7
✓
-
{'Description':'If the scope type is specified as Both to allow for both DHCP and BOOTP clients, this parameter allows to specify the maximum number of bootp clients which should be leased an IP address from this scope.','In':True}
ActivatePolicies
boolean
8
✓
-
{'Description':'This specifies if the policy enforcement is to be enabled/disabled on the scope being added. Default value is true (enabled).','In':True}
PassThru
boolean
9
✓
-
{'Description':'If this parameter is specified, the cmdlet returns the PowerShell object which is added.','In':True}
NapEnable
boolean
10
✓
-
{'Description':'This parameter specifies whether NAP should be enabled for this scope or not. If NAP is enabled, DHCP server passes on the SoH (statement of health) received from the client to the NPS server. Based on the NAP profile set, NPS server determines the network access to be granted to the client.','In':True}
NapProfile
string
11
✓
-
{'Description':'The NAP profile should be set only if NAP is enabled on the scope. The NAP profile refers to the MS Service Class which is a condition used in network policies on NPS.','In':True}
Delay
uint16
12
✓
-
{'Description':'Specifies the number of milliseconds by which the server should wait before responding to the client requests. This should be configured if the scope is part of a split scope deployment and this server should act as a secondary server for the scope being added.','In':True}
LeaseDuration
datetime
13
✓
-
{'Description':'The time interval for which an IP address should be leased to a client in this scope. This should be specified in the format day.hrs:mins:secs','In':True}
SubnetMask
string
14
✓
-
{'Description':'The subnet mask for the scope specified in IP address format. For example: 255.255.255.0.','In':True}
Type
string
15
✓
-
{'Description':'The type of clients to be serviced by the scope. Valid values are DHCP, BOOTP, BOTH.','In':True,'ValueMap':['Dhcp', 'Bootp', 'Both'],'Values':['Dhcp', 'Bootp', 'Both']}
{'Description':'Type Name Description
DhcpServerv4Scope
{
IPAddress ScopeId Scope identifier
string Name Scope name
string Description Scope description
string SuperscopeName Superscope Name
string SubnetMask Subnet mask of the subnet where this scope serves
IPAddress StartRange Start of scope IP range
IPAddress EndRange End of scope IP range
DateTime LeaseDuration Lease duration configured on this scope
string NapProfile NAP profile
bool NapEnable Indicates whether NAP is enabled or not
ushort Delay Delay (in ms) with which server leases addresses from this scope
string State Scope state; valid values are (Active, Inactive)
string Type Protocol type supported; valid values are {Dhcp, Bootp, Both}
uint MaxBootpClients Maximum number of BOOTP clients configured to be allowed in the Scope. Will be set to 0 if Type is Dhcp or Both
}','EmbeddedInstance':'DhcpServerv4Scope','Out':True}
{'Description':' Type Name Description
DhcpServerv4Scope
{
IPAddress ScopeId Scope identifier
string Name Scope name
string Description Scope description
string SuperscopeName Superscope Name
string SubnetMask Subnet mask of the subnet where this scope serves
IPAddress StartRange Start of scope IP range
IPAddress EndRange End of scope IP range
DateTime LeaseDuration Lease duration configured on this scope
string NapProfile NAP profile
bool NapEnable Indicates whether NAP is enabled or not
ushort Delay Delay (in ms) with which server leases addresses from this scope
string State Scope state; valid values are (Active, Inactive)
string Type Protocol type supported; valid values are {Dhcp, Bootp, Both}
uint MaxBootpClients Maximum number of BOOTP clients configured to be allowed in the Scope. Will be set to 0 if Type is Dhcp or Both
}','EmbeddedInstance':'DhcpServerv4Scope','Out':True,'Stream':True}
Description
'Returns the IPv4 scope configuration of the specified scopes. If scope id is not specified all the scopes configured on the server are returned.'
{'Description':' Type Name Description
DhcpServerv4Scope
{
IPAddress ScopeId Scope identifier
string Name Scope name
string Description Scope description
string SuperscopeName Superscope Name
string SubnetMask Subnet mask of the subnet where this scope serves
IPAddress StartRange Start of scope IP range
IPAddress EndRange End of scope IP range
DateTime LeaseDuration Lease duration configured on this scope
string NapProfile NAP profile
bool NapEnable Indicates whether NAP is enabled or not
ushort Delay Delay (in ms) with which server leases addresses from this scope
string State Scope state; valid values are (Active, Inactive)
string Type Protocol type supported; valid values are {Dhcp, Bootp, Both}
uint MaxBootpClients Maximum number of BOOTP clients configured to be allowed in the Scope. Will be set to 0 if Type is Dhcp or Both
}','EmbeddedInstance':'DhcpServerv4Scope','Out':True}
Description
'Deletes the specified IPv4 scopes from the Server'
{'Description':'This specifies if the policy enforcement is to be enabled/disabled on the scope. Valid values are True, False.','In':True}
PassThru
boolean
1
✓
-
{'Description':'If this parameter is specified, the cmdlet returns the PowerShell object which is modified.','In':True}
Type
string
2
✓
-
{'Description':'Type of the scope. Valid values are DHCP, BOOTP and BOTH. The type of the scope determines if the server will respond to only DHCP client requests, only BOOTP client requests or Both types of clients.','In':True,'ValueMap':['Dhcp', 'Bootp', 'Both'],'Values':['Dhcp', 'Bootp', 'Both']}
ScopeId
string
3
✓
-
{'Description':'Scope identifier (in IPv4 address format) whose properties are being set','In':True}
Description
string
4
✓
-
{'Description':'Description to be set for the scope','In':True}
LeaseDuration
datetime
5
✓
-
{'Description':'Duration of the IPv4 address lease to be given for the clients of this scope','In':True}
Name
string
6
✓
-
{'Description':'Name to be set for the scope','In':True}
NapEnable
boolean
7
✓
-
{'Description':'Enable/Disable NAP for the scope. Valid values are True, False.','In':True}
NapProfile
string
8
✓
-
{'Description':'If NAP is enabled for the scope, the name of the NAP profile to be used for clients in the scope. The NAP profile refers to the MS Service Class which is a condition used in network policies on NPS.','In':True}
Delay
uint16
9
✓
-
{'Description':'Time in milliseconds by which the server should delay sending a response to clients. This setting should be used on the secondary server in a split scope configuration.','In':True}
State
string
10
✓
-
{'Description':'State of the scope. Valid values are Active and InActive.','In':True,'ValueMap':['Active', 'InActive'],'Values':['Active', 'InActive']}
SuperscopeName
string
11
✓
-
{'Description':'Name of the superscope to which this scope is to be added. ','In':True}
ComputerName
string
12
✓
-
{'Description':'DNS name or IP address of the target computer running the DHCP server service.','In':True}
MaxBootpClients
uint32
13
✓
-
{'Description':'If the scope supports both types of clients (Bootp, Dhcp), maximum number of bootp clients to be permitted to get an IP address lease from the scope.','In':True}
{'Description':' Type Name Description
DhcpServerv4Scope
{
IPAddress ScopeId Scope identifier
string Name Scope name
string Description Scope description
string SuperscopeName Superscope Name
string SubnetMask Subnet mask of the subnet where this scope serves
IPAddress StartRange Start of scope IP range
IPAddress EndRange End of scope IP range
DateTime LeaseDuration Lease duration configured on this scope
string NapProfile NAP profile
bool NapEnable Indicates whether NAP is enabled or not
ushort Delay Delay (in ms) with which server leases addresses from this scope
string State Scope state; valid values are (Active, Inactive)
string Type Protocol type supported; valid values are {Dhcp, Bootp, Both}
uint MaxBootpClients Maximum number of BOOTP clients configured to be allowed in the Scope. Will be set to 0 if Type is Dhcp or Both
}','EmbeddedInstance':'DhcpServerv4Scope','Out':True}
Description
'Sets the properties of an existing IPv4 Scope on the server'
implemented
True
static
True
SetByWithoutRange method is in 1 class (PS_DhcpServerv4Scope) of ROOT\Microsoft\Windows\DHCP and in 2 namespaces
{'Description':'This specifies if the policy enforcement is to be enabled/disabled on the scope. Valid values are True, False.','In':True}
PassThru
boolean
1
✓
-
{'Description':'If this parameter is specified, the cmdlet returns the PowerShell object which is modified.','In':True}
ScopeId
string
2
✓
-
{'Description':'Scope identifier (in IPv4 address format) whose properties are being set','In':True}
Name
string
3
✓
-
{'Description':'Name to be set for the scope','In':True}
State
string
4
✓
-
{'Description':'State of the scope. Valid values are Active and InActive.','In':True,'ValueMap':['Active', 'InActive'],'Values':['Active', 'InActive']}
LeaseDuration
datetime
5
✓
-
{'Description':'Duration of the IPv4 address lease to be given for the clients of this scope','In':True}
Delay
uint16
6
✓
-
{'Description':'Time in milliseconds by which the server should delay sending a response to clients. This setting should be used on the secondary server in a split scope configuration.','In':True}
NapEnable
boolean
7
✓
-
{'Description':'Enable/Disable NAP for the scope. Valid values are True, False.','In':True}
SuperscopeName
string
8
✓
-
{'Description':'Name of the superscope to which this scope is to be added. ','In':True}
MaxBootpClients
uint32
9
✓
-
{'Description':'If the scope supports both types of clients (Bootp, Dhcp), maximum number of bootp clients to be permitted to get an IP address lease from the scope.','In':True}
NapProfile
string
10
✓
-
{'Description':'If NAP is enabled for the scope, the name of the NAP profile to be used for clients in the scope. The NAP profile refers to the MS Service Class which is a condition used in network policies on NPS.','In':True}
StartRange
string
11
✓
-
{'Description':'Start address of the IPv4 range to be set for the scope. If a new IP range is being set, the previously set IP range of the scope is discarded.','In':True}
EndRange
string
12
✓
-
{'Description':'End address of the IPv4 range to be set for the scope. If a new IP range is being set, the previously set IP range of the scope is discarded.','In':True}
Description
string
13
✓
-
{'Description':'Description to be set for the scope','In':True}
Type
string
14
✓
-
{'Description':'Type of the scope. Valid values are DHCP, BOOTP and BOTH. The type of the scope determines if the server will respond to only DHCP client requests, only BOOTP client requests or Both types of clients.','In':True,'ValueMap':['Dhcp', 'Bootp', 'Both'],'Values':['Dhcp', 'Bootp', 'Both']}
ComputerName
string
15
✓
-
{'Description':'DNS name or IP address of the target computer running the DHCP server service.','In':True}
{'Description':' Type Name Description
DhcpServerv4Scope
{
IPAddress ScopeId Scope identifier
string Name Scope name
string Description Scope description
string SuperscopeName Superscope Name
string SubnetMask Subnet mask of the subnet where this scope serves
IPAddress StartRange Start of scope IP range
IPAddress EndRange End of scope IP range
DateTime LeaseDuration Lease duration configured on this scope
string NapProfile NAP profile
bool NapEnable Indicates whether NAP is enabled or not
ushort Delay Delay (in ms) with which server leases addresses from this scope
string State Scope state; valid values are (Active, Inactive)
string Type Protocol type supported; valid values are {Dhcp, Bootp, Both}
uint MaxBootpClients Maximum number of BOOTP clients configured to be allowed in the Scope. Will be set to 0 if Type is Dhcp or Both
}','EmbeddedInstance':'DhcpServerv4Scope','Out':True}
Description
'Sets the properties of an existing IPv4 Scope on the server'
implemented
True
static
True
SetByWithRange method is in 1 class (PS_DhcpServerv4Scope) of ROOT\Microsoft\Windows\DHCP and in 2 namespaces