Melbourne, Australia
To be provided
Use Contact to message

Category: All

Harmik Batth Tech's Blog

Join Computer to Domain via Powershell

Join Computer to Domain Joining a computer to domain via PowerShell is whole lot easier than regular way of GUI based. To Join a Computer to domain, Add-Computer -DomainName “HarmikBatth.Lab” Enter the user credentials, which has permission to join the computer to a domain. You can also mention the “-Restart”, which will automatically restart the …

Diving with Docker

Today I will be Installing and using Docker Toolbox on Windows. Docker is revolutionizing the way we do install and maintain applications. “Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This …

Installing SQL Server 2016 on Windows Server 2016

Installing SQL Server 2016 on Windows Server 2016. It is not much different from previous versions of SQL Server or on previous version of Windows. But SQL Management Studio needs to be installed separately now from standalone SQL Server Installer. The idea behind is you don’t need to have SQL Management Studio on all servers, …

Installing Active Directory Domain Services on Windows Server 2016

In this post, we will learn about Installing Active Directory Domain Services on Windows Server 2016. Since Microsoft has all the information documented by SME’s, I will be using reference to Microsoft posts. Before we go further, I would like you to visit few important links here: What’s new in Active Directory Domain Services for …

Installing Windows Server 2016 – Server with Desktop Experience

In this post, we will be Installing Windows Server 2016 (Server with Desktop Experience) is not much different from Server Core installation. We will be performing clean installation here. It is up to you to choose physical server or virtual environment for installation. Follow below procedure to Install Server Core 2016 Start your physical Server …

Installing Windows Server 2016 – Server Core

In this post, we will be Installing Windows Server 2016 (Server Core). When you install Windows Server 2016 using setup wizard, you will asked to choose between Server Core and Server with Desktop Experience. Actually Server with Desktop Experience is full Windows setup like previous versions, just have Desktop Experience feature installed. If no option is …

Installing Windows Server 2016

Before you Install Windows Server 2016, please get familiar with different versions of Windows Server 2016 on Technet. The following table briefly summarizes the key differences between Standard and Datacenter editions: Feature Datacenter Standard Core functionality of Windows Server yes yes OSEs / Hyper-V containers unlimited 2 Windows Server containers unlimited unlimited Host Guardian Service …

Secure Password using Powershell

Do you need to use passwords in your script. Yes, most of System Administrators needs to use it in order to fully auotmate script. Specially when you are working with multiple domains with no trust, workgroups and DMZ zones. I have seen lot of people just put their passwords in plan text in the scripts. …

Read Log File and Mount PS Drive based on shares in log file

This Script will Read the provided log file and Mount PS Drive based on the shares provided. Make sure that Log File and Script is in same location, or alternatively change the log file location to desired location This script is basically developed in response to  – https://gallery.technet.microsoft.com/scriptcenter/site/requests/Need-a-script-to-map-network-drives-listed-in-a-log-by-most-recent-date-7b6c0dd9 Log file looks like: Script as per below …

Get AD Users and Export to CSV

Powershell is not only making doing system administration tasks easy but also very effective and saves lot of time. Instead of connecting to AD, searching for particular user and copying pasting contents. You can just use one line powershell script to do this for you. Get-ADUser -Filter ‘*’ |  select SamAccountName, Department, Location | Export-Csv …