Posts

Configuring App-only Authentication for Exchange Online for Powershell Scripts

Image
Azure AD - Create App Registration Login into Azure AD > App Registrations Click New Registration menu item, just add the name and click Register . (MAKE NOTE)     Copy and make note of the Application (client) ID Click API permissions menu item. You should see the Microsoft Graph API. Click on the 3 dots and Remove Permission Now click on Add a permission . Click APIs my organization uses , and search for Office 365 Exchange Online . Click Application permissions Look for Exchange , and tick Exchange.ManageAsApp . Finally, click Grant admin consent . You should see a green tick. Create Certificate Run Powershell to create a new self-signed certificate. It will create two certs, one .pfx and one .cer.  Azure AD - Upload Certificate Back in Azure AD, click Certificates & secrets menu item, and Upload certificate . You'll be uploading the .cer file. Azure AD - Assign Role Go back to the main Azure AD page, click Roles and administrators menu item. Search for and click on

Enable .NET Framework 2 and 3.5 for Windows 10

Image
 Note: with every new build version of Windows 10, you will need to do this. You will need a copy of the new Windows 10 image. Either mount or extract it. Copy the 2 netfx3 files from .\sources\sxs to a new folder:  Copy the script below and create a new batch script.

Downloading Windows 10 Enterprise without Volume Licensing

From: iTechtics Download Windows 10 Media Creation Tool Open Command Prompt and go to the folder where the media creation tool is downloaded. For example, if it is downloaded in the default Downloads folder, I would do like this: cd C:\Users\Username\Downloads Run the following command: MediaCreationTool20H2.exe /Eula Accept /Retail /MediaArch x64 /MediaLangCode en-US /MediaEdition Enterprise You can change the en-US code to any other language code which you want to download. If it asks for a product key, you can use any KMS keys mentioned on this Microsoft page . Rest of the process of creating an bootable media or simply downloading the ISO is the same as mentioned above.

Device Collection - All Laptops

 Modified from https://www.prajwaldesai.com/sccm-create-collections-for-laptops/ :

Download Any Version of Windows 10

Image
   Being unable to download a previous version of Windows 10 is annoying. Not anymore. Download the Universal MediaCreation Tool . Unzip. Download the Microsoft Media Creation Tool . Put the file in the unzipped folder as (1). Run bat file as admin. Follow the prompts, and that's it.    

Quick and Dirty Powershell Store Passwords

Basic Sharepoint Online Upload and Download File

A quick beginner's guide to using SharePoint Online to upload and download a file.