Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.161
OS: Windows 10 Pro (64 Bit)
Build: v10.0.17134.0
32 or 64 bit version of product: 64 Bit
Operating system: Windows 10 Pro
32 or 64 bit OS: 64 bit
I am seeing some strange behaviour with my Installation since yesterday. At the start of the application I load some modules namely ActiveDirectory and Exchange from their respective servers.
Code: Select all
$global:AdminCredential = Get-Credential
$dc = "DC"
$session = New-PSSession -ComputerName $dc -Credential $global:AdminCredential
Import-Module -PSSession $session -Name ActiveDirectory
#EXCH Modul laden
$exch = "EXCH"
$s = New-PSSession -ConnectionUri "http://$exch/Powershell" -ConfigurationName Microsoft.Exchange -Credential $global:AdminCredential
import-pssession $s
Fresh Installation of PS Studio did not do anything either.
Code: Select all
ERROR: Import-Module : Fehler im Remotebefehl: Import-Module -Name 'ActiveDirectory': Ein Aufrufziel hat einen Ausnahmefehler verursacht.
ERROR: In C:\Users\xxxx\Documents\SAPIEN\PowerShell Studio\Projects\xxxx\xxxx.Run.ps1:60 Zeichen:2
ERROR: + Import-Module -PSSession $session -Name ActiveDirectory
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [Import-Module], InvalidOperationException
ERROR: + FullyQualifiedErrorId : PSRemotingTransportException,Microsoft.PowerShell.Commands.ImportModuleCommand
ERROR:
ERROR: import-pssession : Nicht genügend Arbeitsspeicher.
ERROR: In C:\Users\xxx\Documents\SAPIEN\PowerShell Studio\Projects\xxxx\xxxx.Run.ps1:65 Zeichen:2
ERROR: + import-pssession $s
ERROR: + ~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [Import-PSSession], OutOfMemoryException
ERROR: + FullyQualifiedErrorId : System.OutOfMemoryException,Microsoft.PowerShell.Commands.ImportPSSessionCommand
Running those commands in a local PowerShell works fine. Just the debugging doesn't work.