I\'m looking for a way to run just a couple PowerShell commands from the command prompt. I don\'t want to create a script for this since it\'s just a couple commands I need
Maybe powershell -Command "Get-AppLockerFileInformation....."
powershell -Command "Get-AppLockerFileInformation....."
Take a look at powershell /?
powershell /?