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



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. This should display the control points of …

Read more



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.exe2 Add arguments (optional) : -file folder_and_file.ps1