3 Commits

Author SHA1 Message Date
150687f2a1 Update 'sysinfo.ps1'
Resolves issue#15
2022-03-17 10:56:37 -04:00
3f805bead7 Merge pull request 'Update 'README.md'' (#13) from readme_csharp into master
Reviewed-on: #13
2021-06-29 10:45:37 -04:00
dbe2543217 Update 'README.md'
Update the README.md to reflect the work being done to rewrite the program in c#.
2021-06-29 10:42:33 -04:00
2 changed files with 10 additions and 3 deletions

View File

@@ -91,4 +91,12 @@ It will require the ability to run Powershell Scripts which is restricted by def
## Dev Notes ## Dev Notes
Going forward branch master will be write protected. Please do all further work on branches off of master. Going forward branch master will be write protected. Please do all further work on branches off of master.
I will be starting to work on rewriting the main script in C#. This will afford the following advangages:
* An executable. This will have the advange of not having to mess with the Powershell ExecutionPolicy everytime you want to run the scritp.
* The Autorun in the USB_Run.zip file will actually be able to launch the script.
* With it being writin in C# it should be more extensable and somewhat easier to manintain.

View File

@@ -40,8 +40,7 @@ function Find-RAM { #This finds the systems total physical memory and then retur
$system_memory = $cs.totalphysicalmemory $system_memory = $cs.totalphysicalmemory
$system_memory = $system_memory * 0.000000001 #Multiplies by 0.000000001 as the number give by CIM is in bytes. $system_memory = [math]::Round($system_memory / 1GB, 2)
$system_memory = [math]::floor($system_memory)
$system_memory = [String]$system_memory + " GB" $system_memory = [String]$system_memory + " GB"
return $system_memory return $system_memory