Prerequisites
Summary
As a user, I want to see what the impact of some of the commands is going to be. This helps to provide messages even before the command is actually executed. With the rise of dsc.exe, this allows implementing the -WhatIf operation.
Scenario: Install a language
Take for example the Install-Language command. Even though you could use $allLangues = [System.Globalization.CultureInfo]::GetCultures("AllCultures") to list out all languages and pass it to Install-Language, what if a user appends the -WhatIf switch. It can provide information early on stating:
- The language was not found
- Attempting to install the language
- Language already exist
Details
No response
Proposed Content Type
Cmdlet Reference
Proposed Title
No response
Related Articles
https://github.com/MicrosoftDocs/windows-powershell-docs/blob/main/docset/winserver2019-ps/languagepackmanagement/Install-Language.md
P.S. I recognize this might not be the right repository.
Prerequisites
Get-Foocmdlet" instead of "New cmdlet."Summary
As a user, I want to see what the impact of some of the commands is going to be. This helps to provide messages even before the command is actually executed. With the rise of
dsc.exe, this allows implementing the-WhatIfoperation.Scenario: Install a language
Take for example the
Install-Languagecommand. Even though you could use$allLangues = [System.Globalization.CultureInfo]::GetCultures("AllCultures")to list out all languages and pass it toInstall-Language, what if a user appends the-WhatIfswitch. It can provide information early on stating:Details
No response
Proposed Content Type
Cmdlet Reference
Proposed Title
No response
Related Articles
https://github.com/MicrosoftDocs/windows-powershell-docs/blob/main/docset/winserver2019-ps/languagepackmanagement/Install-Language.md
P.S. I recognize this might not be the right repository.