Sunday, November 7, 2021

Find Locked Accounts in AD with Powershell

 Hello there, lately I have been working with Powershell as a way to be able to create simple programs to help me to my BAU day.

This code will give you all locked accounts in your AD environment:

Search-AdAccount -LockedOut

Simple!

Still Here....

Well yes it's true. I'm still here working hard, same industry, trying to make sense of the ever-changing landscape that is IT. During the last years there were ups and downs (more of the downs I must say) that have impacted my energy to maintain this Blog.

I have learned a lot and I will try to gather all the things I have seen and add them here for the future generations. (Yes great! Now they are saved!)

I hope to "see" you soon.

Tuesday, July 22, 2014

Giving a hostname to a Zentyal server

A very easy way to name your Zentyal server is to use the following format when asked about a host name:

ServerName.DomainName.local

ServerName = The name of the server e.g. MyServer
DomainName = The domain name e.g. ElectricalServices

So in the above example the hostname would be: MyServer.ElectricalServices.local

Reply above or Below in Thunderbird

When you get an email on Thunderbird and you want to reply you have the option to quote the original email above or below your reply.

To change the way Thunderbird replies do the following:

  1. Goto Tools.
  2. Go to Account Settings.
  3. Tick/untick Start my reply above the quote.
And that's it.

Installing NVIDIA drivers in Ubuntu

To install the NVIDIA drivers in Ubuntu do the following:

  1. Open the command console
  2. Type in Sudo apt-get install Nvidia-current
And that's it.

Automap Network drives in Zentyal

To automap network drives on a Zentyal server to be used with Windows clients do the following:

  1. Go to the Zentyal Server (But ofcourse!)
  2. Open Leafpad and create a file called e.g. "mapDrives.bat" with a single line as follows: net use X: \\servername.domainname.local\share_name
  3. Go to Domain Group and select Group Policy Objects.
  4. Select Default Domain Policy and click on GPO Editor icon (it's the cog icon).
  5. Navigate to User Configuration Logon Scripts and click Add New.
  6. Select the above batch file and clilck Add
  7. Log off the Windows client and log back in.
The drives should be there. Hopefully this will help.

Monday, July 8, 2013

Ask a computer question

Well I'm bored today. And when I'm bored I need something to do. I was trying to think something amazing to do (because I only do amazing things...Pff yeah right) so I said to myself (yes I do speak to myself, what's wrong with that?) "I know what I'm going to do! I'll start a section where people can ask Computer questions! Yeah! That would be cool!"

So there you go. You can now ask questions or requests for troubleshooting, by adding them in the comments bellow, and I'll try my best to answer them. Questions include things like "what's the best phone for me" (oh boy that's a tough one) and the like.

Be aware though; questions that have nothing to do with IT will be deleted on the spot. (Or turned into soup, what ever seems more delightful).