- 03 Dec 2019 21:17
#15052455
@Rancid
Check this out dude. If you are a Linux user like myself, you can install PowerShell on the Linux command shell with the command: "snap install powershell --classic . " If you are running Linux Ubuntu 18.04.3 LTS like I am, before you can install PowerShell on the Linux command line you will need to first unlock your root account with the command from a user account with sudo privileges (root comes locked when you first install Linux Ubuntu 18.04.3 LTS). That command to unlock the root account is "sudo passwd -u root." You can then use install PowerShell using the above command "snap install powershell --classic" given you unlocked the root account and set a password for it.
Once you have PowerShell installed, I highly recommend that you re-lock the root account with the command "sudo passwd -l root" for security reasons. You can then practice and run PowerShell as much as you want from the Linux Ubuntu command line by simple typing in "powershell" and you will go into a PowerShell prompt to execute PowerShell commands. You can also type "exit" at the PowerShell prompt to exit out of PowerShell and go back into Bash Shell. Here is a link that you can examine that discusses installing PowerShell from the Linux Ubuntu command line: https://vitux.com/how-to-install-micros ... on-ubuntu/ .
PowerShell is useful to know if you ever end up having to administer a Windows Active Directory domain. Plus sometimes a Linux Samba server is added to a Windows Active Directory domain as well as part of security measures to prevent a whole network from being taken down from malware or network attack. That and you rig up a Linux Samba server to act as a domain controller in a Windows Active Directory domain. You can check out this link here that discusses this: https://blog.ricosharp.com/posts/2019/S ... -04-Server
Check this out dude. If you are a Linux user like myself, you can install PowerShell on the Linux command shell with the command: "snap install powershell --classic . " If you are running Linux Ubuntu 18.04.3 LTS like I am, before you can install PowerShell on the Linux command line you will need to first unlock your root account with the command from a user account with sudo privileges (root comes locked when you first install Linux Ubuntu 18.04.3 LTS). That command to unlock the root account is "sudo passwd -u root." You can then use install PowerShell using the above command "snap install powershell --classic" given you unlocked the root account and set a password for it.
Once you have PowerShell installed, I highly recommend that you re-lock the root account with the command "sudo passwd -l root" for security reasons. You can then practice and run PowerShell as much as you want from the Linux Ubuntu command line by simple typing in "powershell" and you will go into a PowerShell prompt to execute PowerShell commands. You can also type "exit" at the PowerShell prompt to exit out of PowerShell and go back into Bash Shell. Here is a link that you can examine that discusses installing PowerShell from the Linux Ubuntu command line: https://vitux.com/how-to-install-micros ... on-ubuntu/ .
PowerShell is useful to know if you ever end up having to administer a Windows Active Directory domain. Plus sometimes a Linux Samba server is added to a Windows Active Directory domain as well as part of security measures to prevent a whole network from being taken down from malware or network attack. That and you rig up a Linux Samba server to act as a domain controller in a Windows Active Directory domain. You can check out this link here that discusses this: https://blog.ricosharp.com/posts/2019/S ... -04-Server
"I need ammunition, not a ride!" -Volodymyr Zelenskyy