Windows

Backup or Migrate DHCP on Windows Server
Open Powershell (administrator) Copy this command and paste it into powershell and press Enter Export-DhcpServer -ComputerName “servername.domain.com” -Le...
Fri, Jul 28, 2023 at 10:40 AM
Copy files / folders & retain permissions
xcopy c:\olddocs d:\newdocs /E /H /O /E - Copies folders and subfolders, including empty ones. /H - Copies hidden and system files also. /K - Copies attr...
Thu, Jan 20, 2022 at 9:22 PM
Creating a symbolic link for iPhone backup
Create a Backup folder on another drive will more free space such as (E:\Backup) Rename the Backup folder in %APPDATA%\Apple Computer\MobileSync\Backup to...
Thu, Jan 20, 2022 at 9:52 PM
Force Log Off
First, check the session number with qwinsta: QWINSTA /server:computername Write down the session ID. Then use the logoff command: LOGOFF sessionID /serv...
Fri, Sep 24, 2021 at 2:33 PM
Force Log Off
First, check the session number with qwinsta: QWINSTA /server:computername Write down the session ID. Then use the logoff command: LOGOFF sessionID /serv...
Thu, Jan 20, 2022 at 8:40 PM
How do I reset an Active Directory password?
Open Active Directory Users and Computers Right-click on domain name at the top of the tree and choose Find In the 'name' field type the first 4 ...
Thu, Jan 20, 2022 at 8:38 PM
How to export/import all users from Active Directory
Export Users Download the Export-ADUsers.ps1 script Move the script to C:\Scripts Edit the script to point to your domain and specific OU's (or dom...
Fri, Jul 28, 2023 at 11:03 AM
How to install winget on Windows Server 2016+
Open Powershell as administrator and paste the following in: Install-Script -Name winget-install winget-install
Mon, Dec 23, 2024 at 2:48 PM
How to run Windows Update from Powershell
Open Powershell as administrator and paste the following into the window: Set-ExecutionPolicy -ExecutionPolicy Bypass Install-Module PSWindowsUpdate -For...
Mon, Dec 23, 2024 at 2:50 PM
How to set hours on a local user account
net user tperson /time:M-F,08:00-17:00
Fri, Sep 24, 2021 at 2:32 PM