Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Rocker
0.1.1
Types/docker.run/ScriptBlock.Input.ps1
param
(
[
Parameter
(
Mandatory
)
]
[ScriptBlock]
$ScriptBlock
)
"pwsh"
"-encodedCommand"
[Convert]
::
ToBase64String
(
[Text.Encoding]
::
Unicode
.
getBytes
(
"$ScriptBlock"
)
)