To ensure that you don't have any rules that will supersede this OSDBuilder Home, set the AllowGlobalOptions to false
If you have a shared Mount or Updates directory, this is OK, but keep your settings limited. Save and close this file.
This should be very simple and allows you to just run this file to set the Home to this directory. You should add these to every OSDBuilder Home that you have to make things easier
OSDBuilder -SetHome $PSScriptRoot
Now execute SetHome.ps1 and make sure everything looks good. Close this PowerShell Session