Whenever I double click a ps1 fichier, it opens in NotePad. Si je clic droit it, ensuite click "Run avec PowerShell", Windows will run it using the Windows Powershell (the one avec the blue app icône) à la place du v7.x PowerShell (the black icône one).
Comment puis-je changez le PS opened from blue icône vers le v7.x version? La seule façon J'ai trouvé to run it dans le v7.x is by opening that version of PS, ensuite explicitly cd/specify the fichier chemin.