Skip to content

Commit 1880c5c

Browse files
authored
Update Invoke-PingSweep.ps1
1 parent bc5e16e commit 1880c5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Invoke-PingSweep.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ Function Invoke-PingSweep {
9999

100100
[Parameter(
101101
ParameterSetName="Dynamic",
102-
Mandatory=$True,
103-
Position=1,
102+
Mandatory=$False,
103+
Position=2,
104104
HelpMessage="Enter the last IP of the range you want to scan : ")] # End Parameter
105105
[ValidateScript({$_ | ForEach-Object { $_ -Match "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" }})]
106106
[String[]]$ExcludeAddresses,
107107

108108
[Parameter(
109109
Mandatory=$False,
110-
Position=4,
110+
Position=3,
111111
HelpMessage="Enter the number of milliseconds to wait between timeouts : ")] # End Parameter
112112
[Int]$TimeoutMilliSec = 4000,
113113

0 commit comments

Comments
 (0)