Commands

Show listening ports

Get-NetTCPConnection -State Listen

Powershell ForEach file

foreach ($filename in (Get-ChildItem –Path "." -Include ("*.mp4") -Name)) {
    $mp3Name = $filename.Replace(".mp4", ".mp3")
    ffmpeg -i "$filename" -b:a 192k "$mp3Name"
}

Remove incompatible drivers

When trying to activate Core isolation in the device security you might be presented with drivers incompatible with this feature. If you're sure you don't need that driver, you can simple uninstall it by reading the {NR} from the incompatible driver report and executing this command:

pnputil /delete-driver oem{NR}.inf /uninstall /force 

This page was last edited on 2024-08-09 21:21

Powered by Wiki|Docs

This page was last edited on 2024-08-09 21:21

Bjørn Singer
Private wiki!

Powered by Wiki|Docs