Microsoft.PowerShell.Commands.AddType.AutoGeneratedTypes
is the default namespace for objects that are added with the add-type
cmdLet without specifying a namespace: PS C:\> $autoGeneratedType = add-type -passThru -name tq84 -memberDefinition 'public static int twice(int a){return 2*a;}' PS C:\> $autoGeneratedType.FullName Microsoft.PowerShell.Commands.AddType.AutoGeneratedTypes.tq84