Hoppa till innehåll

  • Logga in via Facebook Logga in via Twitter Logga in via Windows Live Log In with LinkedIn Log In with Google      Logga in   
  • Registrera dig nu!

Markus Lassfolk's Blogg


Azure Pack: Add a new user to a plan automatically

  Skriven av Markus Lassfolk , 27 June 2014 - - - - - - · 40 visningar

Problem: When a new employee for TrueSec (our company) is logging into Azure Pack he has to be added to the “Tenants – TrueSec Employees” plan manually. Solution: One way is to add a “signup code” to the plan and tell new employees to manually join the plan with that specific code. It could work,...


Azure Pack: SMA Script to set a Static MAC Address for New Virtual NICs

  Skriven av Markus Lassfolk , 25 June 2014 - - - - - - · 43 visningar

When a user is using AzurePack to add additional Virtual Network Adapters to a Virtual Machine, they end up with a Dynamic MAC Address. This is regardless of what the settings are in the VM Template that were used to create the VM. The NIC(s) created at deployment of the VM, will honor the setting...


List all VM’s with a Dynamic MAC Address

  Skriven av Markus Lassfolk , 24 June 2014 - - - - - - · 61 visningar

Short, simple script to list all VM’s which has NIC’s with a Dynamic MAC Address set. [crayon-53a9c66e18857131606366/] It will give a list of all VM’s and the number of VM’s in that list. Small, simple and efficient.



Controlling my intrusion detection system (alarm) via Powershell!

  Skriven av Markus Lassfolk , 23 June 2014 - - - - - - · 414 visningar

I’ve recently invested in a alarm for my house, after quite a lot of research i finally went for Siemens SPC 5320 for all the cool features, it feels like one of the most modern alarms out there. As it can be controlled from the web, smartphone applications for  iphone and android, usb, ethernet (ip)...


Recommended hotfixes for Windows Server

  Skriven av Markus Lassfolk , 12 June 2014 - - - - - - · 36 visningar

A great article listing all known issues and available hotfixes for Windows Server 2012 R2 Hyper-V Network Virtualization; KB:2974503 – Recommended hotfixes, updates and known solutions for Windows Server 2012 and Windows Server 2012 R2 Hyper-V Network Virtualization (HNV) Environments http://support.micro...com/kb/2974503/ Another...


List and Remove Corrupted files reported by Data Deduplication with Powershell

  Skriven av Markus Lassfolk , 22 May 2014 - - - - - - · 50 visningar

I’ve been copying 7TB of data in about 100.000 files from an old fileserver to the new one, but I just noticed that some of the files are corrupted! Gahhh… Chkdsk found some issues, but didn’t solve the problem. As this server is running Windows Server 2012 R2 with Data Deduplication I decided to have...


Azure Pack: Failed to load virtual machine templates for subscription …

  Skriven av Markus Lassfolk , 13 May 2014 - - - - - - · 123 visningar

Problem: When a user login to Azure Pack, they sometimes get the error message: “Failed to load virtual machine templates for subscription <subscription ID>”. And if the user tries to deploy a a Virtual Machine, there is no templates to choose from. Cause: I’m not sure what the real cause is, but it seems to...


Get-MgmtSvcToken to get a ADFS Token is broken

  Skriven av Markus Lassfolk , 12 May 2014 - - - - - - · 71 visningar

Last week, I spent hours trying to get Get-MgmtSvcToken to get a Admin Token from our ADFS server without succeeding. Get-MgmtSvcToken Creates an identity token. Syntax [crayon-5370caecbe247883004095/] I tried every possible combination with both “-type WindowsADFS” and “-type ADFS” in combination with various URL’s...


Moving your WordPress site running in Microsoft Azure to Azure Pack

  Skriven av Markus Lassfolk , 12 May 2014 - - - - - - · 48 visningar

Drum Roll please …. I’ve now moved my blog from Microsoft  Azure to our own Private Cloud running on Windows Azure Pack!  Hurray! It was a really smooth transition, involving a couple of very easy steps to maintain all blogposts, media and comments. Provision a new WordPress Blog in Azure Pack. Login to WordPress to...


Reduce DNS Client Cache in Windows Server 2012 R2

  Skriven av Markus Lassfolk , 01 April 2014 - - - - - - · 53 visningar

I’m often using Remote Desktop Gateways to connect to various environments, including our Private Cloud. One challenge arises when I change IP-address or network settings on a computer through SCVMM. As the RDGW has cached the DNS entry and IP Address, it takes a while until that information is cleared and I’m able to eastablish...