PowerShell –Managing the Datadog Cloud Service

PowerShell to the rescue again! Datadog is a Cloud service for aggregating real-time metrics, events and logs from all your servers. The easiest way is to install an agent and let it report via HTTPS directly to the internet or via a web proxy. Another cloud aggregation solution that I’m more familiar with is Microsoft Operations Management Suite (OMS). Both of these services provide access via PowerShell.

Read More

Nutanix Technology Champion #NutanixNTC for 2017 #MVPHour

  I have been working with HyperConverged Infrastructure for the better part of 2.5 years now.   As such I had my chance to do my very first Nutanix Hyper-V Deployment over the summer.   The platform teams, support engineers, and everyone at Nutanix have been super helpful in learning Prism and the Platform.   I am likely one of the only ones that specializes on the Hyper-V Platform for Nutanix which is fine… having been a Hyper-V Evangelist since it came out I know how this goes.   Give it a few more years and we will have...

Read More

Microsoft OneDrive Expert #MODE Charter Member #mvphour

Today I had a rather exciting email come in from Microsoft. It turns out that I was selected to be a Charter Member in Stephen Rose’s @stephenlrose program called the Microsoft OneDrive Expert. As a Microsoft MVP and Community Influencer this is not the only program that I have been fortunate to be selected for. To date I have the following Community Awards: Microsoft MVP, Veeam Vanguard, 5Nine Software Evangelist, Nutanix Technology Champion, and now this amazing one called MODE.   This is going to very cool to hang out with some more of the product teams at Microsoft...

Read More

Deploying Storage Spaces Direct – Part 12 #StorageSpacesDirect #mvphour

In Part #11 of this blog series we chatted about expanding an existing Virtual Disk and respective Volume. Now what about expanding the Storage Pool itself. Let’s say for argument sake that you have run yourself out of space in your Storage Pool. Luckily you still had some room left in your Storage Enclosure so you have decided to add some additional disks. This blog post will show you how to add additional storage to your Storage Pool by simply adding additional disks.   Expand the Pool by adding more disks So now the time has come to expand...

Read More

Deploying Storage Spaces Direct – Part 11 #StorageSpacesDirect #mvphour

One of the most common administration tasks of a SAN Administrator is expanding a LUN or Volume. In this 11th part of our Blog Series on Storage Spaces Direct we will look at the process to expand an existing Virtual Disk and corresponding Volume. Expand a Virtual Disk   Let’s assume that our volume size when we initially created our Storage Spaces Direct Virtual disk was 200 GB configured in a 2-Way Mirror. This would mean that we would be consuming 400 GB of space from the Storage Pool. The day has come that we have run out of...

Read More

SMB Special: #StorageSpacesDirect on Fanless Xeon Servers #MVPHour @ecabot

I had a chance to watch this amazing session delivered by one of our Principal Consultants Emile Cabot at MVPDays 2017. He took some Fanless Xeon Servers and built them live during this 45-minute session and did an absolutely amazing job. This session was a spin off from the Project Kepler design that Microsoft has at Ignite 2016. You can check it out here it is also up on Channel 9 if you want the direct link.     https://channel9.msdn.com/Events/MVPDays/MVPDays2017RoadShow/SMB-Special-Storage-Spaces-Direct-on-Fanless-Xeon-Servers   No PowerPoint here! At this session, we’re going to take Storage Spaces Direct to commodity hardware, and build two...

Read More

Deploying Storage Spaces Direct – Part 10 #StorageSpacesDirect #mvphour

Sometimes after we have configured a piece of infrastructure in production it would be nice to see what we have done right? Well, unfortunately for Storage Spaces Direct a lot of these functions are still trapped inside of the PowerShell Providers that are exposed. So, we need to work a little bit of magic to get the information that we want out. Fortunately for you there are some extremely smart people that work on the Microsoft Storage Team and one of them is Cosmos Darwin. He has authored the amazing Script ShowPrettyLittleVolumes and I use it all the time...

Read More

Deploying Storage Spaces Direct – Part 9 #StorageSpacesDirect #mvphour

We have a Storage Spaces Direct Cluster now what? Wouldn’t it be nice to maybe create a HyperConverged Virtual Machine on it or present some storage for a Scale out File Server (SOFS). Well fortunately we have another Good News Scenario for you. Guess what it is?   ………..   Is the suspense killing you ? It only takes a single line of PowerShell to make this magic happen. So let’s have a look shall we.         Provision Storage Virtual Disks (CSV)   As we are in only a 2 node S2D configuration we cannot take...

Read More

Deploying Storage Spaces Direct – Part 8 #StorageSpacesDirect #mvphour

So, the day has finally arrived and you have successfully completed the first 7 parts of this Blog Series. Now you actually want to deploy Storage Spaces Direct. Well this is a good news bad news scenario. Let’s start with the good news:   Good News There is really only one PowerShell CMDlet to run. Way to go Microsoft I like Easy. Bad news You are about to check out a feature that is so cool that you are going to want to spend more money on cooler hardware. (There really isn’t any bad news) Let’s get this party...

Read More

Deploying Storage Spaces Direct – Part 7 #StorageSpacesDirect #mvphour

Prior to deploying Storage Spaces Direct we should probably make sure that our Storage Subsystem is healthy and ready to go. Here are some quick PowerShell commands that you can use to validate your S2D Configuration. Validate the Cluster prior to Configuring Storage Spaces Direct (S2D)   It is important to run a few validation tests prior to enabling S2D. This can be done by running the following PowerShell commands. get-storagesubsystem   Get-StorageSubSystem View   You want to ensure that the OperationalStatus is OK.   get-physicaldisk Get-PhysicalDisk View   You want to ensure that all of the disks that...

Read More

Deploying Storage Spaces Direct – Part 6 #StorageSpacesDirect #mvphour

Before we can successfully build our Windows Failover Cluster we need to assign some IP Addresses to our nodes and their respective virtual adapters. Let’s do this now   Configuring the IP Addresses for the S2D Nodes #Configure S2DNode1 New-NetIPAddress -IPAddress 10.10.199.1 -PrefixLength 16 -InterfaceAlias "vEthernet (SMB_3)" -DefaultGateway 10.10.0.254 Set-DnsClientServerAddress -InterfaceAlias "vEthernet (SMB_3)" -ServerAddresses 10.10.1.252 New-NetIPAddress -IPAddress 10.11.0.1 -PrefixLength 24 -InterfaceAlias "vEthernet (SMB_4)" New-NetIPAddress -IPAddress 10.12.0.1 -PrefixLength 24 -InterfaceAlias "vEthernet (HB)" New-NetIPAddress -IPAddress 10.13.0.1 -PrefixLength 24 -InterfaceAlias "vEthernet (LM)" #Configure S2DNode2 Invoke-Command -ComputerName S2DNode2 -ScriptBlock { New-NetIPAddress -IPAddress 10.10.199.2 -PrefixLength 16 -InterfaceAlias "vEthernet (SMB_3)" -DefaultGateway 10.10.0.254 Set-DnsClientServerAddress -InterfaceAlias "vEthernet...

Read More

PowerShell – Updating the .DEFAULT and All User Profiles Registry

There are times that you may need to push out a change to all existing user profiles and to new profiles that are created on a system. I’ve seen a few PowerShell scripts floating around out there, but they didn’t seem to work for Windows 7 SP1. You may or may not be surprised, but there are many organizations that still run Windows 7. The script is actually pretty simple. Here is the breakdown of the script: Enumerate all the existing user profiles Add the .DEFAULT user profile to the list of existing user profiles Iterate through all the...

Read More

Deploying Storage Spaces Direct – Part 5 #StorageSpacesDirect #mvphour

As promised this is a bonus post that will take us into a bit deeper dive on the core Networking stack of Windows Server 2016. Specifically, the new SET Team and RDMA Configurations required for Storage Spaces Direct. Configuring Datacenter Bridging   The following Windows PowerShell script provides an example of how to enable and configure Data Center Bridging (DCB) for SMB Direct on S2DNode1: # # Turn on DCB Install-WindowsFeature Data-Center-Bridging # # Set a policy for SMB-Direct New-NetQosPolicy "SMB" -NetDirectPortMatchCondition 445 -PriorityValue8021Action 3 # # Turn on Flow Control for SMB Enable-NetQosFlowControl -Priority 3 # # Make...

Read More

Deploying Storage Spaces Direct – Part 4 #StorageSpacesDirect #mvphour

Post-Configuration of the S2D Nodes With the nodes now fully turned on we can connect the S2D nodes to complete their final configuration tasks. It normally takes less than 1 hour to complete the entire post configuration. You can further automate this entire process by using the Microsoft Deployment Toolkit (MDT) or SCCM. Our nodes were pre-configured with an evaluation build of Windows Server 2016 Data Center Edition trial.   At a high level the remaining tasks are as follows: Change the names of the HyperConverged nodes Join the S2D nodes to a Domain (this is required if the...

Read More

Exporting SCCM Boundaries and Boundary Group Information

Working with SCCM 2012 R2 and SCCM 2016, there are PowerShell cmdlets to export several types of objects from System Center Configuration Manager (SCCM). Alas, the boundary group Cmdlets just aren’t there yet. Here are a few examples of SCCM objects that support exporting. CommandType Name Version Source Cmdlet Export-CMAntimalwarePolicy 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMApplication 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMBaseline 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMCollection 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMConfigurationItem 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMDriverPackage 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMPackage 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMQuery 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMSecurityRole 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMTaskSequence 5.0.8373.1189 ConfigurationManager Cmdlet Export-CMWindowsEnrollmentProfile 5.0.8373.1189 ConfigurationManager Here are the commands that work with...

Read More

Deploying Storage Spaces Direct – Part 3 #StorageSpacesDirect #mvphour

In this third part of our Blog Series on Deploying Storage Spaces Direct we will talk about probably the most important configuration – Network. Storage Spaces Direct relies on having a solid, high performing, and reliable network configuration in order to operate optimally. Microsoft has extended the capabilities of a feature called Remote Direct Memory Access or RDMA with Windows Server 2016. This feature enhancement is one of the key drivers that has enabled Microsoft to step into the HyperConverged arena with market leaders such as Nutanix and Simplivity. So to ensure our network is configured properly let’s dive...

Read More

Deploying Storage Spaces Direct – Part 2 #StorageSpacesDirect #mvphour

This second part of our series on Deploying Storage Spaces Direct will focus on the core Switch Configurations. For this blog post series, we have chosen to use Cisco Nexus Switches and given the running configuration. Obviously, not everyone is going to be using Cisco Switches for their infrastructure. The nice thing about this post is that it is easy enough to configure other switches with a good running config example.   So let’s get started then….   Cisco Nexus 9372x Switch Configuration Windows 2016 uses a feature called SMB Direct, which supports the use of network adapters that...

Read More

Deploying Storage Spaces Direct – Part 1 #StorageSpacesDirect #mvphour

Deploying Storage Spaces Direct (S2D) The day has arrived for your company to start deploying its newly acquired HyperConveged Infrastructure from SuperMicro. Fortunately, the Out of Box experience process has been greatly simplified and a near instant-on infrastructure can be achieved. Your Vendor has pre-imaged all of the nodes with a copy of Windows Server 2016 Datacenter edition. As you follow this blog series we will walk you through the post-configuration steps necessary to deploy a hyper-converged Storage Spaces Direct configuration.   One box arrived today at your company’s headquarters in Calgary, AB, Canada. Currently all that is configured...

Read More

#1 Best Selling Book – Master PowerShell Tricks Volume 2 – Free for the next 48 hours #PowerShell

Backed by popular demand #1 best-selling authors: Dave Kawula MVP – @daveKawula Thomas Rayner MVP – @mrthomasrayner Sean Kearney – @EnergizedTech Ed Wilson “The Scripting Guy”- @scriptingguys Mick Pletcher MVP – @mick_pletcher Allan Rafuse Future MVP – @AllanRafuse     Have decided to give their book Master PowerShell Tricks Volume 2 away for free as a limited Amazon Kindle Promotion.   So, grab you copy today for FREE:   http://amzn.to/2mOoqNY (Or just Search Amazon for Master PowerShell Tricks Volume 2     This book is currently ranked #1 on Amazon Kindle in several categories.   We really hope you...

Read More

#MVPDays – Storage Spaces Direct – Getting your feet wet

Today at the #MVPDays Vancouver we talked to people who had never heard of Microsoft Storage Spaces Direction (S2D). It’s hard to believe, but yes there are people out there that haven’t had the chance to get up to date on the latest Windows Server 2016 Operating System. This is usually due to meetings, ongoing projects and running older version of the Windows OS. So what were the big take aways from the session?

Read More

Opening/Upgrading SCCM 2012 R2 PowerShell

Nothing truly new here, but it is a new year and a new environment for me. I’ve just sat down at my seat at a customer’s location and wanted to inventory a bunch of things inside their System Center Configuration Manager 2012 R2 CU3 environment. Regardless it’s older and we’re in the process of migrating to Configuration Manager 2016! Exciting times ahead! In any case, I installed the Configuration Manager 2012 R2 console on my Windows 7 laptop (64-bit). See where things are going. We’re not running the latest and greatest… yet 😉

Read More

The Ultimate Veeam Production-Replica Test Lab Step by Step

As a consultant, I implement many different solutions, be they pilot, production, or proof-of-concept. In any organization of any size, it is important to test the implementation, functionality, and management of a new solution before the production environment is touched. To do this we use a test lab. Generally, there are three types of labs: Sandbox: A sandbox is typically isolated, with internet connectivity separate from the production network, and contain a series of VMs with any mix of forests/domains/services. They are often for educational purposes and do not contain any representation of the production environment. Several people have...

Read More

The Worlds Largest Availability Conference – VeeamOn, May 16-19, New Orleans

2017 is a big year for IT infrastructure. Non-volatile SSDs are readily available, Azure datacenters are cropping up in all corners of the planet, and HyperConverged Infrastructure is free to everyone running Windows Server 2016. A lot of companies have been keeping existing systems running for a few years now, as IT budgets were severely cut due to the economy. Hardware, along with operating systems, are due for a refresh. Now oil is on the rise, the government is bloating the deficit with financial incentives, and a production outage has suddenly opened the door to some new upgrades. Time...

Read More

GPO/GPP – Control the Local Administrators Group

One of the issues that data center or even any Windows Administrator has is managing the local administrators group on each and every one of their domain members. There is a lovely security setting that has been around for many years, Restricted Groups, which can be controlled via local security policies of via GPO. This works, but has a few pitfalls as you’ve probably run into once in a while. Keep reading to see how you can solve some of them with Group Policy Preferences.

Read More

Master PowerShell Tricks Volume 2 – Now Available on Kindle

This time with the help of these amazing Co-Authors we have released another amazing volume of Master PowerShell Tricks.   This time we have some new MVP’s that helped out and in no particular order here they are:   Thomas Rayner – MVP and Honorary Scripting Guy Will Anderson – MVP and Honorary Scripting Guy Mick Pletcher -MVP Allan Rafuse – Future MVP Myself – Dave Kawula – MVP And of course, the legendary Ed Wilson – The Scrpting Guys at Microsoft You can get it in paperback or on kindle today. Thanks, Dave...

Read More

Translate our Blog

Subscribe to our Blog

Authors

Microsoft MVP

MODE

Nutanix NTC

Veeam Vanguard

Follow me on Twitter

Follow @AllanRafuse on Twitter