PowerShell

LATEST

ab7857694658ddefff5955b1882c329314990540 1280x720 1

How to Manage Windows Update Using PowerShell

Last Update: Jun 20, 2022

In this article, I will look at both Microsoft’s Windows Update provider for PowerShell in Windows Server 2019. And I’ll show you how to use the third-party PSWindowsUpdate PowerShell module that most system administrators still prefer to use. Microsoft’s Windows Update PowerShell provider Microsoft’s Windows Update PowerShell provider (WindowsUpdateProvider) comes preinstalled in Windows Server 2019…

View Article

How to Add Computers to a Domain Using PowerShell

Last Update: Jun 20, 2022

In this quick Ask an Admin, learn to use PowerShell to join one or more computers to an Active Directory domain.

View Article
PowerShell

How Can I Delete a File or Folder from the Command Line Using Windows PowerShell?

Last Update: Jun 20, 2022

Discover how to use PowerShell to delete files and folders in this Ask an Admin. Find out how to remove all MP3 files, filter, take out .txt files and more.

View Article

PowerShell Problem Solver: Identify Folders with Blocked Inheritance Using PowerShell

Last Update: May 03, 2022

In this PowerShell Problem Solver, Jeff Hicks shows us how to leverage PowerShell to identify, enable, and reset folders with blocked inheritance.

View Article

Consolidating File Servers with PowerShell and Robocopy

Last Update: May 03, 2022

File Servers – We all have them in one form or another. These servers tend to grow exponentially more critical than what we imagined when deploying them. They were also quite cumbersome to migrate until Microsoft released its Storage Migration Service. But there is one important scenario that it does not cover – consolidating multiple…

View Article

Testing URIs and URLs with PowerShell

Last Update: Apr 21, 2022

Learn how to test URIs and URLs with PowerShell in this how-to article by Windows PowerShell Microsoft MVP Jeff Hicks.

View Article

Using PowerShell Invoke-RestMethod and Invoke-WebRequest with REST APIs

Last Update: Apr 21, 2022

With the advent of cloud services, PowerShell is more important than ever. The Invoke-RestMethod and Invoke-WebRequest functions of PowerShell allow easy interactions with an API and aid in creating complex workflows.

View Article

How to Copy Files with PowerShell Remoting

Last Update: Apr 21, 2022

Jeff Hicks shares tips for copying files between computers with PowerShell remoting, as an alternative to the common system administrator task.

View Article

How to Check if a PowerShell Script is Running with Admin Privileges

Last Update: Apr 04, 2022

Use a .NET API to check if the user running your script is a local administrator.

View Article

Create PowerShell Scripts Faster with the Script Browser and Analyzer

Last Update: Apr 04, 2022

Want to browse the TechNet script gallery inside the PowerShell ISE? Discover the new plugin for PowerShell ISE that adds a script browser and analyzer.

View Article
Go to page