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

Open-AADIntOWA - Windows.Forms.Form and Clear-WebBrowser #86

Open
realspookysocks opened this issue Apr 17, 2024 · 0 comments
Open

Open-AADIntOWA - Windows.Forms.Form and Clear-WebBrowser #86

realspookysocks opened this issue Apr 17, 2024 · 0 comments

Comments

@realspookysocks
Copy link

When trying to run Open-AADIntOWA from a powershell window, I get the following error:

New-Object : Cannot find type [Windows.Forms.Form]: verify that the assembly containing this type is loaded.

Doing a bit of digging, I'm pretty sure that's because the powershell module doesn't include the required "Add-Type -AssemblyName System.Windows.Forms" and associated assembly references. You can get around this by using powershell ISE, which will auto-load some modules.

After getting around this one, I still was unable to use Open-AADIntOWA successfully. I was getting the error 'Clear-WebBrowser'.

Any help would be greatly appreciated!

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