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`