We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function Get-HashValueFromString { [CmdletBinding()] Param ( [parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] [String] $string , [parameter(Mandatory=$false)] [ValidateSet("SHA1", "SHA256", "SHA384", "SHA512", "MACTripleDES", "MD5", "RIPEMD160")] [String] $algorithm = "SHA256" ) END{ [byte[]]$testbytes = [System.Text.UnicodeEncoding]::Unicode.GetBytes($string) [System.IO.Stream]$memorystream = [System.IO.MemoryStream]::new($testbytes) $hashfromstream = Get-FileHash -InputStream $memorystream -Algorithm $algorithm $hashfromstream.Hash.ToString() } } New-MarkdownHelp -Command Get-HashValueFromString -OutputFolder C:\tmp
{{ Add example code here }}
{{ Add example description here }}
PS C:\> {{ Add example code here }}
v0.5.0
The text was updated successfully, but these errors were encountered:
There are 2 types of example codesnippets:
In the former case, we should not, in the later case we should.
Sorry, something went wrong.
Related discussion #131
Related to #294
This is fixed in Microsoft.PowerShell.PlatyPS v1.
No branches or pull requests
Steps to reproduce
Expected behavior
EXAMPLES
Example 1
{{ Add example description here }}
Actual behavior
EXAMPLES
Example 1
{{ Add example description here }}
Environment data
v0.5.0
The text was updated successfully, but these errors were encountered: