LoginAM custom maintenance scripts

Running automated maintenance is complicated LoginAM offers a maintenance plugin that grants you extensive capabilities to perform automated changes on your machines. I wrote a blogpost about this subject last week. A couple of the options are that you can process servers in different orders (or divide them into 2 groups), request users to gracefully logoff, daily or weekly scheduling and it reports about the results of maintenance. So the maintenance plugin is already very complete. We can’t however know all kinds of servers and actions needed before a change starts. Some databaseservers might need their databases gracefully stopped, you might want...

New PowerShell cmdlets in 5.0

Today I attended my first meeting of the Dutch PowerShell User Group (or DuPSUG for short) which contained an enormous amount of info on several topics. In this post I’ll discuss 3 of the PowerShell cmdlets I picked up of which I never even knew the existence. These cmdlets came from the session of Ed Wilson, “Ed’s 5 favorite things about PowerShell 5.0”. If you didn’t know he’s the guy behind the scripting guy blog. Thanks for the input Ed! Compress/Expand-Archive Handling zip archives was always a pain in the ass. You’d either have to resort to .net. Which I personally never used...

PoSh Get-Service wait for status

So you’re writing a script and you have to start a service and/or wait for it. You can use Get-Service to retrieve the status but you’ll need to put it in a loop so you can wait for the status you need. You’ll probably end up with something like this: PowerShell while ((Get-Service -Name Spooler).Status -ne "Stopped"){ Start-Sleep -Seconds 2 } Continue with your script... 12345 while ((Get-Service -Name Spooler).Status -ne "Stopped"){    Start-Sleep -Seconds 2} Continue with your script... This is pretty basic. It’ll wait indefinitely until the service has been started. So you continue on your quest to get rock-solid code and...

VMware Horizon View Blueprint for AM

Recently Automation Machine has announced collaboration with VMware (link). One of the technical outcomes of that collaboration is the new blueprint, Vmware Horizon View, released by Automation Machine. For anyone wanting to skip directly to trying the blueprint, you can download it here. This blogpost will be discussing the features the blueprint is equipped with. I’m assuming you have a background in IT in general and some basic Automation Machine knowledge. You need to have an Automation Machine environment installed with a freshly created (empty) environment. Blueprint import   So you’ve started the User Interface and you want to import...

Automation Machine & WSUS integration

Scenario Automation Machine provides options for managing with Windows Updates. On a collection you can set a list of options to manage Windows Updates on the client machines. In this blogpost I’ll discuss a common setup. A single WSUS server which all clients point to using client side targeting. The clients in this case being a set of servers (the role of the server is not relevant). over which we want full control regarding Windows Updates. I’m assuming you already have an Automation Machine environment and have working knowledge of WSUS (you can find numerous posts about setting up WSUS...

Automation Machine 2014 Reporting

In my last blog post I discussed a reporting script that was made for Automation Machine but also functions in XenApp environments without Automation Machine to manage the environment. This version however is only compatible with Automation Machine 2012 and a couple of earlier versions. The latest version (Automation Machine 2014) has a completely different framework so the script i wrote is incompatible. So for Automation Machine 2014 I’ve rewritten the script and created an Automation Machine 2014 package for it. Allowing you to change options much easier using simple checkboxes and drop down menus. So instead of opening the...

Reporting script for SBC farms

A lot of RDS and XenApp farm (SBC in general) are on a reboot schedule. Meaning they reboot regularly, mostly daily or weekly. This is done to ensure stability of the servers and to have a maintenance window in which we can install or upgrade software. Specifically we use Automation Machine Maintenance for this. AM Maintenance is used to provide high availability of the SBC farm. Maintenance accomplishes this by rebooting the server in 2 separate groups. Rebooting and deploying software automatically without having to perform any actions outside of office hours is a nice feature. It does impose some...