To enable and disable features on a client machine of Windows using PowerShell, the cmdlet you have to use is:
Enable-WindowsOptionalFeature
For example, with Windows 10 and NetFX 3, I would check if the feature is enabled with
Get-WindowsOptionalFeature -Online | Where-Object -FilterScript {$_.featurename -Like "*netfx3*"}
If not enabled, run this to enable it:
Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3" -Source "SourcePath"