sudo apt install git -y
git config --global user.name 'nosmall'
https://wmatthyssen.com/2019/09/18/hyper-v-automatic-virtual-machine-activation/
Invoke-Command -VMName "vm-tmpl-W2k19" -ScriptBlock {slmgr /ipk TNK62-RXVTB-4P47B-2D623-4GF74}| @echo off | |
| :LOOP | |
| cls | |
| set hr=%time:~0,2% | |
| if "%hr:~0,1%" equ " " set hr=0%hr:~1,1% | |
| REM SET LOGFILE=%date:~-4,4%_%date:~-7,2%_%date:~-10,2%__%hr%_%time:~3,2%_%time:~6,2%.log | |
| SET LOGFILE=%date:~-4,4%_%date:~-7,2%_%date:~-10,2%__%hr%_%time:~3,2%.log | |
| echo. |
This script copies and converts all files in source directory recursively to the destination directory and sets the encoding to UTF-8. The source file will not be touched or changed. Some tools require a certain file encoding especially when it comes to special characters. Ple
Computer Configuration
> Administrative Templates
> Network
> Network Connections
> Windows Firewall
> Domain Profile
> Windows Firewall: Allow Remote Desktop Exception
# Optional CRON
crontab -e
0 0 1 * * PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' fstrim -v / >> /var/log/cron-fstrim.txt 2>&1
# This is FAAASTOpenVPN road warrior installer for Ubuntu, Debian, CentOS and Fedora.
This script will let you set up your own VPN server in no more than a minute, even if you haven't used OpenVPN before. It has been designed to be as unobtrusive and universal as possible.
Run the script and follow the assistant:
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
sudo apt install -y libauthen-ntlm-perl libclass-load-perl libcrypt-ssleay-perl libdata-uniqid-perl libdigest-hmac-perl libdist-checkconflicts-perl libencode-imaputf7-perl libfile-copy-recursive-perl libfile-tail-perl libio-compress-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libmail-imapclient-perl libmodule-scandeps-perl libnet-dbus-perl libnet-ssleay-perl libpar-packer-perl libreadonly-perl libregexp-common-perl libsys-meminfo-perl libterm-readkey-perl libtest-fatal-perl libtest-mock-guard-perl libtest-mockobject-perl libtest-pod-perl libtest-requires-perl libtest-simple-perl libunicode-string-perl liburi-perl libtest-nowarnings-perl libtest-deep-perl libtest-warn-perl make cpanminus && \
cd ~/ && \
git clone https://github.com/imapsync/imapsync.git && \
cd ~/imapsync/ && \
sudo ln -s ~/imapsync/imapsync /usr/bin/imapsync && \
imapsync --testslive