The digital signature of a PowerShell script (*.PS1 file) allows you to verify that a known trusted publisher signs the script and that its code has not been modified. The…
Using PowerShell for System Administration and Automation Tasks
What Others Are Reading in PowerShell
- Active DirectoryGroup PoliciesPowerShellWindows 10Windows Server 2022
How to Refresh (Update) Group Policy Settings on Windows
August 13, 2024To apply new local or domain Group Policy (GPO) settings to a Windows computer, the Group Policy Client (gpsvc) service must read the policy files and apply the setting to…
- Active DirectoryPowerShell
How to Find Inactive Computers and Users in Active Directory with PowerShell
March 11, 2024Quite an often task of an Active Directory administrator is to make a list of disabled or inactive user and/or computer accounts. You can use both saved LDAP queries in…
- Active DirectoryGroup PoliciesPowerShell
Check User Login History in Active Directory with PowerShell
April 8, 2025Active Directory provides several methods for determining when a user has logged on to the domain. The time of a user’s last successful authentication in Active Directory can be retrieved from…
When users connect to a corporate VPN server (AlwaysOnVPN, Windows Server RRAS, or OpenVPN server) from a home network, they may report that Internet access is unavailable while the VPN…
- Active DirectoryPowerShellWindows Server 2022
Restore Deleted Objects (Users) in Active Directory
April 8, 2025When you delete an object in Active Directory (user, group, computer, or OU), it is not permanently removed right away. Within 180 days, deleted AD objects can be recovered by…
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…
- 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 11Windows Server 2022
Taking User Desktop Screenshots with PowerShell
January 31, 2025The HelpDesk support team requested a PowerShell script to quickly capture a screenshot of a user’s desktop from a remote computer. The main requirement is that the HelpDesk employee may…
- 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…