Windows Thread, New servers, new scripts :( in Technical; AS we have just got some new servers in, our boss has rejigged all the scripts from the lovely old ...
-
28th July 2009, 12:41 PM #1 New servers, new scripts :(
AS we have just got some new servers in, our boss has rejigged all the scripts from the lovely old batch files i could use, to VBS. Does anyone know of a site or guide i can use to learn this as i would like to be able to edit them myself without having to ask my boss every 10 seconds.
Thank you
-
-
IDG Tech News
-
28th July 2009, 12:44 PM #2 All you need to do is open them in notepad, find where it points to the old server then change it to point to the new one.
Make sure you have configured everything on the new server first though.
Z
-
-
28th July 2009, 12:57 PM #3 Free example scripts VBScript, Windows Active Directory Tutorials
If that does not help and you have the scripts that you can post then post them and either myself or srochford or one of us can help
Last edited by mac_shinobi; 28th July 2009 at 12:59 PM.
-
-
28th July 2009, 01:03 PM #4 Also check out Script Center
You might want to ask your boss why he's using old fangled vbscript when he could be using nice, new shiny powershell (also at the technet script centre)
-
-
28th July 2009, 01:05 PM #5 Theres also a couple on our wiki that you can play with/examine to see how they work (I believe from memory some even have indepth commented code for even more help.
-
-
28th July 2009, 01:05 PM #6 yup! POWERSHELL
Also, depending on the scripts your using, make sure you go through the win2k8 GPO's Properly as there is alot more you can do using GPO rather than scripts!
but yes look at powershell if i was you.
-
-
28th July 2009, 01:11 PM #7 
Originally Posted by
srochford
Also check out
Script Center
You might want to ask your boss why he's using old fangled vbscript when he could be using nice, new shiny powershell (also at the technet script centre)
If I wanted a simple powershell script to msgbox the computer name I would open notepad put in the relevant code ( whatever that is ) and save it as what file extension and how would I run it and also what would the code be ?
-
-
28th July 2009, 01:33 PM #8 When you open scripts in Notepad, you may wish to use the Edit > Replace function. Very simple to use and will make sure you find all 'SERVERNAME' entries.
-
-
28th July 2009, 01:43 PM #9 
Originally Posted by
Michael
When you open scripts in Notepad, you may wish to use the Edit > Replace function. Very simple to use and will make sure you find all 'SERVERNAME' entries.
I was thinking that but wanted to wait until the script(s) were posted so we could see the actual coding to see if they are using functions / subs or w/e
-
-
28th July 2009, 04:39 PM #10 
Originally Posted by
Michael
When you open scripts in Notepad, you may wish to use the Edit > Replace function. Very simple to use and will make sure you find all 'SERVERNAME' entries.
Don't think this is the problem - what @potato-peeler said is that the scripts have changed from batch files to vbscript so it's not just a case of what machine name to use but the whole language has changed!
-
-
28th July 2009, 05:47 PM #11 
Originally Posted by
srochford
Don't think this is the problem - what @potato-peeler said is that the scripts have changed from batch files to vbscript so it's not just a case of what machine name to use but the whole language has changed!
That as well @ language change from bat to vbs or powershell if they wanted to use powershell as per the above recomendation
-
SHARE: 
Similar Threads
-
By SimpleSi in forum *nix
Replies: 7
Last Post: 7th March 2008, 09:23 AM
-
By mmoseley in forum Windows
Replies: 1
Last Post: 23rd December 2007, 11:46 PM
-
By wesleyw in forum Windows
Replies: 18
Last Post: 17th July 2006, 02:36 PM
-
By chrbb in forum Windows
Replies: 4
Last Post: 10th February 2006, 12:19 PM
-
By Sirbendy in forum Windows
Replies: 13
Last Post: 30th January 2006, 11:05 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules