This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Aliases | |
| alias ll='ls -la' | |
| alias gs='git status' | |
| alias ga='git add' | |
| alias gc='git commit -m' | |
| alias gp='git push' | |
| alias gl='git log --oneline --graph --decorate' | |
| alias gd='git diff' | |
| alias gco='git checkout' | |
| alias gbr='git branch' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| provider "random" { | |
| } | |
| resource "random_string" "username" { | |
| length = 8 | |
| special = false | |
| upper = false | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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." |