Windos OS のAzureVMに格納してあるPowerShellをAzure CLIで実行する要件があったので備忘として書いておく。 Windos OS の C:\test\test.ps1 を実行したい場合。 AzureVMをtest-vm リソースグループを test-rgとする。 SCRIPT=C:\\test\\test.ps1 az vm run-command invoke ...
PowerShell is one of Microsoft's preferred tools for managing Windows Servers. Although it's easy to think of PowerShell as a local management tool, PowerShell can just as easily be used to manage ...
PowerShellはコンピュータを操作するための強力なツールです。このPowerShellには2つの系統があります。 PowerShell 5.1 はWindows専用のパワーシェル。 PowerShell 7.x はWindowsだけでなくMacでも使える新しいパワーシェル。 PowerShellをMacで使っているなんて聞いたことが ...
本連載でこれまでに説明したように、OpenSSH経由でWindowsにリモートログインした場合、そこからはGUIアプリケーションを起動できない。しかし、Windows上の仮想環境やWSL2で動作しているUbuntuから、Windows側のGUIアプリケーションを起動したいケースはある。
前回作成したスクリプトで、サーバとして機能するための基本的な動きはしてくれるようになった。今回はこれをベースに、「外部からGUIコマンドを起動できるサーバ」として動くように書き換えていく。 先に、今回の成果物を以下に示す。 wincmdserver.ps1 #!
翔泳社では、「独習」「徹底入門」「スラスラわかる」「絵で見てわかる」「一年生」などの人気シリーズをはじめ、言語や開発手法、最新技術を解説した書籍を多数手がけています。プロジェクトマネジメントやチームビルティングといった管理職向けの ...
These 10 PowerShell commands will come in handy when you need to remotely manage computers on a domain or workgroup. Doing more with less is a common mantra bandied about in the workforce these days ...
Windows PowerShell enables administrators to control the Windows 7 operating system using cmdlets, which are commands built in to the shell. Businesses can use PowerShell to automate tasks and ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する