Related Articles
PowerShell – Create a Credential Object with NULL Password
In one of my automation tasks I had the need to create a credential object with a $null password – an empty / NULL password. One easy way to do is, create just instantiate a new secure string object using the new() constructor from the .Net class like this: or using New-Object cmdlet like this […]
PowerShell – Remote Desktop Cmdlets “A Remote Desktop Services deployment does not exist…”
Recently while automating some cool stuff I needed to create a PowerShell workflow for deploying VDI clients using Windows Server 2012 R2 Remote Desktop Services. One of the first things I always do is checking the existing PowerShell support and I figured out there is a large number of cmdlets available for managing RDS services. […]
PowerShell – Change Windows Service Login to Group Managed Service Account
Group Managed Service Accounts (gMSA) are an awesome way to have Active Directory taking care of password changes for the service accounts. How to create Group Managed Service Accounts and how to assign them to Windows services you will find plenty of articles and blog posts on the internet. Group Managed Service Accounts solve you […]