Environment variables and too much scripting

Environment variables and too much scripting

I got it into my head earlier this evening that maybe I couldn’t reach my files that should be registered in the PATH variable because it had been truncated, after all when I ran ECHO %PATH% I did get a truncated text. However that is probably just due to the...

Get all users in an active directory group

I´ve yet to see one quick and smooth description on how to retrieve all users from an AD group in windows in text form so I thought I´d present a simple solution here. The tricky thing is to get the complete “ad”-object stringthingy for the group to use in...