Skip to content
Microsoft 365 consultancy

Microsoft 365 consultancy

M365 | MEM | Intune | AAD | Azure | Exchange | Apple Dep | Android

Menu
  • Home
  • Blog
  • About
  • Contact

Tag: scripts

commands / Scripts / Windows 10 / Windows 11 / Windows Server

Automatically delete files older than 30 days via Task scheduler

Create task change the username to NT AUTHORITY/SYSTEM The task will now run as SYSTEM user.The  SYSTEM user has full access on the local machine only.You’re not able to change whether …

AUtopilot / AzureAD / Powershell / Scripts / Windows 10 / Windows 11

Intune – sync all devices in Intune using Powershell

Install Micrsofot Graph IntuneMore information : PowerShell Gallery | Microsoft.Graph.Intune 6.1907.1.0 IMport and Connect to MS Graph Sync One device via POwershall MS Graph Sync all devices. If you have …

commands / Scripts / Windows 10 / Windows 11 / Windows Server

Automatically delete files older than 90 days via Task scheduler

I was in a need to automatically clean /delete temporary application files older then 30 or 90 days.To achieve this I used the Windows Task scheduler and the windows ForFiles …

AzureAD / Exchange / Powershell

Turning off Basic authentication in the Microsoft 365 admin center does not turn off two legacy services.

Turning off Basic authentication in the Microsoft 365 admin center does not turn off two legacy services. AllowBasicAuthOutlookService  AllowBasicAuthReportingWebServices These two settings can only be turned off via Exchange Online PowerShell. Get-AuthenticationPolicy Set-AuthenticationPolicy -Identity “policy name  …

AzureAD / Powershell / Scripts / Teams

Restore deleted MS Teams/Microsoft 365 group

Connect to Azure AD display a list of all soft-deleted Microsoft 365 groups that are still within the 30-day retention period Find the group to restore and copy the IdRun …

Active Directory / commands / Powershell / Scripts / Windows Server

Force AD Active Directory replication via Powershell or command prompt

Via Powershell : Via Command Prompt

Active Directory / Powershell / Scripts

Powershell – Create AD User script

This is a script which I use to create Users in bulk

Recent Posts

  • Recreate deleted Office 365 shortcuts
  • Autopilot devices – Bulk set Devicename via powershell
  • Automatically delete files older than 30 days via Task scheduler
  • Intune – sync all devices in Intune using Powershell
  • Powershell – Bulk Set AD user description, department and title

RSS Microsoft Office 365: We all work together.

  • Power Automate: Copy/Paste List Item Comments February 1, 2023
  • Microsoft Teams Admin Center - Set Background image without user interaction February 1, 2023
  • Can't MS Words recognize two languages at the same time? (Google Docs can, with example below) February 1, 2023
  • Outlook desktop available on MS Business Basic. February 1, 2023
  • Yammer's All Company group is empty in Azure January 31, 2023
  • To Do tab in Outlook January 31, 2023
  • Subfolders, rules with Microsoft 365 Groups January 31, 2023

Find Us

Address
Meerssen, 6231 CM,
Netherlands

Company
Legal Business Name : Cloudshark
KVK : 78598885
D‑U‑N‑S Number : 493487885

Contact:
[email protected]

Twitter : @mieffel

Linkedin : https://www.linkedin.com/in/yves-te-poel/

 

 

Copyright © 2023 Microsoft 365 consultancy – OnePress theme by FameThemes