Skip to main content

Questions tagged [powershell]

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

-2 votes
1 answer
253 views

The official docs doesn't have a section for CachyOS or Arch Linux. I tried following some guides online to build it myself, to install AUR, snap, pacman, and I don't know what other methods, but none ...
Delphi Programming's user avatar
0 votes
0 answers
109 views

I read through some other threads of similar issues but none of the solutions worked (haven't tried overwriting the public key as I don't know if that will lock me out or cause other issues, if this ...
browb7's user avatar
  • 1
0 votes
1 answer
101 views

I host numerous RHEL 8 servers in the Azure environment. I am using a Red Hat Satellite VM to patch servers and then I rely on the owners to reboot once patching is complete. I want to implement a ...
Jared's user avatar
  • 9
0 votes
1 answer
283 views

I can do this to directly enter a PowerShell ssh foobar 'powershell' , but in this shell, arrow keys won't work. It works if I just: ssh foobar ..and then enter PowerShell, by typing powershell. ...
Jason Hunter's user avatar
2 votes
2 answers
6k views

I've been using yt-dlp to download audio files before running mpv for playing them back. I've been specifically using the following commands: yt-dlp -f ba "ytsearch:major artist cool music" ...
Gabe Devs's user avatar
3 votes
1 answer
483 views

I'm currently running Gentoo Linux and have installed PowerShell (app-shells/pwsh-bin) as I am a contrarian. That being said, I am unable to obtain colour by default when running certain commands. ...
JJ Marr's user avatar
  • 33
0 votes
1 answer
660 views

So I'm working on a powershell script that runs a pester test. The script connects to a Kubernetes pod with a Mongo database. The goal is to check whether or not a collection in the database is empty. ...
a_wahab's user avatar
0 votes
1 answer
4k views

In powershell I'm used to doing something like this: > $python_files = get-childitem *.py > echo $python_files[0] The second command allows me to extract the first file, since get-childitem ...
user32882's user avatar
  • 101

15 30 50 per page