File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
6/Microsoft.PowerShell.Utility
7.0/Microsoft.PowerShell.Utility
7.1/Microsoft.PowerShell.Utility Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
3
3
keywords : powershell,cmdlet
4
4
Locale : en-US
5
5
Module Name : Microsoft.PowerShell.Utility
6
- ms.date : 08/06 /2020
6
+ ms.date : 09/04 /2020
7
7
online version : https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/add-type?view=powershell-6&WT.mc_id=ps-gethelp
8
8
schema : 2.0.0
9
9
title : Add-Type
@@ -441,6 +441,10 @@ The acceptable values for this parameter are as follows:
441
441
- Library
442
442
- WindowsApplication
443
443
444
+ > [!IMPORTANT]
445
+ > The `ConsoleApplication` and `WindowsApplication` values don't produce working output and should
446
+ > not be used.
447
+
444
448
` ` ` yaml
445
449
Type: Microsoft.PowerShell.Commands.OutputAssemblyType
446
450
Parameter Sets: FromSource, FromMember, FromPath, FromLiteralPath
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
3
3
keywords : powershell,cmdlet
4
4
Locale : en-US
5
5
Module Name : Microsoft.PowerShell.Utility
6
- ms.date : 08/06 /2020
6
+ ms.date : 09/04 /2020
7
7
online version : https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/add-type?view=powershell-7&WT.mc_id=ps-gethelp
8
8
schema : 2.0.0
9
9
title : Add-Type
@@ -445,6 +445,10 @@ The acceptable values for this parameter are as follows:
445
445
- Library
446
446
- WindowsApplication
447
447
448
+ > [!IMPORTANT]
449
+ > The `ConsoleApplication` and `WindowsApplication` values don't produce working output and should
450
+ > not be used.
451
+
448
452
` ` ` yaml
449
453
Type: Microsoft.PowerShell.Commands.OutputAssemblyType
450
454
Parameter Sets: FromSource, FromMember, FromPath, FromLiteralPath
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
3
3
keywords : powershell,cmdlet
4
4
Locale : en-US
5
5
Module Name : Microsoft.PowerShell.Utility
6
- ms.date : 08/06 /2020
6
+ ms.date : 09/04 /2020
7
7
online version : https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/add-type?view=powershell-7.1&WT.mc_id=ps-gethelp
8
8
schema : 2.0.0
9
9
title : Add-Type
@@ -445,6 +445,11 @@ The acceptable values for this parameter are as follows:
445
445
- Library
446
446
- WindowsApplication
447
447
448
+ > [!IMPORTANT]
449
+ > As of PowerShell 7.1, `ConsoleApplication` and `WindowsApplication` are not supported and
450
+ > PowerShell throws a terminating error if either are specified as values for the **OutputType**
451
+ > parameter.
452
+
448
453
` ` ` yaml
449
454
Type: Microsoft.PowerShell.Commands.OutputAssemblyType
450
455
Parameter Sets: FromSource, FromMember, FromPath, FromLiteralPath
You can’t perform that action at this time.
0 commit comments