Skip to content

Conversation

@michaeltlombardi
Copy link
Contributor

PR Summary

This PR clarifies the force parameter in PowerShell 7+, where it is no longer required but remains good practice to ensure backwards compatibility with older versions.

PR Context

Check the boxes below to indicate the content affected by this PR.

Repository or docset configuration

  • Repo documentation and configuration (.git/.github/.vscode etc.)
  • Docs build files (.openpublishing.* and build scripts)
  • Docset configuration (docfx.json, mapping, bread, module folder)

Conceptual documentation

  • Files in docs-conceptual

Cmdlet reference & about_ topics
When changing cmdlet reference or about_ topics, the changes should be copied to all
relevant versions. Check the boxes below to indicate the versions affected by this change.

  • Preview content
  • Version 7.2 content
  • Version 7.1 content
  • Version 7.0 content
  • Version 5.1 content

PR Checklist

  • I have read the contributors guide and followed the style and process guidelines
  • PR has a meaningful title
  • PR is targeted at the main branch
  • All relevant versions updated
  • Includes content related to issues and PRs - see Closing issues using keywords.
  • This PR is ready to merge and is not Work in Progress. If the PR is work in progress,
    please add the prefix WIP: or [WIP] to the beginning of the title and remove the prefix when
    the PR is ready.

@michaeltlombardi michaeltlombardi requested a review from sdwheeler May 9, 2022 19:30
@opbld32
Copy link

opbld32 commented May 9, 2022

Docs Build status updates of commit 057894b:

✅ Validation status: passed

File Status Preview URL Details
reference/7.0/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.1)
reference/7.2/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.2)
reference/7.3/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.3)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

This commit clarifies the force parameter in PowerShell 7+,
where it is no longer required but remains good practice to
ensure backwards compatibility with older versions.
@michaeltlombardi michaeltlombardi force-pushed the gh-8796/main/clarify-force branch from 057894b to 9efe4a1 Compare May 9, 2022 20:10
@opbld32
Copy link

opbld32 commented May 9, 2022

Docs Build status updates of commit 9efe4a1:

✅ Validation status: passed

File Status Preview URL Details
reference/7.0/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.1)
reference/7.2/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.2)
reference/7.3/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.3)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

Copy link
Collaborator

@sdwheeler sdwheeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor edit

@opbld33
Copy link

opbld33 commented May 10, 2022

Docs Build status updates of commit f945a65:

✅ Validation status: passed

File Status Preview URL Details
reference/7.0/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.1)
reference/7.2/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.2)
reference/7.3/Microsoft.PowerShell.Security/ConvertTo-SecureString.md ✅Succeeded View (powershell-7.3)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@sdwheeler sdwheeler merged commit 85fdee5 into MicrosoftDocs:main May 10, 2022
@michaeltlombardi michaeltlombardi deleted the gh-8796/main/clarify-force branch May 26, 2022 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConvertTo-SecureString -AsPlainText doesn't always require -Force

4 participants