PowerShell


Managing Arrays in PowerShell

How to read, add and modify array elements -- with a few curve balls along the way.

Next PowerShell Core Version Will Just Be Called 'PowerShell 7'

Windows PowerShell will soon be replaced by a new Core product called "PowerShell 7," Microsoft announced last week.

How To Query and Parse a REST API with PowerShell

Adam takes a close look at the Invoke-WebRequest and Invoke-RestMethod commands.

How To Work with Environment Variables in PowerShell

Windows environment variables give system administrators access to a plethora of information about the operating system. Here are some ways to manage them.

Enumerate File Shares on a Remote Windows PC with PowerShell

Here's how to quickly figure out what file shares exist on a remote computer, as well as what information is configured on them.

How To Get Notified When a User Is Added to Active Directory

Adam walks through how to proactively monitor an AD group for changes and execute a PowerShell script to take action when that happens.

Using Robocopy To Transfer Files

The GUI is fine if you're only moving a few files, but for larger and more complex migrations, this built-in Windows utility is the way to go.

Installing Windows Admin Center on Windows Server Core

Windows Server Core is the epitome of Microsoft's shift toward GUI-free. But since you can't beat a good dashboard, here's how to access the GUI remotely.

Finding Active Directory FSMO Role Holders with PowerShell

Since FSMO roles are typically spread out among various domain controllers, it's not always easy to figure out which domain controller holds a particular role. Luckily, we have PowerShell and the AD module to make this task a breeze.

Manage Active Directory User Accounts with PowerShell

If you manage just a few user accounts, you could get by with AD Users and Computers or the AD Administrative Center. But if you're in a large organization, you can use PowerShell to automate the identity management process.

How To Quickly Test a SQL Connection with PowerShell

When creating automation scripts to discover, add, update or remove records from a remote SQL database, you need to make sure your script can successfully connect to the database.

Using PowerShell To Copy Active Directory Users

It's not always the best idea to create Active Directory users from scratch. Your company likely has a standard "template" of attributes that are set for every domain user. So why are you still creating each one by hand?

Windows Compatibility Module 1.0.0 for PowerShell Core 6 Released

Microsoft last week released the Windows Compatibility Module 1.0.0 for PowerShell Core 6, allowing PowerShell Core 6 users to access modules that Microsoft hasn't yet added natively to the PowerShell Core product.

Set Up an Azure File Share Used as a Mounted Drive

Setting up a place to store files in the cloud isn't quite as easy as doing it on-prem. That's where Microsoft's Azure Files service comes in.

Creating an Azure SQL Database with PowerShell

When you need a SQL database fast, the cloud is the best way to go. Azure provides a SQL database as a PaaS that eliminates the need to get an entire SQL Server deployment up and running.

Most   Popular