Skip to content

Instantly share code, notes, and snippets.

View vyusufcan's full-sized avatar
🏠
Working from home

vehbi yusuf can vyusufcan

🏠
Working from home
  • sahibinden.com
  • İstanbul
  • 09:38 (UTC -12:00)
View GitHub Profile
@vyusufcan
vyusufcan / Installation.ps1
Last active March 26, 2025 10:26
Windows Server Knowledges
# Enable IIS Feature
Write-Host "Installing IIS..."
Install-WindowsFeature -name Web-Server -IncludeManagementTools
# Restart IIS
Write-Host "Restarting IIS..."
Restart-Service W3SVC
Write-Host "IIS and .NET 6.0 installation completed."
@vyusufcan
vyusufcan / UsernamePassword.tf
Last active March 26, 2025 10:36
Random Username and Password Creation with Terraform
provider "random" {
}
resource "random_string" "username" {
length = 8
special = false
upper = false
}
@vyusufcan
vyusufcan / WSManCredSSP.ps1
Last active March 26, 2025 10:54
Enable-WSManCredSSP
Enable-WSManCredSSP -Role "Server" -Force
Enable-WSManCredSSP -Role client -DelegateComputer * -Force
Set-Item -Path "wsman:\localhost\service\auth\credSSP" -Value $True -Force
New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation -Name AllowFreshCredentialsWhenNTLMOnly -Force