Partilhar via


Shared Points

items of some interest

Azure - "VMScaleSetCannotReferenceLoadbalancerWhenLargeScaleIsEnabled"

'VM scale set cannot reference a load balancer when LargeScale property is enabled.' The error may...

Date: 08/06/2018

Azure - Virtual machine scale set does not support disk encryption

New-AzureRmResourceGroupDeployment : 3:49:21 PM - Resource Microsoft.Compute/virtualMachineScaleSets...

Date: 07/26/2018

Azure - PowerShell Azure locations with zones

#Requires -module AzureRM #find regions that support Zones and what VM SKus are supported function...

Date: 07/10/2018

PowerShell DSC - LocalConfigurationManager cycle behaviour

LCM will start the 15 minute cycle based on: • A new metaconfig is applied using...

Date: 06/01/2018

Azure - PowerShell setting Blob Tiers

function Set-AgedBlobsToTier  { PARAM ( [Parameter(Mandatory = $true)] [int] $AgeInDays,...

Date: 05/25/2018

Windows 10 and "no longer located in"

After numerous updates to Windows 10 on the fast track, I realised there were a half-dozen folders...

Date: 04/25/2018

PowerShell - reinstall Windows 10 Store app

#Reinstall-StoreApp.ps1 #Requires -RunAsAdministrator $Store=Get-Appxpackage -Allusers |...

Date: 03/02/2018

PowerShell Azure - Get-AzureExtensionHighestVersion

function Get-AzureExtensionHighestVersion {    [CmdletBinding()]    PARAM ([string]$extension,...

Date: 12/14/2017

Azure - DSC automation (Windows vs Linux)

{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",...

Date: 12/14/2017

PowerShell - DSC Linux MOFs and logs

working with DSC on Linux, there are a few things to know that don't seem to be documented anywhere...

Date: 12/12/2017

PowerShell Azure - Invoke-AzureRmVMRunCommand

Invoke-AzureRmVMRunCommand has a parameter -CommandId which the single example shows as -CommandId...

Date: 12/08/2017

PowerShell - SharpCompress and untar

#needed to untar a tar.gz file and found the SharpCompress package, which will do it all! #region...

Date: 10/22/2017

PowerShell - Get-Credential and certificates

Matthew Bongiovi  had a discussion on Get-Credential and how it works. So useful, that I thought I'd...

Date: 09/16/2017

PowerShell Azure - find a sku offer publisher

who is the publisher for FreeBSD? What offer? What sku? # Find-AzureSKU bsd function...

Date: 07/31/2017

PowerShell - Expand-Aliases

#Requires -Version 3 function Expand-Aliases { <# .SYNOPSIS find any aliases in use and expand...

Date: 07/12/2017

PowerShell - Try/Catch/Retry

try/catch/fix and continue $tries = 0 while ($tries -lt 2) {    try {      $tries++...

Date: 06/06/2017

PowerShell - DSC Environment Analyser (DSCEA)

Awesome! An  open source release of DSC Environment Analyzer (DSCEA), a PowerShell module that uses...

Date: 03/23/2017

DSC WebDownloadManagerGetActionFailed event id 4252

WebDownloadManagerGetActionFailed  event id 4252 C:\ Update-DscConfiguration -CimSession ms2 -Wait...

Date: 12/01/2016

PowerShell - Pester

What is Pester and Why Should I Care? - an excellent series from The Scripting Guy!...

Date: 09/01/2016

PowerShell - native on CentOS

as a follow-on to my earlier post, install PowerShell onto Ubuntu, I decided to spin up a CentOS...

Date: 08/29/2016

PowerShell - native on Ubuntu

all the things I did when installing DotNetCore and PowerShell for Linux onto an Ubuntu server...

Date: 08/23/2016

PowerShell - on Linux on Docker!

Trevor Sullivan gives an excellent walkthrough!...

Date: 08/23/2016

Azure - DSC howto

my colleague Mark has posted an excellent walk-through to guide you in using DSC in Azure....

Date: 07/28/2016

PowerShell - Out-ColourMatch

#Out-ColourMatch.ps1 Set-StrictMode -Version Latest function Out-ColourMatch { <# .Synopsis...

Date: 06/21/2016

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...

Date: 05/24/2016

Azure - Azure Stack is a game changer

https://azure.microsoft.com/en-us/overview/azure-stack/webcast/ Snover and Russinovitch give an...

Date: 02/09/2016

Azure - MS loves Linux!

an awesome collection - go look!...

Date: 02/08/2016

Azure - DirSync

How to waste an entire afternoon! Finally got AAD Connect installed at a Canberra government...

Date: 02/08/2016

Azure - Puppet on-premises deploying to Azure

HowTo: Puppet on-premises to deploy resources into Azure IaaS infrastructure. Terms: Puppet - is an...

Date: 02/05/2016

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...

Date: 12/10/2015

PowerShell - Analogue Clock

analogue-clock.ps1 # Set-StrictMode -Version latest Add-Type -AssemblyName System.Drawing Add-Type...

Date: 09/09/2015

Azure - ARM replacing ASM in Azure PowerShell

What Is Switch-AzureMode And Why Are We Deprecating It?...

Date: 06/14/2015

SharePoint - distributed cache

A colleague found the other day that: If distributed cache on dedicated servers is not working, with...

Date: 06/25/2014

SharePoint: CSS - text at bottom of DIV

A seemingly simple request recently had me spinning around for a day, wrestling with CSS. A set of...

Date: 10/11/2013

SharePoint - pre-requisites they left out..

KB 2554876 - The SharePoint parsing process crashes in Windows Server 2008...

Date: 08/27/2013

SharePoint - PreUpgradeCheck for 2010?

what would be similar to the old PreUpgradeCheck? Get-SPContentDatabase | ForEach-Object {...

Date: 08/15/2013

Ebooks! SharePoint! SQL! Windows! Azure!

https://blogs.msdn.com/b/mssmallbiz/archive/2013/06/18/huge-collection-of-free-microsoft-ebooks-for-y...

Date: 06/21/2013

Windows - what version of PS is on the machines?

function GET-PSVERSIONINFO ([string[]] $TargetComputers) { $HKLM =...

Date: 06/05/2013

SharePoint - Microsoft SharePoint Store

I was deeply puzzled this afternoon, when I configured my App Catalogue and all was fine - except I...

Date: 05/09/2013

SharePoint - FBA config tool

If you have ever wrestled with the insanity of Forms Based Auth you WILL love this:...

Date: 02/27/2013

SharePoint - Excel web services failure

Office Web Services on SP2010+SP1. Using Kerberos. We see PPT and Word rendering fine. Excel gives...

Date: 02/13/2013

SharePoint - copy MySiteDB to a standby farm

This week I encountered a puzzling issue when copying MySiteDB to a standby farm. Everything and...

Date: 02/13/2013

SharePoint - content types changes not being pushed out.

This week I encountered where your content type is being pushed from hub to Site Collections, but is...

Date: 02/13/2013

SharePoint Web Services GUIDs - named

I'm always forgetting this command to translate those silly GUID services into text which...

Date: 02/11/2013

SharePoint - SPmonitoredScope - Dashboard

In order for custom code to show up in the dev dashboard you need to make use of the...

Date: 01/22/2013

Windows - BeatUp-Windows - stress memory and cpu's

BeatUp-Windows.ps1 # $psProcess = gps -id $PID $psInstances = (gps -Name $psProcess.name).count if...

Date: 01/18/2013

SharePoint - AV scanning SharePoint.

Make sure you tell it to ignore your search indexes and other SharePoint areas!See:...

Date: 01/14/2013

Windows - Get-WindowsUpdateLog

Get-WindowsUpdateLog.ps1# walk the WindowsUpdate.log to list the # Security Updates that have been...

Date: 01/09/2013

SharePoint - import a picture from AD for the user profile

Consider the following scenario. You have JPG pictures in AD, stored with the users thumbnailPhoto...

Date: 01/04/2013

PowerShell - add a JPG into AD for the user photo

Update-AD-Picture.ps1## copy a .jpg into a byte array, then push that into # the "thumbnailPhoto"...

Date: 01/04/2013

Next>