Create a virtual machine and adding a VHD file using powershell

Or: How you can use Powershell to create virtual machines!  With a few keystroke you can create a virtual machine and attach an existing VHD(X) file to it! I usually look for the fastest and easiest way to get things done. Always manually rebuilding my lab was tiresome and demotivating so I started to look at…

0

Scripting: Remove all PST files in an outlook profile

Building on, this code will remove the mapping that has been done in outlook for ALL PST files. ‘On Error resume next Dim objOutlook ‘As Outlook.Application Dim Session ‘As Outlook.NameSpace Dim Store ‘As Outlook.Store Dim Stores ‘As Outlook.Stores Dim objFolder ‘As Outlook.Folder   Set objOutlook = CreateObject("Outlook.Application") Set Session = objOutlook.Session Set Stores = Session.Stores…

6