Think Tree IT Blog
0 FOLLOWERS
I have over 7 years working professionally as an IT consultant in many different sectors varying from local government to private companies. I also hold many IT certifications ranging from computer hardware, software, networking, cyber security, and Microsoft windows servers. I look forward to work with you today. Follow this blog to know more on programming.
Think Tree IT Blog
5y ago
Reading Time: 3 minutesLearn How To Create Bulk AD Accounts In Powershell using a csv file
Creating active directory accounts can be redundant, time consuming, and usually requires our full attention to avoid making mistakes. Now you be able to accurately create bulk AD accounts by filling out a csv file and running the script. You will save a lot time and headaches with this powershell script.
The Code
Download this powershell script on github.
How It Works
First we import the Active Directory module since we will be using the New-ADUser command to create the users.
Next we import the ..read more
Think Tree IT Blog
5y ago
Reading Time: 2 minutesPython Game : Dice Roller
In this python game you will go toe to toe with the computer in a dice roller game. The highest number rolled wins. First you’re asked if you’d like to roll the dice. Then the dice is rolled and a winner is determined. Lastly the user is asked if they’d like to play again.
Here’s an example of the game in action.
The Code
Download this Python Game on github.
How It Works
The script is broken into three functions. I’ll explain how each one works.
roll()
First the user is asked if they’d like to roll the dice. If Y or y is entered, then the ..read more
Think Tree IT Blog
5y ago
Reading Time: 3 minutesGetting Google Maps Address with Python
Here is another small script using the webbrowser module and the sys module. It will take an inputted address and search it directly on google maps.
The webbrowser module comes with python and it’s used to open your default web browser to a specified page.
The sys provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter.
All one would need to do is to run the script is open it in cmd or terminal and write in the address after the file name.
The Code
D ..read more