You can open a new powershell window under a specified user credential like this:
start powershell -credential ""
More Related Contents:
- Renaming files by reformatting existing filenames – placeholders in replacement strings used with the -replace operator
- Unable to Pause or Sleep after Select-Object
- Powershell Invoke-WebRequest Fails with SSL/TLS Secure Channel
- How can I find the Upgrade Code for an installed MSI file?
- What’s the better (cleaner) way to ignore output in PowerShell? [closed]
- How to enter a multi-line command
- Add a where-object on a table construct?
- Is there a way to create an alias to a cmdlet in a way that it only runs if arguments are passed to the alias?
- Is there a way to make a PowerShell script work by double clicking a .ps1 file?
- How to redirect the output of a PowerShell to a file during its execution
- Using Get-ChildItem -Exclude or -Include returns nothing
- How can I make PowerShell handle [ or ] in file name well?
- What’s the difference between .replace and -replace in powershell?
- ‘kubectl patch’ works on Linux Bash but not in Windows Powershell ISE
- Ternary operator in PowerShell
- CMD pipe different form Powershell pipe?
- Why does the `using` scope work locally with Start-Job, but not Invoke-Command?
- Get-Content and show control characters such as `r – visualize control characters in strings
- Powershell send-mailmessage – email to multiple recipients
- Function Get-IniContent is not recognized – INI file support inPowerShell
- If Statement Against Dynamic Variable [duplicate]
- Copy file remotely with PowerShell
- How to pass a custom function inside a ForEach-Object -Parallel
- In what conditions does powershell unroll items in the pipeline?
- Connecting to a network folder with username/password in Powershell
- How to send CTRL or ALT + any other key?
- notcontains not working for User objects pulled from AD Groups
- Boolean literals in PowerShell
- Difference between PowerShell Console and PowerShell ISE
- Unix newlines to Windows newlines (on Windows)