How to know the name of the directory in which I run a powershell script ?, my code is as follows:
$usuario = $env:USERPROFILE
[Reflection.Assembly]::LoadFile("$usuario\Desktop\"nombre de la carpeta"\lib.dll")
I want to put a variable in the "name of the folder" that I take the name of the current folder where I run the script as it would be! I have looked at the environment variables but I can not find any that serve me.