Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [powershell]

Tag to be used for questions about Microsoft Powershell. For general shell questions use [tag:shell]. For other shells use their own tags like [tag:bash], [tag:zsh]. For questions about scripting the tag [tag:scripting] should be used along the shell tag.

7
votes
2answers
540 views

Installing PowerShell on 32-bit Kali OS fails

I am having some issues installing PowerShell on my 32-bit Kali Linux PC.  I followed this guide and started with: apt update && apt -y install curl gnupg apt-transport-https Next, I ...
0
votes
2answers
71 views

WSL: Keeping ssh private key accessible as long as I don't restart Windows 10 (like the behaviour of pageant)

So far on Windows 10 I used mainly the PuTTy bundle (PuTTygen, Pageant and PuTTy, etc) to SSH into remote Linux machines. I use Pageant as a private key holder to hold to private key (and possible ...
0
votes
1answer
24 views

show volume informations in tabular view

I'm trying to save on linux powershell core 6.1 information about the volumes in a variable. Best in the same or similar format as it is possible on windows. But i am unable to achiev this kind of ...
2
votes
1answer
546 views

Is there an equivalent to PowerShell's “Switch” in bash?

I was curious as to whether or not there is an equivalent to PowerShell's "Switch" command that lets you maneuver with input instead of using a multitude of "if-statements"
3
votes
1answer
737 views

Resolve-DnsName : The term 'Resolve-DnsName' is not recognized as the name of a cmdlet

Why is Resolve-DnsName not recognized for PowerShell Core? So far as I recall it works fine with PowerShell itself. Is this a .NET versus dotnet problem? That dotnet simply doesn't have this ...
4
votes
1answer
2k views

wget not saving file after download

So I am currently using the wget command on windows 10 powershell to download various files. However, when testing this command, files do not actually download. For example, say I want to download an ...
0
votes
2answers
359 views

`powershell -version` doesn't work on Linux

I have just installed the open-source version of PowerShell for Linux on Arch Linux using the powershell-git package from AUR. When I try PowerShell's -Version functionality, I get the following: PS /...