@@ -18,8 +18,9 @@ Adds a Microsoft .NET class to a PowerShell session.
1818### FromSource (Default)
1919
2020```
21- Add-Type [-TypeDefinition] <String> [-Language <Language>] [-ReferencedAssemblies <String[]>]
22- [-OutputAssembly <String>] [-OutputType <OutputAssemblyType>] [-PassThru] [-IgnoreWarnings]
21+ Add-Type [-TypeDefinition] <String> [-Language <Language>]
22+ [-ReferencedAssemblies <String[]>] [-OutputAssembly <String>]
23+ [-OutputType <OutputAssemblyType>] [-PassThru] [-IgnoreWarnings]
2324 [-CompilerOptions <String[]>] [<CommonParameters>]
2425```
2526
@@ -28,24 +29,24 @@ Add-Type [-TypeDefinition] <String> [-Language <Language>] [-ReferencedAssemblie
2829```
2930Add-Type [-Name] <String> [-MemberDefinition] <String[]> [-Namespace <String>]
3031 [-UsingNamespace <String[]>] [-Language <Language>] [-ReferencedAssemblies <String[]>]
31- [-OutputAssembly <String>] [-OutputType <OutputAssemblyType>] [-PassThru] [-IgnoreWarnings]
32- [-CompilerOptions <String[]>] [<CommonParameters>]
32+ [-OutputAssembly <String>] [-OutputType <OutputAssemblyType>] [-PassThru]
33+ [-IgnoreWarnings] [- CompilerOptions <String[]>] [<CommonParameters>]
3334```
3435
3536### FromPath
3637
3738```
3839Add-Type [-Path] <String[]> [-ReferencedAssemblies <String[]>] [-OutputAssembly <String>]
39- [-OutputType <OutputAssemblyType>] [-PassThru] [-IgnoreWarnings] [-CompilerOptions <String[]>]
40- [<CommonParameters>]
40+ [-OutputType <OutputAssemblyType>] [-PassThru] [-IgnoreWarnings]
41+ [-CompilerOptions <String[]>] [ <CommonParameters>]
4142```
4243
4344### FromLiteralPath
4445
4546```
46- Add-Type -LiteralPath <String[]> [-ReferencedAssemblies <String[]>] [-OutputAssembly <String>]
47- [-OutputType <OutputAssemblyType >] [-PassThru] [-IgnoreWarnings ] [-CompilerOptions <String[]> ]
48- [<CommonParameters>]
47+ Add-Type -LiteralPath <String[]> [-ReferencedAssemblies <String[]>]
48+ [-OutputAssembly <String >] [-OutputType <OutputAssemblyType> ] [-PassThru ]
49+ [-IgnoreWarnings] [-CompilerOptions <String[]>] [ <CommonParameters>]
4950```
5051
5152### FromAssemblyName
@@ -451,7 +452,7 @@ Accept wildcard characters: True
451452Specifies the output type of the output assembly. By default, no output type is specified. This
452453parameter is valid only when an output assembly is specified in the command. For more information
453454about the values, see
454- [OutputAssemblyType Enumeration](/dotnet/api/microsoft.powershell.commands.outputassemblytype ).
455+ [OutputAssemblyType Enumeration](xref:Microsoft.PowerShell.Commands.OutputAssemblyType ).
455456
456457The acceptable values for this parameter are as follows :
457458
@@ -541,7 +542,7 @@ Accept wildcard characters: False
541542
542543Specifies the source code that contains the type definitions. Enter the source code in a string or
543544here-string, or enter a variable that contains the source code. For more information about
544- here-strings, see [about_Quoting_Rules](../Microsoft.PowerShell.Core/about /about_Quoting_Rules.md).
545+ here-strings, see [about_Quoting_Rules](../Microsoft.PowerShell.Core/About /about_Quoting_Rules.md).
545546
546547Include a namespace declaration in your type definition. If you omit the namespace declaration, your
547548type might have the same name as another type or the shortcut for another type, causing an
@@ -628,15 +629,15 @@ arbitrary path requires `Add-Type`, since those assemblies can't not be loaded a
628629
629630# # RELATED LINKS
630631
631- [about_Profiles](../Microsoft.PowerShell.Core/About/about_profiles .md)
632+ [about_Profiles](../Microsoft.PowerShell.Core/About/about_Profiles .md)
632633
633634[about_Quoting_Rules](../Microsoft.PowerShell.Core/About/about_Quoting_Rules.md)
634635
635636[Add-Member](Add-Member.md)
636637
637638[New-Object](New-Object.md)
638639
639- [OutputAssemblyType](/dotnet/api/microsoft.powershell.commands.outputassemblytype )
640+ [OutputAssemblyType](xref:Microsoft.PowerShell.Commands.OutputAssemblyType )
640641
641642[Platform Invoke (P/Invoke)](/dotnet/standard/native-interop/pinvoke)
642643
0 commit comments