PowerTip: Export Certificate by Using PowerShell

Summary: Learn how to use Windows PowerShell to export a certificate.  How can I use Windows PowerShell to export a certificate?  Use the Export-Certificate cmdlet and specify the file output destination. By default it will export a file            of the type Cert. Here is an example: Export-Certificate -Cert (Get-Item Cert:\CurrentUser\My\3EF2) -FilePath c:\fso\mycert.cert


AutomatedLab Tutorial Series Part 6: Install Software and Run Custom Activities

Summary: Microsoft PFEs, Raimund Andree and Per Pedersen, explain how to customize your existing environment and install software to some or all machines in your lab. Microsoft Scripting Guy, Ed Wilson, is here. Today is Part 6 of a series written by Microsoft PFEs Raimund Andree and Per Pedersen. Read their previous posts here: AutomatedLab Tutorial…


PowerTip: Use PowerShell to Import Certificate

Summary: Use Windows PowerShell to import a certificate.  How can I use Windows PowerShell to automate the installation of a certificate?  Use the Import-Certificate cmdlet, and specify the certificate store location and the path to            the certificate file, for example: Import-Certificate –filepath c:\fso\mycert.cert –certStorelocation cert:\currentuser\my


AutomatedLab Tutorial Series Part 5: Install CA Two-Tier Hierarchy for PKI

Summary: Microsoft PFEs, Raimund Andree and Per Pedersen, talk about using Windows PowerShell to automate the deployment of a PKI environment as it would typically be deployed in a production environment. Microsoft Scripting Guy, Ed Wilson, is here. Today is Part 5 of a series by Microsoft PFEs, Raimund Andree and Per Pedersen. Read their…


PowerTip: Troubleshoot Get-VM Cmdlet

Summary: Learn about a quick troubleshooting tip for the Get-VM cmdlet.  I am using the Get-VM cmdlet to find information about virtual machines on my local laptop, but it does not            appear to do anything. What could be the matter?  The Get-VM cmdlet must be run with Admin permissions. But unfortunately, it does not tell you…


AutomatedLab Tutorial Series Part 4: Install a Simple PKI Environment

Summary: Learn how to easily deploy a PKI environment by using AutomatedLab. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back Microsoft PFEs, Raimund Andree and Per Pedersen, and their series about AutomatedLab. Read their previous posts here: AutomatedLab Tutorial Part 1: Introduction to AutomatedLab AutomatedLab Tutorial Part 2: Create a Simple Lab AutomatedLab Tutorial Part…


PowerTip: Use PowerShell to Take Snapshot of Virtual Machine

Summary: Use Windows PowerShell to take a snapshot of a virtual machine prior to making changes.  How can I use Windows PowerShell to take a snapshot of a virtual machine prior to making changes to it?  Use the CheckPoint-VM cmdlet, for example: Checkpoint-VM -Name DC1 -SnapshotName BeforeUpdate


AutomatedLab Tutorial Part 3: Working with Predefined Server Roles

Summary: Learn how to predefine server roles and switch the operating system to Windows 10 Technical Preview in your AutomatedLab environment. Microsoft Scripting Guy, Ed Wilson, is here. Today brings us Part 3 in a series by Microsoft PFEs, Raimund Andree and Per Pedersen. The last blog post explained how to create a small lab…


PowerTip: Create System Restore Point by using PowerShell

Summary: Use Windows PowerShell to quickly create a system restore point.  How can I use Windows PowerShell to roll back the settings if the changes I make mess up my computer?  Open the Windows PowerShell console with Admin rights, and use the Checkpoint-Computer cmdlet.            Specify a good description of the checkpoint and…


AutomatedLab Tutorial Part 2: Create a Simple Lab

Summary: Learn how to create a small lab environment by using AutomatedLab. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Part 2 of the series by Microsoft PFEs, Raimund Andree and Per Pedersen. Today they talk about installing the Windows PowerShell modules to use with AutomatedLab, and the steps required to create a…