powershell

Primary tabs

microsoft

microsoft
end of support for Windows 10

Support for Windows 10 will end on October 14, 2025

powershell

powershell sort-object

powershell sort-object

In PowerShell, the Get-ChildItem cmdlet, which is often aliased as dir or ls, can be used to display directory structures and allows you to control the depth of recursion with the -Depth parameter.

sample command :
Get-ChildItem -Path C:\Test\*.txt |
Sort-Object -Property {$_.CreationTime - $_.LastWriteTime} |
Format-Table CreationTime, LastWriteTime, FullName

ms developer command prompt (testing - for confidence with Visual Studio Code)

Invoke developer command prompt from Windows start button

as a test : use setx to connect an environment variable with a value e.g.
setx PICO_SDK_PATH C:\Users\Shed\Pico\pico-sdk

then open a second dev command prompt and in this case display all env variables starting with 'pico' by entering the command : set pico
the display should prove that the environment variable was set.

espressif build usage tips

Subscribe to RSS - powershell