|
|
Up |
|
|
  |
Author: farcry80farcry80
Date: Feb 29, 2008 06:06
Right now I manually handle the reservations for the hostnames in DHCP. I
was wonderign if there was a way to automate this process. Meaning as soon
as a lease is assigned it is automatically reserved by default.
Thanks.
|
| |
|
| |
1 Comment |
|
  |
Author: TDTD
Date: Feb 27, 2008 22:25
This is the proper syntax to run this program:
"C:\Program Files\Eraser\Eraserl.exe" -file "C:\Program Files\PBC
\pbc.mdb" -method "Gutmann"
I would like to run it in a wsh script like this:
Set ws = WScript.CreateObject("WScript.Shell")
ws.Run "C:\Program Files\Eraser\Eraserl.exe" -file "C:\Program Files
\PBC\pbc.mdb" -method "Gutmann"
BUT I can't get the syntax correct. Any ideas how to make this
work.
Thanks,
TD
|
| |
|
| |
5 Comments |
|
  |
Author: ClubsprintClubsprint
Date: Feb 26, 2008 19:11
G'day all
We have a requirement to report on what is printed in the office.
We have a dedicated 2003 server hosting our printers.
The information I need is logged in the system log.
Can anyone please point me in the direction of an example script to report
on this
info so we can identify who is printing to where
and how much etc.
We would probably want to run a report each day about the previous day.
Then the "Print Nazi's" can execute the guilty.
regards
Mark
|
| |
|
7 Comments |
|
  |
Author: Gerry HickmanGerry Hickman
Date: Feb 24, 2008 03:42
Hi,
One of the big strengths of scripting WSH / COM was that you could
guarantee it would work on ANY Windows box without having to manage
component versions across hundreds/thousands of machines. This could be
useful for things like Logon Scripts, and essential for certain types of
remote management that are not exposed via DCOM such as MSIEXEC and WUA.
To run those tasks against thousands of machines you'd need execute the
script locally, but triggered from the remote box, and pipe the output
back to the admin box or a centralized logging station. It was never an
issue because it was all built-in from Win2k onwards. An other aspect to
this is being able to copy a script to a remote box and then enable it
to run on a schedule.
To me, it was a reason why PERL was never a good option for Windows;
you'd have to maintain it across hundreds/thousands of machines.
Now with PowerShell v2 the scripts can be remotable. The first question
to ask is why it's even needed?
Logon Scripts?
Scheduled tasks?
Components that can't be remoted?
|
| Show full article (1.48Kb) |
|
8 Comments |
|
  |
Author: Gareth CornishGareth Cornish
Date: Feb 22, 2008 23:01
Good morning,
I'm writing a VBS script for Windows XP and Server 2003. The script uses the
Run method to call a "Net Start" command, to start a service. This command
returns an integer error code, but I can't find anywhere to tell me what
these return codes mean.
I know that 0 indicates success, and I suspect that 2 indicates that the
service was already running, but I can't find anything to confirm this.
Thanks
|
| |
|
12 Comments |
|
  |
Author: Nelson RodriguezNelson Rodriguez
Date: Feb 21, 2008 07:48
I having problems to connect a server 2003+SP2 with WMI. I'm an
administrator.
But work fine with servers 2003+SP1.
Anybody know something??????
Nelson Rodriguez
neroig@ adinet.com.uy
|
| |
|
3 Comments |
|
  |
Author: vedehtvedeht
Date: Feb 20, 2008 07:45
On Feb 6, 3:00Â am, FUBARinSFO gmail.com> wrote:
> Hi:
>
> I really hate to post this request for help, but I've spent about just
> as much time on this problem as I can handle.
>
> In attempting to use wshController on a remote machine on the LAN,
> I've been getting either of two errors:
>
> Â Â Â "the remote server machine does not exist or is unavailable", and
>
> Â Â Â "permission denied"
>
> The two machines K7N and MPX2 are both Windows XP SP2 systems, and
> Windows Explorer can browse each other's shared files OK. Â Both the
> source and the target are Administrators users. Â My actual scripts
> work OK since I've inclued the local machine as the first system in
> the computer system name file, as a loopback test.
>
> What seems ridiculous to me is that when I vary the Windows Firewall ...
|
| Show full article (5.28Kb) |
|
no comments
|
|
  |
Author: A/P Nelson RodriguezA/P Nelson Rodriguez
Date: Feb 19, 2008 15:19
Please I want to know which is the best ADSI editor in Windows environment.
Thanks.
Nelson Rodriguez
neroig@ adinet.com.uy
Salto - Uruguay
|
| |
|
5 Comments |
|
  |
Author: Calvo41Calvo41
Date: Feb 19, 2008 03:59
Some time ago, I got a script in this discussion group that works all right
for my needs: it takes a .txt document (named "lines.txt"), prompts for a
line number, and puts the corresponding line in the clipboard, so that I can
put it any where I want (any Web page, any text document, as the new name of
a folder or file, etc...) just by pressing Ctrl+V. I use it repeatedly, in
one run session, alternating between the script and the page I want to past
in (using Alt+Tab, for the purpose of alternating tasks).
Now, I think that a change to the script could be useful: as, in the most of
the cases, after having pasted a line I will need to past the next line of
"Lines.txt" ( that is, the lines are taken sequentially, from the first line
to the last line), the script could be changed so...
|
| Show full article (3.00Kb) |
|
1 Comment |
|
  |
|
|
  |
Author: MikeMike
Date: Feb 18, 2008 20:26
I am having one heck of a time trying to use the wdGoToBookmark method.
In summary I have hundreds of change documents (in MS Word) to create.
With few exceptions, they are all identical. Each will have a unique
filename based on the computer name it is in reference to. I have a
VBScript nearly fully functioning except for one small thing...
This script needs to:
1. Copy the source document as a new filename
2. Open the new document
3. Find and replace several segments of text
4. Go to the end of the document and insert a screenshot image file.
In this case the document size/length will not change, but I may need
this to work in other documents where the length of the document may be
variable. My thought was to insert a MS Word Bookmark in the document
at the end where the image will be inserted and then goto that bookmark
and insert the image before closing the document.
I have sought out examples of using the wdGoToBookmark method and cannot
seem to adapt any of the examples I have found to work properly in my
script. I suspect it is something stupid silly I am messed up on. Any
help would be greatly appreciated.
|
| Show full article (5.17Kb) |
|
no comments
|
|
|
|
|
|
|