A Deployment Pipeline Keeps Infrastructure Ducks in Their Rows

IT infrastructure is difficult to get right. Whether to stand up a test/dev server or deploy a new app to production, infrastructure developers turn to a deployment pipeline to build IT. Ask a systems, database or network administrator to construct a build-release pipeline, and you might receive a blank stare. Software developers write the application code, which rides on top […]

Read more

Building PowerShell Scripts to Tie Disparate Products Together

The PowerShell scripting language has been called “automation glue” more times than I can count. It’s a fitting description if you’ve worked with it a lot. You may get the automation part of the title right away if you’ve merely heard of PowerShell and what it can do but the “glue” part may leave you wondering why. PowerShell was born at […]

Read more

Clear Cached Credentials With the cmdkey and PowerShell

Cached credentials make users’ lives easier, but they can be a security issue in Windows if a device falls into the wrong hands. IT can manage them on a large scale with PowerShell. Users like cached credentials because they are convenient and keep them from having to type in their login information every time they access their devices. For IT, […]

Read more

How to Accurately Enumerate Windows User Profiles With PowerShell

When trying to enumerate all profiles, you need a script that can account for a variety of scenarios. An everyday task that many admins must perform when working with both Windows server and client operating systems is listing all user profiles. A user’s profile is the usual place that every installed application, as well as Windows itself, places files and […]

Read more

Know How to Build a Logging Function in PowerShell

Keeping tabs on what a script is doing is critical for monitoring and debugging. Monitoring a script can be done in many different ways, but it is usually dependent on how it’s being executed. If a script is invoked interactively, meaning directly from the console using techniques such as Write-Verbose, Write-Information or Write-Host, it is useful because each command can display messages on the console […]

Read more

Learn to Code or Else: An Information Technology Professional’s Guide

System administrators and developers must come to the table and learn each other’s jobs, or they may find themselves without a job. Are you manually creating new virtual machines? Are you going into the Active Directory Users and Computers tool and creating, modifying or resetting passwords? If so, you may be looking for a new job in 5 years. In […]

Read more

Here’s How to Create PowerShell Functions for the Pipeline

By purposefully building PowerShell functions for the purpose of using the Pipeline, our functions can interact with each other in an easy to understand manner. PowerShell allows you to create functions that have a number of different purposes. Functions allow the scripter to combine like-code into building blocks which can then be used to build even larger functions or scripts. […]

Read more

Measure Objects in PowerShell with the Measure-Object cmdlet

According to the help content, Measure-Object ‘calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text.’ This is a vague description of what this command can do, so let’s dive into that and go over a few contexts where using the Measure-Object command might make sense. Peter Drucker, a legendary […]

Read more
1 2 3 48