Self Service your IT with PowerShell and au2mator

Adam Bertram

Read more posts by this author.

This is a sponsored post by

PowerShell is a massive Tool to automate your daily tasks. Combined with au2mator Self Service Portal, you get a Web Frontend to your PowerShell Automation.

Self Service, your IT, will bring massive Advantages

  • Delegate your IT Tasks
  • Speed up your IT
  • Increase security
  • Save time and money
  • Happy Users and Admins
  • Spend Time on Improving, not maintaining

There are plenty of Services and IT Tasks which you can automate and Self Service in your IT. Only your Phantasy will set your limits.

As one of the most used Services, User Onboarding will save a lot of time and hugely increase quality and standards. With this Pick, we are going to show you how to write your Powershell Script and configure your Self Service with au2mator

How To – Define the Process

First, we need to define our process, so what Steps our PowerShell Script should do.

Of course, a User Onboarding can be a very complex and significant Process. To keep that post readable and straightforward, we define our process like:

  • Create User in AD with the following Details
    • Company
    • Adresse
    • Telephone
    • Manager
    • Description
    • Some more Attributes
  • Sync User to Azure AD
  • Choose between Office 365 E3 or E5 License
  • Enable Office 365 Mailbox
  • Define Office 365 Mailbox Language
  • Add User to AD Groups

To define the process before starting with your Automation is a significant step.

If the process sucks, it even sucks when automated, but faster.

How to – Write the PowerShell

An essential step here is the parameter, which will be used by the PowerShell Script. And also, these Parameters will be your Questions in au2mator.

So, based on our defined process, our PowerShell Script needs the following Input Parameters.

PowerShell Input Parameters
PowerShell Input Parameters

The rest of the script can be defined and written based on your Standards. Here is a Screenshot of the central part of our script.

Central Part of the Script
Central Part of the Script

The full script is available in our Github Repository:

How To – Build the au2mator Service

When your PowerShell Script is ready and tested, save it on your au2mator PowerShell Folder and Create a New Service.

When you select your PowerShell Script, all the Input Parameters will be transformed into Questions.

Multiple Settings
Multiple Settings

Each Question has multiple Settings to be configured, as

  • Help Message
  • Required
  • Type
    • Text
    • Checkbox
    • Date
    • Password
    • LDAP Query
    • SQL Query
    • INT
    • Filepicker
  • Regular Expression
  • Background Text
  • Visibility for Dynamic Questions

The Service itself has a lot of settings, to fit your needs

Different Service Settings
Different Service Settings

Approver: Here, you can activate an Approver or multiple Approvers before the Automation is starting.

Advanced: Custom Redirects, Custom Messages, and Waiting for the Automation to be finished are some Settings here.

Security: Limit the Service to Members of an Active Directory Group

And some more settings.

Save the Service and see how it looks like.

How To – Use the Service

Here we will show you some Screenshots, how the Service will look like.

The complete Form
The complete Form
Location Selection, LDAP Query to get Organizational Units
Location Selection, LDAP Query to get Organizational Units
Select Manager, LDAP Query to see all users from AD
Select Manager, LDAP Query to see all users from AD
The Active Directory User
The Active Directory User

There is more

So, au2mator is a Self Service Portal for Microsoft Automation, PowerShell is only one of four Automation Engines. au2mator does support the following Engines

So, you can choose your Favorite Engine and use au2mator as Frontend, and you can use all 4 of them with the same product and License.

User Onboarding is only one example of many more, and only your Phantasie sets your limitation, so see some of our Top Services Customers are using with au2mator.

User Onboarding, User Offboarding, Office 365 License Management, AD Group Management, AD Self Service Password Reset, Request File Server Access, Request Mailbox Access, Request SCCM Software, Create a new Microsoft Teams, Reboot a Server, Create a VM, Change User Details, Install Software, Set out of office reply, Install a Client, Change Teams Owner Backup Teams Channel and so many more.

The End

We are providing a lot of Powershell and Azure Automation Scripts, ready to us with au2mator, for free on our repository ins GitHub and PowerShell Gallery.

If you want to get your handy on au2mator, you can download a free Community Release.

au2mate everything

Subscribe to Stay in Touch

Never miss out on your favorite ATA posts and our latest announcements!

Looks like you're offline!