まったく同じ挙動をするとは限りません。
詳細は各機能のリファレンスで確認してください。
sc | PowerShell | 説明 |
---|---|---|
sc config | Set-Service | サービスの設定を変更する |
sc continue | Resume-Service | 中断中のサービスを再開する |
sc create | New-Service | サービスを作成する |
sc delete | Remove-Service | サービスを削除する |
sc pause | Suspend-Service | サービスを中断する |
sc qc | Get-Service | サービスの構成情報を取得する |
sc start | Start-Service | サービスを開始する |
sc stop | Stop-Service | サービスを停止する |