Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

1
how does PoSh determine the DotNet version required by a module that uses "DotNetFrameworkVersion"?
Post Body

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

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
27,226
Link Karma
672
Comment Karma
25,727
Profile updated: 7 hours ago
Posts updated: 8 months ago
[grin]

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 years ago