PowerShell has a lot of features to manage processes on a local or a remote computer. Using PowerShell, you can get a list of running processes, suspend a hung-up process,…
PowerShell
- PowerShellWindows Server 2016Windows Server 2019
Setting Remote Desktop Drain Mode on a Windows Server RDS Host
October 3, 2022You can use RDS Drain Mode to maintain terminal hosts in a Remote Desktop Services farm. If you enable Drain Mode for your RDS server, you can prevent the server…
- Active DirectoryPowerShellWindows Server 2012 R2Windows Server 2016
Using Managed Service Accounts (MSA and gMSA) in Active Directory
May 11, 2021Managed Service Account (MSA) is a special type of Active Directory account that can be used to securely run services, applications, and scheduled tasks. The basic idea is that the…
- PowerShellWindows Server 2016Windows Server 2019
Using PowerShell Just Enough Administration (JEA) to Delegate Privileges to Non-Admin Users
April 15, 2022The Just Enough Administration (JEA) feature is available starting from PowerShell version 5.0 and allows you to delegate administrative privileges to anything you can manage with PowerShell. The main purpose…
- PowerShellWindows 10Windows Server 2016
How to Create ZIP Archives and Unzip Files with PowerShell?
October 28, 2021You can use PowerShell’s features to create ZIP archives and extract them. In PowerShell 5.0 (this PowerShell version is installed by default on Windows 10), a separate module Microsoft.PowerShell.Archive is…
- Active DirectoryPowerShell
Set-ADUser: How to Change User Properties in Active Directory with PowerShell
November 26, 2021The Set-ADUser cmdlet allows to modify user properties (attributes) in Active Directory using PowerShell. Traditionally, a graphic MMC snap-in dsa.msc (Active Directory Users and Computers, ADUC) is used to edit…
An Exchange administrator can move user mailboxes between databases on the same server or between remote mailbox servers. In this article we’ll show how to move mailboxes in Exchange Server…
In this article we’ll show how to read and write data from Excel worksheets directly from PowerShell scripts. You can use Excel along with PowerShell to inventory and generate various…
Most users and administrators use the taskschd.msc graphical interface console to create and manage scheduled tasks on Windows. However, in various scripts and automated flows, it is much more convenient…
- PowerShellVirtualizationVMWareWindows Server 2016
Updating Windows VM Templates on VMWare with PowerShell
January 18, 2023To deploy new virtual machines in VMWare, VM templates are typically used. A VMWare VM template is a reference virtual machine copy with the configured settings, installed software and security…