Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

Using PowerShell for System Administration and Automation Tasks

What Others Are Reading in PowerShell

How to Install Remote Server Administration Tools (RSAT)...

March 17, 2024

Wi-Fi (Internet) Disconnects After Sleep or Hibernation on...

March 15, 2024

Fix: Remote Desktop Licensing Mode is not Configured

August 24, 2023

PowerShell: Get Folder Size on Windows

April 2, 2024

How to Download Offline Installer (APPX/MSIX) for Microsoft...

March 12, 2024

How to Find the Source of Account Lockouts...

March 12, 2024

Protecting Remote Desktop (RDP) Host from Brute Force...

February 5, 2024

How to Delete Old User Profiles in Windows

March 15, 2024

Managing Windows Firewall Rules with PowerShell

March 11, 2024

How to Backup and Restore Websites and IIS...

June 8, 2023

Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)

March 17, 2024

How to Refresh (Update) Group Policy Settings on...

August 13, 2024
  • Active DirectoryPowerShellWindows Server 2022

    Restore Deleted Objects (Users) in Active Directory

    April 8, 2025

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

  • Active DirectoryPowerShell

    Copy AD Group Membership to Another User in PowerShell

    March 15, 2024

    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, 2022

    Dynamic 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, 2025

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

  • PowerShellWindows 10Windows 11Windows Server 2022

    How to Run CMD/Program as SYSTEM (LocalSystem) in Windows

    August 27, 2025

    Sometimes, local administrator permissions may not be sufficient to manage certain system files, registry keys, processes, and services in Windows. In such cases, an administrator can take ownership of files/other…

  • Group PoliciesPowerShellWindows 10Windows Server 2019

    How to Detect Who Deleted a File on Windows Server with Audit Policy

    March 12, 2024

    You 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 11Windows Server 2022

    Configuring Password Expiration Notifications for AD Users

    October 11, 2024

    Although Microsoft has removed the requirement to periodically change user passwords from its security baselines, most on-premises Active Directory domains have a policy that specifies the maximum age of a…

  • PowerShellWindows 10Windows Server 2016

    How to Check or Update Java Version in Windows with PowerShell?

    May 10, 2023

    Java 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, 2024

    Very 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, 2024

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

  • 1
  • …
  • 24
  • 25
  • 26
  • 27
  • 28
  • …
  • 30
join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • DPI Scaling and Font Size in RDP (RDS) Session

    August 27, 2025
  • Proxmox: Share a Host Directory with VMs via VirtioFS

    August 18, 2025
  • How to Find AD Users with Blank Passwords (Password-Not-Required)

    July 24, 2025
  • Run Elevated Commands with Sudo on Windows 11

    July 16, 2025
  • Find a Process Causing High Disk Usage on Windows

    July 15, 2025
  • Fix: Microsoft Defender Not Updating Automatically in Windows

    July 8, 2025
  • Create a Windows Server VM on Proxmox (Step-by-Step)

    July 7, 2025
  • How to Detect Which User Installed or Removed a Program on Windows

    June 23, 2025
  • Encrypt Any Client-Server App Traffic on Windows with Stunnel

    June 12, 2025
  • Failed to Open the Group Policy Object on a Computer

    June 2, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Get-ADUser: Find Active Directory User Info with PowerShell
  • Configuring Proxy Settings on Windows Using Group Policy Preferences
  • Using WMI Filters to Target Group Policies in Active Directory
  • Using Managed Service Accounts (MSA and gMSA) in Active Directory
  • How to Set a User Thumbnail Photo in Active Directory
  • Set Desktop Wallpaper and Logon Screen Background via Group Policy
  • Restoring Active Directory Domain Controller from a Backup
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top