Scripting and security

Operating Systems, software development, scripting, PowerShell tips, network and security

Primary Menu
  • Home
  • Categories
  • Books
  • Courses
  • Top posts
  • Projects
  • Scripts
Skip to content

Get operating system info

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

PowerShell
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$computer=’.’
Get-WmiObject Win32_ComputerSystem -cn $computer
Get-WmiObject Win32_Group -cn $computer
Get-WmiObject Win32_LogicalDisk -cn $computer
Get-WmiObject Win32_NetworkClient -cn $computer
Get-WmiObject Win32_NetworkConnection -cn $computer
Get-WmiObject Win32_NetworkLoginProfile -cn $computer
Get-WmiObject Win32_NTLogEvent -cn $computer
Get-WmiObject Win32_OperatingSystem -cn $computer
Get-WmiObject Win32_Process -cn $computer
Get-WmiObject Win32_Product -cn $computer
Get-WmiObject Win32_QuickFixEngineering -cn $computer
Get-WmiObject Win32_Service -cn $computer
Get-WmiObject Win32_Share -cn $computer
Get-WmiObject Win32_StartupCommand -cn $computer
Get-WmiObject Win32_UserAccount -cn $computer
Get-WmiObject Win32_Volume -cn $computer

 


PowerShell, Processes, Services client, Connect, Get-WmiObject, ipconfig, Netstat, tasklist, User, Win32, Win32_Group, Win32_LogicalDisk, Win32_NetworkConnection, win32_operatingsystem, win32_process, Win32_Product, win32_Service, Win32_Share, win32_startupCommand, Win32_UserAccount, WMI

Related Articles

Invoke-Expression

Variables 6: etiquetas HTML

fork (System Call) (example)

Post navigation

Previous Previous post: Extraer el apartado ‘Tendencias: Global’ dentro de la web ‘Búsqueda de Twitter’
Next Next post: Fiddler free web debugging proxy