Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score getting input from command line in wsh abd vbs
Robert - 14 Jul 2006 10:23 PM - 3 messages
i am writng a vbs that needs to get its input from command line, how can i get the input from cmmand line in vbs and wsh? for example in batch files we had %1 for the first input and so on i am ...
Score Finding a File and then Deleting it.
Soulmate - 14 Jul 2006 1:01 PM - 2 messages
Hi Scritping Freaks. Well i got a little problem. I'm trying to like my Programm search for a Driver-file and then delete it, But it sady won't work. Could somebody give me a hint to fix the problem. i don't get an error, it just jumps through ...
Score Command Line Creation of Printer Ports on W2K3 Clustered Print Ser
tdealy - 14 Jul 2006 4:38 AM - 2 messages
I am trying to create printer ports from the command line on a Windows 2003 Clustered Print Server.  I tried Prnport.vbs, however it always would create the port on the host server, not the virtual print server.  Is there ...
Score listing all computers in a domain
roadie.girl - 13 Jul 2006 4:44 PM - 2 messages
hey guys - i'm pretty new to querying the active directory and stuff...so any help you have here would be awesome!! i'm trying to list all the specs of computers inside a domain and put it in an excel file. i can get the specs of the computer no problem ...
Score Help with simple batch file
matt13 - 13 Jul 2006 3:17 PM - 7 messages
I am trying to setup a batch file that would ping my server on startup from my client and then if there was a response it would copy a file from a folder on the client to another folder on the client. I am doing ...
Score Search for event id on multiple servers
Jrex7 - 13 Jul 2006 2:17 AM - 2 messages
I need a vb script that will allow me to search for an event id on multiple remote servers and then create a text file with the names of the servers that have that event id in their system or application event log. I am going to be ...
Score change hostname via script
James - 13 Jul 2006 2:15 AM - 6 messages
is there a registry to look at or 3rd party tools can do it ? ...
Score Create multiple AD users
Pluto - 12 Jul 2006 3:27 PM - 5 messages
I have recived the request to create 100 users in three days and I am wondering if there is a faster way of creating all these users in a short period of time. Can someone help me out how to create the multiple Active Directory users ...
Score Registry Help
Paul - 12 Jul 2006 2:42 PM - 2 messages
Hello, I need help displaying subkey information for each exapandable USB device. I want to display the LocationInformation found in each VID_xxxxx. This is what I have so far, but I dont know how to grab any subkey values. Any help would ...
Score powershell and tail -f
sandiyan - 12 Jul 2006 2:08 PM - 3 messages
In powershell, I cannot get around how I could possibly emulate tail -f that will work like in Unix. 1. Unix: tail -f <filename> #continuously tails the file This command is quick on huge file. The closest I could get in powershell was the following. This is very ...
Score Sending result of For command to a file
aka - 12 Jul 2006 1:36 PM - 3 messages
Hi I am using this command to ping a list of IP's in a txt file: FOR /F %%I IN (c:\txt\iplist.txt) DO ping %%I It works fine, but I want to send all the results to a text file. I am ...
Score How to execute a command string
Gert - 12 Jul 2006 9:52 AM - 3 messages
I build up a commad string like $mycmd = "p4 sync -n ...". ( p4 is in path and so on) If I use the & operator I get following error: 'p4 sync -n ...' is not recognized as a cmdlet, function, operable program, ...
Score How to start a vbs script on a remote computer ?
Thorsten Grund - 12 Jul 2006 9:19 AM - 3 messages
hello, I have written a script who reads hardware and software from our users here in the network. now if its possible I would run this script from remote (my machine) on the users machine with alternative login creditials ..... I have no idea how I ...
Score Hotfixe list on XP
joseph - 12 Jul 2006 5:11 AM - 5 messages
howdy list, strComputer = "." Set objWMIService = GetObject("winmgmts:" _     & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colQuickFixes = objWMIService.ExecQuery _     ("SELECT * FROM Win32_QuickFixEngineering") For Each objQuickFix in colQuickFixes     Wscript.Echo "Computer: " & objQuickFix.CSName ...
Score 2003 R2, Services For Unix, NFS Server
Brendan Simon - 12 Jul 2006 2:57 AM - 2 messages
I have 4 linux boxes and I want to mount the home directories from a Win 2003R2 NFS server.  I have the NFS server up and running and can mount NFS shares but the GID is wrong.  It is -2 instead of 0. ...
Score Powershell interacting with COM automation object with late binding
Karlos - 12 Jul 2006 12:36 AM - 3 messages
Hello All, I have a quick question relating to powershell interacting with COM automation object with late binding, is it possible? For instance , while in a classical VB (with Excel) IDE I'm able to do the following:- Dim objStationApp As Object ...
Score login script to call a batch file
StndAlne - 11 Jul 2006 4:25 PM - 2 messages
thank you Kelly, Richard, and Richard - this post helped me run a script based on group membership. I am a newb, pardon for my ignorance - how can I call a batch file from a script? thanks again! ...
Score Scripting SNMP
OldDog - 10 Jul 2006 8:42 PM - 3 messages
So after searching for an hour or two, I am comming to the conclusion that there is no way to script the basic setup of SNMP. That is things like ;                 Accept_CommunityName = mysnmp:Read_Write ...
Score Help with vbs backup code
Ed - 10 Jul 2006 5:25 PM - 2 messages
Dear,        I have a script that copy the folder C:\files to \\shared\files. This is done when the user log off from the PC. (AD Policy) The vbs. script is working ok, and this is the code: ...
Score LDAP query information
Vishn - 10 Jul 2006 2:33 PM - 17 messages
Can you please help me in creating a LDAP Query which will pull the information about all the attributes of computer accounts in Active Directory domain - For example, General tab info like 'computer name', 'Role' , Object tab information like 'Canonical name of the object' & 'Object class - Created ...
Score disable user account in active directory via a vb script
stevross - 9 Jul 2006 11:10 PM - 7 messages
Hey What I’m wanting to do is create a script that will disable users in active directory. So anyone in a selected OU will be disabled when this program runs. I'm trying to do this using vb. ...
Next »