I have a script that reads from a file, and sorts the data out into a text file. Here is the format it reads from:
CN=Lastname\, Firstname,OU=Users,OU=sports group,DC=domain,DC=name, DC=com
This code will read the data and put it into a text file:
if Mid(strData,1,2)=" C" then...
I need a little help with this script...it seems that if a cell is blank, it error's out and stops the script. Also, if the contact already exists it errors out...does anyone know how to fix this?
Option Explicit
Dim objRootLDAP, objContainer, objContact, objExcel, objSheet
Dim strOU...
I can't figure out why this isn't working...I'm bad with the quotes...It gives me an error saying that the system cannot find the specified file, but I know that it is there.
Set objShell = CreateObject("Wscript.Shell")
strComputer = InputBox("Enter the PC name to shutdown:")
strMessage =...
Is there a way to lock down computer management in citrix without causing permissions issues? We have had issues with "someone" changing the driver letter mappings of some of the drives. All the users in the farm are power users. Can anyone help? Thanks.
I've tried this code to filter out the rows that contain certain data:
objExcel.Range("A:A").Entirerow.Delete '4 = "Data"
But it ends up deleting everything!
I am getting this error when running my script: "Unable to get the SpecialCells property of the Range class error"
Here is my code in vbs:
Set objExcel = CreateObject("Excel.Application")
objExcel.Application.DisplayAlerts = False
objExcel.Visible = False
Set objWorkbook =...
Does anyone know how to export more then one OU with csvde to all go in the same file? This is what I have but its only for one OU and I cannot figure out how to put another one in there...
CSVDE -d "OU=Users,OU=Ballpark Services,DC=domain,dc=com" -f Ballpark.csv -r objectCategory=person -l...
Avocent is a KVM. It seems that the dongle is uses on the server keeps trying to map a drive which causes this error when trying to log into global desktop:
wfshell.exe - no disk
There is no disk in the drive. Please insert a disk into drive \device\harddisk1\dr3.
Has anyone come across...
Does anyone know of a script that will check to see if a website is up? Not a script that will just ping the website, because that just says if the server is up, but the website itself...
I am new to perl and have started this script going off of another one. I am trying to capture the output of a command and save it to a text file. Here is what I have so far:
#!C:\Perl\bin\perl.exe
open (IN, "omnidb -session -latest -detail|") ;
while (<IN>)
{
$data = $_ ;
Ok so I am having trouble making this script work, its for Data Protector, a backup program:
@echo off
for slot in `omnimm -list_pool IDB | \
grep "Library Name" | \
cut -f 2 -d: | \
cut -f 1 -d"]" `
do
omnimm -eject "Library Name" $slot
I'm not really good with the for statements but I have...
I am using DP 5.5 on windows 2003. I have been trying to make a script to eject the tape automatically after the job finishes. I have a pool called "IDB" that only has 2 tapes in it. There is always only 1 tape in at a time, the other is stored in a safe. I know how to eject a tape...
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.