door Bvandeglind | apr 12, 2023 | Handig, naslag
This tutorials provides an easy way to install WordPress on IIS using Microsoft’s Web Platform Installer. Starting point is Windows Server 2019 with the webserver role installed Step 1: install Web Platform Installer...
door Bvandeglind | apr 12, 2023 | naslag, Nieuws
The script below is a simple script to create users on Linux and add them to a usergroup. This script is an example for a Linux project we did at Technova College. Not completely monkey-proof but at least there are some checks built-in! !/bin/bash clear echo Welcome...
door Bvandeglind | apr 12, 2023 | Handig, naslag
The script below reads an input file from the command line and then checks if it exists. If not found it keeps prompting for a correct filename. FileToRead = Read-Host “Please enter the filename” $Found = “N” Do { if (Test-Path -LiteralPath...
door Bvandeglind | apr 12, 2023 | Handig, naslag
This script checks if an Active Directory domain exists. If found it continues. If not it exits the script. $Domain = Read-Host “Please enter the domain name” try { Get-ADDomain -Identity $Domain | Out-Null Write-Host “[INFO] Domain found....
door Bvandeglind | apr 12, 2023 | Handig, naslag
This script reads (non-unique) departments from a CSV file with user records and transforms it into a unique list. It then create OU’s in Active Directory based on the departments in the file. Replace <RootOU>, <DomainName> and “MyCity” for...