约 65 个结果
在新选项卡中打开链接
  1. What does $_ mean in PowerShell? - Stack Overflow

    2010年8月16日 · If you break down powershell to basics then everything is a script block including a script file a, functions and cmdlets. You can define your own parameters but in some occasions one …

  2. What does the "@" symbol do in PowerShell? - Stack Overflow

    2008年12月12日 · I've seen the @ symbol used in PowerShell to initialise arrays. What exactly does the @ symbol denote and where can I read more about it?

  3. What does $$, $?, $^ represent in powershell? - Stack Overflow

    2010年11月22日 · 6 In PowerShell, a dollar sign preceding a name indicates a variable. The symbols in question are just special cases of variables provided by the PowerShell environment. They are also …

  4. How to Install PowerShell 7 in Windows 8, Windows 10, and Windows 11

    2023年5月4日 · How to Install PowerShell 7.0 in Windows 7, Windows 8, and Windows 10 Microsoft has announced the Generally Available (GA) release of PowerShell 7.0 on March 4, 2020. PowerShell 7 …

  5. Can I get "&&" or "-and" to work in PowerShell? - Stack Overflow

    The quickest way to real frustration when learning PowerShell is to start by thinking that it is just an expanded CMD or bash. It has a fundamentally different model, epecially when it comes to input, …

  6. windows - How to run a PowerShell script - Stack Overflow

    The MSDN/Technet URL now redirects to a page saying "The Windows PowerShell 1.0 Owner’s Manual has been retired. For the most up-to-date Windows PowerShell content, go to Using Windows …

  7. PowerShell 7.6.0 preview 5 released for Windows 11 and Windows 10

    2025年10月9日 · github PowerShell: 7.6.0-preview.5 Engine Updates and Fixes Allow opt-out of the named-pipe listener using the environment variable POWERSHELL_DIAGNOSTICS_OPTOUT …

  8. PowerShell 7.6.0 preview 6 released for Windows 11 and Windows 10

    2025年12月17日 · PowerShell 7.6.0 preview 6 released for Windows 11 and Windows 10 Posted: 17 Dec 2025 github PowerShell: Known Issues The current release is unavailable on both NuGet and …

  9. How to run a PowerShell script without displaying a window?

    2015年1月28日 · How is it possible to run a PowerShell script without displaying a window or any other sign to the user? In other words, the script should run quietly in the background without any sign to …

  10. What does "%" (percent) do in PowerShell? - Stack Overflow

    It seems that the % operation starts script blocks after the pipeline, although about_Script_Blocks indicates the % isn't necessary. These all work just fine. get-childitem | % { write-host $_.Na...