By default, traffic in a PowerShell Remoting session is encrypted no matter whether HTTP (TCP/5985) or HTTPS (TCP/5986) transport protocol is used. Anyway, all traffic is encrypted using AES-256 key.…
Using PowerShell for System Administration and Automation Tasks
- PowerShellWindows 10Windows Server 2019
Grep in PowerShell Using the Select-String Cmdlet
April 5, 2022In Linux/Unix, the grep command is used to find a text (string) or errors in a log file. Grep allows you to find/select any data in the output of another…
- PowerShellWindows 10Windows 11Windows 7Windows Server 2019
How to Clean Up or Reset COM Port Numbers in Windows
June 8, 2023When you connect a new COM device or a USB device to your computer (USB modem, mobile phone, Bluetooth adapter, serial to USB converters, etc.), Windows detects it using Plug-n-Play…
- ExchangeMicrosoft 365PowerShell
Mailbox Size and Quotas in Exchange 2019/2016 and Microsoft 365
February 20, 2023An on-prem Exchange or cloud Exchange Online (Microsoft 365) administrator must control user mailbox sizes. In this article, we’ll show how to get current mailbox sizes and set mailbox quotas…
The Settings app begins to play an important role in managing and configuring Windows 10 operating system (and even more so Windows 11). The classic Windows Control Panel is no…
- Hyper-VPowerShellVirtualizationWindows Server 2016Windows Server 2019
Poor Network Performance on Hyper-V VMs in Windows Server 2019
February 20, 2023Several times I came across a situation when files were copied much slower from/to virtual machines on a Hyper-V host running Windows Server 2019 than in a VM of the…
- PowerShellWindows 10Windows 11Windows Server 2019
Enter-PSSession: Running Remote Commands in Interactive Shell
September 15, 2022Enter-PSSession cmdlet allows you to establish a persistent interactive PowerShell session with a remote computer. All commands you enter in your command prompt are executed on the remote computer. In…
- ExchangeMicrosoft 365PowerShell
Forwarding Emails to an External Address in Microsoft 365 (Exchange Online)
September 15, 2023By default, cloud-based Exchange Online (Microsoft 365) prevents automatic external email forwarding using Outlook rules or enabled mailbox forwarding.
- PowerShellWindows 10Windows Server 2019
Installing PowerShell Modules in Offline Mode (Without Internet Access)
February 28, 2022Most popular PowerShell modules are installed online from the official PowerShell Gallery (PSGallery) repository using the Install-Module command. However, you won’t be able to install a PowerShell module if your…
- PowerShellWindows 10Windows 11Windows Server 2022
Find Windows Version, Edition, and Build from ISO or WIM file
December 29, 2021In this article, we’ll show how to use DISM and PowerShell to find out which Windows images (versions, editions, builds, language pack) are stored in ISO or WIM files. If…