智能AI导航网
  • 首页
  • 亲测源码
  • 随心笔谈
  • 杂七杂八
  • 排行榜
  • 申请收录网址
    • 首页
    • 亲测源码
    • 随心笔谈
    • 杂七杂八
    • 排行榜
    • 申请收录网址

    随心笔谈

    共 4368 篇文章
    随心记录网事-锻炼心境-记录过往事迹
    随心笔谈今日热点亲测源码
    排序
    发布更新浏览点赞
    PowerShell实现参数互斥示例(powershell 脚本)没想到

    PowerShell实现参数互斥示例(powershell 脚本)没想到

     function Test-ParameterSet { [CmdletBinding(DefaultParameterSetName='NonCredential')] param ( $id,...
    随心笔谈
    1年前
    2770
    PowerShell实现在字符串中查找大写字母(powershell input)干货分享

    PowerShell实现在字符串中查找大写字母(powershell input)干货分享

     $text='here is some text with Uppercase letters' $c=0 $position=foreach ($character in $text.ToCha...
    随心笔谈
    1年前
    2830
    PowerShell实现批量重命名文件(如何用powershell创建一个目录)居然可以这样

    PowerShell实现批量重命名文件(如何用powershell创建一个目录)居然可以这样

     假设你有一个很大的文件夹,里面全是图片,你想对文件夹中图片的名称,按照某个统一的规则进行重命名,本文的脚本会简单进行演示: $i=0 Get-ChildItem -Path c:\pictures...
    随心笔谈
    1年前
    2980
    PowerShell实现按条件终止管道的方法(powershell if语句)学到了

    PowerShell实现按条件终止管道的方法(powershell if语句)学到了

     有时你可能想在管道运行在某个特定的条件下,终止管道。今天来演示一个比较新颖的方式,它适用于PowerShell 2.0或着更高版本。先看代码: filter Stop-Pipeline { par...
    随心笔谈
    1年前
    2710
    PowerShell实现时间管理小秘书(powershell代码大全)硬核推荐

    PowerShell实现时间管理小秘书(powershell代码大全)硬核推荐

     引言 是不是觉得同样是活着,别人为啥就能做这么多事呢? 是不是经常8小时班上下来,却不晓得自己干了些啥? 是不是习惯于在Email, BBS, Google Reader间切换,感觉也挺忙的呢? ...
    随心笔谈
    1年前
    2710
    PowerShell实现查询打开某个文件的默认应用程序(powershell 获取文件大小)太疯狂了

    PowerShell实现查询打开某个文件的默认应用程序(powershell 获取文件大小)太疯狂了

     $Source=@" using System; using System.Text; using System.Runtime.InteropServices; public class Win...
    随心笔谈
    1年前
    2480
    PowerShell实现的文件同步脚本分享(powershell实战指南第3版pdf 下载)墙裂推荐

    PowerShell实现的文件同步脚本分享(powershell实战指南第3版pdf 下载)墙裂推荐

     #分别定义源、目标文件夹,注意大小写敏感 $folder_a_path="D:\a" $folder_b_path="D:\b" #遍历源文件夹下所有文件 $folders_a=gci $fold...
    随心笔谈
    1年前
    2750
    PowerShell实现统计函数嵌套深度(powershell 运行脚本)没想到

    PowerShell实现统计函数嵌套深度(powershell 运行脚本)没想到

     PS C:\> Test-Diving -Depth 1 diving deeper to 1 meters... calculated depth: 1 diving deeper to ...
    随心笔谈
    1年前
    2760
    Powershell实现编写和运行脚本(如何运行powershell脚本)一篇读懂

    Powershell实现编写和运行脚本(如何运行powershell脚本)一篇读懂

     一个Powershell仅仅是一个包含Powershell代码的文本文件。如果这个文本文件执行,Powershell解释器会逐行解释并执行它的的语句。Powershell脚本非常像以前CMD控制台...
    随心笔谈
    1年前
    2710
    Powershell展开对象数据结构并以JSON格式输出(powershell new-object)快来看

    Powershell展开对象数据结构并以JSON格式输出(powershell new-object)快来看

     适用于3.0及以后版本。 一个对象包含多个嵌套属性和多个子对象。 要显示对象的属性和自属性,可以转换成JSON,它可以更好的表示这些潜逃属性。 这个例子取回当前的Powershell进程,将其属性...
    随心笔谈
    1年前
    3020
    加载更多
    智能AI导航网
    一个神奇的网站导航工具站-提供最权威高质量的在线网站导引服务-让您第一时间到达所需要的网站地址

    友链申请免责声明广告合作关于我们

    关注我们智能AI导航网
    关注我们
    Copyright © 2026 智能AI导航网 
    网址
    网址文章软件