Page 4 of 4 <1234
Topic Options
#135096 - 2006-08-31 01:17 AM Re: Generate html report on free space - servers
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
It doesn't per say, but it has switches to choose between different types of returned systems.

NET VIEW does not.


You can modify your file and rem out the SHELL line to test it out.


Edited by NTDOC (2006-08-31 01:18 AM)

Top
#135097 - 2006-08-31 05:53 AM Re: Generate html report on free space - servers
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Here is difference Jooel.

http://www.optimumx.com/
http://www.optimumx.com/download/

Quote:


Network View - version 1.20
 
Displays a list of all machines visible in the specified domain, based on role.
 
 
The syntax of this command is:
 
netview [/NTW] [/NTS] [/PDC] [/BDC] [/PRINT] [/RAS] [/SQL] [/TIME] [/TS]
[/9x] [/HEX:0xXXXXXXXX] [/DOMAIN:domain] [/T] [/TABS]

Multiple switches can be specified, separate each with a space.
 
/NTW will include NT/2000/XP workstations.
/NTS will include NT/2000/.NET servers.
/PDC will include NT/2000/.NET primary domain controllers.
/BDC will include NT backup domain controllers.
/PRINT will include Print queue servers.
/RAS will include Remote Access Servers.
/SQL will include Microsoft SQL Servers.
/TIME will include all Time sources.
/TS will include all Terminal Servers.
/9x will include Windows 95/98/ME systems. (Only if sharing has been enabled.)
/HEX: allows you to specify your own bit mask. Use /HEX: /? for more details.
 
/DOMAIN: allows you to specify a different domain or workgroup.
/T also displays the primary machine type (Server, Workstation, PDC, etc.)
/B displays the output in bare format (useful when scripting)
/TABS separates columns with tabs instead of spaces (useful when importing)
 
 
An argument of /? or -? displays this syntax and always returns 1.
A successful completion will return 0.
 
 
Copyright 2000-2001 Marty List, OptimumX@usa.net
 



 
 
 
Quote:

The syntax of this command is:


NET VIEW
[\\computername [/CACHE] | /DOMAIN[:domainname]]
NET VIEW /NETWORK:NW [\\computername]
 




Top
#135098 - 2006-09-04 01:33 AM Re: Generate html report on free space - servers
Jaide Offline
Fresh Scripter

Registered: 2003-03-05
Posts: 32
I have a problem with numbers under 1, i.e. 0.9. The script computes those numbers to 15 decimal places. I used the ROUND() command for numbers above 1.0 - seems to work pretty well. Any idea how to limit the amount of decimal spaces?
Top
#135099 - 2006-09-04 05:52 AM Re: Generate html report on free space - servers
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
FormatNumber( )

I'll try to take a look at the whole thing further this week though and maybe update the UDF I setup for the script.

Top
#135100 - 2006-09-15 09:58 PM Re: Generate html report on free space - servers
Jaide Offline
Fresh Scripter

Registered: 2003-03-05
Posts: 32
DOC - I haven't had any luck trying to re-write the script. I can't get numbers to reconcile. Not sure if I'm using the correct variables in the script. If you know of anywhere I can get html help let me know.
Top
#135101 - 2006-09-18 07:22 AM Re: Generate html report on free space - servers
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
HTML help as in how to edit/write HTML code, just Google it. Tons of sites.

I've been away from the computer for a few days, just got back tonight.

Hopefully as soon as I catch up to things at work I'll be able to take a look at the code and get it working correctly and then I'll post an update.

Top
Page 4 of 4 <1234


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 980 anonymous users online.
Newest Members
rrosell, PatrickPinto, Raoul, Timothy, Jojo67
17877 Registered Users

Generated in 0.061 seconds in which 0.028 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org