Some questions... 
Author Message
 Some questions...

Hi...
Im trying to make a script that the user have to run when calling
helpdesk, and need some functions, and wonder if it is possible to do
this:

* Fullname of a user account
* Comments that may be added to a user account
* What day of the year it is
* What logon-server they have used
* Days until the password expires
* User membership (user, administrator, backup operator...)
* MAC-address on the network card

Hope you "smart" guys can help me :)

Thanks!



Mon, 05 Jul 2004 17:17:53 GMT  
 Some questions...
Most of this (excluding time and MAC address) can be gotten using ADSI.  VBScript has a Time() function.  MAC address can be gotten via WMI (Win32_NetworkAdapterConfiguration).

Search the scripting NGs using google...

Google Usenet Advanced Search
http://groups.google.com/advanced_group_search

use separate searches:

1) with all of the words: adsi winnt user
2) with all of the words: Win32_NetworkAdapterConfiguration
3) with all of the words: mac address

newsgroup: microsoft.public.scripting.*

1) will give you examples on the user related stuff.

2) will get to examples of WMI access to mac address

3) will give you some non-WMI ways to get mac address

If you have Win9x or NT4 clients, you'll need to install ADSI and WMI.  Both come as part of the OS for Win2000 and XP.

--
Michael Harris
Microsoft.MVP.Scripting
--

Quote:

> Hi...
> Im trying to make a script that the user have to run when calling
> helpdesk, and need some functions, and wonder if it is possible to do
> this:

> * Fullname of a user account
> * Comments that may be added to a user account
> * What day of the year it is
> * What logon-server they have used
> * Days until the password expires
> * User membership (user, administrator, backup operator...)
> * MAC-address on the network card

> Hope you "smart" guys can help me :)

> Thanks!



Tue, 06 Jul 2004 08:59:14 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Frame movement question and tree view question

2. Newbie question: Session_OnEnd question

3. HTA Question and GetObject Question

4. A strategy question, and then a tactics question, for WSH based Windows Admin

5. Question

6. hello.asp question

7. HTML Table Question

8. showModalDialog Question

9. newbe question

10. Client-side database access question

11. Question 4 a script GURU!

12. VBScript, ADO, ASP: Yet Another Stupid Newbie Question

 

 
Powered by phpBB® Forum Software