Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何在Powershell中将字符串转换为UInt64?字符串到数字的转换
考虑以下 Powershell 片段 Uint64 Memory 1GB string MemoryFromString 1GB Uint64 ConvertedMemory Convert ToUInt64 MemoryFromStrin
PowerShell
typeconversion
powershell50
尝试从 npm 安装 Angular 2 Material - 源文本中无法识别的标记
我从 PowerShell 尝试以下命令 以管理员身份 npm install angular2 material 并得到错误 Unrecognized token in source text At line 1 char 13 npm
nodejs
PowerShell
angular
npm
Powershell Get-ChildItem 输出延迟? [复制]
这个问题在这里已经有答案了 Powershell 版本信息如下 Name Value PSVersion 5 0 10586 494 PSCompatibleVersions 1 0 2 0 3 0 4 0 BuildVersion 10
PowerShell
跳转到脚本中的某些位置
有没有办法让脚本跳转到命令提示符中的特定位置 例如 GOTO 我想让脚本结束时跳到开头 tag1 Read Host Enter tag cls sc exe tag1 start RemoteRegistry cls Start Slee
PowerShell
使用 GitHub 包注册表作为 PowerShell 包存储库
据我所知PowerShell 存储库是 NuGet 存储库 https devblogs microsoft com powershell setting up an internal powershellget repository Gi
PowerShell
NuGet
powershellmodule
githubpackageregistry
为什么我无法通过 Powershell DSC 在无人值守模式下配置 TFS Build Service?
使用以下 DSC 配置 仅资源部分的片段 删除 SO 的前导码 诊断和 Start DscConfiguration 部分 Package TFSServer2013 Name Microsoft Team Foundation Serve
PowerShell
tfs
dsc
如何使用 powershell Az 模块为 Azure AD 应用程序提供所需权限的访问权限
我正在尝试重写 powershell 脚本来创建 Azure AD 应用程序并为其分配权限 该脚本使用 AzureAD 模块 我想使用新的 Az 模块 这样我就可以在 Linux MacOS 上运行它 创建新应用程序很容易 New AzAD
Azure
PowerShell
azureactivedirectory
az
使用 powershell 在 MS-Access 中创建查询
我需要自动从 Microsoft Access DB 中提取一些数据 数据库是由第三方提供给我的 因此我无法控制收到数据库时的内容 我需要使用 Powershell 自动从数据库中提取数据 有没有办法使用powershell在accessD
PowerShell
msaccess
PowerShell函数不会返回对象
我有一个简单的函数来创建一个通用列表 function test genericType Type System Collections Generic List 1 type typedParameters System String c
PowerShell
object
Return
为什么powershell会收集未捕获的值并将其作为数组返回
尽管我认为以下代码应该返回单个值 但它返回一个数组 function Do Something 123 return 456 Do Something GetType will say Object 我了解到 如果我想避免这种情况 我必须将
PowerShell
Return
检查远程计算机上的进程所有者,并在所有者为 xyz 时将其终止
嘿 我想在远程计算机上检查特定进程的进程所有者 并在所有者是 xyz 时杀死它 我已经成功地检查了它的主人 但我不知道当主人是 xyz 时如何杀死它 到目前为止我所拥有的 get wmiobject computername remoteP
PowerShell
WMI
使用 PowerShell 从文本段落中提取 6 位数字字符串会产生空白数据
尝试使用 PowerShell 从一段文本中提取 6 位数字字符串 但它仅在一种情况下有效 6 位数字字符串位于 Windows 剪贴板中的一段文本内 在我的代码中 我期望变量 Matches 0 是我要查找的 6 位数字 但结果始终为空
regex
PowerShell
将“-Filter”与变量一起使用
我尝试过滤掉这样的东西 Get ADComputer Filter name like chalmw dm and Enabled eq true 这就像一个魅力 并且得到了我想要的 现在我想要 类似名称 部分作为变量 如下所示 Get A
PowerShell
filter
Powershell脚本运行带有参数的exe文件
我需要脚本来运行带参数的 exe 文件 我就是这么写的 请问有更好的方法吗 Command Networkpath Restart exe Parms t 21600 m 360 r f Prms Parms Split Command P
Windows
PowerShell
scripting
EXE
powershell有method_missing()吗?
我一直在研究 powershell 的动态功能 我想知道一些事情 powershell 中是否有类似于 Ruby 的 method missing 的东西 您可以在其中设置 捕获所有方法 来动态处理对对象上不存在的方法的调用 不 不是真的
PowerShell
metaprogramming
methodmissing
获取 SecureString 作为纯文本参数
我正在尝试将 SecureString 作为纯文本参数获取到命令行 PowerShell 我知道安全字符串的形式是什么 例如 字符串 abc 将是安全字符串 71289371289 然后 我想将 71289371289 作为参数传递给脚本
PowerShell
securestring
将组成员身份从 AD 中的一个用户复制到另一用户
我正在尝试构建一个脚本 它将组成员身份从 AD 中的一个用户复制到另一个用户 我正在尝试使用 powershell 来自动执行此任务 然而 我在为用户创建支票时陷入困境 换句话说 当我将组成员身份从一个用户复制到另一个用户时 我希望能够在添
PowerShell
activedirectory
Azure DevOps 通过 REST API 获取链接到工作项的提交
有没有办法获取链接到仅给定工作项 ID 的工作项的 Git 提交 我正在使用 PowerShell 和this https learn microsoft com en us rest api azure devops wit work 2
git
PowerShell
REST
azuredevops
azuredevopsrestapi
无法读取文件内容
我正在尝试读取文件的内容 releaseNotesPath System DefaultWorkingDirectory ccp develop ccp ccp ReleaseNotes ReleaseNotes latestRelease
PowerShell
azuredevops
azurepipelines
使用 PowerShell 在 IIS FTP 站点上设置权限和设置
我是 PowerShell 的初学者 我尝试了这个脚本并且运行良好 但我需要将 FTP 授权规则更改为 所有用户 读 写 并将 FTP 用户隔离 更改为 用户名目录 NEEDED FOR IIS CMDLETS Import Module
PowerShell
IIS
FTP
«
1
2
3
4
5
6
7
...100
»