[SWITCH]

[SWITCH]

  • Comments 1

Here is a pointer to a good demonstration of PowerShell's [SWITCH] datatype:

http://msgoodies.blogspot.com/2006/12/negating-powershell-switch-parameters.html

Jeffrey Snover [MSFT]
Windows PowerShell/MMC Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Leave a Comment
  • Please add 7 and 8 and type the answer here:
  • Post
  • PS D:\corp\corp document> get-command|select-string "object"

    Compare-Object

    ForEach-Object

    Get-WmiObject

    Group-Object

    Measure-Object

    New-Object

    Select-Object

    Sort-Object

    Tee-Object

    Where-Object

    PS D:\corp\corp document> get-command|select-string "jion"

    PS D:\corp\corp document> get-command|select-string "path"

    Convert-Path

    Join-Path

    Resolve-Path

    Split-Path

    Test-Path

    PS D:\corp\corp document> get-command|select-string "write"

    Write-Debug

    Write-Error

    Write-Host

    Write-Output

    Write-Progress

    Write-Verbose

    Write-Warning

    PS D:\corp\corp document>

    where are the command of 'write-object' and 'join-object' ?

    win2003+sp1

Page 1 of 1 (1 items)