NetShareCheck NetShareCheck (device, $type, [server]) Returns true if a share on device is available for connection. The type of share is saved in the variable named by type (if the function returns true).