Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
auberginehill authored Nov 20, 2016
1 parent 4c88dc3 commit 871d7ee
Showing 1 changed file with 84 additions and 37 deletions.
121 changes: 84 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<!-- Visual Studio Code: For a more comfortable reading experience, use the key combination Ctrl + Shift + V
Visual Studio Code: To crop the tailing end space characters out, please use the key combination Ctrl + Shift + X
<!-- Visual Studio Code: For a more comfortable reading experience, use the key combination Ctrl + Shift + V
Visual Studio Code: To crop the tailing end space characters out, please use the key combination Ctrl + A Ctrl + K Ctrl + X (Formerly Ctrl + Shift + X)
Visual Studio Code: To improve the formatting of HTML code, press Shift + Alt + F and the selected area will be reformatted in a html file.
_____ _ ____ _ _ _____ __
/ ____| | | | _ \ | | | | |_ _| / _|
| | __ ___| |_ ______| |_) | __ _| |_| |_ ___ _ __ _ _ | | _ __ | |_ ___
| | |_ |/ _ \ __|______| _ < / _` | __| __/ _ \ '__| | | | | | | '_ \| _/ _ \
| |__| | __/ |_ | |_) | (_| | |_| || __/ | | |_| |_| |_| | | | || (_) |
\_____|\___|\__| |____/ \__,_|\__|\__\___|_| \__, |_____|_| |_|_| \___/
__/ |
Visual Studio Code shortcuts: http://code.visualstudio.com/docs/customization/keybindings (or https://aka.ms/vscodekeybindings)
Visual Studio Code shortcut PDF (Windows): https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
_____ _ ____ _ _ _____ __
/ ____| | | | _ \ | | | | |_ _| / _|
| | __ ___| |_ ______| |_) | __ _| |_| |_ ___ _ __ _ _ | | _ __ | |_ ___
| | |_ |/ _ \ __|______| _ < / _` | __| __/ _ \ '__| | | | | | | '_ \| _/ _ \
| |__| | __/ |_ | |_) | (_| | |_| || __/ | | |_| |_| |_| | | | || (_) |
\_____|\___|\__| |____/ \__,_|\__|\__\___|_| \__, |_____|_| |_|_| \___/
__/ |
|___/ -->


Expand All @@ -29,37 +31,49 @@
</tr>
<tr>
<td style="padding:6px"><strong>Description:</strong></td>
<td style="padding:6px">Get-BatteryInfo uses Windows Management Instrumentation (WMI) to retrieve basic battery and computer information and displays the results in console.</td>
<td style="padding:6px">Get-BatteryInfo uses Windows Management Instrumentation (WMI) to retrieve basic battery and computer information and displays the results in console. On Windows 8+ machines Get-BatteryInfo also launches the inbuilt <code>PowerCfg /batteryreport</code> command to generate a detailed Battery Report HTML-file.</td>
</tr>
<tr>
<td style="padding:6px"><strong>Homepage:</strong></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-battery-info">https://github.com/auberginehill/get-battery-info</a></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-battery-info">https://github.com/auberginehill/get-battery-info</a>
<br />Short URL: <a href="http://tinyurl.com/jnnuvq3">http://tinyurl.com/jnnuvq3</a></td>
</tr>
<tr>
<td style="padding:6px"><strong>Version:</strong></td>
<td style="padding:6px">1.0</td>
<td style="padding:6px">1.1</td>
</tr>
<tr>
<td style="padding:6px"><strong>Sources:</strong></td>
<td style="padding:6px">
<table>
<tr>
<td style="padding:6px">Emojis:</td>
<td style="padding:6px"><a href="https://api.github.com/emojis">https://api.github.com/emojis</a></td>
</tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/emoji-table">Emoji Table</a></td>
</tr>
<tr>
<td style="padding:6px">Richard:</td>
<td style="padding:6px"><a href="http://stackoverflow.com/questions/7330187/how-to-find-the-windows-version-from-the-powershell-command-line">How to find the Windows version from the PowerShell command line?</a></td>
</tr>
<tr>
<td style="padding:6px">JaredPar and Matthew Pirocchi:</td>
<td style="padding:6px"><a href="http://stackoverflow.com/questions/5466329/whats-the-best-way-to-determine-the-location-of-the-current-powershell-script?noredirect=1&lq=1">What's the best way to determine the location of the current PowerShell script?</a></td>
</tr>
<tr>
<td style="padding:6px">ZDNet:</td>
<td style="padding:6px"><a href="http://www.zdnet.com/article/windows-10-tip-check-the-performance-of-your-laptop-battery/">Windows 10 tip: Check the performance of your laptop battery</a></td>
</tr>
</table>
</td>
</tr>
</tr>
<tr>
<td style="padding:6px"><strong>Downloads:</strong></td>
<td style="padding:6px">For instance <a href="https://raw.githubusercontent.com/auberginehill/get-battery-info/master/Get-BatteryInfo.ps1">Get-BatteryInfo.ps1</a>. Or <a href="https://github.com/auberginehill/get-battery-info/archive/master.zip">everything as a .zip-file</a>.</td>
</tr>
</tr>
</table>





### Screenshot

<ol><ol><ol>
Expand All @@ -76,7 +90,7 @@
<th>:arrow_right:</th>
<td style="padding:6px">
<ul>
<li>General computer information, such as Computer, Manufacturer, Computer Model, System Type, Domain Role, Chassis, PC Type, Processes, Average CPU Load and weather the machine is a laptop or not (based on the chassis information) is displayed along with battery related information, such as Total Number of installed Batteries, Battery Class, Battery Name, Battery Type, Estimated Charge Remaining, Estimated Run Time, Battery Voltage, Battery Availability, Battery Status, Battery Chemistry, Power Management Capabilities, Status, Battery Level and Remaining Battery Time in console.</li>
<li>General computer information, such as Computer, Manufacturer, Computer Model, System Type, Domain Role, Chassis, PC Type, Processes, Average CPU Load and weather the machine is a laptop or not (based on the chassis information) is displayed along with battery related information, such as Total Number of installed Batteries, Battery Class, Battery Name, Battery Type, Estimated Charge Remaining, Estimated Run Time, Battery Voltage, Battery Availability, Battery Status, Battery Chemistry, Power Management Capabilities, Status, Battery Level and Remaining Battery Time in console. On Windows 8+ machines also a detailed Battery Report (<code>battery-report.html</code> and an adjacent XML-file) will be created at <code>$path</code>.</li>
</ul>
</td>
</tr>
Expand All @@ -92,7 +106,7 @@
<th>:warning:</th>
<td style="padding:6px">
<ul>
<li>Please note that the optional file listed under Options-header will(, if the option is enabled by copy-pasting the relevant code above the [End of Line] -marker) be created in a directory, which is specified with the $path variable (at line 6).</li>
<li>Please note that on Windows 8+ machines the battery report files will be created in a directory, which is specified with the <code>$path</code> variable (at line 6).</li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -180,7 +194,7 @@
</p>
<p>
<li><code>New-Item -ItemType File -Path C:\Temp\Get-BatteryInfo.ps1</code><br />
Creates an empty ps1-file to the <code>C:\Temp</code> directory. The <code>New-Item</code> cmdlet has an inherent <code>-NoClobber</code> mode built into it, so that the procedure will halt, if overwriting (replacing the contents) of an existing file is about to happen. Overwriting a file with the <code>New-Item</code> cmdlet requires using the <code>Force</code>.<br />
Creates an empty ps1-file to the <code>C:\Temp</code> directory. The <code>New-Item</code> cmdlet has an inherent <code>-NoClobber</code> mode built into it, so that the procedure will halt, if overwriting (replacing the contents) of an existing file is about to happen. Overwriting a file with the <code>New-Item</code> cmdlet requires using the <code>Force</code>.<br />
For more information, please type "<code>help New-Item -Full</code>".</li>
</p>
</ol>
Expand All @@ -200,17 +214,17 @@
<th><img class="emoji" title="contributing" alt="contributing" height="28" width="28" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f33f.png"></th>
<td style="padding:6px"><strong>Bugs:</strong></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-battery-info/issues">Submit bugs</a> and help us verify fixes.</td>
</tr>
</tr>
<tr>
<th rowspan="2"></th>
<td style="padding:6px"><strong>Feature Requests:</strong></td>
<td style="padding:6px">Feature request can be submitted by <a href="https://github.com/auberginehill/get-battery-info/issues">creating an Issue</a>.</td>
</tr>
</tr>
<tr>
<td style="padding:6px"><strong>Edit Source Files:</strong></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-battery-info/pulls">Submit pull requests</a> for bug fixes and features and discuss existing proposals.</td>
</tr>
</table>
</table>



Expand All @@ -223,21 +237,33 @@
<td style="padding:6px"><a href="https://github.com/auberginehill/get-battery-info">Script Homepage</a></td>
</tr>
<tr>
<th rowspan="5"></th>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394074%28v=vs.85%29.aspx">Win32_Battery class</a></td>
<th rowspan="9"></th>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394074%28v=vs.85%29.aspx">Win32_Battery class</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394474(v=vs.85).aspx">Win32_SystemEnclosure class</a></td>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394474(v=vs.85).aspx">Win32_SystemEnclosure class</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394102(v=vs.85).aspx">Win32_ComputerSystem class</a></td>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394102(v=vs.85).aspx">Win32_ComputerSystem class</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394239(v=vs.85).aspx">Win32_OperatingSystem class</a></td>
</tr>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/aa394239(v=vs.85).aspx">Win32_OperatingSystem class</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms724833%28v=vs.85%29.aspx">OSVERSIONINFOEX structure</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="http://stackoverflow.com/questions/7330187/how-to-find-the-windows-version-from-the-powershell-command-line">How to find the Windows version from the PowerShell command line?</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="http://stackoverflow.com/questions/5466329/whats-the-best-way-to-determine-the-location-of-the-current-powershell-script?noredirect=1&lq=1">What's the best way to determine the location of the current PowerShell script?</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="http://www.zdnet.com/article/windows-10-tip-check-the-performance-of-your-laptop-battery/">Windows 10 tip: Check the performance of your laptop battery</a></td>
</tr>
<tr>
<td style="padding:6px">ASCII Art: <a href="http://www.figlet.org/">http://www.figlet.org/</a> and <a href="http://www.network-science.de/ascii/">ASCII Art Text Generator</a></td>
</tr>
</tr>
</table>


Expand All @@ -248,28 +274,49 @@
<table>
<tr>
<th><img class="emoji" title="www" alt="www" height="28" width="28" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/unicode/0023-20e3.png"></th>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-computer-info">Get-ComputerInfo</a></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/firefox-customization-files">Firefox Customization Files</a></td>
</tr>
<tr>
<th rowspan="7"></th>
<th rowspan="14"></th>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-ascii-table">Get-AsciiTable</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-computer-info">Get-ComputerInfo</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-directory-size">Get-DirectorySize</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-installed-programs">Get-InstalledPrograms</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-installed-windows-updates">Get-InstalledWindowsUpdates</a></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-installed-windows-updates">Get-InstalledWindowsUpdates</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-ram-info">Get-RAMInfo</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-ram-info">Get-RAMInfo</a></td>
<td style="padding:6px"><a href="https://gist.github.com/auberginehill/eb07d0c781c09ea868123bf519374ee8">Get-TimeDifference</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://gist.github.com/auberginehill/eb07d0c781c09ea868123bf519374ee8">Get-TimeDifference</a></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-time-zone-table">Get-TimeZoneTable</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/get-unused-drive-letters">Get-UnusedDriveLetters</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/update-adobe-flash-player">Update-AdobeFlashPlayer</a></td>
<td style="padding:6px"><a href="https://github.com/auberginehill/emoji-table">Emoji Table</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/java-update">Java-Update</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/rock-paper-scissors">Rock-Paper-Scissors</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/toss-a-coin">Toss-a-Coin</a></td>
</tr>
<tr>
<td style="padding:6px"><a href="https://github.com/auberginehill/update-adobe-flash-player">Update-AdobeFlashPlayer</a></td>
</tr>
</table>

0 comments on commit 871d7ee

Please sign in to comment.