Skip to content

Instantly share code, notes, and snippets.

View aaron-j-reeves's full-sized avatar

Aaron Reeves aaron-j-reeves

View GitHub Profile
@githubfoam
githubfoam / powershell script cheat sheet
Last active March 26, 2025 05:51
powershell script cheat sheet
==========================================================================================================
#Gemini
==========================================================================================================
#ChatGPT
==========================================================================================================
#Gemini
Ensuring PowerShell DSC and Chocolatey are Installed
PowerShell DSC is a feature of PowerShell. If you have PowerShell installed on your Windows 10 system, DSC is likely already available.
@MarcoGriep88
MarcoGriep88 / Silent Install Parameter.md
Created May 13, 2021 11:24
Silent Install Parameter
Anwendung Parameter Uninstall
7-zip 7z1900-x64.exe /S C:\Program Files\7-Zip\Uninstall.exe /S
Advanced Auth Enterprise msiexec.exe /i naaf-winclient-x64-release-6.2-101.msi /qn /norestart msiexec.exe /x {937389C1-EB21-4789-BF4E-19A46ADE2792}
Advanced Auth Enterprise Device Service msiexec.exe /i naaf-deviceservice-x86-release-6.2-83.msi /qn /norestart msiexec.exe /x {9EA9B206-923B-4E53-9BF4-6D0ECD2AF77D}
Android Studio 18.1 android-studio-ide-181.5056338-windows.exe /S /AllUsers "C:\Program Files\Android\Android Studio\uninstall.exe" /S
Avaya IP Office msiexec.exe /i IP Office Admin Suite.msi /qn /norestart msiexec.exe /x {4C0A92F9-5075-4BF0-9B13-03B26857DB15}
Bing Desktop BingDesktopSetup.exe /Q msiexec.exe /x {E501B2B23A30D9C42AA1D15E97FD0761}
Cisco WebEx Internet Explorer Plugin regsvr32.exe /S ".\Extern$\ieatgpc.dll"
@bgoonz
bgoonz / free-4-dev.md.md
Created April 26, 2021 04:53
free-resources

free-for.dev

Developers and Open Source authors now have a massive amount of services offering free tiers, but it can be hard to find them all to make informed decisions.

This is a list of software (SaaS, PaaS, IaaS, etc.) and other offerings that have free tiers for developers.

The scope of this particular list is limited to things that infrastructure developers (System Administrator, DevOps Practitioners, etc.) are likely to find useful. We love all the free services out there, but it would be good to keep it on topic. It's a bit of a grey line at times so this is a bit opinionated; do not be offended if I do not accept your contribution.

This list is the result of Pull Requests, reviews, ideas and work done by 900+ people. You too can help by sending Pull Requests to add more services or by remove ones whose offerings have changed or been retired.

@davecra
davecra / Ribbon.cs
Last active March 26, 2025 05:49
Code for Removing Web Add-in Customization from the Ribbon in Outlook
public string GetCustomUI(string ribbonID)
{
try
{
// the property tag for the user profile entry
const string PR_EMSMDB_SECTION_UID = "http://schemas.microsoft.com/mapi/proptag/0x3D150102";
// laod the base ribbon
string LstrRibbonXml = GetResourceText("RemoveOfficeWebAddin.DisableWebAddinsRibbon.xml");
// code base is the install directory where the vsto file is located
string LstrPath = new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath.ToString();
@mkoertgen
mkoertgen / README.md
Last active March 26, 2025 05:45
Microsoft Teams Outlook AddIn Hacks

Microsoft Teams Outlook AddIn Hacks

In projects inclined to the Microsoft ecosystem, Teams is probably the best collaboration option, especially if your team members are dislocated. Probably because using different Office 365 accounts i had a hard time getting the Teams-Addin to work with Outlook. This is a know problem as you can find numerous articles on the web from people asking for help about this issue. Microsoft is working to enhance the Teams / Outlook experience.

One especially helpful article was Missing Teams Outlook Add-in by Michael LaMontagne (@RealTimeUC). Michael was the only one trying to dig deeper into the nitty-gritty details of COM-registration between Outlook and the Teams .NET application, deployed using Squirrel.Windows (as most Electron-based desktop-apps on Windows, e.g. Slack etc.).

He finally got the Teams-AddIn working by duplicating registry keys from a working machine. However, after reviewing the Teams & Teams

@poiriersimon
poiriersimon / Office 365 EXO EWS with Cert Auth API Example.ps1
Last active March 26, 2025 05:50
Exchange Online EWS with Certificate Authentication
#For this example you need an Azure App registered with a Self Sign Cert and a user with EWS Access to grab email.
#You need AzureAD Module (Save-Module AzureAD -Path C:\temp)
#You need EWS API 2.2 (www.microsoft.com/en-us/download/details.aspx?id=35371)
#App need to have Office 365 API access to read email.
# Permission under Office 365 Exchange Online:
# Admin : Use Exchange Web Services with full access to all mailboxes
# Delegate : Delegated permissions: full_access_as_user – Access mailbox as signed in user via Exc…
# Cert : https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/blob/master/Manual-Configuration-Steps.md
<#
$cert=New-SelfSignedCertificate -Subject "CN=Office365APIDemo" -CertStoreLocation "Cert:\CurrentUser\My" -KeyExportPolicy Exportable -KeySpec Signature