Automating a Active Directory Lab Build using Vagrant and PowerShell

Pre-Requisites

  1. Vagrant — https://www.vagrantup.com/downloads
  2. Virtualbox — https://www.virtualbox.org/wiki/Downloads
  3. Powershell — If you are on distros other than Windows
vagrant plugin install vagrant-reload
vagrant plugin install vagrant-vbguest
vagrant init
config.vm.communicator = "winrm"    
config.winrm.transport = :plaintext
config.winrm.basic_auth_only = true
choco install -y googlechrome
vagrant up

--

--

--

Peace

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to implement modern features in your Android App

Are We Close Towards Blockchain and AI Unification?

Iterators, List Comprehensions and Generators

How to Build Your Own Box Robot in Unity

How to find subsets without itertools in Python

Using a Linux Virtual Machine for Android NDK C++ development

Get Down with GitHub

What arePyCharm, Virtual Environment, Dependency Management, Anaconda Navigator and Conda…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nikhil

Nikhil

Peace

More from Medium

THM: Git Happens

SQL injection & Wordpress Explotiation: Welok, Try Hack Me

How to Install Linux Kernel 5.17 on Ubuntu / Linux Mint

Linux Penguin

How to ssh into GCP using Windows Terminal