This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
howdy y'all,
saw a thread about getting the dotnet version info a bit ago. munging around in the registry seems convoluted at best. then i remembered reading about the DotNetFrameworkVersion
in a module manifest file.
How to Write a PowerShell Module Manifest
- https://msdn.microsoft.com/en-us/library/dd878337(v=vs.85).aspx
Example: DotNetFrameworkVersion = '3.5'
[actually, the above is missing the w
on that page. [grin]]
that makes me think that PoSh has a builtin method to get that info.
does it?
take care,
lee
answer - based on what fourierswager & SeeminglyScience posted, it appears to use an undocumented method. meaning it likely digs in the registry like every one else. [grin]
lee
Subreddit
Post Details
- Posted
- 7 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/PowerShell/...