Category: PowerShell

  • Updated tool, will help you to easily create a Hyper-V VM

    I have been using this PowerShell script or GUI for quite some time when I create local Hyper-v virtual machines in my lab, the challenge I had was that the settings I want on my VMs requires extra steps in the Hyper-V management console after the VM is created like amount of CPU and default…

  • Install applications without hazzle

    This is not ment to be an enterprise solution, more ment to be a quick way to install application on very small customers or your test/developer computer. Make sure you are running Windows 10, there are ways to run this on other OSes and versions as well, but I will not cover that scenario here.…

  • Upgrade from Azure AD Sync to Azure AD Connect

    After the release of Azure Active Directory Connect tool (http://blogs.technet.com/b/ad/archive/2015/06/24/azure-ad-connect-amp-connect-health-is-now-ga.aspx?linkId=15101770) I upgraded a customer without any big issues, but we saw some things I would like to share. The upgrade process is very simple wizard, just click Next, Next, Finish. No issues here But after the upgrade we had an issue with some performance counters…

  • GUI to easily create a Hyper-V virtual machine

    I have been using this PowerShell script or GUI for quite some time when I create local Hyper-v virtual machines in my lab, the challenge I had was that the settings I want on my VMs reqiures extra steps in the Hyper-V management console after the VM is created like amount of CPU and default…

  • Applications per users and computers

    I wrote a small PowerShell script to help me get some information about the installed applications quick and easy. We needed to know what applications is installed per user to perform the right actions in ConfigMgr. This script will for example help you with information like when the application is installed, if the application is…

  • PowerShell finally loves DataGrid

    The first time I wanted to manipulate the DataGrid with Powershell it took me some time to get it to work. So I just want to share how I did this and continue to work on the example from my last post. First we need to setup the DataGrid with some columns and header bindings.…

  • Build complex GUI with your PowerShell scripts

    PowerShell is not a very good scripting language if it comes to building GUIs. But what PowerShell has that other scripting language don’t have is a great compatibility with .NET Framework, and with .NET come great GUI opportunities! In this case I will use Blend for Visual Studio 2012 to build my GUI with WPF,…

  • Automate MBSA scan and download missing patches

    Many of you are using MBSA, Microsoft Baseline Security Analyzer, to get a list of missing patches for Windows and Microsoft applications. If you want to learn more about automate the scan and automatically download the patches here are some tips and a script that will help you to save time! MBSA Web Site, http://go.microsoft.com/fwlink/?linkid=20567…

  • Go crazy with Offline Files and PowerShell

    A customer asked me to write some example scripts for unpinning folders and files in their Offlines Cache and here are my examples. Bare with me the scripts are just examples and includes no error handling and only had time to test the scripts on a fully patched Windows 7 SP1 machine, but it should…

  • Keep your local administrator passwords updated

    I don’t know how many times a get a questions for a script that can randomize password and change the local administrator accounts for all computers in a domain. One problem with many of the scripts you find out there is that there is no localization, the scripts are often written to be used on…