Dot sourcing can simplify large PowerShell scripts -- but without a clear structure, it can quickly lead to chaos.
Open the following path: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options ...