Posts

Showing posts from October, 2023

VPN

  certificate differnce connections method active active bgp  tunnel type OPENVPN(SSL) SSTP IKEV2 OPEN VPN is protcol foropen source , its require thried party software to configure it.  Its open source does not have any standard  IKEV2 is more advanced version protocol it has a function of reconnection , Its does not require any software  IKv2 is a standard described rfc-7296  Its work with mobile client as weell 

chocolatey

 # terraform choco install terraform --version 1.6.2 -y # git choco install git --version 2.42.0 -y # vscode choco install vscode --version 1.83.1 -y # visual studio community 2022  choco install visualstudio2022community --version 117.7.5.0 -y # aws cli  choco install awscli --version 2.13.28 -y # azure cli choco install azure-cli --version 2.53.0.20231015 -y # notepadd ++ choco install notepadplusplus --version 8.5.8 -y # Mobaxtrem choco install mobaxterm --version 23.3.0 -y # Browser  choco install firefox --version 118.0.2 -y choco install googlechrome --version 118.0.5993.89 -y choco install microsoft-edge --version 117.0.2045.60 -y

Managed Identity

Image
What is Azure Managed Identity? Azure Managed Identity is a feature in Microsoft Azure that helps enhance the security of applications and services by providing an automatically managed identity in Azure Active Directory (Azure AD). It simplifies the way applications authenticate with various Azure services and resources, reducing the need for credentials and secrets in your code. Here are some of the benefits of using managed identities: ·        You don't need to manage credentials. Credentials aren’t even accessible to you. ·        You can use managed identities to authenticate to any resource that supports  Azure AD authentication ·        Managed identities can be used at no extra cost.   There are two types of managed identity   System managed Identity and User managed identity Here are some key points about System-assigned Managed Identities: ...

Script

# Change time to IST Set-TimeZone -Name “India Standard Time”  # Enable firewall to ping server each other :-   New-NetFirewallRule -DisplayName "Allow ICMPv4-In" -Protocol ICMPv4   # PowerShell command to install ISS # install IIS server role   Install-WindowsFeature -name Web-Server -IncludeManagementTools   # remove default htm file   remove-item   C:\inetpub\wwwroot\iisstart.htm   # Add a new htm file that displays server name   Add-Content -Path "C:\inetpub\wwwroot\iisstart.htm" -Value $("Hello World from " + $env:computername)     # Powershell command to install google chrome   $LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object     System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', "$LocalTempDir\$ChromeInstaller"); & "$LocalTempDir\$ChromeInstaller" /silent /install; $Process2Monitor = ...