Friday, June 22, 2018

Microsoft PowerShell - Which version of Windows

P
owerShell is quite a good language which is already used widely on Window, both by system administrators and by Microsoft for delivering management tools. PowerShell went “Open Source” last year and may actually become popular on Linux and Mac iOS where Windows is now available.


To find which version of Windows you are running, enter the following commands in the  Powershell:

--- Below command provides the caption of the current running windows
wmic os get caption

--- Below command provides the architecture of the current running windows
wmic os get osarchitecture


You can see the following output after running the above commands in Powershell-


Outside of its uses for systems administration, it also happens to be incredibly useful for penetration testers needing a good platform for post exploitation.

No comments:

Post a Comment

Popular Posts

Get Sponsored by Big Brands