Running Powershell in Kali Linux 2016.2

Channel:
Subscribers:
157
Published on ● Video Link: https://www.youtube.com/watch?v=YIZ3iY7_jc4



Duration: 2:29
778 views
2


Run Windows Powershell in Kali Linux 2016.2
https://github.com/PowerShell/PowerShell/releases

download the : PowerShell-6.0.0-alpha.18-x86_64.AppImage

Simple example of script that show your Bios Name:

# WMI query to list all properties and values of the Win32_BIOS class
# This PowerShell script was generated using the WMI Code Generator, Version 1.30

param( [string]$strComputer = "." )

$colItems = get-wmiobject -class "Win32_BIOS" -namespace "root\CIMV2" -computername $strComputer

foreach ($objItem in $colItems) {
write-host "Name :" $objItem.Name
write-host "Version :" $objItem.Version
write-host "Manufacturer :" $objItem.Manufacturer
write-host "SMBIOSBIOS Version :" $objItem.SMBIOSBIOSVersion
write-host
}







Tags:
powershell
kali
linux
2017
2016.2
install
running
image
release
github
alpha
windows 10