Issue Description
The Assert-ScopeParameter function in source/Modules/DhcpServerDsc.Common/Public/Assert-ScopeParameter.ps1 currently uses the obsolete IPAddress.Address property for comparing IP address ranges. This property is deprecated and unreliable for IP address comparisons.
Background
This issue was identified during code review where IPAddress.Address is used to compare start and end IP ranges. The obsolete property should be replaced with a more reliable method for numeric IP address comparison.
References
Acceptance Criteria
- Replace the obsolete IPAddress.Address property usage
- Implement reliable IP address range comparison
- Maintain existing functionality and error handling