Advanced PowerShell Functions: Upping Your Game

When writing large PowerShell scripts or modules, it will eventually become necessary to split up the code into modular pieces. Modularity can be achieved by using basic and advanced PowerShell functions. It also encourages good coding practices. One way to build modular code in PowerShell is to use functions. At their most basic, PowerShell functions allow you to compartmentalize code […]

Read more

How to Use the New FileShare PowerShell Cmdlets in Server 2016

The introduction of Windows Server 2016 and PowerShell v5 brought a lot of great new commands to manage your environments. Here are some of the more common cmdlets you might use. With the introduction of Windows Server 2016 and PowerShell v5 came a lot of great new commands to manage your environments. Some of those commands included cmdlets to manage […]

Read more

Review: Ansible shows the beef

At a time when the configuration management market was dominated by Puppet and Chef, an open source project called Ansible emerged with a simpler approach to automating IT environments. An agentless system that was easy to learn, Ansible quickly earned a name for itself. Before long, the developers behind the project formed a company to offer commercial support. That company […]

Read more

Update multiple SQL Server systems with PowerShell

In this article, I’ll show you how to create a tool in PowerShell that will allow you to update multiple SQL servers in one swath with a single command. Patches (service packs and cumulative updates) are periodically released from Microsoft. Judging by the importance of the data contained in databases, it’s critical that these servers are patched ASAP. How do […]

Read more

How to Use the IIS Administration PowerShell Cmdlets Server 2016

One of the most frustrating parts of managing IIS with PowerShell in previous versions of Windows was the IIS administration cmdlets. These cmdlets were included in the WebAdministration module and it was clear they had a lot of room for improvement. Thankfully, there is now relief. With the introduction of Windows Server 2016, Microsoft has given us a much improved […]

Read more

How to Copy Files into a Microsoft Azure Storage Account

When working with Microsoft Azure, you’ll inevitably come to a point to where you need to access material stored locally on premise. This might be a virtual disk in VHD format to use for Azure’s IaaS service, a few PowerShell scripts you need executing on your Azure virtual machines or maybe just some configuration files for your Azure websites. Regardless, […]

Read more

Create new Active Directory users with a PowerShell script

The PowerShell script discussed here allows you to create new Active Directory (AD) users, one of the most common tasks that IT admins tend to automate when it comes to employee provisioning. The reason is that this function meets all of the criteria necessary for automation. It’s a task that requires a lot of different, error-prone steps, such as ensuring […]

Read more
Powered by WP Tutor.io
1 2 3 4 38