• Stars
    star
    3
  • Rank 3,943,258 (Top 79 %)
  • Language
    PowerShell
  • Created over 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This PowerShell Script will self elevate if required while keeping the current working directory, the script saves the location as a variable and passes it through to the new elevated window so the current working directory is kept, the new window then sets the location from the argument. This script is a modification of the script located at https://superuser.com/questions/747254/powershell-elevation-loses-current-directory