Thursday, October 12, 2017

Tutorial : Use Wfa as a self-service portal


In my previous post, I have shown you my package on how to abstract user-input and how that allows you to create more user-friendly workflows.

In this youtube tutorial we are diving into that package and have a look what it does and what it can mean to you.

Tuesday, October 3, 2017

How to use WFA as a self service portal

If you ever thought about using WFA as a self-service portal, I'm sure you have bumped into a few challenges on how to make it user friendly.

If you want to design a good a userinput form, the absolute number 1 rule is "KISS" (keep it short and stupid).  So if you are going to present an operator or end-user with a short and simple input form, how can it kick off a long and complex workflow ?  If you want to omit all the technical information and decisions from the operator, how can WFA know what resources to pick ?

Wednesday, September 20, 2017

How to create workflow independent constants in WFA

If you're working with WFA for some time, you'll probably be using Constants.  And you should ! The problem is that constants are part of your workflow.  If you're a bit of a good developer, you should develop for re-usability and that also means that certain parameters should be externalized.  Settings like customer information (dns servers, domain names, etc...) are a perfect fit for an externalized constant. 

Let's have a look at our possibilities

Thursday, September 7, 2017

WFA Docs generator 2.0

A new WFA Doc generator with most features you'll want :
- No need for installing Word
- Creates documents for :
   - Workflows
   - Commands
   - Scheme's, dictionaries & datasources


WFA workflow - Install PSExcel and PSWord

When you want to work with Excel and Word documents from within WFA, you either choose to install Excel and Word, or, way better, you choose for the PowerShell Modules
- PSExcel
- PSWord

This workflow will install these for you on the WFA server on the right location.  The actual source files are safely hidden in the help content of the workflow.


Wednesday, August 30, 2017

Manage DFS from WFA (W2012+)

I already created a post for managing DFS, but that was for W2008 servers, where it still has to be done with dfsutil.exe.
Since 2012 there is better way.
DFS or Distributed File System, is often used in enterprise environments to virtualize your CIFS tree structure.  If you are automating storage, and if so, CIFS, you might also take it a little further and update your DFS.  This powershell code allows you to add/create, remove & offline/online your dfs links and target shares and get the targets of dfs link.

Debug WFA in your Powershell editor

I use this script all the time, when I'm debugging new wfa commands in powershell.

This script is run on the wfa server (my laptop in my case).  It loads the WFA libraries and adds the default functions
- Get-WfaLogger
- Get-WfaCredentials
- Connect-WfaCluster
- Connect-WfaController
- Set-WfaCommandProgress


WFA Command - advanced logging

I created a powershell module once (somewhere in this blog) that allows you to do some powerfull logging.  I always planned on showing you how it's done as a WFA command.

For my NetApp Insight sessions, I had to create such a command, and I'm already posting it here.

Logging on 3 levels :
- Database
- Logfile
- Eventviewer

Wednesday, July 26, 2017

Powershell Try Catch in nested code and how to

I was writing some powershell (quite a lot of powershell actually) today and had to go through the code of someone else.  It's always nice to see how other people are doing stuff.

So I saw this piece of code with try catch.  Although the piece of code worked, I didn't agree with the approach.

Let's see what the approaches are and what's the best way. Comments are highly appreciated.

Thursday, July 20, 2017

WFA Volume AFF efficiency command

The WFA Volume commands allow you to set and modify most options, but apparently not AFF efficiency settings.   Hendrik Land and Hannes Bellmer created this command to fill this void.