Skip to content

Commit

Permalink
Updates example for as plain text rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefrobbins committed Aug 26, 2024
1 parent e125b8a commit 924d3b4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,4 @@ $EncryptedInput = ConvertTo-SecureString -String $UserInput -AsPlainText -Force

```powershell
$SecureUserInput = Read-Host 'Please enter your secure code' -AsSecureString
$EncryptedInput = ConvertFrom-SecureString -String $SecureUserInput
$SecureString = ConvertTo-SecureString -String $EncryptedInput
```

0 comments on commit 924d3b4

Please sign in to comment.