Upload files to "Utility Scripts"
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
<#
|
||||||
|
Author: Gabe Kerntke
|
||||||
|
Date: 12-09-2023
|
||||||
|
|
||||||
|
.Synopsis
|
||||||
|
|
||||||
|
.Modified
|
||||||
|
2023-12-09 (GabeK) - Original script created
|
||||||
|
|
||||||
|
#>
|
||||||
|
|
||||||
|
# Variables #
|
||||||
|
|
||||||
|
# Functions #
|
||||||
|
|
||||||
|
# Start Script #
|
||||||
|
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
|
||||||
|
|
||||||
|
#Get-CimInstance -ClassName Win32_Desktop | Select-Object Name, ScreenSaverActive, ScreenSaverTimeout | Where-Object [ScreenSaverActive -eq True]
|
||||||
|
|
||||||
|
Get-CimInstance -ClassName Win32_BIOS
|
||||||
|
|
||||||
|
Get-CimInstance -ClassName Win32_ComputerSystem | Format-List
|
||||||
|
|
||||||
|
$test = Get-CimInstance -ClassName Win32_ComputerSystem | Select-Object -ExpandProperty TotalPhysicalMemory
|
||||||
|
$test2 = $test/1GB
|
||||||
|
$test2.Tostring(".00") + "GB"
|
||||||
|
|
||||||
|
Get-CimInstance -ClassName Win32_Processor | Select-Object -ExpandProperty Name
|
||||||
|
|
||||||
|
Get-CimInstance -ClassName Win32_ComputerSystem | Select-Object -ExpandProperty SystemType
|
||||||
|
# End Script #
|
||||||
Reference in New Issue
Block a user