PowerShell の Get-CrmConnection は、Credential を渡すだけで自動的に MFA を含む複雑な認証フローを処理できます。一方、Python で同様のことを実現しようとすると、MSAL(Microsoft Authentication Library)を使用する必要がありますが、完全に同じ体験を再現するのは困難です。
正規表現は苦手です。 ムズイ 長い間避けてきました。 でも覚えるとメリットがあることも知っているので覚えたいと思います。 正規表現なら簡単に文字処理ができます。 またこの正規表現はPythonでもPowerShellでもJavascriptやC++でも使う事ができます。
これまで私は、Spyderを使ってAnaconda経由でPythonを動かしていた。 そのため「Pythonは既に入っている」という認識だった。 しかし、CursorでWhisperを動かそうとしたところ、思わぬ壁にぶつかった。 Anacondaのpython.exe WindowsApps配下のpython.exe(Microsoft Storeの ...
In this example, I use PowerShell + C# script vs. Python. Note: PowerShell scripts can run on Windows and Linux machines with the appropriate installations. With PowerShell, it's possible to create ...
I've only dabbled lightly in Powershell although there have been a number of scripts that people I've worked with wrote for various reasons that I've used. These days, I'm much more likely to write ...