Quantcast
Channel: DexterPOSH's Blog
Browsing all 97 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

PowerShell : Use Case for MutEx

This post is to give you context on a practical use case of using MutEx in PowerShell.From the MSDN documentation for the MutEx class , MutEx is :"A synchronization primitive that can also be used for...

View Article


Image may be NSFW.
Clik here to view.

PowerShell : Getting started with MutEx

After setting up the context for the use case of the MutEx in previous post, it is time to do our homework on the topic.TheoryMutEx as per the MSDN documentation is:"A synchronization primitive that...

View Article


Image may be NSFW.
Clik here to view.

AzureStack : Few Install Gotchas

I started installing AzureStack by quickly skimming over the install instructions here.This not paying attention to the detail resulted in multiple failed deployments.The two very important aspects of...

View Article

Image may be NSFW.
Clik here to view.

PowerShell : Nested Remoting (PSRemoting + PSDirect)

Well the title is interesting enough, right ?I saw some interesting comments when I posted the below pic around the release of Server 2016 TP3 in our PowerShell FB group:In this post, I try to tell how...

View Article

Image may be NSFW.
Clik here to view.

Test connectivity via a specific network interface

Recently while working on a Private cloud implementation, I came across a scenario where I needed to test connectivity of a node to the AD/DNS via multiple network adapters. Many of us would know that...

View Article


Image may be NSFW.
Clik here to view.

PowerShell + AzureRM : Automated login using Service Principal

Do you remember ? In the older Azure Service Management model, we had an option to import the publish settings file and use the certificate for authenticating. It saved a lot of hassle.That method is...

View Article

Image may be NSFW.
Clik here to view.

PowerShell : check script running on nano

If you are authoring scripts targeting Nano server specifically then there are two checks which you can bake into (maybe add them to the default nano authoring snippet in ISE) them.Check the Operating...

View Article

Image may be NSFW.
Clik here to view.

PowerShell + Pester : counter based mocking

Recently, I have been writing/ reading a lot of Pester tests (both Unit and Integration) for infrastructure validation.One of the classic limitation hit during mocking with Pester is that you can have...

View Article


Image may be NSFW.
Clik here to view.

PowerShell + EAS + MSExchange : Autodiscovery

This post is going to be on how to use PowerShell to get an insight in the Autodiscovery process which the EAS Mail clients use.Second entry in my #PowerShell + #EAS posts:PowerShell + EAS : Getting...

View Article


Image may be NSFW.
Clik here to view.

Vagrant using Hyper-V

I have been looking at learning puppet for a while now and to try it out, wanted to quickly deploy a puppet master & node (Ubuntu) on top of my Hyper-V host.Below are the quick & easy steps I...

View Article

Image may be NSFW.
Clik here to view.

Gotcha with Puppet Windows client

Making a quick note to document the version gotcha encountered while running puppet client on Windows.I downloaded the latest and greatest available version of the puppet client on a Windows Server...

View Article

Image may be NSFW.
Clik here to view.

PowerShell : Trust network share to load modules & ps1

ProblemDo you have a central network share, where you store all the scripts or PowerShell modules ?What happens if you try to run the script from a network share ? or if you have scripts (local) which...

View Article

Image may be NSFW.
Clik here to view.

PowerShell + Azure Automation : Add-DataDiskToVM

This will be a quick and short post on using Azure Automation Runbook to add a Data Disk to one of the Azure VMs already provisioned on Azure and then initialize-format the Disk added using the Storage...

View Article


Image may be NSFW.
Clik here to view.

PowerShell Tip : Comment/Uncomment Code

Many people who use plain Vanilla ISE are not familiar with this small trick which was added in PowerShell v3.In PowerShell v3 ISE you can comment/uncomment lines of code without installing any Add-Ons...

View Article

Image may be NSFW.
Clik here to view.

PowerShell : Hunt CheckBox of Doom

I had posted a while back about the dreaded Checkbox of Doom which is a real pain in the Migration Scenarios where few AD Users might be marked as protected (Admincount = 1) but we don't really know...

View Article


Image may be NSFW.
Clik here to view.

PowerShell + Azure : Validate ResourceGroup Tags

Recently been working on some DevOps stuff in Azure using Python & PowerShell, so would be doing few posts revolving around that. Why I have added the below pic ?Python is what I have been picking...

View Article

Image may be NSFW.
Clik here to view.

PowerShell + Pester + Jenkins : Journey to Continuous Integration

Continuous Integration, huh ?Simply put CI is running all the tests (against your code, system etc) frequently in order to perform code validation and see everything is integrating well with each...

View Article


Image may be NSFW.
Clik here to view.

PowerShell MVP 2015

I received the official notification yesterday that my PowerShell MVP award has been renewed !!In this post, I try to look back at my journey as a PowerShell MVP :)This award is dedicated to PSBUG...

View Article

Image may be NSFW.
Clik here to view.

PowerShell + Azure + Python : Use Project Custom Settings

BackgroundFirst to set up the background [bit reaching on the Dev side] on the post, quick introduction to what is an Azure Cloud service along with some terms Dev like to throw around:Cloud Service...

View Article

Image may be NSFW.
Clik here to view.

PowerShell + SCCM 2012 : Create Packages & Programs

It has been a while, since I chartered the waters of WMI and Configuration Manager, so pardon any silly mistakes made. One of my friend from PSBUG asked me few questions revolving around creating...

View Article
Browsing all 97 articles
Browse latest View live