Requiring the VMware.Vim.dll assembly in the DRSRule PSD1 file essentially means that the VMware.VimAutomation.Core module should be imported in the current session. If that module is not loaded (or, if the person as not manually added the given VMware.Vim.dll assembly in the current PowerShell session), importing the DRSRule module fails.
Requiring the
VMware.Vim.dll
assembly in theDRSRule
PSD1 file essentially means that theVMware.VimAutomation.Core
module should be imported in the current session. If that module is not loaded (or, if the person as not manually added the givenVMware.Vim.dll
assembly in the current PowerShell session), importing theDRSRule
module fails.