Updated PowerToys now detects failed PowerShell commands and recommends alternative packages with winget

What you need to know Microsoft has released a new update for PowerToys, bringing it to version 0.77.0. The update ships with a new module dubbed Command Not Found PowerShell 7.4, designed to detect failed commands in PowerShell 7.4 and recommend a package to install using winget. Several bug fixes and improvements are also included. […]

Read More

How to control Microsoft Defender Antivirus from PowerShell on Windows 11

On Windows 11, the Microsoft Defender Antivirus is the default anti-malware system that offers real-time protection against viruses, ransomware, and other types of threats, including those from hackers.  The antivirus comes configured with the optimal settings to protect your files and installation, and you can even manage various aspects of the application through the Windows […]

Read More

Windows 10 et 11 : Microsoft corrige d’importantes failles de sécurité PowerShell, une mise à jour s’impose

L’outil PowerShell de Microsoft n’est pas à l’abri de failles de sécurité, loin de là. La découverte récente de vulnérabilités montre que Microsoft doit parfois corriger son outil de script. L’entreprise de Redmond vient d’ailleurs de diffuser un outil de détection et de correction nommé KB4074629, qu’il est conseillé d’installer pour éviter les ennuis. En […]

Read More

Windows 11 et Windows 10, Microsoft publie des scripts PowerShell pour colmater une faille de BitLocker

################################################################################################ # # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # # THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR […]

Read More

How to create and run a PowerShell script file on Windows 10

On Windows 10, PowerShell lets you run commands and scripts to automate tasks and change settings on your computer, similar to Command Prompt. However, PowerShell is a more powerful command-line interface (CLI) that offers a more extensive set of tools and more flexibility. In addition, unlike Command Prompt, PowerShell is available across platforms, including Windows, […]

Read More

How to save command output to file using Command Prompt or PowerShell

On Windows 11 and 10, the ability to save the Command Prompt or PowerShell command output to a text file can be helpful in many situations. For instance, exporting the command output for analysis is convenient for troubleshooting a problem. You can also print the return of a command to a text file to save […]

Read More