> For the complete documentation index, see [llms.txt](https://books.spartan-cybersec.com/cpad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://books.spartan-cybersec.com/cpad/enumeracion-en-ad/enumeracion-con-powershell-ofensivo/guia-de-comandos-de-powerview.ps1/enumeracion-de-computadores.md).

# Enumeracion de Computadores

### <mark style="color:red;">**Importancia**</mark><mark style="color:red;">:</mark>&#x20;

Identificar sistemas clave y entender la infraestructura de la red.&#x20;

### <mark style="color:red;">**Vulnerabilidades posibles**</mark><mark style="color:red;">:</mark>

* Sistemas sin parches o desactualizados.
* Computadoras con servicios vulnerables expuestos.
* Identificación de sistemas críticos, como servidores de bases de datos o controladores de dominio.

```powershell
PS C:\> Get-NetComputer | select samaccountname, operatingsystem

samaccountname operatingsystem               
-------------- ---------------               
FIRST-DC$      Windows Server 2019 Datacenter
Suspicious-PC$                               
USER-SERVER$   Windows Server 2019 Datacenter
WEBSERVER$     Windows Server 2022 Datacenter
```
