# Enumerating SPN Accounts with Powershell

### Enumerating SPN Accounts with Powershell

***

```powershell
setspn -T medin -Q ​ */*
```

we can extract all accounts in the SPN (Service Principal Name).

***
