This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Transaction Manager</title> | |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> | |
</head> |
This file contains 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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"foreground": "#7eb8da", | |
"style": "plain", | |
"template": "\u250f[<#ffffff>\ueb99</> {{ if .SSHSession }} {{ end }}{{ .UserName }} from <#ffffff>\uf108</> {{ .HostName }}]", |
This file contains 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
<# | |
.SYNOPSIS | |
Connection_Manager.ps1 - A PowerShell script to create and manage RDP and SSH connections to Windows and Linux VMs. | |
.DESCRIPTION | |
This script manages connections to Windows and Linux VMs using RDP and SSH, respectively. It takes a server name and connection type as input or prompts the user for them. | |
For RDP connections, the script generates a temporary RDP file and initiates the RDP session with the provided server name and properties. | |
For SSH connections, the script checks if the user is logged into Azure CLI and connects using "az ssh vm" command. | |
.PARAMETER ServerName |