dcsimg

How to Create an Azure File Share with PowerShell

One of the nice things about having a simple Windows file share on a local file server is that the support to transfer files to/from it is built into Windows. Since the share is created for SMB, you can map Windows drives to it, navigate to it’s UNC path and so on. When the Microsoft Azure and other cloud offerings first came around, storage options were greatly increased allowing you to store … [Read more...]

3 Awesome Uses for the Get-VMHostStatus PowerShell Function

PowerShell master Jeff Hicks dishes up 3 ways to use the same custom command that gets status details of your Hyper-V Hosts. Lots of code for you to try! Read the post here: 3 Awesome Uses for the Get-VMHostStatus PowerShell Function … [Read more...]

How to Set up Azure File Sync

Azure File Sync is a fairly new service that allows users to sync on-premises files to Azure Storage. Think of this service as DropBox for business. Now, we can simply drop files into a folder on an on-prem server and automatically upload those files to Azure! … [Read more...]

How to Validate Infrastructure Changes Using PowerShell Pester Tests

Changes can make infrastructure better or can bring it to its knees. Change management is a crucial part of managing infrastructure in an IT pro’s world. When you do make changes, are you sure you changed the right setting? Are you sure that change you made didn’t affect something else you’re unaware of? … [Read more...]

How to Build a Hyper-V Performance Monitoring Tool with PowerShell

PowerShell master Jeff Hicks wraps up Hyper-V performance counters by building monitoring tools using nothing but native PowerShell commands and scripts. Read the post here: How to Build a Hyper-V Performance Monitoring Tool with PowerShell … [Read more...]

Managing Active Directory Fine-Grained Password Policies with PowerShell

Before Windows Server 2008, Active Directory password policies were done with default domain group policy, and there could only be one policy for an entire Active Directory domain. This is very limiting if users would like to give different policies to different users, which is a fairly common task to do. … [Read more...]

Building a Hyper-V Host Status Tool with PowerShell

PowerShell Builder Jeff Hicks shares his function for getting detailed health and status of a Hyper-V Host. You can use as-is or modify to meet your needs. Read the post here: Building a Hyper-V Host Status Tool with PowerShell … [Read more...]

How to Monitor VM Memory Pressure with PowerShell

PowerShell expert Jeff Hicks continues his exploration of displaying data from Hyper-V performance counters with a number of powerfull PowerShell techniques Read the post here: How to Monitor VM Memory Pressure with PowerShell … [Read more...]

How to Use Tags in a PowerShell Pester Test

One of Pester’s useful features is the Tags feature. A tag allows a developer to organize their tests based on different criteria and execute those tests accordingly. Tags allow a developer to manage large test suites that may take hours to run by only executing certain tests matching certain tags. … [Read more...]

A week in security (January 14 – 20)

Last week on the Malwarebytes Labs blog, we took a look at how the government shutdown is influencing cybersecurity jobs, Advanced Persistent Threats group APT10, the comeback of Fallout EK, the hosting of malicious sites on legitimate servers, and the Collection 1 data breach. Other cybersecurity news New Zealand-based cryptocurrency exchange Cryptopia has gone offline after suffering a security … [Read more...]