Using Here-String with Describe

While describe has the /D option, the description must be enclosed in quotes;
Code:
describe cdate.exe /D"Created using PS2EXE.ps1"

Using Here-String, you do not need the /D option, nor does the description need to be enclosed in quotes;
Code:
describe cdate.exe <<< Created using PS2EXE.ps1

Joe
 

Similar threads