Showing posts with label command-line. Show all posts
Showing posts with label command-line. Show all posts

Wednesday, August 5, 2020

Tips & Tricks: Quickly know .NET Framework Version

Ever need to know which version of .NET Framework you’re using, here’s how:

  • Open an elevated command-prompt
  • Execute this command-line:
    reg query “HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP” /s
  • Now you just need to look for the returned value “Version”

Tuesday, September 6, 2016

MDT 2013 Update 2 - Bug When Changing Application Command Line?




So today I'll talk about something odd that happen just yesterday.
I've published a new application in MDT and added it to my task sequence (TS).

After that I've noticed that I had to change the msi file name so just went to DeploymentShare\Applications, changed the file name and also changed the install command-line in MDT to match the new file name.






Basically the changes was from a filename with spaces to a filename with "underscores".
After testing the TS, I've received a return code error (1639 - invalid command line argument).

Double-checked everything and after looking at ZTIApplications.log file I've found out something strange.
It seems the TS for some reason didn't assume my install command-line changes. And it was running the command without underscores and with spaces:





So...for my surprise, and to solve this issue, I had to go to my TS again, select the application and the browse for published applications and select that one (Cirrato Client) again.

This solve this issue that I don't remember to see in previous MDT versions.


Hope this helps people having the same same strange behavior! ;)