PowerShell
PowerShell copied to clipboard
PowerShell functions and scripts (Azure, Active Directory, SCCM, SCSM, Exchange, O365, ...)
This doesn't do unit tests, just linting / static analysis with PSScriptAnalyzer so it doesn't completely fix #18 I've made a few things configurable through the env-variables. This runs on...
Replaced the Exchange Online method in this script with the newer EXOv2 method as described in this Doc: https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps
@lazywinadmin Thank you, the code you have shared is very good. In my case, I need to collect direct and indirect reporters with using -recurse feature where extensionAttribute1 is not...
You could add in your SWITCH ($Member.RecipientType)... {($_ -eq "UserMailbox") -or ($_ -eq "Mailuser")} { To include both cases of Onprem Mailboxes (Mailuser) vs O365 Mailboxes (UserMailbox) Also you could...
Every scripts should have: * Description * Synopsis * Examples * Parameters help
Look into one of the CI/CD solution to do Lint and Unit tests
powershell tool to continuously check server-port reachability. 'ping -t' equivalent to 'telnet'