The majority of Windows administrators, who are familiar with PKI, know about the MakeCert.exe tool, which allows to create a self-signed certificate. This tool is part of…
In this post we will learn what PowerShell versions exist, what is the difference between Windows PowerShell and PowerShell Core, and how to check the PowerShell version installed…
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…
In this post we will consider how to install and configure MPIO on Windows Server 2016/2012 R2. MPIO (Multi—Path Input Output) is a technology that allows to build fault-tolerant transport…
Windows file server administrators often have to force close the shared files that are open simultaneously by multiple users. This usually happens if the desktop…
Active Directory user accounts have a special thumbnailPhoto attribute in which a user’s photo can be stored as binary data. Outlook, OWA, Lync/Skype for Business, SharePoint (and…
In this post I’ll talk about Active Directory domain controller backup and we'll learn how to configure automatic AD backup using PowerShell and built-in Windows…
In this post, I’ll show you how to track user account lockout events on Active Directory domain controllers, determine from which computer and program the…
I had an idea to write a simple PowerShell script to automatically block (blacklist) IP addresses, on which RDP brute-force attempts or continuous RDP attacks…
This post gives the basics on how to manage settings and rules of built-in Windows Defender Firewall with Advanced Security using PowerShell. We'll review how…
You can manage Windows services not only from the services.msc snap-in or sc.exe command line tool, but also using PowerShell. In this post we’ll consider…
In Windows Server 2012R2/2016/2019, you can use the graphical Server Manager console to install and remove server roles and features. However, in most cases you…
You can use the Get-ADDomainController PowerShell cmdlet to get information about the domain controllers in Active Directory. This cmdlet is a part of PowerShell Active Directory module and requires…
Windows Hyper-V Server is a free hypervisor platform by Microsoft to run virtual machines. In this post we’ll look at how to install and configure the…
Most administrators use the PowerShell ISE (Integrated Scripting Environment) to build their PowerShell scripts. But by now Microsoft has almost stopped developing PowerShell ISE and recommends using…
A Windows administrator can use the good old Dnscmd cli tool or DNSServer module for PowerShell to manage DNS zones and records. In this post we’ll cover the basic…
The Set-ADComputer cmdlet allows you to change the attributes of a computer account object in Active Directory. In this post, we’ll show how to add current logged-in…
The Active Directory for Windows PowerShell module is one of the main tools to administer domain, manage objects in Active Directory and get different information about AD…
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…
It is very convenient to use the special PSWindowsUpdate module for PowerShell to manage Windows updates from the command line interface. The PSWindowsUpdate is not integrated into…
You 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…
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…
On Windows workstations and servers, especially on RDS (Remote Desktop Services) servers, there is a regular need to remove old (unused) user profiles from C:\Users.…
Get-ADUser is one of the basic PowerShell cmdlets that can be used to get information about Active Directory domain users and their properties. You can use…
One of the main metrics, 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…
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…
You can use PowerShell to generate QR codes to share with your friends or colleagues. Let’s consider an example of using QRCodeGenerator PowerShell module to generate a …
Historically, the WindowsUpdate.log plain text file has been used to analyze the operation of the Windows Update agent and service. However, the Windows Update logs in Windows…
Starting from Windows 10 1809, Microsoft has changed the way to install the Remote Server Administration Tools (RSAT) package in desktop OSs. Previously, after each…
Outlook rules allow the users to create different conditions to process the incoming email messages. You can move emails from specific senders that meet certain…
Test-NetConnection – a ready-to-use cmdlet to check network connection has appeared in PowerShell 4.0 (Windows 2012 R2, Windows 8.1 and newer). You can use this cmdlet…
In this article we’ll consider how to change (or reset) a users’ Active Directory passwords using the PowerShell cmdlet Set-ADAccountPassword. Most administrators usually change (reset) AD…
Administrators often have to store passwords in automation scenario directly in the body of PowerShell scripts. As you know, it is extremely insecure when used…
You can use the PowerShell cmdlet Get-ADComputer to get various information about computer account objects (servers and workstations) from Active Directory domain. This is one of the…
In this article, we’ll consider how to add (inject) drivers into the ESXi 6.7 installation ISO image. Despite VMWare ESXi image is certified (supported) for…
In this article we’ll look at the disk, partition and volume management from PowerShell console. You can perform from PowerShell all the operations of managing…
The warning ‘Virtual Machine disks consolidation is needed’ in the Summary tab of a virtual machine in the VMware vSphere console means that when deleting…
In Windows environment, each domain and local user, group and other security objects are assigned a unique identifier — Security Identifier or SID. It is an SID, but…
If several Wi-Fi networks are available, Windows 10 automatically selects a wireless network with the strongest signal (no matter what the speed of this connection…
In the Exchange Server 2010 SP1 (and newer), special PowerShell cmdlets appeared: New-MailboxImportRequest and New-MailboxExportRequest that allow you to import or export the contents of the Exchange mailbox…
An Exchange server allows an administrator to search user mailboxes in the databases and delete certain emails (or other items) from the mailboxes. For example,…
Recently Microsoft has added a standard PowerShell module to manage Windows local users and groups called Microsoft.PowerShell.LocalAccounts. Earlier you had to manually download and import this…
After updating Windows 10 computer on my computer from 1803 to 1809 (October Update), the installed RSAT tools (Remote Server Administration Tools) disappeared (this always…
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are ok with this.AcceptPrivacy Policy