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
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...
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.