win32net.NetServerGetInfo

dict = NetServerGetInfo(server, level )

Retrieves information about a particular server.

Parameters

server : string/PyUnicode

The name of the server to execute on, or None.

level : int

The information level contained in the data

Win32 API References

Search for NetServerGetInfo at msdn, google or google groups.

Return Value

The result will be a dictionary in one of the PySERVER_INFO_* formats, depending on the level parameter.