Let’s consider some ways to block access to the specific websites, domain names, URLs or IP addresses in Windows without using third-party tools. In our case, we will try to…
Using PowerShell for System Administration and Automation Tasks
When creating new user accounts in Active Directory, an administrator sets a unique initial password for each account and tells it to a user (usually at the first logon a…
- PowerShellWindows 10Windows Server 2016
DNS Resolution via VPN Not Working on Windows 10
September 20, 2022The DNS servers and suffixes configured for VPN connections are used in Windows 10 to resolve names using DNS in the Force Tunneling mode (“Use default gateway on remote network”…
- PowerShellWindows 10Windows Server 2016
How to Manage NTFS Permissions with PowerShell?
January 17, 2020In order to manage access to files or folders in Windows, a special ACL (Access Control List) is assigned to an NTFS file system object (a file or a folder).…
If you need to run a PowerShell script with the administrator privileges, you can check if the current powershell.exe process has the elevated permissions right in your PS code.
- ExchangePowerShell
Get-MessageTrackingLog: Search Message Tracking Logs on Exchange Server
October 28, 2021You can use the Get-MessageTrackingLog cmdlet in the Exchange Management Shell to analyze mail flow, message forensics and to get different information about messages sent or received by a specific…
- Hyper-VPowerShellWindows Server 2019Windows Server 2022
How to Backup Hyper-V Virtual Machines (Tutorial)
November 9, 2023This article discusses the specifics of organizing virtual machine backups in the Microsoft Hyper-V environment. We’ll look at the basic requirements for Hyper-V backup solutions, backup strategies, and the main…
Any PowerShell script can be transformed to a real Windows service that runs in the background and starts automatically during your server boot. You can create a Windows service using…
- PowerShellWindows Server 2012 R2Windows Server 2016
How to Measure Storage Performance and IOPS on Windows?
October 28, 2021One of the main metric, which allows to estimate the performance of the existing or designed storage system is IOPS (Input/Output Operations Per Second). In simple terms, IOPS is the…
When managing user access permissions to various resources in an Active Directory domain, an administrator may have to create dynamic AD user groups. Dynamic groups make it easier for an…