header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
adding machine name
Last Post 25 Aug 2009 06:54 AM by FrankD. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
abUser is Offline
New Member
New Member
Posts:32
Avatar

--
14 Aug 2009 06:07 AM
    hi there i have this script below, and i checks the space on a local drive and then returns a messege if the drive is fall (i have set it to 99% for testing) i want it to return the machine name with the error as well code is attached thanks

    New_Text_Document.txt

    Eric MorinUser is Offline
    New Member
    New Member
    Posts:36
    Avatar

    --
    24 Aug 2009 07:27 AM
    You can get the machine name by using
    $env:computername


    FrankDUser is Offline
    New Member
    New Member
    Posts:4
    Avatar

    --
    25 Aug 2009 06:54 AM
    Are you looking to do this against multiple systems at once, or are you doing it on systems one by one?


    FrankD
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer