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


Geek Week – Building Datacenter and Private Cloud

  Skriven av Markus Lassfolk , 20 September 2015 · 13 visningar

Yours truly and @mikael_nystrom  are teaching a 5 day training called “Geek Week – Building Datacenter and Private Cloud“.
It’s a quite cool concept, where we are always at least 2 teachers (Mike and me, and sometimes members from our team) with a lot of real-life experience, teaching students how to build a Software...


Working with Virtual NIC’s in Windows

  Skriven av Markus Lassfolk , 18 September 2015 · 20 visningar

At times when I’m for example at a customer and need to connect my Laptop to different VLAN’s it’s really nice to add new virtual Network Cards (vNIC’s) on the fly, and be connected to multiple networks at the same time. By transforming the Network Cards in your computer, into a virtual switch, and then add Virtual Network...


List all expiring certificates on all domain joined servers

  Skriven av Markus Lassfolk , 14 September 2015 · 18 visningar

A colleague asked me if I could list all expiring certificates on all Domain Joined servers in the environment.
– Sure!A few minutes later, a script that will connect to all Servers and list certificates that will expire in less than 90 days. I’m sure there are a thousand of scripts out there who does the same, and here is script...


Script to change from Dynamic to Static MAC Address on all VMs

  Skriven av Markus Lassfolk , 26 August 2015 · 90 visningar

A customer had a lot of VM’s with Dynamic MAC address, rather than the preferred method of using Static MAC addresses.
Here is a small powershell script that will shutdown each of the VM’s with a Dynamic MAC Address, change to a Static MAC Address and then start the VM.
I’m running the script on the System Center Virtual Machine...


Import a Cryptographic New Generation (CNG) certificate as a Legacy cert to use with ADFS

  Skriven av Markus Lassfolk , 24 August 2015 · 38 visningar

The current version of ADFS (Active Directory Federation Services for Windows Server 2012 R2) unfortunately does not support Cryptographic New Generation (CNG) Certificates.
Though if you already have a CNG cert, and does not want to re-request a legacy cert from your provider, it’s possible to import a CNG as a  Legacy cert by using this...


URL Rewrite (redirect) of HTTP to HTTPS with Powershell script

  Skriven av Markus Lassfolk , 23 August 2015 · 48 visningar

When deploying Web Application Proxy as a frontend to for example ADFS and Windows Azure Pack, or other services, the current version of Web AppProxy only supports HTTPS urls. It’s possible to use the “URL Rewrite” module for IIS to redirect users from HTTP to HTTPS. There are plenty of guides on internet on how to do that.
But I...


Automatically Assign Availability Set Names to VMs with Powershell

  Skriven av Markus Lassfolk , 12 August 2015 · 103 visningar

This blog-post is about using System Center Virtual Machine Manager (SCVMM) Availability Sets to spread similar VM’s to different Hyper-V Hosts to increase reliability both when using Failover Clustering, and when using stand-alone Hyper-V hosts.First of all, what is Availability Sets?
In SCVMM 2012 SP1, Microsoft added Availability Sets....


VM Usage History fixed in UR7

  Skriven av Markus Lassfolk , 12 August 2015 · 66 visningar

I just noticed that the VM Usage History has been fixed in UR7. It’s been broken as long as I remember and used to only show the last 3 days of data, even if you selected 1 month. I don’t think it was mentioned in the ChangeLog for UR7?Yay!



Uninstall old SCDPM Agents with Powershell on all Servers

  Skriven av Markus Lassfolk , 10 August 2015 · 62 visningar

When you want to add a server to Microsoft Data Protection manager to be managed (backup), it might already contain an old DPM Agent, which prevents the installation from going through. SCDPM will tell you to manually use Add/Remove Programs on each server and uninstall the old agent.To find all servers in the environment with an old SCDPM Version...


Update SCVMM Agent with Powershell

  Skriven av Markus Lassfolk , 10 August 2015 · 64 visningar

I just updated our System Center Virtual Machine Manager 2012 R2 Environment to Update Release 7. SCVMM would then report that the SCVMM Managed Computers has an Out-of-Date Agent which need to be upgraded.It’s possible to do it manually by right clicking on each server and choose “Update Agent” or use this short powershell...