The Remote Desktop port (RDP port) 3389 in Windows is a popular target for hackers. Thus, it might make...
Tag Archive for: powershell
4sysops - The online community for SysAdmins and DevOps
Install Windows Terminal without the Store (on Windows Server)

Microsoft has made its new terminal for multiple shells and command line programs available as a Store app. However,...
Create an Ansible inventory file with psansible.inventory and an Ansible inventory script in PowerShell

The PowerShell module psansible.Inventory allows you to simplify the dynamic creation of your Ansible inventory with the help of...
Start and stop a Hyper-V VM with PowerShell

In my last article, we created a new VM for Kali Linux, mounted the ISO file to its virtual...
How to create a Hyper-V VM with PowerShell

In this new post of my Hyper-V management series, I will explain how create a Hyper-VM with PowerShell.
Remove or block Chrome extensions with PowerShell

A comment on the previous post about deploying Chrome extensions posed the question of whether PowerShell could be used...
How to check the PowerShell version

It is important for an administrator to know what Windows PowerShell and PowerShell edition and version are installed on...
How to install the PowerShell Active Directory module

This guide has been updated for the latest Windows versions Windows 11 and Windows Server 2022. You'll learn how...
Create a Hyper-V virtual switch with PowerShell

In this second post in my series about Hyper-V management with PowerShell I will explain how to create a...
Install Hyper-V with PowerShell

In this first post of my series about managing Hyper-V with PowerShell I will outline how to install Hyper-V...
Export and import to and from Excel with the PowerShell module ImportExcel

The ImportExcel is a PowerShell module that allows you import to or export data directly from Excel spreadsheets without...
Create and read SCVMM custom properties with PowerShell and the VMM Console

In this guide, I will show you how to add, remove, and read Microsoft's System Center Virtual Machine Manager...
Chrome: Manage extensions with PowerShell

In this article, you will learn how you can manage extensions in Google's web browser Chrome in your organization....
Use PsExec and PowerShell together

In my previous article, we discussed how to use PsExec. As promised, today we will discuss the various use...
The PowerShell storage module: Initialize, partition, format, check disk usage, and resize disk

In my last post, I gave a general introduction to managing disks with PowerShell. Today, I will show you...
Windows PowerShell disk management

In this series I will introduce you to Windows PowerShell disk management. In today's post I review some general...
Windows security event log backup to SQL Server Express with PowerShell

My ADSecurityLogArchivingManager PowerShell module is a custom monitoring data retrieval tool that allows you to export security event logs...
Create and manage custom AD attributes with PowerShell

In this article, I will show you how you can extend the AD schema, create custom attributes, and manage...
Uninstall programs (remotely) with PowerShell

Microsoft offers several options if you want to remove installed programs by using the command line or a script....
PSReadLine is a module created by Microsoft to customize the command line editing environment in PowerShell. It offers numerous...