dcsimg

The Infamous Double-Hop Problem in PowerShell

In this article, we will discuss how to get around the infamous double-hop problem in PowerShell. It's easier than you think. … [Read more...]

Defrag This: Prepping For Black Hat and DEF CON

It's conference season, and we're right around the corner from two of the biggest InfoSec conferences in the world: BlackHat and DEF CON. In this episode of Defrag This our fearless hosts discuss their preparations for the hacker cons, what they're looking forward to, and how they're gonna keep their identities from being stolen.  … [Read more...]

3 PowerShell Tips for Systems Administrators and Developers

In this article, we provide three tips to help you become more efficient with PowerShell commands. We will specifically cover how to streamline your efforts in searching for text inside of strings, transforming MSQL data into both XML and JSON, and building XML schemas. … [Read more...]

A Sysadmin Survival Guide for Sysadmin Day 2018

Today marks the 18th Sysadmin day since it was first founded by Ted Kekatos on July 28th, 2000. In honor of Sysadmin day, we present to you the Sysadmin Survival Guide, a collection of the best sysadmin resources from here at Defrag This aimed at giving you a fighting chance to make it to another sysadmin day. … [Read more...]

How to Create a Computer Inventory Script in Python for Windows

Basic details of your computer like operating system and version, memory, network adapter and hard drive are never stored in one central location. You always have to go clicking around for it. But if you've got Python installed, we can build a script that collects all of that information and returns all of the details right at the console. … [Read more...]

Primed for Failure — How to Avoid Amazon’s Mistakes

Amazon’s heavily-promoted Prime Day event started off with Amazon falling flat on its face right out of the gate. Their site was non-responsive for hours with would-be shoppers getting served pictures of dogs instead of the amazing deals they were promised. Real-time web status service downdetector.com shows an astonishing 24,278 failure reports right after launch. … [Read more...]

How to Build a Function in PowerShell

Functions are a common occurrence in PowerShell and to truly understand the PowerShell language, it's important that you know how functions work. In this article, we're going to show how a PowerShell function evolves from basically nothing all the way to having parameters using validation attributes.  … [Read more...]

How to Build a Function in PowerShell

Functions are a common occurrence in PowerShell and to truly understand the PowerShell language, it's important that you know how functions work. In this article, we're going to show how a PowerShell function evolves from basically nothing all the way to having parameters using validation attributes.  … [Read more...]

Auditing Software with Chocolatey

Knowing what software is installed on your desktops and servers is crucial in an organization. This is common sense to sysadmins. We like to know information such as installation date, version and who installed it. By default, in Windows, you can get some of this information, but not all of it. It also helps to find packages that need to be upgraded to newer versions. … [Read more...]

What is SaltStack?

SaltStack/Salt is a configuration management (CM) and orchestration tool that enables system administrators to automate server provisioning and management tasks. Salt is comparatively a newcomer in the CM segment as it was launched in 2011, at a time when Puppet and Chef were ruling the CM space. … [Read more...]