I have a command line tool to take a screenshot and save it to a file ( C:\asl\nircmdc.exe savescreenshot c:\test\file.png )
With powershell I'm trying to save a screen shot as the current date and time without success
$Date = Get-Date -format %d/%M/%h/%m/ss
C:\test\nircmdc.exe savescreenshot "C:\ASL\" + $date + ".png"
This doesn't give any error message but doesn't save anything