GetUNCName GetUNCName ($uncname, path) Gets the UNC name of the share connected to the local path and saves it to the variable specified by uncname.