1. [Wiki](https://feex.it/wiki/)
2. [Prucesse](https://feex.it/wiki/process/)
3. [Prucesse applicative](https://feex.it/wiki/process/application/)
4. pwsh.exe

# pwsh.exe

Prucesso d'applicazione: Microsoft Corporation

Termene 'e ricerca 'e cataloghe: pwsh, powershell 7, powershell core

Windows, Applicazzione

PowerShell 7. È ll'host multipiattaforma pwsh, spesso sotta Program Files\PowerShell\7. Nun è Windows PowerShell 5.1 (powershell.exe).

## Chello ca t'hê 'a sapé

pwsh è PowerShell 7, nun è Windows PowerShell 5.1.

pwsh.exe è PowerShell 7, 'nstallato 'a Microsoft comme host affiancato. powershell.exe resta Windows PowerShell 5.1 dint'a System32\WindowsPowerShell. Windows Terminal e OpenConsole disegnano sulo 'a fenesta. Si stute pwsh nun cave 'a 5.1.

- **Sicuro?**: Cuntrolla 'o percorso d''o file ca sta giranno, 'a firma e chi l'ha pubbrecato. 'O nomme surtanto nun po garantì 'a sicurezza.

  **'A stessa cosa 'e powershell.exe?**: No. Chillo è Windows PowerShell 5.1

  **O pozzo cunchiudere?**: Chella sessione 'e PowerShell 7 se ferma

Feex dice

Si veco pwsh, leggio 'a riga 'e cumando comme PowerShell 7. Nun cunsidero powershell.exe comme 'o stesso host, e nun dou 'a colpa a conhost pe nu modulo ca gira sulo ngopp'a 7.

## Che d'è pwsh.exe?

pwsh è PowerShell 7, nun è Windows PowerShell 5.1. Ll'host 5.1 resta powershell.exe. Stu file è 'o runtime cchiù nuovo ca 'nstalle tu. Nun è Windows Terminal.

## Che ffa?

Esegue script e moduli 'e PowerShell 7. Cierte snap-in p''a 5.1 nun se carecano ccà. Nun disegna ll'interfaccia cu 'e schede (WindowsTerminal.exe) e nun è cmd.exe.

## Pecché sta giranno?

Hê apierto PowerShell 7, nu terminale 'e VS Code 'mpustato ngopp'a pwsh, o n'attività ha chiammato st'host. Nu PC cu 'a 5.1 sola nun tene na copia dint'a Program Files\PowerShell\7.

## Ispettà l'istanza 'n corso

In Windows PowerShell, 'sta query 'a sulamente lettura elenca 'e ID d'e prucesse currispunnente, 'e tiempo 'e creazione e 'e percorso d'o file eseguibile nco 'a stu PC.

`Get-CimInstance -ClassName Win32_Process | Where-Object { $_.Name -eq 'pwsh.exe' } | Select-Object ProcessId, ParentProcessId, CreationDate, Name, ExecutablePath | Format-List`

Nisciuno risultato o' nu percorso nun accessibbele è 'nconclusivo. Prucesse prutette ponno limità l'accesso, e 'e ID d'e prucesse ponno essere riutilizzate. Tène 'e percorso persunale lucale.

Use 'o [guida â identità d'o file](https://feex.it/wiki/l/nap/software/system/verify-executable-path-signature/) pe' cunfrontà 'e firme e 'e metadate d'o produttore. Nu nomme 'e file sulamente nun po' stabilì 'a sicurizza.

## È sicuro?

L'host è legittimo. 'O script è 'a dumanna

Nu pwsh firmato 'a Microsoft sotta Program Files\PowerShell è PowerShell 7. Nu pwsh.exe dint'a Temp no. 'A sicurezza vene sempe d''o genitore e d''a riga -Command. Chisto nun è sempe powershell.exe.

Cunfronta 'o percorso registrato cu 'o file reale. Nu cartella familiare sulamente nun stabilisce l'identità.

`C:\Program Files\PowerShell\7\pwsh.exe`

- 'Nstallazzione affiancata 'e PowerShell 7
- Windows PowerShell 5.1 è System32\WindowsPowerShell\v1.0\powershell.exe
- 'A fenesta po' essere Windows Terminal o OpenConsole

## O pozzo cunchiudere?

Ferma chella sessione d''o 7

Si stute pwsh.exe accide PowerShell 7. powershell.exe 5.1 po' restà. Si stute WindowsTerminal.exe chiure sulo ll'interfaccia a schede, no ogne host d''o 7 avviato 'a n'attività.

## O pozzo caccià?

Disinstalla PowerShell 7, mantene 'a 5.1

Disinstalla PowerShell 'a ll'App si vuó luvà pwsh. Nun scassà System32\powershell.exe. Nun scassà System32.

## S'avess' 'a avvià cu Windows?

N'attività chianificata o nu profilo po' avvià pwsh. Chillo nun è ll'host 5.1 e manco nu predefinito 'e Windows chiammato powershell.exe.

## Mìsura ll'uso d'e risorsa

| CPU e memoria | Cunfronta diverse osservazione pe' 'o stesso PID e workload. 'Stu record nun tene nu baseline universale misurato 'n modo indipendente.                            |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Disco e rete  | Attrebbuisce ll'attività â prucesso reale e â attività attuale; nu nomme 'e file sulamente nun stabilisce 'e destinazione aspettate o 'o volume d'o trasferimento. |

## Nfurmaziune d''o file

| Nomme d''o file eseguibbele            | pwsh.exe                                                                            |
| -------------------------------------- | ----------------------------------------------------------------------------------- |
| Percorso d'a installazzione registrato | C:\Program Files\PowerShell\7\pwsh.exe                                              |
| Editore                                | Microsoft Corporation                                                               |
| Verifeca d'a firma                     | Ispettà 'o file reale; 'stu record nun certifica ll'identità d'o suoje certificato. |

## Prubleme cumune

### Nu snap-in sulo p''a 5.1 falle e vonno riparà powershell.exe

Stu host è 'o 7. 'Nstalla 'o modulo p''o 7 o lancia Windows PowerShell 5.1. Exe differente, storia 'e gallarìa differente.

### pwsh annascuso 'a n'attività a casaccio

Legge -File / -Command. Ll'host d''o 7 è sempe 'e Microsoft. 'O carrecamento sta dint''a riga. Nun è ca "Terminal è nu malware."

## Risoluzzione d''e prubleme

Fa 'a diagnosi primma 'e cagnà quaccòsa ca po scassà.

### pwsh -v 'nfronto a $PSVersionTable dint'a powershell.exe

'O 7 scrive 'a stu file. 'O 5.1 scrive 'a Windows PowerShell. Nun 'mmiscà 'e doc 'e ll'aggiornamento.

### Cuntrolla 'o PID genitore 'a stessa manèra ca facisse p''a 5.1

explorer cchiù nu cullegamento sî tu. Office ca lancia pwsh è storia 'e macro. Nun scassà 'a cartella d''a 'nstallazzione d''o 7 comme primma mossa.

## Dettaglie tecnece

Dettaglie tecnece

| Nomme 'e ll'immaggene | pwsh.exe                                |
| --------------------- | --------------------------------------- |
| Fratiello             | powershell.exe (Windows PowerShell 5.1) |

## Cuntrolla ll'identità 'e nu file ca sta giranno

Nu nomme 'e file sulamente nun po' stabilì 'a sicurizza. Verifeca 'o percorso reale, 'a firma e 'a identità d'o produttore.

## Cose cullegate

Sti ccose songo cullegate a chist'articulo. 'O tipo se vede 'ncopp'a ogne cullegamento.

[powershell.exe: Prucesso d'applicazione](https://feex.it/wiki/l/nap/process/powershell.exe/)[cmd.exe: Prucesso d'applicazione](https://feex.it/wiki/l/nap/process/cmd.exe/)[WindowsTerminal.exe: Prucesso d'applicazione](https://feex.it/wiki/l/nap/process/windowsterminal.exe/)[Verifeca nu percorso eseguibile e 'a firma digitale: Guida](https://feex.it/wiki/l/nap/software/system/verify-executable-path-signature/)[Lèggi 'o Task Manager e cunfronta l'attività d'o prucesso: Guida](https://feex.it/wiki/l/nap/software/system/how-to-read-task-manager/)[Prucesse applicative: Categurìa](https://feex.it/wiki/process/application/)

## Funte e verìfeca

Etichetta d''a fonte reggistrata: aùsto 2026. 'St'etichetta nun custituisce verìfeca 'ndipennente. [Comme facimmo 'e recerche](https://feex.it/wiki/research/).

- [Microsoft Learn: PowerShell 7 'nfronto a Windows PowerShell ](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell)· pwsh.exe è PowerShell 7, powershell.exe è 5.1
- [Microsoft Learn: comme 'nstallà PowerShell ngopp'a Windows ](https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows)· 'O percuorzo normale è Program Files\PowerShell\7
- [Mappa d''e prucesse 'e Foxhole ](https://foxhole.feex.it/)· Campiune dirette pigliate 'a PC Windows. Nun è nu benchmark 'e laboratorio.
- [Microsoft Sysinternals: Sigcheck ](https://learn.microsoft.com/en-us/sysinternals/downloads/sigcheck)· Spiega comme cuntrullà 'e ffirme d''e ffile. Stu riferimiento nun stabilisce ll'identità o 'a sicurezza 'e nu particulare file ca sta giranno.
- [Microsoft: Get-CimInstance ](https://learn.microsoft.com/en-us/powershell/module/cimcmdlets/get-ciminstance)· Metodo 'e query d'o prucesso lucale sulamente 'a lettura.
- [Microsoft: Win32_Process properties ](https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-process)· Documenta 'e ID d'e prucesse, 'e percorso d'o file eseguibile, 'e date d'a creazione e 'o riutilizzo d'o ID d'o genitore.

## È servuto chist'articulo?

Basta nu sì o nu no. Si vuó, sciglie na mutivazzione o miett' na nota corta.

Fatte 'nzippate

'A carta d'identità corta 'e 'sta paggena. Dettaglie, funte e tutta 'a storia rumaneno dint'all'articulo.

- **Tipo**: Prucesso d'applicazione

  **Editore**: Microsoft Corporation

  **Eseguibbele**: pwsh.exe

  **Percorso tipico**: C:\Program Files\PowerShell\7\pwsh.exe

  **Registra 'o contesto**: Record d'a Feex Wiki

Stato d''a fonte riggistrata: Feex Reviewed: Etichetta d''a fonte reggistrata: aùsto 2026. 'St'etichetta nun custituisce verìfeca 'ndipennente.

---

Source: [Canonical Feex Wiki page](https://feex.it/wiki/l/nap/process/pwsh.exe/)

[Developer guide](https://feex.it/wiki/developers/) | [API policy](https://feex.it/developers/api-policy/) | [Agent guidance](https://feex.it/wiki/llms.txt)
