|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
Modad Shell
compositor -
18 Nov 2006 1:25 AM - 2 messages
I really like the idea of revamping the windows CMD program, however I'd like it more if I could maximise the screen and open it while the Window Station is "shutting down" in order to speed up the process. ...
Finding the hostname of an IP address from VBscript
Gingerman -
17 Nov 2006 4:27 PM - 3 messages
I was just wondering how could i tell if the IP belongs to a PC or a printer from my network? I wrote a script that will scan the network to fish out all the valid IPs. Now i need something to help me filter them. ...
HTA's in Vista
Pete Gomersall -
17 Nov 2006 2:50 PM - 4 messages
Hi, Does anyone know why HTA code that previously worked in XP doesn't in Vista? For example this code taken from the HTA Developers Center on Script Center works fine in XP and also on Vista if called within a .vbs file however it ...
AD searching
Randy -
17 Nov 2006 1:23 PM - 7 messages
All, I'm trying to put together a script that will read info from an Excel spreadsheet, and based on that data, pull information from Active Directory. As a beginner at scripting, i'm used to doing things like ...
simple script fails
Tom F -
16 Nov 2006 10:22 PM - 5 messages
I modified a script from this community to satisfy the simple task of getting the user names which are members of a specific group: myGroup I know the group has 2 members. However evry indication implies that I am getting and enpty set teturned from the LDAP query. ...
Login Script recognizing groups
JOHNB -
16 Nov 2006 8:35 PM - 4 messages
I need to create a login script that will map drives differently for each group. The logic needs to go something like If member of group A net use g: \\server\share If member of group b net use g: \\server\share2 ...
Bulk import of users
JOHNB -
16 Nov 2006 6:21 PM - 5 messages
I need to do a bulk add of users from .csv file. I understand there are some issues regarding passwords. There may also be conficts if the user may already exist. There gots to be an easy way to do this. ...
Login Script syntax
JOHNB -
16 Nov 2006 6:19 PM - 2 messages
I need to create a login script that will map drives differently for each group. The logic needs to go something like If member of group A net use g://server\share If member of group b net use g: //server\share2 ...
Newbie Here-Installing Flash on 50 machines
jgioia -
16 Nov 2006 4:03 PM - 7 messages
I am very new to scripting but I am looking to install Flash on 50 machines, is there a way to do this without having to touch all 50 machines? Forgive my ignorance I have never done any scripting before, I am trying to ...
Newbie - Probably a really stupid question but...
David Bell -
16 Nov 2006 3:15 PM - 5 messages
Hi, I am looking to make an Auto-Reply script for all mail to a few accounts we have and I think I have all the scripting I need but there's just one thing stopping me... Where does the script actually go?! ...
vbs
TJ_2006 -
16 Nov 2006 3:03 PM - 5 messages
Hi i have created the followin script but get access denied even tho i am both a domain admin and a local admin, abit odd, basically wonderin if there is any wasy i can use a username+password parameter within my ...
Problems mapping printers using GPO
compgy -
16 Nov 2006 2:56 PM - 2 messages
Hello everyone, I am trying to find a way to map printers per computer using Group Policy. I have tried this in several ways. first I tried to do this using Windows Server 2003 R2's Printer Management and found that to be ...
Create text file
HIVOLTG -
16 Nov 2006 5:25 AM - 4 messages
How can I modify this script to create a text file containing the group members instead of just echoing to the screen? Dim arrNames() intSize = 0 Set objGroup = GetObject("LDAP://intentionally left blank") For Each strUser in objGroup.Member Set objUser = GetObject("LDAP://" & strUser) ...
Searching text files
sath -
16 Nov 2006 3:32 AM - 3 messages
I want to use VB script to search number of occurences(like grep in unix) of a particular value in a text file and also need to find out total records in that file. Any help is appreciated. ...
Kill a remote process
roland.bengtsson -
15 Nov 2006 7:41 PM - 4 messages
Is it possible to quick and dirty kill a process on a remote machine running Windows Server 2003 with Microsoft PowerShell? I have administrator rights on the remote machine. Regards Roland ...
WSH Delete Cookies Dir
Bernd Wachholtz -
15 Nov 2006 5:30 PM - 8 messages
Hi, does anyone know, how to delete the cookies and Temporary Internet Files Directory? The following does not work: Set MyFiles = CreateObject("Scripting.FileSystemObject") userprofile=umgebung("userprofile") MyFiles.DeleteFolder userprofile & "\Cookies", True MyFiles.DeleteFolder userprofile & "\Lokale Einstellungen\Temporary ...
Recursively list all subfolders
richjone -
15 Nov 2006 5:02 PM - 4 messages
Does anyone have a vbscript that can dump into excel a list of all subfolders of a certain folder? I don't care what files are in the folders, just the directory structure of a certain folder (and all its ...
VBS change static IP to random IP?
jbilliau -
15 Nov 2006 2:43 PM - 5 messages
I'm looking for a script or something so that when clicked on it will check if a current ip address is in use, and if not, automatically change the current static Ip configuration to something else. Randomly. Anything out there? ...
Inherit Right for all Users
Arne Tiedemann -
15 Nov 2006 10:50 AM - 3 messages
Hello NG Users, Environment: AD, Win2003 R2 Problem: 75% (1000) of my users have the inheritans of superordinately objects disabled. I'll use objectdelegation and without inheritans of right I can't propagete these right to child object. Question: How can I resolve thie problem with VBScript ...
Script-O-Matic 2 Network Issues?
Jason Leadbetter -
15 Nov 2006 7:40 AM - 10 messages
When I run a script created in Script-O-Matic 2 and include several different computer names or IPs...the script only runs on the local machine. Note that the script is ran as a vbscript. Example: =========================================== Computer: 192.168.0.100 ...
WMI Exception Handling in PowerShell
TRB-86 -
14 Nov 2006 11:33 PM - 4 messages
How do you trap WMI exceptions in PowerShell? If I try to connect to a computer that is not available, I get PS C:\> gwmi -computer "Nobody" Win32_BIOS Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) ...
Wndows PowerShell 1.0 released to Web
Andrew Watt [MVP] -
14 Nov 2006 4:06 PM - 5 messages
Windows PowerShell 1.0 has been released to web. See [link] Unfortunately the links for the x86 packages don't work yet but presumably will at some point over the next few hours. ...
Sorting the LDAP output
Michael -
14 Nov 2006 2:51 PM - 4 messages
Hi, if I use the following script I get an unsorted output, how can I sort the output in ASC order for example to the object CN ? Regards Michael Set objGroup = GetObject ("LDAP://cn=Maillocation Switzerland, dc=xxx, dc=yyy, dc=local") ...
How to Determine SID of Users
ZAS -
14 Nov 2006 8:06 AM - 2 messages
Hey Scripting Guy, I would like to know the Script to find out the SIDs of all the Users from all the Domains.Please let me know if there is any Script designed already. Thanks & Regards Zaheer ...
script to read and write 2 lines from text file
Kevini -
14 Nov 2006 1:07 AM - 4 messages
I want to red the text file and return two lines to a new file. I can read and write one line but i don't know how to have it read and write a second line . I amserching for the two lines that say Job server: aand Completed ...
Log on script error
glasseigne -
13 Nov 2006 4:36 PM - 5 messages
I error using the following script: ---start snippet Dim objNetwork Set wshNetwork = CreateObject("WScript.Network") Set ADSysInfo = CreateObject("ADSystemInfo") Set CurrentUser = GetObject("LDAP://<AD server name replaced>/" & ADSysInfo.UserName) strGroups = LCase(Join(CurrentUser.MemberOf)) ---end snippet The line that errors is the Set CurrentUser. It does not happen with ...
XCACLS.VBS Help
linalar -
13 Nov 2006 2:43 PM - 3 messages
I'm running xcacls.vbs on different computers with xp. On one of these computers doesn't seem to start the script. command: cscript XCACLS.vbs "C:\MyInstaller" /G "#machine#\Users":M /E Output: Microsoft (R) Windows Script Host Version 5.6 ...
LOCAL USERS and Groups in Domain
Abhishek -
13 Nov 2006 9:30 AM - 3 messages
I need a script script which runs once a quarter which gets the user and groups in the local administrators group on all the servers in the domain ...
|
|||||||||||||||||||||||