ADFS Test Page Error
KB ID 0001545 Problem I was setting up ADFS in Server 2019 today, and once I have all the basics setup, I like to got to, https://{server-fqdn}/adfs/ls/IdpInitiatedSignon to test, but this happened; The resource you are trying to access is not available. Contact your administrator for more information. Error details .Activity ID: 3c53140c-cff3-4b59-0900-0080010000d4 .Error details: MSIS7012: An error occurred while processing the...
PowerShell: Bulk Enable / Disable Users
KB ID 0001469 Problem I needed to work out how to bulk disable some domain users from a .CSV file this week, so I thought I’d write it up. Disable Domain Users in Bulk from CSV Well firstly, you need to have your users in a CSV file. For the live job I just exported all the SamAccountNames to a CSV, but here for testing I just loaded a few in manually; Then execute the following two commands; Import-Module ActiveDirectory ...
Scheduled Task Error 0x1
KB ID 0001457 Problem While replacing a server, I copied over some scripts, (batch files) the client was using to back up some data. I scheduled them on the new server, but noticed they were finishing with a status of 0x1. (and not actually backing anything up!) Solution Edit the properties of the job > General Tab > Tick “Run with the highest privileges”. Note: You can also tick “Do not store password. This...
Exchange: PowerShell Commands
KB ID 0001405 Problem This might seem like an odd title for an article here at PNL? But I’m going to use this page as a place to put all the commands I’m sick of Googling for, and/or working out every time I do an Exchange job. So as with all the posts here, it’s here for my benefit, and if anyone else gets something from it great! Exchange General Change Exchange Licence Code Set-ExchangeServer -Identity Server-Name...
Hyper-V Creating a NAT Network and vSwitch
KB ID 0001384 Problem I’m without access to all my test equipment at the moment, so when I needed to do some testing, I thought I’d use Hyper-V on my new work laptop. I needed to ‘knock up’ a quick vSwitch that would NAT my test machines, to my laptops connected NIC. Solution Open an administrative PowerShell window, and execute the following three commands. Note: You can change the values in RED to suit your...