This module contains a collection of functions than you can use to enhance your powershell utilisation. Most of commands availables are cross-plateform and usable in the Core and Desktop version of Powershell.
The Get-OsVersion
function is an equivalent to winver.exe
to display the OS version informations.
Get-OsVersion
ProductName : Windows 10 Pro
EditionId : Professional
ReleaseId : 2004
Build : 19041
InstallDate : 03/09/2020 10:16:00
RegisteredOrganization :
RegisteredOwner :
This command list all Wi-Fi profiles saved in your computer.
Get-WifiProfiles
SSID
----
Network1
Network2
Network3
Display all Wi-Fi profile passwords saved in your computer.
Get-WifiPassword
SSID Pasword
---- -------
Network1 Password1
Network2 Password2
Network3 Password3
You can also display only some of the saved networks.
Get-WifiPassword -ListAvailable Network1, Network3
SSID Pasword
---- -------
Network1 Password1
Network3 Password3
Use this function to convert a stockage unit to an another.
Convert-DataBytes -Value 1 -From KB -To Bytes
1024
You can also pass the value by a pipeline.
1 | Convert-DataBytes -From KB -To Bytes
1024
This function allows to calculate a percentage.
Get-Percentage -FirstNumber 250 -SecondNumber 37
85,2