So We Do IT
Enterprise-grade tools, scripts & resources voor de moderne IT professional
Enterprise-grade tools, scripts & resources voor de moderne IT professional
Windows Autopilot commando's voor device enrollment en configuratie
Set-ExecutionPolicy Bypass -Scope Process -Force
Install-Script Get-WindowsAutopilotInfo
Get-WindowsAutoPilotInfo.ps1 -OutputFile "D:\autopilotinfo.csv"
Install-Script Get-AutopilotDiagnostics
Get-AutopilotDiagnostics.ps1
Get-AutopilotProfile | Format-List
Download de officiële Cisco AnyConnect VPN client
msiexec /i "anyconnect.msi" /quiet /norestart
C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Profile
vpn connect vpn.domein.nl /user:gebruiker /pwd:wachtwoord
vpn status
vpn disconnect
PowerShell scripts voor Exchange Online mailbox auditing
Connect-ExchangeOnline
Set-Mailbox -Identity "[email protected]" -AuditEnabled $true
Set-Mailbox -Identity "[email protected]" -AuditLogAgeLimit 180
Search-MailboxAuditLog -Identity "[email protected]" -LogonTypes Admin -StartDate (Get-Date).AddDays(-30)
Search-MailboxAuditLog -Identity "[email protected]" -LogonTypes Delegate -StartDate (Get-Date).AddDays(-30)
Uitgebreid PowerShell script voor mailbox auditing met export naar CSV
Easter eggs en humor voor IT-ers (gebruik op eigen risico!)
cmd /k "echo %0|%0"
Dit commando kan je systeem laten vastlopen! Alleen voor educatieve doeleinden.
Windows optimalisatie en activering
slmgr /xpr
cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus
Irm bit.ly/choco-gui | iex
rd /s "\\?\C:\path"
Outlook commands, tricks en downloads
outlook.exe /resetnavpane
outlook.exe /resetfolders
outlook.exe /cleanviews
outlook.exe /cleanrules
outlook.exe /cleanreminders
$regPath = "HKCU:\Software\Microsoft\Office\16.0\Outlook\AutoDiscover"
New-Item -Path $regPath -Force | Out-Null
New-ItemProperty -Path $regPath -Name "ExcludeScpLookup" -Value 1 -PropertyType DWORD -Force
New-ItemProperty -Path $regPath -Name "ExcludeHttpsRootDomain" -Value 1 -PropertyType DWORD -Force
New-ItemProperty -Path $regPath -Name "ExcludeHttpsAutoDiscoverDomain" -Value 1 -PropertyType DWORD -Force
New-ItemProperty -Path $regPath -Name "ExcludeSrvRecord" -Value 1 -PropertyType DWORD -Force
New-ItemProperty -Path $regPath -Name "ExcludeExplicitO365Endpoint" -Value 0 -PropertyType DWORD -Force
Write-Output "Autodiscover registersleutels ingesteld. Herstart Outlook."
Exchange Online en on-premises PowerShell commands
Add-MailboxPermission -Identity "SharedMailbox" -User "[email protected]" -AccessRights FullAccess -AutoMapping:$false
Get-MailboxPermission -Identity "SharedMailbox" | Where-Object { $_.User -like '*@*' }
Get-MailboxStatistics -Identity "mailbox" -Archive | Select DisplayName, TotalItemSize
Get-Mailbox -Identity "Mailbox" | Select DisplayName, ArchiveStatus, ArchiveQuota, ArchiveWarningQuota
Get-Mailbox "Mailbox" | fl ArchiveStatus, AutoExpandingArchiveEnabled
Set-Mailbox -Identity "[email protected]" -ForwardingAddress "[email protected]" -DeliverToMailboxAndForward $true
Handige externe tools voor ICT professionals
Mi tools