시스템 관리를 위해 특별히 설계된 명령줄 셸 및 스크립팅 언어. 이 명령은 PowerShell 버전 6 이상(또는 PowerShell Core 및 크로스 플랫폼 PowerShell)을 의미합니다. 원래 Windows 버전(5.1 이하, 레거시 Windows PowerShell이라고도 함)을 사용하려면
pwsh대신powershell을 사용하세요. 더 많은 정보: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh.
pwsh
pwsh -NoProfile
pwsh -Command "{{echo 'powershell is executed'}}"
pwsh -File {{경로/대상/스크립트.ps1}}
pwsh -Version {{버전}}
pwsh -NoExit
pwsh -InputFormat {{Text|XML}}
pwsh -OutputFormat {{Text|XML}}