From d49735f0091f955e8ef4779f773e404c17fb18fa Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Thu, 31 Oct 2024 12:56:11 +0100 Subject: [PATCH] AEZAKMI --- cheats/exchange | 3 +++ cheats/ssh | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cheats/exchange b/cheats/exchange index cd37212..2999111 100644 --- a/cheats/exchange +++ b/cheats/exchange @@ -12,3 +12,6 @@ # add access to calendar `Add-MailboxFolderPermission -Identity Maintenance@contoso.com:\Calendar -User gordon.freeman@contoso.com -AccessRights Editor` + +# get mailbox folder statistics +`Get-MailboxFolderStatistics gemma.odena@auma.com | Select Name,FolderSize,ItemsinFolder` diff --git a/cheats/ssh b/cheats/ssh index fcb7b0f..fe24cc8 100644 --- a/cheats/ssh +++ b/cheats/ssh @@ -1,2 +1,5 @@ # use a jumphost -ssh -J user@gateway[,user@gateway2] user@internal +`ssh -J user@gateway[,user@gateway2] user@internal` + +# forward remote port 8080 to localhost:1337 +`ssh -L 1337:127.0.01:8080 user@host`