Export And Import PrinterSettings Windows text

View Snippet
                    To migrate print servers using PrintBRM from the command line, follow these steps:

Open an elevated command prompt by clicking Start, pointing to All Programs, selecting Accessories, right-clicking Command Prompt, and then clicking Run As Administrator.
To export the print server configuration to a file, type the following commands:
cd %WinDir%\System32\Spool\Tools
Printbrm -s \\print_server_name -b -f file_name.printerExport
To import the previously saved print server configuration file, type the following command:
Printbrm -s \\print_server_name -r -f file_name.printerExport
                  

Clear windows update cache text

View Snippet
                    net stop wuauserv

rd /S /Q C:\Windows\SoftwareDistribution

rd /S /Q C:\$WINDOWS.~BT

net start wuauserv
                  

Screensavers in Ubuntu text

View Snippet
                    Search for xscreensaver in de Ubuntu app store.
Install it and Install the extra's:
sudo apt install xscreensaver-data xscreensaver-*

Source:
https://www.jwz.org/xscreensaver/

                  

Install powershell in Linux text

View Snippet
                    Install powershell in Linux

# Update the list of packages
sudo apt-get update
# Install pre-requisite packages.
sudo apt-get install -y wget apt-transport-https software-properties-common
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
# Update the list of packages after we added packages.microsoft.com
sudo apt-get update
# Install PowerShell
sudo apt-get install -y powershell
# Start PowerShell
pwsh


Als super gebruiker registreert u de micro soft-opslag plaats eenmaal. Na de registratie kunt u Power shell bijwerken met sudo apt-get install powershell .
                  

linux, create and restore snapshots of your machine text

View Snippet
                    apt install timeshift to install timeshift:

sudo timeshift --create --comments "Type something here to make it a sensible backup ;-)" --tags D


More Examples:

timeshift --list
timeshift --list --snapshot-device /dev/sda1
timeshift --create --comments "after update" --tags D
timeshift --restore 
timeshift --restore --snapshot '2014-10-12_16-29-08' --target /dev/sda1
timeshift --delete  --snapshot '2014-10-12_16-29-08'
timeshift --delete-all