mavaddat / wasp

Windows Automation Snapin for PowerShell
MIT License
167 stars 15 forks source link

install wasp #3

Closed rinaldi6109 closed 4 years ago

rinaldi6109 commented 5 years ago

Totally newbie here and... how do I install & run wasp module?

SirWobbyTheFirst commented 4 years ago

Yeah, I'd also appreciate knowing how you are supposed to install this module.

mavaddat commented 4 years ago

How to install WASP as module in PowerShell

Ketenks commented 4 years ago

I could not find the correct Wasp.dll or there was an error in the build. I got this error while following the directions: PS C:\Users\> Import-Module -name WASP Import-Module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\WASP\WASP.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) At line:1 char:1 + Import-Module -name WASP `+ ~~~~~~~~

The directions are vague and only say "releases" directory without there being an actual directory called releases. I searched around and found two different dll's in the zip and tried both of them and both gave this same error. I'm on Windows 10.

chaoscreater commented 4 years ago

I have the same issue as Ketenks. I figured it out, you have to unblock the .dll file in the Properties.

If you downloaded the DLL file from the internet Windows locks that executable file for some commands. Right click on the DLL file, select properties. On the down right part of the screen you will see a checkbox to unlock the file.

Ketenks commented 4 years ago

Awesome thanks

mavaddat commented 4 years ago

I have the same issue as Ketenks. I figured it out, you have to unblock the .dll file in the Properties.

Thank you. I will add this to the documentation.