How to Get all Active Directory Users Created in the Last 24 Hours using PowerShell

You may require in some cases to check an active directory for newly created users so you can send them an email. You may also require to get newly added users for auditing or security purposes. You can get the active directory users created in last 24 hours by using this script. Feel free to change it for ... Read more

Debugging of ISPConfig 3 server actions in case of a failure

The following article describes the steps that need to be taken to debug ISPConfig 3 server scripts. This procedure applies to all ISPConfig 3 versions incl. ISPConfig 3.1 and ISPConfig 3.2. Enable the debug Loglevel in ISPConfig Login to the ISPConfig interface and set the log level to Debug under System > System > Server ... Read more

How to Execute PowerShell Scripts Without Pop-Up Window

PowerShell scripts are hard to run without any kind of popup. Without using the small workaround that I will show you here, it may even be impossible. Even if you specify the -WindowStyle Hidden switch - this will only result in the PowerShell window blinking up for a split second and disappearing afterward. You can ... Read more

How to Create NIC Teaming With PowerShell

NIC Teaming with PowerShell

This short guide shows you step-by-step on how to create NIC teaming with Windows PowerShell. Step 1. Open PowerShell with elevated privileges Step 2. Execute the following command, new-NetLBFOTeam [TEAMNAME] “[NIC1]”, “[NIC2]” [TEAMNAME] the name of team of network adapters. [NIC1] the name of first NIC adapter. [NIC2] the name of second NIC adapter. Example: ... Read more

How to save command output to a file using PowerShell

PowerShell command to file

PowerShell is a command-line shell designed specifically for system administrators. It helps administrators manage and automate the administration of Windows operating systems and the apps that run on them. PowerShell provides the ability to save the output of commands you run in it to a file that you can later view, analyze, and share with ... Read more

How to Shutdown or Reboot Debian 11

Shutdown and Reboot on Debian

Since Debian 10, the Debian Linux distribution uses systemd to control starting and stopping of services, and Systemd also controls the whole boot and shutdown process of the operating system. The consequence of switching from init.d to Systemd is that some commands to stop or restart Debian like 'shutdown -h now' or 'reboot' do not ... Read more