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 moreActive Directory: Joining a Computer to a Domain at the Command Line

Jenkins: centralizing the management of scheduled tasks

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 to …

Read moreJenkins: centralizing the management of scheduled tasks

Administer Windows Remote Server 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 moreAdminister Windows Remote Server in PowerShell with PSSession

Delete a backup control point in Hyper-V without a delete option

snapshot

It happens in Hyper-V that a third-party software (backup) create a control point that is not possible to delete through the GUI. You have to switch to PowerShell to delete the control point. 1. Open a PowerShell administrator window and enter the following command to display the snapshots. Get-VMSnapshot -ComputerName <SERVER-HYPER-V> -VMName <VM> This should …

Read moreDelete a backup control point in Hyper-V without a delete option

Scheduled task run a PowerShell script

To run a PowerShell script using a scheduled task in Windows, you must set the Action to run a Program and configure it as below: 1 Program / Script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe 2 Add arguments (optional) : -file folder_and_file.ps1