Azure – DSC howto

my colleague Mark has posted an excellent walk-through to guide you in using DSC in Azure. Deploying a DC to Azure IaaS with ARM and DSC  

0

PowerShell – Out-ColourMatch

#Out-ColourMatch.ps1 Set-StrictMode -Version Latest function Out-ColourMatch { <# .Synopsis Outputs coloured matches from Select-String .Description Outputs the matched string, with the match section(s) highlighted in colour. .INPUTS a [Microsoft.PowerShell.Commands.MatchInfo] object. .OUTPUTS None. Write-Host displays the colourised string. .Example Get-Content .\LoremIpsum.txt | Select-String -Pattern ‘dolor’ -AllMatches | Out-ColourMatch .Example $b = Get-Content .\LoremIpsum.txt | Select-String -Pattern…

1

BING – SafeSearch ; safe search ; StrictMode ; strict mode

One of the hardest things to uncover is where to point BING to ensure your students or children get safe search returns. I searched high and low six different ways – nothing… (not a good answer, Bing!) Tried safesearch, strictmode, safe search, strict mode. Sigh.. Turns out that you should CNAME bing.com with strict.bing.com “Block…

0

Azure – Azure Stack is a game changer

https://azure.microsoft.com/en-us/overview/azure-stack/webcast/ Snover and Russinovitch give an excellent presentation discussing, explaining and demonstrating Azure Stack.If you have not seen it – watch it. Azure Stack is a MAJOR shift in IT.https://azure.microsoft.com/en-us/blog/announcing-the-first-technical-preview-of-microsoft-azure-stack/

0

Azure – MS loves Linux!

an awesome collection – go look! https://azure.microsoft.com/en-us/blog/microsoft-loves-linux-deep-dive-blog-series/

0

Azure – DirSync

How to waste an entire afternoon! Finally got AAD Connect installed at a Canberra government department.   remove any inspection on *.microsoftonline.com   then     fixed proxy: proxy must allow    •         adminwebservice.microsoftonline.com    •         login.microsoftonline.com    •         provisioningapi.microsoftonline.com     then created a  globaladmin account  in AAD to use for the dirsynch, made him a subscription admin…

1

Azure – Puppet on-premises deploying to Azure

HowTo: Puppet on-premises to deploy resources into Azure IaaS infrastructure. Terms:    Puppet – is an Open Source configuration management system that allows you to define the state of             your IT infrastructure, then automatically enforces the correct state.            Alternatives you may know of are Chef, or perhaps Windows PowerShell DSC.    Tennant ID –…

0

Azure CLI – the cross-platform way

After having a ton of fun with raw PowerShell in both ASM ('Classic') and the far more sensible ARM models, I then discovered the stunning simplicity of JSON templates. See the Quickstart gallery here: https://github.com/Azure/azure-quickstart-templates Combining the templates and DSC gives 'infrastructure as code' in a surprisingly simple/elegant way. However this week I spent time…

4

PowerShell – Analogue Clock

# analogue-clock.ps1#Set-StrictMode -Version latest Add-Type -AssemblyName System.DrawingAdd-Type -AssemblyName System.Windows.Forms $DegreesToRadians = [Math]::PI/180$PSicon = [Drawing.Icon]::ExtractAssociatedIcon((Get-Command -Name powershell).Path) #################################function Initialize-Clock() {    # create the form to display the clock    $script:form = New-Object  -TypeName Windows.Forms.Form    $script:form.Icon = $PSicon    $script:form.Text = 'Analogue Clock'    $script:form.Height = 700    $script:form.Width = $form.Height    $script:form.BackColor=[Drawing.Color]::White    $script:form.Location.X = 1000    $script:form.TransparencyKey = [Drawing.Color]::Brown     $script:clockRadius =…

1

Azure – ARM replacing ASM in Azure PowerShell

What Is Switch-AzureMode And Why Are We Deprecating It? https://github.com/Azure/azure-powershell/wiki/Deprecation-of-Switch-AzureMode-in-Azure-PowerShell

1