In PowerShell scripts that prompt for a username and password, you sometimes have to validate the entered user credentials before performing any actions. If the user has entered an incorrect…
Using PowerShell for System Administration and Automation Tasks
- PowerShellWindows 11Windows Server 2022
Run PowerShell Scripts on a Schedule with Task Scheduler
October 3, 2024In Windows, the built-in Task Scheduler can be used to perform an action according to a schedule or when a certain event occurs. This guide explains how to configure a…
Kiosk mode is a special Windows client lockdown feature used to run only pre-defined (allowlisted) apps in a full-screen mode. All other Windows functionality is locked and unavailable to users.…
- Azure and Microsoft 365Group PoliciesPowerShellWindows 10Windows Server 2022
Mapping SharePoint Online Library as Network Drive in Windows
July 16, 2024Connecting SharePoint Online document libraries through the OneDrive client or using the Web interface are the preferred and recommended ways to access document library files on SharePoint. But you can…
- PowerShellWindows 10Windows 11
Testing Internet Speed from Windows Command Prompt (PowerShell)
July 2, 2024Many online services allow you to test your Internet connection speed in real-time. If you need to regularly collect Internet connection speed metrics from your provider for monitoring, you can…
- Group PoliciesPowerShellWindows Server 2019
Configure File and Folder Access Auditing on Windows (GPO)
July 8, 2024The file system audit policy in Windows allows to monitor all access events to specific files and folders on a disk. An administrator can enable the audit policy to identify…
- Group PoliciesPowerShellWindows 10Windows 11
How to Add or Remove Pinned Folders to Quick Access with PowerShell and GPO
August 11, 2024Windows File Explorer has a separate panel that displays a list of favorite folders and locations called Quick Access. Many users and administrators unjustly ignore this handy Windows tool for…
- Hyper-VPowerShellWindows 10Windows 11Windows Server 2019
How to Assign (Passthrough) a Physical GPU to a Hyper-V Virtual Machine
June 11, 2024The RemoteFX vGPU feature can be used in previous versions of Hyper-V (starting with Windows 7/Windows Server 2008 R2) to passthrough a host discrete GPU graphics card to a virtual…
- Active DirectoryPowerShellWindows 11
Check Windows 11 Hardware Readiness with PowerShell Script
May 15, 2024In this article, we’ll look at how to use the official Microsoft HardwareReadiness.ps1 PowerShell script to perform a bulk Windows 11 hardware compatibility check on domain computers.
JSON is a popular text-based format for representing and transmitting structured data based on JavaScript object syntax. There are two cmdlets in PowerShell that allow you to work with the…