RDS/Terminalserver message/notification to all active users

RDSMessenger.ps1 UPDATE 11/09/2019: If you like this script as module or EXE see my new post In RDServer (Remote Desktop) environmets (also know with the legacy name terminalservices) you need to notify all active users, because there is a maintenace or anything else. I searched a while to find a thin solution for that, but …

O365 PowerShell Connector with encypted password files

During my daily work I need to connect to Office 365 powershell from time to time, so I also want to automate this task to safe time and also because I’m a lazy guy. Befor using my O365 connector you should read my other articles about encrypting passwords to secure string. See my prolog working …

working with passwords in powershell part 2 – the decryption

NOTE: See also working with passwords in powershell part 1 and working with passwords in powershell prolog After you created these two files there is of course a possibility to get your password to plain text again. First you need to convert your files to secure string, so powershell can work with it. >>DOWNLOAD password …

working with passwords in powershell part 1 – the encryption

Encrypt passwords with AES256 key NOTE: before we dive in, make sure you have read my prolog about basics in powershell password encryption. LINK working with passwords in powershell part 2 Because I love automating things with powershell, I also want to create a script which creates a new aeskey file and also a text …

working with passwords in PowerShell prolog

Link part 1 powershell script to create aes encypted password stringLink part 2 powershell script to reconvert to plain password Once a customer asked me how to store a password on local server and use it inside a powershell script to authenticate. Storing passwords in plain text is not the best solution, so I thought …