Recently, I had to increase the size of multiple Windows virtual drives running on VMware. In this post, I...
Tag Archive for: powershell scripts
4sysops - The online community for sys and AI ops
Schedule user account closure with PowerShell
One of my many tasks as a system administrator is to close user accounts after they have left their...
Match physical drives to volume labels with PowerShell
The idea of this article and a script described came to me couple of days ago after one of...
Create a new folder and set permissions with PowerShell
The PowerShell script discussed in this post allows you to create a new folder, remove the inherited permissions, and...
Disable Windows 10 telemetry with a PowerShell script
Most of the Windows 10 telemetry settings rely on registry settings, services, and scheduled tasks. The PowerShell script introduced...
Approve WSUS updates with a PowerShell script
Although I am an engineer, I used to be responsible for approving Windows updates for the whole company. Can...
Create web apps and application pools in IIS with PowerShell
Today, I will continue my piece about IIS configuration using PowerShell. I will show you the script that allows...
Create IIS websites with PowerShell
If you’ve ever configured Microsoft Internet Information Services (IIS), you probably know how much time it takes to create...
Incremental file copy with PowerShell and xcopy
The little script discussed in this post helps you to incrementally copy large folders with the assistance of the...
Uninstall tamper-protected Sophos Antivirus with PowerShell
The Sophos Antivirus Endpoint tamper protection feature prevents even administrators from uninstalling the product. In this post, you will...
Map VMware virtual disks and Windows drive volumes with a PowerShell script
The PowerShell script (using PowerCLI) I discuss in this post maps virtual disks of a VMware vSphere host to...
Listing VMware vSphere host switch ports with a PowerShell (PowerCLI) script
The PowerShell script discussed here retrieves the network switch ports of VMware vSphere ESXi hosts using the Cisco Discovery...
Azure Storage Services – Blob storage
In the last part of our Azure Storage series, we discussed the Azure Storage Account, which is the actual...
Create an Active Directory report for Excel with PowerShell
The PowerShell script that I will discuss in this post allows you to create an Active Directory report and...
Add and remove an application in the Microsoft Deployment Toolkit (MDT) with PowerShell
In this article I will demonstrate how to add and remove an application with source files and an application...
PowerShell script to create local user accounts or local groups
The script discussed in this article comes in handy for creating local user accounts and groups using PowerShell. It...
PowerShell script to query file versions on remote computers
The script discussed in this article will allow you to query file properties, such as file version and product...
Change PowerShell console font size with a cmdlet
PowerShell doesn’t come with a built-in cmdlet for setting the font size. However, after you import the SetConsoleFont module,...
Unpin Windows Store app from Taskbar with PowerShell logon script
The Windows 8.1 Update pins the Windows Store app to the Taskbar by default. No Group Policy exists that...
Disable strict name checking with PowerShell
Strict name checking is a security measure implemented by Microsoft to only allow a server to respond to its...



















