• <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>

    使用Powershell如何輸出當年的年份

    Windows Powershell程序的呈現,為泛博從業者帶來了莫大的驚喜。不僅豐碩了可用的指令集,并且供給了加倍杰出的劇本運行情況。

    東西/原料

    • Windows Powershell
    • 電腦

    方式/步調

    1. 1

      打開Windows Powershell程序窗口;

    2. 2

      在Powershell中,常用 Get-Date 指令查詢日期;

    3. 3

      設心猿意馬指令參數 -Format ;

    4. 4

      設心猿意馬輸出年份的參數 yyyy ;

    5. 5

      點擊回車后,函數成果主動輸出;

    6. 6

      請對比 Get-Date 指令成果,進修指令參數。

    注重事項

    • Windows Powershell基于.NET Framework的壯大功能,剎時功能上晉升了一個檔次;
    • Powershell可以兼容所有的cmd指令;
    • 注重區分參數中的“M”和“m”,別離指心猿意馬的為月份和分鐘;
    • 原創經驗,未經許可,回絕轉載!
    • 發表于 2019-06-30 20:05
    • 閱讀 ( 705 )
    • 分類:其他類型

    你可能感興趣的文章

    相關問題

    0 條評論

    請先 登錄 后評論
    聯系我們:uytrv@hotmail.com 問答工具
  • <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>
    久久久久精品国产麻豆