Hi, I'm having a huge issue importing the base module.
PS C:\Users****\Downloads\MicroBurst-master> $PSVersionTable
Name Value
PSVersion 6.1.3
PSEdition Core
GitCommitId 6.1.3
OS Microsoft Windows 10.0.14393
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Here is the otuput:
PS C:\Users*\Downloads\MicroBurst-master> Import-Module .\MicroBurst.psm1
VERBOSE: Loading module from path 'C:\Users*\Downloads\MicroBurst-master\Get-AzureDomainInfo.ps1'.
VERBOSE: Dot-sourcing the script file 'C:\Users****\Downloads\MicroBurst-master\Get-AzureDomainInfo.ps1'.
Confirm
Are you sure you want to perform this action?
Performing the operation "Install-Module" on target "Version '6.13.1' of module 'AzureRM'".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): A
Confirm
Are you sure you want to perform this action?
Performing the operation "Install-Module" on target "Version '5.3.0' of module 'Azure'".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the
Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): A
VERBOSE: Loading module from path 'C:\Users*\Downloads\MicroBurst-master\Get-AzurePasswords.ps1'.
VERBOSE: Dot-sourcing the script file 'C:\Users*\Downloads\MicroBurst-master\Get-AzurePasswords.ps1'.
Import-Module : Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
At C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psm1:81 char:1
- Import-Module (Join-Path -Path $PSScriptRoot -ChildPath Microsoft.Azu ...
-
- CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : The module to process 'AzureRM.Profile.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psd1' was not processed because no valid module was found in any module directory.
At C:\Program Files\PowerShell\Modules\AzureRM\6.13.1\AzureRM.psm1:81 char:1
- Import-Module AzureRM.Profile -RequiredVersion 5.8.2 -Global
-
- CategoryInfo : ResourceUnavailable: (AzureRM.Profile:String) [Import-Module], PSInvalidOperationException
- FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The sys
tem cannot find the file specified.
At C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psm1:81 char:1
- Import-Module (Join-Path -Path $PSScriptRoot -ChildPath Microsoft.Azu ...
-
- CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : The module to process 'AzureRM.Profile.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psd1' was not processed because no valid module was found in any module directory.
At C:\Program Files\PowerShell\Modules\Azure.Storage\4.6.1\Azure.Storage.psm1:50 char:5
-
Import-Module AzureRM.Profile -MinimumVersion 5.6.0 -Scope Global
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (AzureRM.Profile:String) [Import-Module], PSInvalidOperationException
- FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
At C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psm1:81 char:1
- Import-Module (Join-Path -Path $PSScriptRoot -ChildPath Microsoft.Azu ...
-
- CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : The module to process 'AzureRM.Profile.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psd1' was not processed because no valid module was found in any module directory.
At C:\Program Files\PowerShell\Modules\AzureRM.AnalysisServices\0.6.14\AzureRM.AnalysisServices.psm1:19 char:5
-
Import-Module AzureRM.Profile -MinimumVersion 5.5.1 -Scope Global
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (AzureRM.Profile:String) [Import-Module], PSInvalidOperationException
- FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
At C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psm1:81 char:1
- Import-Module (Join-Path -Path $PSScriptRoot -ChildPath Microsoft.Azu ...
-
- CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : The module to process 'AzureRM.Profile.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psd1' was not processed because no valid module was found in any module directory.
At C:\Program Files\PowerShell\Modules\Azure.AnalysisServices\0.5.4\Azure.AnalysisServices.psm1:19 char:5
-
Import-Module AzureRM.Profile -MinimumVersion 5.4.0 -Scope Global
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (AzureRM.Profile:String) [Import-Module], PSInvalidOperationException
- FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
VERBOSE: Loading module from path 'C:\Users\dsaric1\Downloads\MicroBurst-master\Get-MSOLDomainInfo.ps1'.
VERBOSE: Dot-sourcing the script file 'C:\Users\dsaric1\Downloads\MicroBurst-master\Get-MSOLDomainInfo.ps1'.
Confirm
Are you sure you want to perform this action?
Performing the operation "Install-Module" on target "Version '1.1.183.17' of module 'MSOnline'".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the
Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): A
VERBOSE: Loading module from path 'C:\Users*\Downloads\MicroBurst-master\Invoke-AzureRmVMBulkCMD.ps1'.
VERBOSE: Dot-sourcing the script file 'C:\Users*\Downloads\MicroBurst-master\Invoke-AzureRmVMBulkCMD.ps1'.
Import-Module : Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
At C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psm1:81 char:1
- Import-Module (Join-Path -Path $PSScriptRoot -ChildPath Microsoft.Azu ...
-
- CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Import-Module : The module to process 'AzureRM.Profile.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Program Files\PowerShell\Modules\AzureRM.Profile\5.8.2\AzureRM.Profile.psd1' was not processed because no valid module was found in any module directory.
At C:\Program Files\PowerShell\Modules\AzureRM\6.13.1\AzureRM.psm1:81 char:1
- Import-Module AzureRM.Profile -RequiredVersion 5.8.2 -Global
-
- CategoryInfo : ResourceUnavailable: (AzureRM.Profile:String) [Import-Module], PSInvalidOperationException
- FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
VERBOSE: Loading module from path 'C:\Users*\Downloads\MicroBurst-master\Invoke-EnumerateAzureBlobs.ps1'.
VERBOSE: Dot-sourcing the script file 'C:\Users*\Downloads\MicroBurst-master\Invoke-EnumerateAzureBlobs.ps1'.
VERBOSE: Loading module from path 'C:\Users*\Downloads\MicroBurst-master\Invoke-EnumerateAzureSubDomains.ps1'.
VERBOSE: Dot-sourcing the script file 'C:\Users*\Downloads\MicroBurst-master\Invoke-EnumerateAzureSubDomains.ps1'.
Does anyone have any idea why this is happening? I've been on this for about 4 days without progress...