Skip to content

mybesttools/PowerShellScripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 

Repository files navigation

PowerShell scripts

Microsoft Azure, Office 365, Microsoft Exchange and Exchange Online

Get-MailboxStatisticsDetails - Gets detailed mailbox statistic information of Exchange Online mailbox. Useful for capacity planning of Outlook cached mode.
O365Report - Office 365 Report. Script combines Get-MsolUser, Get-Mailbox and Get-MailboxStatistics cmdlet's into single one. Also includes basic licensing information.
Get-CalendarPermissionsReport - Calendar permissions report for Exchange 2010/2013/2016 and Exchange Online.
Get-MsolGroupMember - Extend functionality of Get-MsolGroupMember cmdlet from Windows Azure Active Directory Module. Just Office 365 groups membership report script.
Get-O365Users - Get report of Office 365 Users and attributes.
Import-O365Users - Import Office 365 Users to Active Directory.
Get-MsolADPasswordReport - Azure AD Connect password synchronization report.
Get-MailForwardingReport - Exchange Server mail forwarding report.
Get-MessageTraceReport - Exchange Online Message trace report.

Windows Server

Get-UPDReport - RDS User Profile Disks (UPDs) report including account information from Active Directory.
Compare-GPOs - Troubleshoot Group Policy issues.
Get-ADComputerServiceAccounts - Active Directory service accounts report.
Get-ADComputerNetConfig - Network configuration report of Active Directory domain joined servers and workstations.
CheckpointSize - Hyper-V checkpoint size report via VMM Command Shell.
SendGmail - Send Gmail via PowerShell.
Get-NTFSPermissions - NTFS Permissions report.
Generate-GUID - Generate guid using PowerShell.
Query-mssql - Query MS SQL Server and send the results via email.
MonitorWindowsService - Monitor Windows Service.
Get-ADPCReport - Active Directory domain joined workstations report.
Get-ADUsersReport - Active Directory user accounts report.
Get-ADPasswordExpirationReport - Active Directory Users Password Expiration report.

HowTo's

Find-AzureEmptyRG - Microsoft Azure - Find empty Resource Groups.
Fix-AzureVault - Microsoft Azure - Cross-subscription move error due to KeyVault.
Check-ADAcl - Active Directory - Password Reset Delegation Audit.
AzureUPNChange - Microsoft Azure AD Connect and UPN change.
MoveArchiveMailbox - Exchange Server - Move Archive between mailboxes.
Set-AzureVMAS - Microsoft Azure - Add existing VM to Availability Set.
WorkingWithProcesses - Working with Windows processes, get/kill.
WorkingWithProgressBar - Working with Progress Bar.
PSObjectPropertyOrder - PSObject property order (ordered hash tables).
SessionRecording - How to store all typed commands and their output to a file?
SendEmailOnBehalf - Send email on behalf.
WorkingWithArchives - Working with Archives.
WorkingWithCredentials - Storing credentials in a file.
Azure2ADSync - Synchronize Office 365 users back to Active Directory.
PowerShellLogRead - How to read logs using PowerShell.
Get-ParameterAlias - Get PowerShell cmdlet parameter alias.
ParseBarracudaLogs - How to parse Barracuda logs using PowerShell.
MinimizeWindowsServerImage - How to minimize storage footprint of Azure Windows Server.

Networking

TCPListen - Open TCP port and listen for connections. Useful for troubleshooting TCP/IP or Firewall issues.
Get-MXReport - DNS MX Report using PowerShell.

Games

Start-SeaBattle - Create 5 submarines (single-funnel) and play against computer.

Fun

Fix-PersonalDilemma - Simple PowerShell script to solve a small dilemma

About

PowerShell Scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%