Introduction One of the most basic tasks in Powershell is copying files or folders. Copying file contents of a folder and folders using Powershell works fine if both the source and destination paths are available, but not if the destination path is missing. In this blog post, I explain how to...
Introduction There are quite a few different errors that you may run into when using Hyper-V. In this blog post, I explain the following error related to Secure Boot in Hyper-V, and how to solve it. Below you can see the virtual machine boot summary of a machine in Hyper-V. Boot Failed. EFI...
Introduction Sometimes you might want to know, for troubleshooting reasons, what AD Site your machine belongs to. In this blog post, I cover using nltest dsgetsite to find out which Active Directory site a computer belongs to using nltest. What is nltest? Nltest, or Network Location Test, is a command-line tool used in...
Introduction If you have upgraded to a new version of Windows 10, you end up with a folder named Windows.old under C:. Now comes the next question, is it safe to delete the Windows.old folder? In this blog post, I explain the Windows.old folder and if it's safe to delete the...
Introduction Upon creating an automatic Software Update strategy in your organization, you need to automate this process as much as possible. If you are using SCCM, you should be creating Automatic Deployment Rules (ADRs). ADRs require configuration with deployment deadlines for software update installation on the clients. This blog post describes...
Introduction Powershell has evolved over the years, with some old functionality not working in later versions. If you have created a script in Powershell v1 or v2, it might not work with Powershell v3 or later. It is possible using a simple command to change the version of Powershell. Which version of...
Here's a little Powershell tip that can be useful. If you have a directory with text files and want to add the content to a single text file, you can use this command in Powershell to read all text files in a folder. Get-Content "directory path"*.txt -Force To add to this...
Quick Access IntroductionStep-by-step-guide Create VM Backup Take local VM backup Take offsite VM backup Restore VM backup Full VM Restore File Level Restore Exchange Item Level Restore Verify backups Conclusion Introduction For the past few months, my conscience has been bugging me about backing up my VMs on my host. Backing up my VMs in Hyper-v was something that I postponed...
I recently got married and therefore changed my last name from Classon to Engberg, and I am therefore also making this change on the site. :) The following changes will happen in the near future: danielclasson.com points to danielengberg.comSite will be running SSLNew logo and designNew content and sections I hope you...
INTRODUCTION I have just spent a week at the Microsoft Ignite 2018 conference in Orlando, Florida.This was my first visit to both the conference and to Orlando, so I was very excited. Upon arrival att MCO (Orlando International Airport) you can pick up your badge straight away at the baggage claim....