Group:  English: Windows Server » microsoft.public.windows.server.scripting

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Threads Replies Last Post
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  
Getting a List of User's folders on Exchange
I need to get a list of all of my users and the folders that are in their mailbox. For instance: Mailbox - New User Contacts Employees Inbox Sent Items Calendar etc. Is this possible? If so, how? Thanks! ...
1 17.06.2007 17:57:06
Writing to Public Folder
I have a public folder, named "staff", that contains contacts. I'd like to set up a script to do the following each night: Remove all the contacts in the public folder named "staff" Read from an Excel (or CSV) file and write the records as contacts into the "staff" folder. This will prevent staff from having to do double entries. Can someone please point me into directions on how ...
1 17.06.2007 17:55:29
Telling IE to delete cookies/form data/temp files ?
Hello everyone, I was wondering whether or not I can use a script to tell "internet explorer" (we have Windows Vista) to delete either its cookies, its form data, or its temporary files. If so, where could I get a description of the "objects" and "methods" that are used to do this ? It would be great if I could, then I can put it into task scheduler. I'm new to all of this and am t...
3 17.06.2007 08:32:00
Setting servers to GMT (ZULU) Worldwide
We want to set all of our servers Worldwide to GMT. I know I can write a script to change the local offset to GMT to 0 thus setting the time to GMT, but it leaves the time zone as whatever it was set to previously and does not change it in the Date/Time Control Panel. I was hoping that there was a way to set the time zone in the Control Panel to GMT programmatically. Has anyone done t...
2 17.06.2007 00:49:14
Set Domain Name.
Currently I am working on a script to setup new PC's for our network. So far I have a working script that sets up the network addresses, what I need though is a way to set the Domain Name. I have looked around on the net and cant find an answer to what I'm looking for, so hopefully someone here can help. So far my script is fairly basic, essentially just running a bat file (not bein...
4 16.06.2007 19:41:00
Listing all memebers of a group
hello - i am studying wise scripting. I got the script in VBS to show all the members of a group, but i cannot make it function in command line. I'm trying to run a DSquery of the ldap server with the correct cn, ou, and dc following. It keeps giving me an error that the path is incorrect, even though i am copying it directly from my VBS script which seems to grab all the correct info. C...
2 15.06.2007 13:29:01
Script To Delete Home Drives, Profile and Terminal Services profil
Is there any script that would allow to prompt for the netbios name of a user and then read Active directory and then go to the Servers of the profiles and completely remove the user's Home drive, Profile and Terminal Services Profile. I have had a look but there is nothing at all I can find. Any help would be appreciated Gary...
3 15.06.2007 09:44:01
If, Else If unable to get it to work
I found this code here: http://www.tech-forums.net/showthread.php?s=&threadid=138872 which I'd love to use, but it has all sorts of weird chars in it. Since I have close to zero (very close) knowledge here I'd greatly appreciate it if some one could clean it up. I basically want to run a given program if the first argument is true, something else if the 2nd and if not, then something ...
9 15.06.2007 04:07:52
Elevated system rights?
Hi, I'm playing around with scripting, specifically scripting to get inventory information from a desktop computer. I'm using the scripts provided on a Microsoft technet page. I'm trying to inventory a remote computer but I find that if I run the script as administrator it works fine but if I try to run the script as a standard user I get an access violation error message. Is it po...
2 14.06.2007 20:26:45
System inventory setup?
Hi, I was reading an article on the MS web site about how to use scripting to get information from remote computers. Their example was for inventory of the hardware and software of a given Windows 2000 or XP system. I would like to adopt this technique but instead of just displaying it to the screen I'd like to dump the information into a database. I typically use Visual Fox Pro an...
1 14.06.2007 15:10:22
_passés_en__ligne_de_commande
Bonjour, je souhaite savoir comment on récupère les arguments passés à la ligne de commande en VBScript? Merci bcp -- Guillaume TECHNICIEN MICRO/RÊSEAUX...
2 14.06.2007 13:41:00
Script to remove Exchange Mailbox
Can you see anything wrong with this script?? I can get it to run when only having one server but we have 4 which is causing me the problem. Any help appreciated Const ForReading = 1 Const ADS_NAME_INITTYPE_GC = 3 Const ADS_NAME_TYPE_NT4 = 3 Const ADS_NAME_TYPE_1779 = 1 strUser = InputBox("Enter User Name") strDomain = "My Domain" Set objTrans = CreateObject("NameTranslat...
1 14.06.2007 13:13:01
script to update group policy
Hi to all, I have 100 windows 2000 workstation that work with workgroup and not domain. I want to configure this workstation by group policy -(not change time and date, and not "HAVE the RUN" How can I do that by script that can send it to all this workstation? thanks ...
1 14.06.2007 11:45:08
WMI listing processes and user as login user not admin local
the problem is - i will look on a terminal server as a user not as a admin, who runs as examble the internet explorer. but the script showns me my own explorer but not the name of the user which opened the internet explorer at this terminal server. i see the count of the users but not the names. see: strProcess = "iexplore.exe" strComputer = "." Set objWMIService = GetObject("winmgm...
1 14.06.2007 08:30:00
Log Folder Security
Hi, does anyone know a tool to read the NTFS folder security settings. I want to know which security has which access to a folder. ...
1 14.06.2007 07:17:43
Scripting for Exchange 2007
How do i get the following cmdlet recognised using powershell get-mailbox...
3 14.06.2007 01:43:02
Script to remove user from All Groups in AD
Hi Can anyone find why this doesn't work? Const ForReading = 1 Const ADS_NAME_INITTYPE_GC = 3 Const ADS_NAME_TYPE_NT4 = 3 Const ADS_NAME_TYPE_1779 = 1 Const ADS_PROPERTY_DELETE = 4 Const E_ADS_PROPERTY_NOT_FOUND = &h8000500D dim strUser, strDomain, strUserDN dim objTrans, objUser, objGroup strUser = InputBox("Enter User Name") strDomain = "Globalinfra" Set objTrans = C...
2 13.06.2007 14:05:40
lastlogonTimeStamp Script... Works but...
Ok well here is my script. It works sort of... What I would like for it to do it get the lastlogontimestamp for every user in the domain. It works if I add - On Error Resume Next - putting this in either skips the record that does not have a lastlogontimestamp or uses outputs the same timestamp from the previous user account. If I leave it out I get the following error - (33, 4) Active Dir...
2 13.06.2007 13:52:38
Really Hard Scripting
Still a vbs beginner and been struck with a major scripting task The script I need to write is as follows: 1. I need to prompt for a netbios name. When entered it will remove them from all the groups they are in in the Active Directory Member Of tab. 2.Once this is done then it will search the user's Attributes and find the Profile Path, Home Drive Path and Terminal Services Profile Path. T...
1 12.06.2007 14:54:01
Need Exchange Script.
Is it possible to create a script that will run at user logon to create a Profile within exchange configured to the right exhange server and mail account. What I am looking for is a way that when a users log's on, the mail settings are pulled from AD, so that when they 1st load Outlook it loads their mailbox based on username. EG. If I logon as 01as, the script checks for my mailbox...
2 12.06.2007 14:08:57
Monitor share access
Hello again. Does anyone know of / have a script which can log the users that are accessing shares on a server? just like the shared folders snap in with mmc, but something that i could leave running for a week and would create me a nice text file of all the connection made? thanks...
1 12.06.2007 13:19:03
Static IP Address
Anybody know how to modify the sample script to allow for a machine with multiple network adapters? I pulled down the following code from the script repository: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colNetAdapters = objWMIService.ExecQuery _ ("Select * from Win32_NetworkAdapte...
1 11.06.2007 21:46:00
Move client printers to different print server
Hi there, we have a print server that need to be decommisioned. The problem being that there is about 700 desktops on site that need to be re-mapped to the new server we installed. We can migrate the printers between the server using Microsoft's print migrator, but how do we migrate the printers on the client side. Management does not want to pay for a 3rd party, 'cause anything can be...
5 11.06.2007 20:57:00
which machines in domain are logged on
I'd like to find a way to determine which machines in our domain have a user logged onto it. I can get the information using the sysinternals tool, psloggedon if I recurse thru my entire domain (host by host) I'm even willing to do that if I could make the output pretty. In a perfect world, I'd make the output a webpage. Attacking the problem from another angle, I was hoping wmic might ge...
1 11.06.2007 16:57:48
Text File Compare
Folks: I have 2 separate text file each containing a bunch of IP addresses. The first text file (TextIP-1.txt) contains 100 IP addresses; list 1 below the other. The second text file (TextIP-2.txt) contains 56 IP addresses; listed 1 below the other. I am look for a script that would allow me to compare the content of these 2 text files & identify those overlapping IP addresses that...
11 11.06.2007 16:46:03
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net