JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

powershell

发布时间 2023-04-04 13:46:45作者: hofmann
 $num= 45

switch($num)
>> {
>>   {$_ -lt 50 -and $_ -gt 40} {"小于50,大于40"}
>>   {$_ -eq 50} {"等于50"}
>>   {$_ -gt 50} {"大于50"}
>> }
输出 小于50,大于40

 

    本栏目推荐文章
  • 绕过安全限制,通过cmd执行PowerShell脚本(2)
  • Windows 10 中,可以使用 PowerShell 添加打印和文件服务的角色功能组件,包括 Internet 打印客户端、LPD 打印服务和 LPR 端口监视器 PowerShell 添加打印机并创建新的 LPR 端口。以下是添加打印机和创建新端口的 PowerShell 命令在 Windows 10 中,可以使用 PowerShell 添加 LPR 兼容打印机。
  • 绕过安全限制,通过cmd执行PowerShell脚本
  • 【解决方案】关闭PowerShell更新提示
  • PowerShell 美化及Alias设置
  • 【Application Insights】使用Powershell命令向Application Insgihts发送测试数据
  • C# 执行powerShell
  • PowerShell中无法加载ps1脚本文件,因为在此系统上禁止运行脚本
  • PowerShell 启用 Windows 11 上的远程桌面
  • Windows Server 2019-Powershell之客户端加域
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们