Windows 11Home installeren met lokaal account
Alle edities van Windows (behalve de Home editie) kunnen lokaal geinstalleerd worden zonder een Microsoft account in te hoeven geven.Zorg ...
Registreer windows 10 commandline
Om dit te kunnen doen heb je een van onderstaande KMS keys nodig afhankeleijk van je versie.
Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99Home N: 3KHY7-WNT83-DGQKR-F7HPR-844BMHome Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFHHome ...
Archive a file
# Create-NewFileAfterArchive.ps1
# Full path of the file$file = 'c:\temp\important_file.txt'
#Full path to the archiving folder$archiveFolder = "c:\temp\archive_$(get-date -Format 'dd-MMM-yyyy_hh-mm-ss-tt')\"
# If the ...
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 ...
Add content to a file
# Update-FileContents.ps1
#Full path of the file$file = 'c:\temp\important_file.txt'
# If the file exists, append a new GUID value in the file.if ...
List all services
$AllServices=Get-Service
foreach ($SVC in $AllServices) { if ( $SVC.status -eq "Stopped" ) { Write-Host $SVC.Name, $SVC.status -ForegroundColor Red} else {Write-Host $SVC.name, ...
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 ...
Install IIS and dotnet core with powershell
# Install IIS and dotnet coreInstall-WindowsFeature "Web-Server","Web-Windows-Auth","Web-ASP","Web-Asp-Net","Web-Asp-Net45" -IncludeManagementTools
$maxAttempts = 30$attemptCount = 0$source = "https://download.visualstudio.microsoft.com/download/pr/633b17e5-a489-4da4-9713-5ddedf17a5f0/5c18f4203e837dd90ba3da59eee92b01/dotnet-hosting-2.1.15-win.exe"$file = "C:\Windows\Temp\dotnet-hosting-2.1.15-win.exe"
Do {$attemptCount++Invoke-WebRequest $source -OutFile $file ...
Install IIS with options powershell
Set-ExecutionPolicy Bypass -Scope Process
# To list all Windows Features: dism /online /Get-Features# Get-WindowsOptionalFeature -Online # LIST All IIS FEATURES: # ...
Manage app pools with powershell
Import-Module WebAdministration
# Discovering IIS app poolsGet-Command -Name *apppool*
# Using the IIS driveGet-ChildItem -Path IIS:\AppPoolsGet-ItemProperty IIS:\AppPools\DefaultAppPool
# Using IIS cmdletGet-IISAppPool
# Finding the ...
Proxy blacklist
dsi.ut-capitole.fr/blacklists/index_en.php
ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz
proxy = opnsense
http port = 3128https port = 3129
...
Nieuwe IOS op Cisco switch Plaatsen
*** kopiëren image via USB-stick ***
Op switch in enable mode:
<switch-naam>#copy usbflash0:c3750e-universalk9-mz.152-4.E10.bin flash:c3750e-universalk9-mz.152-4.E10.bin(image naam opvragen: <switch-naam>#dir usbflash0:)
Als er niet genoeg ruimte ...
Install phpIPAM on Linux [Open source IP Address Management System]
Link naar de youtube video Install phpIPAM on Linux [Open source IP Address Management System] - YouTube
-------------------------------------------------------------------- Installation -------------------------------------------------------------------- ...