Untitled
unknown
plain_text
a year ago
867 B
9
Indexable
New-NetIPAddress : Cannot process argument transformation on parameter 'PrefixLength'. Cannot convert value
"255.255.255.0" to type "System.Byte". Error: "Input string was not in a correct format."
At C:\Source\IPAddress.ps1:20 char:79
+ ... Alias $nicName -IPAddress $newIP -PrefixLength $newSubnetMask -Defaul ...
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [New-NetIPAddress], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,New-NetIPAddress
You cannot call a method on a null-valued expression.
At C:\Source\IPAddress.ps1:40 char:1
+ $timer.Elapsed.AddScript({
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNullEditor is loading...
Leave a Comment