Tag: powershell
Force Sync of Intune Via Powershell Locally
How to find version’s of Office installed via BatchPatch\CMD and Powershell
32bit cmd.exe /c echo . | powershell.exe -ExecutionPolicy Bypass -command “(Get-ItemProperty -Path ‘HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration’ -ErrorAction SilentlyContinue -WarningAction SilentlyContinue) | Select-Object -ExpandProperty VersionToReport” 64bit cmd.exe /c echo . | […]
Certificate padding check – MS13-098
Bulk Remove Domain from users in 365 ( UPN and SMTP )
Remove Domain from UPN Remove SMTP address
Find user whos running Task scheduler
Scripts/Check_RunAsAccount.ps1 at master · TheSleepyAdmin/Scripts · GitHub
Using Powershell to Send Emails via 365
Finally can do this via OAuth ( No Username and password Azure APP ) AND Non Interactive https://github.com/richfaj/SmtpClientDiag/blob/master/SmtpClientDiag.psm1
Migrate Distribution Groups and Members between 365 Tenants and settings
Alex has already done the hard work for this which works well Exchange Online Distribution List Migration Script | A blog about automation and technologies in the […]
Install-Package : No match was found for the specified search criteria and module name
Recently trying to install a Module in Powershell gallery on a PC , but came back with an error Had a check and No Repos were listed […]
How to register azure site recovery agent with powershell cli
This is useful for when you have a hyper v host only nope with CLI and no GUIDRConfigurator.exe /r /friendlyname MyServerName /credentials “C:\Software\vaultname_asr_DayMonthDateYear.VaultCredentials”