kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch05/cloneDefaultStorageClass.ps1

3 lines
130 B
PowerShell

$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
$cmd = Get-Content -Raw cloneDefaultStorageClass.sh
Invoke-Expression $cmd