in reply to Win32::NetAdmin errors

87 is "The parameter is incorrect."

You can use $^E or msdn has a complete list.

$^E = 87; print $^E, $/; $^E = 86; print $^E; __END__ Output: The parameter is incorrect The specified network password is not correct