My script doesn't work, any ideas? Help please

This is my script:
import-module activedirectory
$computers = @(Get-ADComputer -Filter * -SearchBase 'OU=Desktop Machines,OU=Computers,OU=MyBusiness,DC=primrose,DC=office')
$result = @()
$computers | ForEach-Object { $result += (Get-WmiObject win32_networkadapterconfiguration -ComputerName $_.name | where ($_.ipenabled = 'true') | Select-Object systemname)}
$result | Export-Csv C:\users\samc\desktop\adapter-test.csv
$result | out-gridview
Thanks
Sam

Sam, that second script I posted should do that for you.  Use a select-object statement to limit the output to the properties you want to see.
Here is a list of property names, derived using the get-member cmdlet:
PSComputerName
ArpAlwaysSourceRoute
ArpUseEtherSNAP
Caption
DatabasePath
DeadGWDetectEnabled
DefaultIPGateway
DefaultTOS
DefaultTTL
Description
DHCPEnabled
DHCPLeaseExpires
DHCPLeaseObtained
DHCPServer
DNSDomain
DNSDomainSuffixSearchOrder
DNSEnabledForWINSResolution
DNSHostName
DNSServerSearchOrder
DomainDNSRegistrationEnabled
ForwardBufferMemory
FullDNSRegistrationEnabled
GatewayCostMetric
IGMPLevel
Index
InterfaceIndex
IPAddress
IPConnectionMetric
IPEnabled
IPFilterSecurityEnabled
IPPortSecurityEnabled
IPSecPermitIPProtocols
IPSecPermitTCPPorts
IPSecPermitUDPPorts
IPSubnet
IPUseZeroBroadcast
IPXAddress
IPXEnabled
IPXFrameType
IPXMediaType
IPXNetworkNumber
IPXVirtualNetNumber
KeepAliveInterval
KeepAliveTime
MACAddress
MTU
NumForwardPackets
PMTUBHDetectEnabled
PMTUDiscoveryEnabled
ServiceName
SettingID
TcpipNetbiosOptions
TcpMaxConnectRetransmissions
TcpMaxDataRetransmissions
TcpNumConnections
TcpUseRFC1122UrgentPointer
TcpWindowSize
WINSEnableLMHostsLookup
WINSHostLookupFile
WINSPrimaryServer
WINSScopeID
WINSSecondaryServer
__CLASS
__DERIVATION
__DYNASTY
__GENUS
__NAMESPACE
__PATH
__PROPERTY_COUNT
__RELPATH
__SERVER
__SUPERCLASS
Hope that helps! Jason

Similar Messages

  • I down loaded fcp x 10.2 and my playhead doesn't work, any ideas

    I down loaded fcp x 10.2 and my playhead doesn't work, any ideas

    Move it to the trash and download again..
    Russ
    PS: I assume your profile info is somewhat outdated.

  • CS3 print fix doesn't work - any ideas

    have CS3 (all available updates) + WinXP SP3 - I can open one photo & close it without problems. If I try to open a second photo via bridge or direct from "My Pictures" I get the error msg: could not complete your request because of a programme error.   Used fix "Photoshop CS3 or Photoshop Elements 6 crashes when you open more than one image (Windows)" i.e. created a dummy printer as a default which worked initially but no longer. Any other ideas? Thanks

    Thanks John
    In answer to your Questions:
    John Joslin wrote:
    martinlindsay wrote:
    ...created a dummy printer as a default which worked initially but no longer. Any other ideas?
    Is the dummy printer still default?
    Are you opening/saving files or printing over a network?
    You could try resetting your preferences as described in the FAQ
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    1 I have tried using a dummy printer as a default AND as I have two printers, the one I do not use to print photos as the default. No joy either way.
    2 No I am not on a network - the printers are directly connected to my PC
    3 Tried your suggestion of resetting preferences as per the FAQ & the link provided (thans for that) but still no joy
    I dont know if this helps at all: When I open the first photo I do so, so as to use page set up (with view to performing a batch print). I alter in that dialogue box from the default printer to the one I wish to use. On closing the 1st photo I have tried both "save changes" and "dont save changes". Neither makes any difference if I then try to open a second (or indeed the same 1st photo).
    Any other ideas or is it simplier (though more costly) to upgrade to CS4? Incidentally any idea if CS5 is due soon?
    Thanks again

  • Upgraded from 3g to iphone 5 - my att phone connection doesn't work - any ideas what i a doing incorrectly, upgraded from 3g to iphone 5 - my att phone connection doesn't work - any ideas what i a doing incorrectly

    just tried installing new iphone5 on MAC -
    my att phone conncection doesn't work for phone calls
    any idea what i might be doing incorrectly

    no, but have you called AT&T and reported the issue?

  • Ichat doesn't work, any ideas please?

    Hi, I'm using a powerbook g4 with osx 10.4.9 with Ichat AV 3.1.8 with the apple isight web cam. I'm trying to connect with a family member who's using a logitech quickcam pro 4000 camera with updated logitech software on a pc with the latest Vista operating system. We're up and running with AIM and can send text messages but we can't communicate using the web cams. my family member and myself can get an image of ourselves with our own web cams, so the cameras are working, we just can't see each other. I'm also using an airport extreme, I don't know whether this makes any difference or not. My firewall is set to off. If any of you have any ideas on how to get this stuff up and running, I would apreciate your help. Thank you!
    Powerbook G4   Mac OS X (10.4.9)  

    Hi brettkramer,
    Welcome to the Apple Discussions
    On Vista AIM 6.1.32.1 seems to be better.
    ON the PC they will still have to allow it though the Firewall
    Hopefully the Vista Firewall has not changed too much from XP
    http://www.ralphjohnsuk.dsl.pipex.com/page12.html#_Service
    This does suggest using the UPnP option and this will aslo need to be allowed in the Modem or router
    11:05 PM Monday; April 16, 2007

  • My camera doesn't work any ideas?

    I just purchased a MacBook Pro 2011 from a guy off Craigslist, and I noticed the camera doesn't work.  Any suggestions how to fix this.  If ou open any apps like facetime it just shows a camera with a line through it. 

    Take it to theApple store, they diagnois for free, and give you a price for repair. A flat rate to repair all that is wrong with the machine, about 1/3rd the price of the price of the least expensive MBP.   Does'nt sound healthty.   Maybe why he sold it.

  • I usually email myself to test an address but today it doesn't work, any ideas why?

    I have often emailed myself to test a new address etc. Someone emailed me yesterday and it did not arrive so I tried a self check (frm Mozilla) and it did not arrive either. I emailed myself using webmail and the message arrived in both the webmail and Mozilla inboxes! Any ideas on what has happened, please? Regards. doddie

    If your providers SMTP server accepted the sent mail from Thunderbird it is done. What happens after that is your providers operation. When the message did not arrive back to you was the message in your Inbox on the server when you checked? Thunderbird downloads messages from your Inbox on the server. If the message is not there, it cannot download it.
    Comparing mail sent thru SMTP servers and web mail means nothing. Complete different process through different servers.
    All it proves is that you know your username and password.

  • I have a perplexing problem, in firefox the iframe in the spry tabbed panel doesn't work any ideas?

    I have made a page with spry tabbed panels, i have embedded an iframe in the content section of the second tab, this works perfectly well with Google, IE, Safari, Opera etc but just doesnt work in Firefox.
    If I make the tab panel containing the iframe the Default tab then it works, i just cant figure out why,
    By the way new to all this so be gentle please
    <div id="main_column">
         <div class="section_w500">
            <h2>North Bali Listings</h2>
            <div id="TabbedPanels1" class="TabbedPanels">
              <ul class="TabbedPanelsTabGroup">
                <li class="TabbedPanelsTab" tabindex="0">About North Bali</li>
                <li class="TabbedPanelsTab" tabindex="0">Land</li>   <<<<< This is the tab where the iframe is embedded in the content panel>>>>>
                <li class="TabbedPanelsTab" tabindex="0">Houses / Villas /Apartments / Rooms</li>
                <li class="TabbedPanelsTab" tabindex="0">Commercial</li>
    </ul>
              <div class="TabbedPanelsContentGroup">
                <div class="TabbedPanelsContent">A property analyst recently said that limited land availability in the southern parts of Bali, especially  in and around the Badung and Denpasar areas, has driven investors northward, in our opinion   at this time it is an ideal opportunity to  acquire property still at very sensible prices in this area, be it for investment or as a place of residence.. <br />
                  <p> <img src="../../../Images/Bali Scenes General/panoramic-views.jpg" alt="views" width="183" height="140" align="left" />Over the last few of years, investors have been targeting the northern area,  principally along the coastline ,  with its variety of pristine black sandy beaches, pebble beaches and rugged coastline, offering a variety of activities; scuba diving, snorkelling,  water sports, fishing, sailing. trekking  gives this area the potential to be world-class tourist destination. Research has shown that  property prices are set to rise above the average due to increased infrastructure development, and the planned opening of a new International Airport in the North shows the Bali Government's commitment to the develop this area as a future tourist destination.<br />
                    <br />
                    The Northern part of Bali  is also an excellent base for exploration further afield, close to the main portal for trips to other parts of Indonesia. <br />
                  Although it is largely undeveloped there is a wide range of properties and land with beach front to panoramic rice paddy views still to be found at good value for money. </p>
                  <table width="100%">
                    <tr>
                      <td align="left" valign="top"><div class="AreasOfBaliHighlight" style="color: #60C; font-weight: bolder;">This is an ideal time to consider your dream property  in this area; be it for investment, development or private use.</div></td>
                    </tr>
                  </table>
                  <p> The main tourist area in the North is arguably <span style="color: #F00">Lovina</span>, with property prices reflecting this especially beach front or with panoramic views so expect to see prices a little bit more expensive in and around this area. However inland prices are still very reasonable.<br />
                    <br />
                    <img src="../../../Images/Bali Scenes General/Traditional-lifestyle.gif" alt="village life" width="188" height="137" hspace="2" align="right" />Other  areas to be found in the North going towards <span style="color: #F00">Gillimanuk</span> the main portal for the ferry to and from Java; include: <span style="color: #F00">Pemuteran</span> popular diving area, <span style="color: #F00">Menjangan</span> <span style="color: #F00">Island</span>, a popular diving and nature reserve;  are also beginning to attract investors, resulting in  prices  rising.<br />
                    The area of the North of Bali travelling East from <span style="color: #F00">Lovina</span> towards the eastern part of Bali is quieter and more rural, with stunning coastline and secluded traditional village life, here life slows down, people are very friendly and happy to integrate with &quot;Bule (Foreigner), this life style is definitely completely different to the hustle and bustle of the South of Bali, perfect for future development and peaceful retirement, and with the development of the new <span style="color: #F00">International Airport</span> in this area, about 1/2 way between <span style="color: #F00">Singaraja</span> and <span style="color: #F00">Almpura</span> in the East, which makes this area an ideal investment opportunity as property and land prices are set to grow in this part of North Bali faster than other areas.<br />
                    <br />
                    <img src="../../../Images/Bali Scenes General/img_bali_1.jpg" alt="Quiet Lanes" width="189" height="124" hspace="2" align="left" />It has to be said that facilities for schooling, medical services and shopping are not as good as in the South or around Ubud area, which have higher concentrations of  established ex pat communities, and better facilities  also the job opportunities are not anywhere near as plentiful as in the South or Ubud areas, which limits the lifestyle for many people looking to settle in Bali, careful consideration has to be given if your intention is for a place for you to reside, and it is possibly an area for consideration as an investment opportunity, or for a development of hotel or villa resort, or as a second retirement home. </p>
                  <p>There are of course facilities for all the usual services and plenty of job opportunities, and a small but growing ex-pat community, especially in and around <span style="color: #F00">Lovina</span> and <span style="color: #F00">Singaraja</span> just not as many as in the other popular areas for ex pat's. </p>
                </div>
                <div class="TabbedPanelsContent">
                  <p> </p>
                  <table width="100%" border="0">
                    <tr>
                      <td valign="top"><h7 style="color: #C03"><span style="font-weight: bold"><span style="font-size: 12px; color: #FFF;">Property Code BSP 00130101</span><span style="font-size: 16px"> </span>SAMBIRENTENG - North East Bali 7,300 meters (</span></h7>
                        <span style="font-weight: bold; color: #B90033;">73 ARE) Beach front flat wooded land for Sale/ Rent</span></td>
                      <td><span class="button_01"><a href="#" onclick="MM_openBrWindow('North Bali/Gold Package Listings/BSP-00130101/Sambirenteng  Property Location Map.html',width=750,height=200')">Location Map</a></span></td>
                    </tr>
                    <tr>
                      <td width="77%" valign="top"><p>A golden opportunity to acquire a prime plot of beach front land in the North East of Bali in an area that enjoys newly awarded &quot;Tourism Status&quot;  ideal for the development of a small hotel or villa complex, easy access to many popular tourist spots already developing in the North.</p>
                        <p> A 3 meter wide sealed road gives acces to the whole length of this prime plot of land: Electric (PLN) Water (PDAM) Telephone &amp; Internet close to hand and readilly available</p></td>
                      <td width="23%"><a href="Carousel Sambirneteng Listings.html target="_parent"></a><iframe src="Carousel Sambirneteng Listings.html" allowtransparency="yes" frameborder="no" height="111" width="156" scrolling="No" align="middle" marginheight="0"></iframe></td>
                    </tr>
                    <tr>
                      <td valign="top">Purchase price<span style="color: #33C; font-weight: bold;"> 12,500,000,000 Rp</span><br />
                        Rental Price (25 years) <span style="font-weight: bold">9,450,000,000</span> <span style="font-weight: bold">Rp</span> <span style="color: #FFF"> (<span style="font-weight: bold; color: #3333D0;"> 5,200,000 Rp</span><span style="color: #3933D5"> </span> per are per year )<br />
                          Min Rental Period 25 Years, extendable to to a max of 75 years
                          (with full &quot;Right Of Use&quot; issued by owner)</span></td>
                      <td valign="top"><p class="button_01"><a href="../Gold Package Listings/BSP-00130101/BSP00130101 Details.html">Find out more</a></p>
                        <br />
                        <span class="button_01"><a href="../Gold Package Listings/BSP-00130101/BSP00130101_Enquiry Form.html" target="_parent">Make Enquiry</a></span></td>
                    </tr>
                  </table>
                  <p><br />
                  </p>
                  <hr width="100%" noshade="noshade" />
                  <p> </p>
                </div>
    <div class="TabbedPanelsContent">Sorry we don't have any listings under this catagory at the moment,,, Check back later or register with us, and we will send you regular updates of any new properties we list.<iframe src="Carousel Sambirneteng Listings.html" allowtransparency="yes" frameborder="no" height="111" width="156" scrolling="No" align="middle" marginheight="0"></iframe></div>
                <div class="TabbedPanelsContent">Sorry we don't have any listings under this catagory at the moment,,, Check back later or register with us, and we will send you regular updates of any new properties we list.</div>
    </div>
            </div>
            <p> </p>
          <p>
            <h7 style="color: #C03"></h7>
          </p>
    <h2></h2><!-- this stays empty to put dotted line under listings block -->
         </div>
         <div class="cleaner"></div>
        </div> <!-- end of main column -->

    Could you share a link to the page?
    Seeing it in context and in our browsers is much easier to debug.
    If not, make sure to run the validator here The W3C Markup Validation Service and clear out any problems. HTML errors, especially structural ones, will cause all kinds of display problems in various browsers/versions/platforms.

  • Dropped my phone in water and now the camera doesn't work, any ideas why its' the only thing not working

    I somehow knocked my iphone 4s in the sink of water and everything seems to work except the camera.  Is there a way to reinstall  the software or does anyone know what I can do other than using phone protection insurance?  All my pictures are there and they upload and share but just can't get the camera to take pictures.

    The device is damage, it was dropped in water.  You are lucky that the device works at all.

  • Esata on NF750-G55--doesn't work? Ideas? Please?

    I've had this board for awhile, love it, no issues, went right in booted right up..no problems at all.  I just switched to win 7 because MS$ has chosen to stop supporting my beloved XP 64 bit professional.  Believe me if I had a choice I would have stayed with it, obviously MS can't stand the concept of something so good being out here that doesn't cost your first born.  Anyway, I haven't used the Esata port before, I just bought a drive dock that can run off usb or esata, it works perfectly on usb but as soon as I plug in the esata cable nothing. 
    I wish I had another esata device to test with but I don't, I'm "assuming" since the dock works with usb that it is not malfunctioning...but I know how assumptions can be.  MSI's site has been screwed up all day, I can't get the driver pack for this board for win 7 ultimate 64 bit, the us one stalls, the europe one has a bad url and the asian downloads but I'm afraid it may not be in english.  I got this long enough ago I "assume" there are no win 7 drivers on the original disk but I'm about ready to look.  I think win 7 is fast but I hate the vista look and I hate the way they hide anything a techie might use from easy view to keep the idiots from playing with it (20+ years building systems I'm no idiot, I should get a choice about that during install or a choice of interfaces in the control panel or someplace). 
    So has anyone had a problem with esata port working on this board, hopefully as soon as I can get a good driver download it will work, another thing I hate 7 doesn't give you the little yellow exclamation point when a driver isn't loaded for something. 

    It's Emile's fault for abandoning his original posting where he had explained everything (and received ample input from others). His time is more important than yours, so start coughing up the answers, and make it snappy.

  • Service error...  tried everything but doesn't work!!  Help please!

    I just got my brand new video ipod, and I can't even download anything!!!
    I installed the CD that came with the ipod.
    Ipod IS recognized by the windows, but not in iTunes.
    I see in the discussion that so many people had these errors...
    "ipod service error" under ipod updater and
    "The software required for communicating with the ipod is not installed correctly. Please reinstall itunes to install the ipod's software."
    I've tried almost everything that's suggested in the discussion. Re-installed iTunes so many times, used Windows Install Cleanup, used msconfig under Run and changed system configuration utility. NOTHING.
    Could someone suggest me anything else I can do?
    I'm really disappointed and frustrated... I was so excited to get my new ipod, and didn't expect to run into a problem from the start!!!!
    And I've been working on this for 2 days!
    Dell   Windows XP  

    problems after problems...
    Ok, I got the ipod service error taken care of.
    Thanks to this thread.
    http://discussions.apple.com/thread.jspa?messageID=1388732&#1388732
    So now the ipod updater has updated my ipod successfully.
    NOW, the itune doesn't open.
    everytime I try to open it, it gives the "iTunes has encountered a problem and needs to close." error.
    So I'm off to this new problem...
    At least I got the service error taken care of.

  • My iphone 3gs will not turn on. it keeps saying to plug into itunes but this doesn't have any effect. help please

    my iphone keeps shuting down and now refuses to turn back on, it comes up with the message to plug into itunes but this doesnt help?! i dont know what i should do? is it beyond repair help please

    JasmineHill1 wrote:
    my iphone keeps shuting down and now refuses to turn back on, it comes up with the message to plug into itunes ...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • Photo Mail doesn't work!!   HELP PLEASE!!

    Windows 8.1 Elements 11  Windows Live Mail.  I've done EVERYTHING under the sun to try and get the mail to work.  Will the brightest MVP Tech from Adobe please contact me with the fix.  I know that there are millions of computers out there that are able to send their photos using Elements 11.  Thank you.

    Try the standard fixes;
    - Reset:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backup via iTunes
    - Restore the iPod to factory defaults/new iPod
    If still problems you likely have a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • HT4865 my message send tab is not working, any idea why please, thanks in advance,

    My message tab to send is not working,I can type the message but when I press send it 's not working,
    I don't remember doing anything to stop it, Can anyone advise me please, thanks you in advance,

    If you have Settings>Messages>Show Subject Field set to On, you may be typing in the subject field of your message.  The Send button won't respond until you type something in the iMessage field just below it.

  • My microphone on the i pad 2 is no longer working any ideas please

    My microphone on the i pad 2 no longer works , any ideas ? Please . Thankyou

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

Maybe you are looking for

  • SD-ABAP:Create SO:BAPI_SALESORDER_CREATEFROMDAT2: Line Item Structure Tab

    Hi SD-ABAP, I'm currently creating SO using BAPI_SALESORDER_CREATEFROMDAT2. I'm populating the following: IMPORT:   SALESDOCUMENTIN, ORDER_HEADER_IN, ORDER_HEADER_INX TABLES:  ORDER_ITEMS_IN, ORDER_ITEMS_INX,                 ORDER_PARTNERS,          

  • How to save .pdf file using office word and excel

    Can someone help me how to save .pdf files using office word and excel?  I reinstalled my adobe 7.0 pro in my new pc and before I was able to do it but with my old pc.

  • Cc - Undefined symbol

    Hi I'm trying to use prof and so have to use the static version of our libraries. Those are generated freshly by the build process but haven't been used for years. I am getting an 'Undefined symbol' linking error. The command looks something like thi

  • Interesting Music Vid Import Issue

    Hey there, My buddy does drum covers to songs and posts them on Youtube.  I used tubekeeper.com to snag the HD-format MP4's off of the net.  I have 5 total.  They all imported into iTunes just fine.  Only 1 of them has audio associated with it though

  • PCUI - Pop-up "save changes" appears every time we switch between the list

    Hi Experts, maybe you can help me with the following issue: We work with PCUI EP 7.0 and CRM 5.0 and if we start a pcui application (Salesorder for example) and open the enhanced search, put some data in the search criterias and then press search - t