I entered this at the Powershell (3.0) prompt:
$myvar = [uint8]12
PowerShell responded with an error message stating that the specified data type is not available. I figured that it was necessary to load an assembly that defined the uint8 data type.
I know how to load an assembly into PowerShell, but don't know how to find the .NET Framework assembly that defines a specific data type. I guessed that it might be System.Type and tried that. It didn't work.
My question is: How do I locate the assembly that defines the uint8 data type (or any other data type that isn't automatically available in PowerShell)?