Repository of scripts and so on from my blog https://blog.sonnes.cloud/, and these are linked from individual blog posts over here.
Some scripts is also here just to be public - and not showed on my blog etc.
This repository contains a number of scripts that I have written or enhanced to make day-to-day life easier for system administators. These are provided for free to the community under an MIT License. An explantion or guide on how to use the scripts can be found on my blog https://blog.sonnes.cloud/ or here in a README.MD file. It includes Scripts for Exchange/Exchange Online, Microsoft 365, Active Directory, Windows Clients/Servers, Security and VMware which I have created/collected over the time.
To use a script you can copy it onto your workstation and open the PowerShell window in that location. To read more about running PowerShell scripts, you can read this article: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_run_with_powershell/
You can clone the repository:
git clone https://github.com/michaelmsonne/public.git
Additionally you can download these scripts from this OneDrive link.
Launch PowerShell and make sure Set-ExecutionPolicy is set to RemoteSigned or Bypass (but some scripts may be signed with my Code Sign certificate)
The following is the disclaimer that applies to all scripts, functions etc. This disclaimer supersedes any disclaimer included in any script, function, etc.
You running this script/function means you will not blame the author(s) if this breaks your stuff. This script/function is provided AS IS without warranty of any kind. Author(s) disclaim all implied warranties including, without limitation, any implied warranties of merchant-ability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the scripts remains with you. In no event shall author(s) be held liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the script or documentation. Neither this script/function, nor any part of it other than those parts that are explicitly copied from others, may be republished without author(s) express written permission. Author(s) retain the right to alter this disclaimer at any time.
All the scripts provided in this blog are based on my personal views/usage scenarios. There is no guarantee or warranty that these will work your environment without any issues.
You need to test them yourself in your test lab before trying in production. The author of this blog is not responsible if the usage of scripts given in this blog causes any damage to your environment or malfunctions.
For any feedback/suggestions you might have please email me on mail or create a pull request.
Create a fork of the project into your own reposity. Make all your necessary changes and create a pull request with a description on what was added or removed and details explaining the changes in lines of code. If approved, I will merge it.
Thank you !!
Licensed under the MIT License (the “License”); you may not use this file except in compliance with the License.
THE SOFTWARE (SCRIPTS) ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.