Richard's profileRichard Siddaway's BlogPhotosBlogLists Tools Help

Blog


    May 01

    Computername parameter

    This is something I’ve been meaning to share for a while.  Many of the cmdlets in PowerShell v2 get an explicit remoting capability via the computername property.

    get-help * -Parameter computername | sort name

    Clear-EventLog
    Connect-WSMan
    Disconnect-WSMan
    Enter-PSSession
    Get-Counter
    Get-EventLog
    Get-HotFix
    Get-Process
    Get-PSSession
    Get-Service
    Get-WinEvent
    Get-WmiObject
    Get-WSManInstance
    Invoke-Command
    Invoke-WmiMethod
    Invoke-WSManAction
    Limit-EventLog
    New-EventLog
    New-PSSession
    New-WSManInstance
    Receive-Job
    Register-WmiEvent
    Remove-EventLog
    Remove-PSSession
    Remove-WmiObject
    Remove-WSManInstance
    Restart-Computer
    Set-Service
    Set-WmiInstance
    Set-WSManInstance
    Show-EventLog
    Stop-Computer
    Test-Connection
    Test-WSMan
    Write-EventLog

    This is going to take a bit of working through but this expands the capabilities of PowerShell quite nicely.

    Technorati Tags: ,,,

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks (1)

    The trackback URL for this entry is:
    http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!2267.trak
    Weblogs that reference this entry