NetShareGetInfo (name, \%shareinfo, [server])
name
shareinfo
server
Gets the share information for the share name on optional server and saves it in the specified shareinfo variable.