Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Script requires Powershell ISE #216

Open
shadow7483147 opened this issue Dec 6, 2021 · 0 comments
Open

[BUG] Script requires Powershell ISE #216

shadow7483147 opened this issue Dec 6, 2021 · 0 comments

Comments

@shadow7483147
Copy link

shadow7483147 commented Dec 6, 2021

Describe the bug
If the Powershell ISE feature of Windows is not enabled, the script hangs the disk as the Event Logger continually writes and deletes this event:

Error Message = To use the Out-GridView, install Windows PowerShell ISE by using Server Manager, and then restart this application. (Could not load file or assembly 'Microsoft.PowerShell.GraphicalHost, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.)
Fully Qualified Error ID = ErrorLoadingAssembly,Microsoft.PowerShell.Commands.OutGridViewCommand


Context:
        Severity = Warning
        Host Name = ConsoleHost
        Host Version = 5.1.19041.906
        Host ID = 75785c76-a6a2-4922-ab93-00877e84f56a
        Host Application = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ./Start-Optimize.ps1
        Engine Version = 5.1.19041.906
        Runspace ID = 5411f378-eafb-4716-8436-f1bbada12821
        Pipeline ID = 1
        Command Name = Out-GridView
        Command Type = Cmdlet
        Script Name = C:\sysinternals\Optimize-Offline-4.0.1.9\Optimize-Offline.psm1
        Command Path = 
        Sequence Number = 2099441
        User = DESKTOP-J1GPF9T\Username
        Connected User = 
        Shell ID = Microsoft.PowerShell


User Data:

I mean, yeah, I figured you need powershell to use it but not the ISE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant