Alex@Synergy
Nov 27 2007, 11:30 AM
| | Hi all,
I am new to scripting and I've been asked to create a script that when run, will check the Local users on the machine and report back with the username & what group memberships that account has.
This will be run about 20-30 Windows Server 2003 Enterprise/Standard servers, I have novice level of scripting so if anyone can help that would be great!
Thanks,
Al
P.S. If there are any other details you need to know just ask  |
Reply
ethergeek
Nov 27 2007, 03:28 PM
QUOTE(Alex@Synergy @ Nov 27 2007, 04:30 AM)  Hi all, I am new to scripting and I've been asked to create a script that when run, will check the Local users on the machine and report back with the username & what group memberships that account has. This will be run about 20-30 Windows Server 2003 Enterprise/Standard servers, I have novice level of scripting so if anyone can help that would be great! Thanks, Al P.S. If there are any other details you need to know just ask  If these machines are on a domain, I'd suggest just using LDAP via the dsquery command to do this...if they're local accounts only (though I can't imagine why you would want to have 20-30 windows machines to manage without using a domain controller) you could look into the Windows Management Instrumentation Client (wmic) documentation...you can get pretty much anything you want out of the system using that command.
Reply
Similar Topics
Keywords : script, check, local, user, accounts
- Yahoo! Messenger Power User
(1)
How To: Display A Members/user List.
With PHP, Mysql, and HTML. (2) Alright, some of you might want to display your User's or Members on your site. Notes: 1.This
is to fit in with Feelay's register and Log-in scripts you can find in the tutorial section. 2.I
made this to show the members of my site who is a member and what their ID is. First off, we must
set up a connection to our MySQL Database. CODE <?php $con =
mysql_connect("localhost","database_username","database_username_password
4;); if (!$con) { die('Could not connect: ' .
mysql_error(....
Myspacetv Download Php Script Help
(6) I was trying to make a php script that can view myspace videos with jw flv player and wont to know
how to do so if i put in
"http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=38105626" it show the video
"http://cache01-videos02.myspacecdn.com/11/vid_e382054c036835500bacfef1ebb5157e.flv(its the flv
video file from myspacetv), I cant see the similarity with the links please help, thanks for viewing
this topic /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
Creating A Php Login Script
A thorough look at the process behind it (3) Hey all, after reading through a fair number of tutorials on this subject I decided to write a
pretty detailed one myself. Apologies for those who don't like my structured layout, it's
just the way I do things. /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
alt="wink.gif" /> Title: Creating a PHP Login Script Objective: To go through a series of basic
steps required to create a method of user registration, login and permission management using PHP
and MySQL. Notes: The information is designed to work fully on AstaHost's hosting plans. ....
Mysql And User File_priv
(0) HI, I've hit the grain while trying to import file to mysql database - I need to enable file
permissions of the database user but this seems not possible with most of the hosting providers.
The problem is to set file_priv of the database user to "Y" . This is done in the "user" table of
the maintanance database named "mysql". cPanel doesn't allow this. Via the cPanel you can only
allow privileges on table querries but you cannot grant host file privileges to the database user -
which makes querries like: "LOAD DATA INFILE 'filename' INTO TABLE tablen....
Check Server Headers
(3) The Check Server Headers tool is another helpful online tool that you can use to check and verify
HTTP status codes of any page. Server headers and HTTP status codes are a matter of particular
importance in ensuring that search engines see your content. But checking them can be a bit tricky.
The Check Server Headers tool is very simple and easy to use, you just need to enter a valid URL,
and the tool will give you one of seven HTTP status codes. It will also -and this is important- give
you an interpretation of the code. QUOTE Check server headers and verify HT....
Firefox Addon Check
(2) I saw a site that check if i have a ad-block addon in firefox but cant find something like that on
google or similar. I know it exist php scripts that show what browser I have CODE <?php
$useragent = $_SERVER[‘HTTP_USER_AGENT’]; if
(preg_match(‘|MSIE
([0-9].[0-9]{1,2})|’,$useragent,$matched)) {
$browser_version=$matched[1]; $browser = ‘IE’; } elseif
(preg_match( ‘|Opera ([0-9].[0-9]{1,2})|R....
Power Distribution Change Reboot After 8pm Pst On Saturday May 31, 2008
Scheduled Reboot - All Web Hosting Accounts (0) We will be doing power distribution changes after 8pm PST on Saturday May 31, 2008. We will be
doing power distribution changes after 8pm PST on Saturday May 31, 2008. Changes are being made due
to the rapid migration that was done. This change will insure future stability in the future of
power distribution as summer arrives around within the coming months. Brown outs, blackouts, etc...
occurs within this this season and we are preparing for random reboots and crashes. We are
anticipating a downtime of no longer than 15 minutes as we modify our power distribution. ....
How To Create A "user Profile" Page.
No design (easy to add later if you want). (0) Hi! It was a long time ago I created a tutorial, so I've decided to create a new one
/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> This time, I am
going to teach you, how to create a "user profile page". Lets say I am logged in on my account, and
want to view someone else account information (in this case, only his username, but you can add more
things later). Then I'll press on a link, that will take me to his user profile. But before
you can do that, you will have to create a register script, and a login script. If y....
Free Login Script
(1) roll up roll up get your free php login script here. it has installer, reg form,ect. see the link
email to get the file ....
Looking For Script
need help (5) i am making a web site about cell phones (tones-themes-wallpapers) and i am looking for good script
for my site with some nice options ....can any body help me /rolleyes.gif"
style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />....
Myspace Gold Script
How to install (2) Hello, I have a MySpace Gold Script but do not know how to use it. Can someone help!? I have a
MySpace gold script, this will let me build my own social networking site. I dont know much about
MySQL or Myphpadmin. This is my installation instructions To start with open the mainfile.php and
edit the settings to reflect your own. You will need to know your mysql database settings. If you do
not know what these are please ask you webhost and they will provide them to you. After this file
has been edited to your server settings, make sure that it is chmod to 444 (read ....
Auto-click Script
(7) I wanna know how to make a "auto-click" script in web browser.... i want it to do this: I am on a
web page...I have 3 options to click....so i want it to click one,after it reloads it waits for 25
seconds and clicks 2nd,and again waits to reload and that 25 seconds and clicks 3rd option... is it
possible to create that kind of script?it would be better if it was executable program so u can set
it where exactly it should click... if you don't understand some of things i said tell me and i
will "translate" it into English XD....
A Simple Register Script
This Is a Very Simple Register-Script (3) Some time ago, i made a login-script. But how do you use a login-script, if you can't register.
So this morning, I decided to make a register-script.. What you should already know: The php
basics and a little more. How to use php and mysql together. The HTML basics (to make the forms).
The first thing we should do, is creating the database tables. Here is the code: CODE CREATE
TABLE `user` ( `id` int(4) unsigned NOT NULL auto_increment,
`username` varchar(32) NOT NULL, `password` varchar(32)....
Attack Script In Php
This is a funny attack script that i made (5) Hey! I am going to share an attack script that i made for some time ago. I made it, as a test
for my game.. And ofc, you can use it for your game to. It is still version 1.0. But I want you to
learn something from it /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
alt="wink.gif" /> This is my second tutorial here, and I will try to make it better than my first
one /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Here is
the SQL File. CODE CREATE TABLE `characterss` ( `health` int(2....
Very Simple Login-script
This is a very simple and secure login-script (18) Hi. This is my first post here. please Tell me if i do something wrong. This is a very simple and
secure login script. I will try to add as many comments as possible, to make it easier to
understand. Lets start with the database. Just make a new SQL file, and call it whatever you want.
Paste this code: CODE CREATE TABLE `user` ( `id` int(4) unsigned
NOT NULL auto_increment, `username` varchar(32) NOT NULL, `password`
varchar(32) NOT NULL, `level` int(4) default '1', PRIM....
Graphcal User Interfaces In Java
How do you make them? (4) Ok, right now I am currently using eclipse, however I can change to whatever if there is something
else that would be better for this. But I have made a number of java applications, but they all
simply use the command line for doing their user input and output. However, I have been interested
in learning how to program graphical user interfaces in java, and was wondering if somebody could
point me in the right direction, with some easy to understand and follow tutorials. Also, once I
have done that, what about making a java program that can be easily executed? (I know t....
Firefox 2 Has A Spell Check!
Yea, it really does. (40) You are probably thinking from the get go that this is something that I should be discussing in the
software forums, but honestly, it is something that I just discovered and its something new that I
just learned, so it fits right in here as well. At least, technically it does! Anyways, I
loaded up my Mozilla Firefox browser a few days back and an upgrade notice popped up. Normally, I
don't think I have enough time to deal with the download and installation part so I just close
it down without upgrading, but not today! Instead, I upgraded the browser and it....
Rpg For (php)wml Script Text Based
(1) Hello im newbie, Does anyone here has the script of rpg text based in wml i have a wapsite then it
much more interesting if i will put it a game so that they will no feel bored in my site so please
help me i know u know bout this thing hope u will help me as soon u read this topic....
Running Vba Script In Excel
(6) Hi, I need help. Im generating a excel file using jakarta poi. I have added a vba to my excel
template so that it creates a chart on file open using the data populated using the poi map. Now
this works fine in a windows machine. But on a linux machine the vba does not execute. I need to
release my prod in linux too and im losing time. Is there any workaround for this???? Thanks in
advance Karthik....
PHP Tutorial: Form Verification And Simple Validation
A One Page script for PHP form verification. (12) Having used various means of verifying HTML forms I believe that this method of verifying a form
to be the best mostly because it does everything on one page. It presents the form on one page and
then when the submit button is pressed, if all the required fields are not filled out then it will
present the form again with all the fields intact and in red lettering will point out the fields
that are required to be filled out in red. It is not possible to click submit using this method even
if the user has turned JavaScript off. While it is possible to use javascript to ....
Get User Input From Vbscript For Batch Files
Get user input from vbscript (2) Hello, I didn't see a tutorial on this subject so i'll go ahead and do it. Long ago I used
batch file programming a quite a bit. I used vbscript files to get user input for the batch files.
So here is a simple example of using the 'call' command to call for the vbscript file which
should be in the same folder as the .bat file. in the batch file pretty much anywhere you can start
the vbscript, and call another .bat file- using @ to of course not echo the line of code - CODE
@ start /w wscript.exe userin.vbs @ call ~anyname.bat @ del ~anyname.bat....
Laptop Hangs When Loading User (xp)
My laptop is hangin when it is loading (6) When ever i turn my laptop on it hangs after i put in my User password /mad.gif' border='0'
style='vertical-align:middle' alt='mad.gif' /> I have not changed anything.. How can i solve this
problem (Formating now) Bu please tell for for further instructions /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> Other words if its happens again...
HELP!!!....
Need Help With A PHP - MySQL Registration Script
Wont INSERT into the database (13) hey well can some one helpme make this code work it won't INSERT INTO THE DATABSE CODE
<?php # register1.php # common include file to MySQL include("DB.PHP");
$Username=$_POST['Username'];
$Password=$_POST['Password'];
$Name=$_POST['Name']; $Last=$_POST['Last'];
$Sex=$_POST['Sex']; $Month=$_POST['Month'];
$Day=$_POST['Day']; $Year=$_POST['Year&....
Help Needed To Create Login Script With Perl/cgi
Need Script (21) Have a format in mind and have a good idea how it works. So here what I need: step 1::: person must
register: create handle // enter password // enter password // enter email : it then takes the
person to acsepted page or reject per reason page. step 2::: login page: enter handle // enter
password : takes them on it to the site of their control pages for each handle controls their own
pages yet all pages interacts with the others. or bad password re login page. Have the page
designed already have the script in html lang but one can create a password on the html page but....
How Do I Check What Graphics Card I Have?
(24) I'm not sure what graphics card I have, it doesn't say on the maker's site so I need
another way to find out, can anybody help me figure out what type of GFX card I am using?....
Bash Script To Display Your Ip
Script to display your ip (9) If your behind a router , and like me too lazy to open a browser and find a site that displays your
ip , heres a simple Bash script (Bash is a shell in linux, main shell in Slackware Linux) Open a
text editor , copy and paste the following: CODE #! /bin/bash exip=`lynx -dump
http://www.whatismyip.com | head -n 2` echo "$exip" Save the txt ( for the
sake of agrument we will refer the file as ip.sh) From console type: chmod a+x ip.sh Now run the
script like so: ./ip.sh (which will display something like the following) ....
How To Save A Image In Pdf File And Download It?
Programming script need hepl. (10) Can anyone tell how to save an image into a PDF file and download it without need to save it on the
server? Thanks. All sugesstions are welcome! Wrong section. Topic moved to Software >
Graphics & Web Design. ....
Secret Behind Your Nick/User Names
Where did they come from? (128) The origin of my nick is actually a long story that some of you might not even understand. Anyway
here it goes: I'm a Chinese from Hong Kong, and while my parents were in Taiwan, I was born.
They use Chinese there too, but their transcription of my name into English to put on my uh... ID?
that card that signifies my identity... I don't think that it's used in the US. Well, they
called me Szu Chen Lo, but actually sounds like See Ching Law in my language. 9 years later, on a
Friday after a testing week which lets us out of school early, as I discovered the Li....
Ftp Accounts
(8) Where can i get an FTP account for free? i know that astahost has one, but i need one immedietly....
Looking for script, check, local, user, accounts
|
|
Searching Video's for script, check, local, user, accounts
|
advertisement
|
|