wttr.inは2016年から開発を続けてきた天気情報を取得できるサーバーだ。Linuxであればcurlやwget、PowerShellはInvoke-RestMethodを用いることで、現在地の天気情報を端末などに表示できる。 既定では現在地の天気を示し出すが、「curl wttr.in/London」なら英国のロンドン ...
PowerShellはコンピュータを操作するための強力なツールです。このPowerShellには2つの系統があります。 PowerShell 5.1 はWindows専用のパワーシェル。 PowerShell 7.x はWindowsだけでなくMacでも使える新しいパワーシェル。 PowerShellをMacで使っているなんて聞いたことが ...
次のコマンドでグローバルIPアドレスを調べられます。 Invoke-RestMethod -Uri https://ipinfo.io PS C:\temp> Invoke-RestMethod -Uri https://ipinfo.io ip : 183.79.248.252 city : Tokyo region : Tokyo country : JP loc : ...
「Invoke-WebRequest」は「Windows PowerShell 3.0」から導入されているコマンドレットで、HTTP/HTTPSリクエストをWebサイトへ送信し ...
Last time we looked at one of the new PowerShell v3 cmdlets for working with web data, Invoke-WebRequest. This week we'll look at a cmdlet that I think you'll find even easier to use, ...
Working with PowerShell, we sometimes find ourselves wondering if we can do something that maybe others haven't thought of yet. Other times, we try to do something just because it sounds like fun. In ...
I do have an issue using Export-M365DSCConfiguration for PowerPlatform components. I receive the followimg when running the command. PS C:\temp> Export ...