skip to main | skip to sidebar

powerShell&Me

my time with powershell if you are new to powershell click on the mission link to setup your enviroment

Tuesday, February 10, 2009

Pinging a Server from a Server you are not logged in to

Pinging a Server from a Server you are not logged in to

So if you wanted server remote1 to ping server remote3 you could do something like this:


Get-WmiObject Win32_pingstatus –filter “Address =’remote3’” –computername remote1.| statuscode,address,_server
Posted by pghboemike at 9:23 PM
Labels: scripts, technique

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Topics

  • .net
  • Active Directory
  • AdUsers
  • blogs
  • ctp2
  • ctp3
  • database
  • DNS
  • excel
  • exchange
  • functions
  • GPO
  • GUI
  • hashTable
  • help
  • ldap
  • logparser
  • misc
  • mission
  • moveCollection
  • myBlogs
  • posh enviroment
  • primalforms
  • projects
  • psbase
  • regEx
  • remoting
  • resource
  • SCRIPTCMDLETS
  • scripts
  • sharepoint
  • socialNetwork
  • sql
  • technique
  • tools
  • tutorial
  • vmware
  • webcast
  • who_Am_I
  • wmi
  • xml

Blog Archive

  • ▼  2009 (22)
    • ►  June (1)
    • ►  April (1)
    • ►  March (3)
    • ▼  February (10)
      • sever audit
      • Master-PowerShell | With Dr. Tobias Weltner - Powe...
      • Domain Password Report & How Long Until My Passwor...
      • count events
      • webcasts 2 watch
      • Pinging a Server from a Server you are not logged ...
      • convert vbscript to powershell
      • PowerShell Scriptomatic V1.0
      • create AD accts & exchange 2003 mail boxes links
      • Prof. PowerShell
    • ►  January (7)
  • ►  2008 (31)
    • ►  December (18)
    • ►  November (9)
    • ►  October (2)
    • ►  July (2)
  • ►  2007 (68)
    • ►  December (2)
    • ►  November (2)
    • ►  October (1)
    • ►  August (8)
    • ►  July (55)
 

resourses

  • MS posh newsgroup
  • posh community extentions
  • posh_webcasts
  • powerGUI discussions
  • powerscripting podcast
  • powershell community
  • quest AD commandlets how-to
  • scriptingAnswers