Windows 10 : use the native SSH client

On Windows 10, there is a native SSH client that can be used in a command prompt, PowerShell prompt, or Terminal. At the end of this tutorial, you will no longer need Putty if you are using it exclusively for logging in via SSH. Check if the client is installed The easiest way to check …

Read more



PowerShell: configure an IP address

In this tutorial, I will walk you through how to configure an IP address and DNS servers using PowerShell. The first step will be to retrieve the Index from the card. Enter the following Cmdlet to display the computer’s network cards: Get-NetAdapter We will therefore configure the card which has Index 2. IP address configuration …

Read more



Rename a computer with PowerShell

Rename-Computer

In this “how” tutorial I will explain how to rename a computer in PowerShell. Using PowerShell allows you to go more empty than going through the graphical interface which requires going through several configuration windows. Rename a computer with PowerShell In a PowerShell prompt use: Rename-Computer The PowerShell command to rename a computer is Rename-Computer. …

Read more



Create a folder in PowerShell

To create a folder in PowerShell, use the New-Item cmdlet indicating the location and name of the folder and set the itemType parameter with the value Directory to indicate that you want to create a folder.



RDS farm: delete a server not available in the deployment

In this tutorial, we will see how to remove a server from a deployment that is no longer available. When connecting to the service broker, the following message is displayed: The following deployment servers are not in the server pool1. SERVER-FQDN .Add them to the server pool This type of error occurs if the server …

Read more



Create an Active Directory environment in PowerShell

Introduction In this tutorial, we will see how to create an Active Directory environment using PowerShell, that is to say the creation of the first domain controller which includes: The Active Directory tutorial: installing and configuring a domain controller explains how to do it using the graphical interface. Prerequisites Ideally from a blank server, which …

Read more



Active Directory: Joining a Computer to a Domain at the Command Line

NETDOM JOIN

Introduction The Active Directory domain join of a computer can be done using either the GUI or using command line and PowerShell. In this tutorial, I will explain how to join a computer to a domain using the various command lines that are: NETDOM DJOIN for off-line joining Add-Computer in PowerShell It is also possible …

Read more



Jenkins: centralizing the management of scheduled tasks

Introduction Jenkins is a free open source software for continuous integration. It is normally used by development equipment to ensure non-regression of source code. In turn, it is possible to use Jenkins as a scheduler to centralize the administration of scheduled Windows and / or Linux tasks. I propose in this article to explain how …

Read more



MDT: Running a PowerShell Script During a Deployment

In this tutorial, I will explain how to run a PowerShell script (.ps1 file) during a deployment with MDT. Copy the ps1 1 file to the Scripts folder in the DeploymentShare folder. Open the properties of the task sequence then add a task of type Run Command Line 1. Move the task to the desired …

Read more



Manage Windows Server remotely in PowerShell with PSSession

Introduction In this tutorial, we will see how to remotely administer a Windows server in PowerShell (Powershell remoting) with PSSession. PSSession is the prefix of several Powershell commands that allow connection and management of it. All the commands in this tutorial are to be done with a PowerShell command prompt Prerequisites On the server where …

Read more