Microsoft Azure vs. Amazon Web Services: Cloud Comparison

Is your enterprise considering moving to cloud-based Infrastructure as a Service? Amazon and Azure are the two primary players, but which one is right for the needs of your business? It’s been 10 years since the introduction of Amazon Web Services (AWS). In that time a lot has changed about AWS and about the competitive landscape around it. One of […]

Read more

Essential PowerShell Cmdlets For Auditing And Maintaining Storage

PowerShell v5 offers some new features for managing storage, building on the capabilities that were available in PowerShell 4. Here are some of the most useful cmdlets for auditing and maintaining storage. In the days before PowerShell, managing disks via the command line was possible, but it wasn’t easy and it certainly didn’t feel like a unified experience. PowerShell makes […]

Read more

List and Execute SQL Server Stored Procedures with PowerShell

Problem A common task many Database Administrators (DBA) perform on a regular basis is working with SQL Server stored procedures. Stored procedures allow the DBA to automate a certain task by bundling up a query and executing as a single set of logic. This is considerable progress in including more automation, but why not automate the automation? To create a […]

Read more

DSC vs. PowerShell: Changing File System Permissions

Should I use straight PowerShell code or Desired State Configuration (DSC)? For those into Windows automation, this is a common and legitimate question because the two technologies are so closely related. After all, DSC is technically called PowerShell Desired State Configuration. I used changing permissions on a file to illustrate the differences between the two. I focused on DSC in […]

Read more

Silently install VNC on remote computers with PowerShell

Virtual Network Computing (VNC) allows you to remotely control computers. However, before you can work with VNC, you first have to install it on remote computers. You can do this with PowerShell. VNC is one of the most popular remote desktop control products out there. It’s free and comes in many different flavors that administrators can pick from. Regardless of […]

Read more

How to Automate Software Package Installations in Server 2016 via PowerShell

Here are some of the ways you can automate software package and modules installations in Server 2016, using some of the new package management cmdlets that come with PowerShell. With the introduction of services like NuGet, Choclatey, PSGet and Package Manager, Windows finally has a great way of delivering software packages and modules directly from the internet or through an […]

Read more

How To Customize The Desired State Configuration (DSC) Local Configuration Manager (LCM)

In this article, we’re going to cover what makes up the LCM and how you can tweak it to behave in a way that matches your organization’s goal of how to apply configurations with DSC. In the examples provided, we’ll be using PowerShell v5. If you’re a Windows shop managing lots of Windows servers, using Desired State Configuration (DSC) to […]

Read more

Finding function default parameters with PowerShell AST

The automatic variable $PSBoundParameters contains all bound functions parameters and allows you to pass parameters to another function without redefining them. But how can you pass default parameters? With the help of PowerShell Abstract Syntax Trees (ASTs). When writing code in PowerShell, you’ll occasionally have the need to pass all parameters from a function directly to another function reference inside. […]

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