In this quick note, I’ll show you how to run multiple cmd or PowerShell commands in one line. Sometimes you have to do this when you invoke PowerShell commands from external programs, Windows Task Scheduler, logon scripts, when you need to bypass the PowerShell Execution Policy, or when you have to quickly pass a piece of code to a user to diagnose/troubleshoot issues on their computer.
- PowerShellWindows 10Windows Server 2019
How to Run a Scheduled Task After Another Task Completes
June 8, 2023Windows Task Scheduler allows you to run tasks both on schedule and when a certain event appears in the Event Viewer (using Windows Event Triggers). In this article, we’ll show…
- Active DirectoryWindows 10Windows Server 2019
Using Attribute Editor in Active Directory Users and Computers
March 15, 2024The Active Directory Attribute Editor is a built-in graphical tool to manage the properties of AD objects (users, computers, groups). It is the Attribute Editor where you can view and…
- PowerShellWindows 10Windows 11Windows Server 2019
Remove Old and Useless Drivers from the Windows Driver Store
March 11, 2024When you install or update device drivers in Windows, older versions of the drivers remain on the system drive. This allows the user to roll back to a previous driver…
- Active DirectoryPowerShellWindows Server 2019
How to Remove (Demote) a Domain Controller in Active Directory
March 16, 2024In this article, we’ll show how to correctly remove (demote) an Active Directory domain controller on Windows Server 2022/2019/2016/2012R2. When removing a domain controller, usually one of the following scenarios…
- Active DirectoryGroup PoliciesWindows 10Windows 11
Using Windows Update Delivery Optimization in Local Networks
March 15, 2024You can use Windows Update Delivery Optimization (WUDO) in Windows 10 to more efficiently distribute Windows updates (received through Windows Update or WSUS) and Configuration Manager packages in a corporate…
OpenVPN is an open-source software suite that is one of the most popular and easiest solutions for implementing a secure VPN. OpenVPN allows you to combine a server and clients…
During a clean installation of Windows 10 on a laptop from the USB flash drive install media, I came across a strange error. When selecting the partition on which to…
- PowerShellWindows 10Windows Server 2019
Invoke-WebRequest: Perform HTTP Requests, Download Files, Parse Web with PowerShell
March 11, 2024The Invoke-WebRequest cmdlet can be used to request HTTP/HTTPS/FTP resources directly from the PowerShell console. You can use this command to send HTTP requests (GET and POST), download files from…
- PowerShellWindows 10Windows Server 2016Windows Server 2019
Configuring Port Forwarding in Windows
March 16, 2024You can configure network port forwarding in all Windows versions without using third-party tools. Using a port forwarding rule, you can redirect an incoming TCP connection (IPv4 or IPv6) from…