I found a script from some ms site that list groups that a user are member of, even nested groups. But that I want to be able to do with this script is not having specify which OU the user resides in. I want to search for a user in the whole domain and see what groups the user are member of. Any...
I have a variable that contain a path like /home/test/file.jpg and I want to get only the filename out of the whole path, filename.jpg, any idea how to do that?
/ Ola
Thanks cyan01 will test this later. And to KevinADC; no it isnt, actually the program going to count some textstring not really words. Have some sequences mixed with numbers and characters that I want to count.
Hi,
I try to make a perl program that count words from text files and from parsed html files. Right now I just started with text files and try to count the words in them. If I specify multiples text files as arguments to my program the program count all words from all files and put them in an...
Hi,
I was trying to create a script that renames .jpg files based on the last modified date. I found a script at microsofts scriptcenter:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set FileList = objWMIService.ExecQuery _
("ASSOCIATORS OF...
Hi,
I was wondering if anyone could help me do the following query in sql:
In my database I have a column, PNR, that stores values in the with the format XXXXX-XXXX, where X can be either a numerical value or a letter. The data I want to get from the column PNR is records that does have one or...
I must be very stupid, or just very bad at creating scripts because I don't get it to work. Get error message that the object already exist when running it as it did before.
I added the lines in my script but I'm not sure if I have understood it right. The lines I have added is in bold text...
I'm not sure if I understand the thing with WinNT:provider.
I don't have anything more in my csv file, just first name and last name in it. So from that list I want in some way create unique samaccountnames. Can't I compare the names in the file and if there's more than one name thats alike it...
Hi,
I have made a script that add user accounts from a comma separated file (.csv) into Active Directory. My CSV file looks like this (shortened):
Elin,Adolfsson
Doris,Ahlander
Daniel,Akermark
Christian,Andersson
Daniel,Alkerstedt
Daniel,Alm
Claes,Andersson
Christian,Andersson
From this file...
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.