When you create a new user in an Active Directory domain, sometimes you need to make them a member of a large number of groups. It is quite tiresome to…
Using PowerShell for System Administration and Automation Tasks
- Hyper-VPowerShellWindows 10Windows Server 2016
How to Extend or Shrink Virtual Hard Disks on Hyper-V?
January 19, 2022Dynamic resizing of virtual machine hard disks is available starting with Hyper-V in Windows Server 2012 R2. Online VHDX Resize feature allows you to increase or shrink the size of…
- PowerShellWindows 10Windows Server 2016
Take a Screenshot of a User’s Desktop with PowerShell
March 17, 2024A HelpDesk support team asked me to write a PowerShell script to quickly get a screenshot of a user desktop from a remote computer. The main condition is that the…
- Group PoliciesPowerShellWindows 10Windows Server 2019
How to Detect Who Deleted a File on Windows Server with Audit Policy
March 12, 2024You can use file system object access event auditing to identify a specific user who created, deleted, or modified a specific file. In this article, we’ll show you how to…
- Active DirectoryGroup PoliciesPowerShellWindows 10Windows Server 2019
Password Change Notification When an AD User Password is About to Expire
March 17, 2024In this article we’ll show how to find out when a password of an Active Directory user account expires using PowerShell, how to set a password to never expire (PasswordNeverExpires…
- PowerShellWindows 10Windows Server 2016
How to Check or Update Java Version in Windows with PowerShell?
May 10, 2023Java Runtime Environment (JRE) is widely used on user computers to run different enterprise Java apps . However, some apps require the specific Java version and may work incorrectly in…
- PowerShellVirtualizationVMWare
VMWare Error: Unable to Access a File Since It Is Locked
March 15, 2024Very often when deleting snapshots or consolidating disks of virtual machines running on VMWare ESXi hosts, I see the “Unable to access a file since it is locked” error. This…
- Group PoliciesPowerShellWindows 10Windows 11Windows Server 2019
How to Enable or Disable SMB 1.0 in Windows 10/11 and Windows Server
March 12, 2024The Server Message Block (SMB) 1.0 file-sharing protocol is disabled by default in the latest versions of Windows 11 and 10 and in Windows Server 2019/2022. This version of the…
- PowerShellWindows Server 2019Windows Server 2022
How to Enable and Configure MPIO on Windows Server
March 11, 2024In this article we will consider how to install and configure MPIO on Windows Server 2016/2012 R2. MPIO (Multi—Path Input Output) is a technology that allows to build fault-tolerant transport to a data storage system…
- Active DirectoryPowerShell
Using Saved Queries in ADUC MMC (Active Directory User and Computers)
March 15, 2024The Saved Queries in Active Directory Users and Computers (ADUC) MMC console allow you to create complex LDAP filters to select Active Directory objects. These queries can be saved, edited,…