DEV Community

Cover image for Building the Foundation: How to Connect to a Windows Virtual Machine and install Windows Server
Precious Oladele
Precious Oladele

Posted on

Building the Foundation: How to Connect to a Windows Virtual Machine and install Windows Server

INTRODUCTION

Windows Server is a Microsoft operating system specifically made for servers, it provides centralized administration, security, scalability, and support for functions like file sharing, web hosting, and virtualization. It’s essential for powering IT infrastructures in businesses and data centers.

Create a Windows Virtual Machine
The first step is to create a windows virtual machine on azure.
https://dev.to/under2wenty/step-into-the-cloud-how-to-create-a-windows-11-virtual-machine-on-azure-3lal. ( choose windows server instead of Windows 11)

  • wait for the virtual machine to complete deployment deploy
  • Go to resources resources

Connect to Windows Virtual Machine

  • click on the connect icon connect
  • from the local machine select native RDP RDP
  • Wait for the configuration to be complete, then download the RDP file download
  • Install the downloaded file file
  • click on connect and follow the prompts connect
  • input the password used in creating the virtual machine password
  • wait for the windows machine machine

Install Windows Server

  • In the search bar, Search and run window PowerShell powershell
  • On the PowerShell Interface enter the Following Command to install Windows Server: Install-WindowsFeature -name Web-Server -IncludeManagementTools

name web

Finally you have successfully connect a Virtual Machine and Install Windows Server.

Verify Installation

  • You can verify that IIS has been installed just by pasting the ip address of the VM in a browser installation

Conclusion

To create a scalable, safe, and effective IT environment, you must install a Windows virtual machine with Windows Server. Through this procedure, you may build an adaptable infrastructure for hosting services and apps, which will help you maximize resources and improve system performance. Now that you have the framework in place, you can investigate the many options Windows Server provides for handling your workloads and apps.

Top comments (0)