Installed a fresh copy of the toolkit (onto a relatively brand new Windows 2019 server VM).
Error:
PS C:\Users\ayun> import-module purestoragepowershelltoolkit
import-module : The required module 'PureStoragePowerShellToolkit.Core' is not loaded. The module 'PureStoragePowerShellToolkit.Core' has a requiredModule
'PureStoragePowerShellToolkit.FlashArray' in its module manifest 'C:\Program
Files\WindowsPowerShell\Modules\PureStoragePowerShellToolkit.Core\3.0.1\PureStoragePowerShellToolkit.Core.psd1' that points to a cyclic dependency.
At line:1 char:1
+ import-module purestoragepowershelltoolkit
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (C:\Program File...elltoolkit.psd1:String) [Import-Module], MissingMemberException
+ FullyQualifiedErrorId : Modules_InvalidManifest,Microsoft.PowerShell.Commands.ImportModuleCommand
Entire workflow here including module installation.
It does seem that one can execute 'import-module purestoragepowershelltoolkit.flasharray' followed by 'import-module purestoragepowershelltoolkit.core' then execute 'import-module purestoragepowershelltoolkit' without error.
Installed a fresh copy of the toolkit (onto a relatively brand new Windows 2019 server VM).
Error:
$PSVersionTable
Entire workflow here including module installation.
It does seem that one can execute 'import-module purestoragepowershelltoolkit.flasharray' followed by 'import-module purestoragepowershelltoolkit.core' then execute 'import-module purestoragepowershelltoolkit' without error.