Reporting virtual machine snapshots for the last 24 hours to the Slack channel.
You only need to change variables according to yourself then you can easily run the script.
You need following software and versions to use scripts.
* PowerCLI 12.1.0 or above
* Windows PowerShell 5.1 or above
* VMware vCenter 6.5 or above (vSphere 8 not tested)
* Slack
Example-1
Example-2
Example-3
You can visit my blog for snapshot alarms on Slack with PowerCLI and more detailed information.