gpt4 book ai didi

python - Python 能否作为 Windows Server 环境的有效脚本语言?

转载 作者:太空狗 更新时间:2023-10-29 20:13:10 26 4
gpt4 key购买 nike

我目前正在研究管理多个运行 SQL Server 2000 - 2008 的 Windows Server 2003 到 2008 的策略,我想要/需要一个统一的脚本平台来自动执行任务。我正在成为 Python 的忠实粉丝,因此我想知道 Python 是否已被有效地用作脚本语言来管理各种 Windows Server 安装集以及运行各种作业的各种 SQL Server 安装。我熟悉针对 .Net 框架执行的 IronPython,但我不确定 IronPython 使用的 Python 语法版本。

编辑:仅供引用:我对 Powershell 很熟悉,但我对它及其语法了解得越多,我就越不喜欢它。

编辑:如果可以的话,我想知道您将 Python 作为脚本解决方案在 Windows 上实现的成功故事。

最佳答案

尽管我很喜欢 Python,但我认为 PowerShell 更适合。

来自 Wikipedia :

Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems.

关于python - Python 能否作为 Windows Server 环境的有效脚本语言?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4702133/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com