Crontab
Crontab List active cron jobs crontab -l less /etc/crontab Systemctl restart crond View Cron Jobs by User sudo crontab –u ...
Configureer NTP settings via de Registry
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]"NtpServer"="vul hier in de FQDN,0x1""Type"="NTP"
...
Colorscheme VIM
Instructions
Connecting via SSH to your server
Browse to your user directory with the following command: cd ~
Create a .vimrc file with the following command: ...
Copy with SCP
On the host where the cron job is ssh-keygen -t rsa -b 4096 No password Cd ~/.ssh 760708 -rw-------. 1 root root 3401 May ...
Convert Windows version to other version
- Run command prompt or PowerShell as administrator:
Type following command:
dism /online /set-edition:ServerDatacenter /productkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /accepteula . (Replace xxxx with your activation key).
...
Configuratie Microsoft Deployment Toolkit (MDT) 2013
Stap 1:
In Windows Server 2012 R2, klik op het Startsymbool (Links onderin het scherm):
Stap 2:
Klik op het pijltje naar beneden onderin het scherm voor ...
Capture Windows 10 Image using MDT
Preparing Windows 10 Reference Computer for MDT Capture
Before you begin to capture Windows 10 image, you should prepare already deployed Windows 10 PC by installing ...
Check Exchange Server Build Numer
Exchange servers tot versie 2010 >>>Klik hier<<<Exchange servers versie 2013 en nieuwer >>>Klik hier<<<
...
Connect to Exchange Online (Powershell)
On your local computer, open Windows PowerShell and run the following command.
PowerShell
$UserCredential = Get-Credential
In the Windows PowerShell Credential Request dialog box, type your work or ...
Check Servicepack SQL
Als je de build van een SQL server wilt controleren voor bv welk servicepack erop staat kun je dit nakijken op via de onderstaande linksqlserverbuilds
...
Create a file
# Create-NewFile.ps1
# Full path of the file$file = 'c:\temp\important_file.txt'
#If the file does not exist, create it.if (-not(Test-Path -Path $file -PathType Leaf)) {try {$null = New-Item ...
Create a website and add a certificate with powershell
Import-Module WebAdministration
# Create the new websiteNew-Website -Name DemoSite -PhysicalPath C:\inetpub\wwwroot\
# Notice all web bindings createdGet-WebBinding
# Find the bindings only on the website we just created(Get-Website ...