Posts

Windows 10: after sleep or hibernation no Wifi connection possible and AP list is empty

I have a Dell Precision laptop with a Killer Wifi network module installed in it. But since I have received the laptop I have issues after starting up the laptop out of Hibernation or Sleeping state. I suspect it has something to do with the combination driver of the Wifi device, Windows 10 and even BitLocker. One of the most annoying issues when starting up the laptop is the fact that the laptop will not reconnect to the known Wifi Access Points, the list of Wifi networks is empty.

No network connection whatsoever, Network Troubleshooting doesn’t find any issues and the only remedy is restarting the laptop…

Read more

Reset Root Password of your Synology through PowerShell SSH (Without Putty)

Recently I had to reset my Root account password on my Synology DS214Play.
I had set the password when I first got the Synology, and of course I forgot it.

Resetting the account is no problem as there is a clear manual available on the Synology forums.
However I wanted to do this trough PowerShell.

Read more

Mac PowerShell Core: After upgrading you receive the message powershell: command not found

After installing (via https://github.com/PowerShell/PowerShell) PowerShell Alpha 9 to the latest version RC you receive the message powershell: command not found.
Read more

AzureRM (NetCore): how to remove multiple users from Azure AD

When removing a directory (tenant) from Azure AD it’s necessary to clean the directory before it’s even possible to remove it.

Removing multiple users from the portal is a time consuming business: only batches of 7 users a time are supported. So removing them via PowerShell is the way to go. As I was performing this task in the evening and didn’t have my Windows laptop at hand I used my Mac.

First of all be sure you have your PowerShell Core updated on the Mac (install the pkg from Nuget https://github.com/PowerShell/PowerShell or use brew cask install powershell).

Read more

How to reinstall VMware Tools on a ParaVirtual VM

At a customer location I was asked to reinstall VMware Tools on machines, normally the customer would do this their selves, but after uninstall of the VMware Tools, the VM wouldn’t boot. They needed to reinstall the VMware Tools because of the issue encountered described in  VMware KB2063887
Read more

Citrix Service Provider (CSP) Portal and Citrix Licensing

One of our partners is using the CSP program from Citrix for their customers. Now, every month a CSP usage report must be made manually for all the customers and reported to Citrix.

With the Citrix Cloud Licensing Portal, that step is simplified. There are however a few guidelines for the Citrix Licensing servers that are hosted at the customer(s):

  • Naming convention

It is common to have a default name for a licensing server at the customers, for example “LIC01”. So if this name is used for all the customers, there is no way to differentiate in the new Licensing Portal.
So when you create the license, choose the FQDN of the license server as Hostname.

  • Minimum License Server version

Next is the version of the license server. This has to be Citrix Licensing 11.13.1 Build 16002
In this build the “Call Home” capabilities have been extended to detect CSP–licenses and report product usage to Citrix. This version is part of the Long Term Service Release (LTSR) version (XenApp 7.6)

  • Licensing Model

Now the confusing part. As part of the CSP Program, XenApp is required to be configured to use a usage-based licensing model. Therefore you cannot use concurrent licenses as part of the CSP program. But in the Licensing Model in Citrix Studio it is not possible to choose the User/Device Licensing option if you use XenApp as Edition. So you have to switch to XenDesktop and choose the edition that fits the need.

  • License Types

There are two types of licenses in the CSP Model, those are Premium and Base:

  • CSP Premium SKU – You can utilize XenApp Platinum components
  • CSP Base SKU – You are limited to utilizing XenApp Advanced components

In our case, the customers use “Base Licenses“ which means XenApp Advanced. The licenses that are created from the portal and based on the SKU’s already contain the XenDesktop license.

Next step is to change the Licensing Model matching license.
But wait, that is not possible from the GUI!

Powershell to the rescue!

  • Open a powershell window with the appropriate privilege and load the Citrix Snappin. Note that the Powershell SDK must be installed.
  • Here is the code:
    • Add-PSSnapinn Citrix*
    • Set-ConfigSite –ProductCode XDT –ProductEdition ADV –LicensingModel UserDevice

After these three steps the Citrix Licensing Server is reporting the correct usage to the new Cloud Portal and in an orderly fashion.

SCCM set a custom variable dependency using Powershell or Vbs

When you are a frequent user of SCCM, sooner or later you will want a custom variable on which u can set a dependency for jobs further on in the task sequence.

After searching online for a while and not finding a satisfying answer I decided to create a short how-to.

Read more

RES One Automation PowerShell Module

Note: This blogpost is also posted on my personal blog – https://itmicah.wordpress.com.

resam-posh

When you’re a system administrator and a PowerShell enthusiast a single solution to a problem can result in something big and elaborate. A while ago I was implementing a MDT environment for a customer. I wanted to fill the MDT database with all existing client computers. For that I needed all the clients names and their MAC addresses. Client names weren’t the issue but MAC addresses were a little bit more challenging. I decided to turn to RES One Automation (RES AM) for help. I knew RES AM has the ability to identify agents by their MAC address so it has to store all agent MAC addresses in the datastore. After figuring out how to pry this information from the database I started to wonder what else I could find in there. This resulted in a complete PowerShell module (my first!) for RES One Automation!  Read more

Configure WER User-Mode (Application) crash dumps PowerShell-style

Note: This blogpost is also posted on my personal blog – https://itmicah.wordpress.com.

When you’re a system administrator you’re likely to encounter a few application crashes during your career. In order to troubleshoot these crashes Windows Error Reporting (WER) comes in handy. It can be configured so that full user-mode dumps are collected and stored locally after a user-mode application crashes. You can than send the dumps to the software supplier or analyse it yourself using your tool of choice. Read more

Copy AD group memberships from a source user to other users

Note: This blogpost is also posted on my personal blog – https://itmicah.wordpress.com

One of those mondaine tasks you get to do as an IT administrator is assigning users to security groups for access to resources in the domain. Usually, when you ask the person making this request which security groups the user account needs membership for, they’ll tell you to use some other user account as a reference. Sometime you’ll even get a list of users that need to have the same memberships. Read more