Tag: PowerShell
[MICROSOFT 365] – FORCE AD USER SYNC WITH ENTRA ID
Fix Active Directory users that fail to sync to Microsoft Entra ID and spawn duplicate cloud accounts by matching attributes or setting the ImmutableID.
[HYPER-V] – KILL VM PROCESS
Force-kill a stuck Hyper-V virtual machine by locating its VMWP worker process from the VM GUID and stopping it with PowerShell.
[ACTIVE DIRECTORY] – SYSVOL and NETLOGON not syncing
SYSVOL and NETLOGON folders weren’t syncing between domain controllers or the folders did not exist at the secondary DC.
[MICROSOFT 365] – DISABLE DIRSYNC | AZURE AD CONNECT
Disable Azure AD Connect directory synchronization on a Microsoft 365 tenant with PowerShell, then confirm the status.
[MICROSOFT 365] – Calendar Permission (GET, SET, ADD and REMOVE)
PowerShell syntax to get, set, add and remove Microsoft 365 calendar folder permissions, plus what each access-rights role allows.
[BITLOCKER] – How to re-lock without a restart
Re-lock a BitLocker-protected drive immediately from an elevated prompt with manage-bde, without restarting Windows.
[MICROSOFT 365] – Check users who have Fullacess at a mailbox
List every mailbox that a specific user has Full Access permission to in Microsoft 365, using a single Exchange Online PowerShell command.
[MICROSOFT 365] – Inbox Rules
CASE 1: As an admin, you set up alerts at your tenant to warn you when someone creates an Outlook rule to forward emails externally.
[MICROSOFT 365] – DISABLE DIRSYNC
How to check the directory synchronization status with PowerShell and disable DirSync on a Microsoft 365 tenant.