Guys,
Can you please help with this...
This is the code...
strComputer = "xxxxx"
UserName = "administrator"
Password = "xxxxxxxx"
Set SWBemlocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = SWBemlocator.ConnectServer(strComputer,"root\CIMV2",UserName,Password)
Set...
Hi Guys,
Need some help/suggestions on using OpenDSObject.
Just as a reminder, this is a method to bind to an object using WinNT or LDAP providers. Its importance is that it allows binding to a remote object using ALTERNATE credentials.
The single example I have seen uses this code...
Hi
I have a script that I am writing that will connect to a server remotely and read a registry value (type is REG_SZ). The script appears to reach the end but stops with the runtime error: Invalid use of Null: 'Value'
To help here is a snippet of the code that generates the error:
Sub...
Hi Guys, I hope somebody can help with the problem I'm having; which is to get some Dell Servers to report correctly in OpenManage. The details are below(thanks in advance:-)
Servers are reporting errors, that are indicated in OpenManage with an orange triangles with an exlamation mark inside...
Hi Guys,
Simple question.
As the title of the thread asks, is there a documented procedure on migrating a Windows Sharepoint Service (3.0) installation to another server supporting the same OS?
If anybody has experience or can point me to some articles, I would be very appreciative.
Thanks...
Okay, I've just set up a Windows Sharepoint Services Express 2008 server.
I managed to upload some files and that was kewl.
I thought I would explore Crawling and so I configured a crawl, using an admin account needed to access the file share.
I have a couple of questions:
(i) Where have...
Hi Guys,
I have a windows 2003 server when I enter the share as a UNC address I can connect to the second windows 2003 server.
However when I try to map a network drive to the same share I get the following error:
System Error 67
Network name cannot be found.
Any ideas guys?
Regards K
Hi guys my query is with the use of IF statements.
The following is a straight forward code snippet using an IF statement
string1 ="Zeus"
namer = Inputbox("Please enter a name")
If namer = string1
wscript.echo "name found"
else
wscript.echo "name not found"
End if
I've seen a...
Hi guys, I have a few Windows 2003 servers at Service Pack 1. Installed is Legato Networker 7.x on the servers and the backend is to VMS machines.
The problem I've been getting is that backups start off okay, but randomly freeze. There does not appear to be any rhyme or rythm to where the...
Hi Guys,
I've just started a new role, which not in the distant future will involve me having to administer the cluster servers in the company.
I have a little time to get upto speed and was wondering if anybody can advise me on the best books to buy or point me in the right direction for...
Hi Guys,
I have a web page that I need to improve so that the page automatically displays the username of the person accessing the web page in a label.
This would be used to speed up text entry, instead of the user having to enter his/her name into a text box.
How easy is this to do?
Can...
Hi All,
A friend of mine has asked if it is possible to script components of the Local Computer Policy for Windows 2000 servers.
In particular, I want to script the Local Audit Policies - ie Audit logon events, Audit policy change, Audit system events etc.
I've looked high and low, but I've...
Hi guys I have a problem whereby I'm making a wmi query to around 500 servers. For the most part a connection is made without a problem. However I've got one or two servers that hang at the point of connecting to the WMI service on the machine.
I've tried error trapping (see below)and now I'm...
Hi Guys,
I'm getting partial success running this code. Problem is that it starts off as expected, but just then hangs.
Here is the code:
Dim remoteTool
remoteTool="\\pluto\tools\psexec.exe"
StrServer="jupiter"
Call vspDel(StrServer)
Sub vspDel(StrServer)
Set objShell =...
Hi guys, I need to create a HTML button inside a VB script, but getting an error. To keep things simple I have included two snippets that I'm using. The first snippet does not work. The second snippet works.
For ease of reading, I've omitted all the metadata stuff at that heads up the beginning...
Guys,
I was wondering if you can help its concerning an ASP 2.0 page I'm trying to write.
I'm no ASP expert (infact this is the first one I've ever written), so the question I pose here may seem pretty simple, but please put up with me.
The code so far is as follows:
<html>
<body>
<form...
Hello All,
I know how to use vbscript to open and populate an excel spreadsheet in a single write operation. But how do I do this if I want to do multiple write operations.
For example, I have a set of computers in a list held on a file, that I need to query for ceartain services. I would like...
Hi All,
I have two problems and any light you can shed on them would be great.
1. Installing Netbackup on a Windows 2000 server (running exchange) resulted in the installation reporting as complete. However when a backup was iniated the media server reported an error 57, 'client connection...
Hi All,
Does anybody know where in the registry/wmi the follwing information is held?
- speed for installed network cards
- regional settings for the local computer (ie GMT, USA etc)
I can code a script to extract the info, I just need to know where to get it from.
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.