• Home
  • About
  • Contact
  • Resources
  • News
  • Home
  • About
  • Contact
  • Resources
  • News
Powershell Newbie

Get | Set | Start

PS in Linux in PS

2/1/2018

1 Comment

 
The usefulness could be debated but this sure was fun to accomplish. The result is a PowerShell Core console inside a Kali Linux terminal running in a Windows PowerShell console. Pictures follow.

First I followed the instructions from the Kali blog here:
Installing Kali Linux on Windows 10 Using the Linux Subsystem

Next within that Kali subsystem I followed the instructions from Microsoft here:
Installing PowerShell Core On macOS and Linux       
I scrolled down to the section:
Installation via Package Repository - Debian 9
But...
Ran into a DNS issue. This is solved by using nano editor in linux to change the DNS file:
​nano /etc/resolv.conf
then Ctrl+O to save and Ctrl+X to exit
I then had no trouble following the instructions and once done...BAM!
PowerShell Core inside Kali Linux inside Windows PowerShell on Windows 10
Why did I do it? Because I could. If we don't test it, we won't break it. If we don't break it, we miss an opportunity to learn.
Picture
Picture
Picture
Picture
Picture
Picture
Picture
Picture
Picture
Picture
1 Comment
https://www.allessayvikings.com/essaysoft-review/ link
11/7/2020 12:55:30 am

I think that it is really good on Linux. I am a computer engineer and I still use Linux. It is, by far, the easiest to use, at least from my experience. I honestly believe that it is quite hard to do stuff if I am operating on another one. I hope that I can use Linux for as long as I am able, but times are changing. I am going to have to adapt to the changing times I guess.

Reply



Leave a Reply.

    Joshua B. Jones, VCP6-DCV

    Professional PowerShell Fan, Automation & Virtualization Expert

    Archives

    February 2018
    January 2018
    December 2017
    November 2017
    May 2017
    August 2016

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.