Get-adgroup -filter * | I want to get more than just SAMAccountName properties --- I am getting greedy :-)

Hello,
PowerShell maestro Mike Laughlin helped me develop this .ps1 script which gathers a .csv list of all AD groups with all their AD user account members (GROUP <group name> and MEMBER <SAMAccountName>) and it works very well.  I am getting
greedy and want to .csv export even more information on the AD user account properties.  Based on the .ps1 below, how/if can I modify this script to get even more AD group member AD user account properties such as:
  GROUP                         MEMBER                          USER NAME                
     ENABLED              LAST LOGON
<group name>         <SAMAccountName>             <DisplayName>                <Enabled>          <LastLogonDate>
I am getting more impressed with PowerShell v4.0 capabilities and the more I automate the more greedy I want to do more.  
Thanks to all PowerShell superstars for lending your expertise on this Windows PowerShell forum!
Matt

where exactly (see script --- let me know if you don't see it in post) in the .ps1 script above would you insed the 
$Props = @(
'SamAccountName',
'DisplayName',
'Enabled',
'LastLogonDate'
Matt

Similar Messages

  • Want to share more than just a public folder

    I am running Tiger (10.4.11) on my PowerMac and I want to share more than just my public folder. Now I read several support documents from Apple suggesting that if I want that my only option would be giving out full root access to my guest user. I am not doing that.
    I want to share my 2nd hard drive entirely. So is there any work around to share this. Either with or without a remote logon procedure. I tried the netiinfo manager, but couldn't get that to wortk properly. Any help would be greatly appreciated.

    Sharepoints should take care of it easily...
    http://www.hornware.com/sharepoints/
    Choose the whole external drive as a Normal Share & set the Users, groups, AFP, & SMB rights.

  • After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous peopl

    After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous people call and ask why I didn't reply to their texts...and I look, but have not received any new texts. YES, I have restarted phone. I have cleared data as well as cache on all apps. I have downloaded the vzw messaging app, which seems silly, since it happens with several different processes and apps, but all to no avail. I am missing texts from my employer, from my family. This did happen, but rarely, before this "soak test". It is now Kitkat version 19.6.3.obake_verizon.en.US. THIS is when I started having problems...like 50 times a day kind of problems! I have seen hundreds of posts all over the internet over the past 3 days. Does no one know how to fix this??? Shouldn't there be a way to revert phone to a pre-update state? and no, hard reset did NOT work!!!! I have been with verizon for well over 15 years, but I have not upgraded my lines and will not in July either. This is ridiculous. It's not like my games aren't working, it is my messaging and "android os"...my lifeline at work!

    kristinaf333,
    Oh no, I am sorry to hear your messages are not working since the software update. I greatlly appreciate doing all that troubleshooting to try and get the messaging application back in business. I know how much I rely on my messages so I can understand the urgency to get this resolved. Have you had a resolution ticket opened since you started experiencing issues with your messages? Does this happen with all contacts or just some? Please provide additional information to ensure we get to the bottom of this for you.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • How do i get  my i phone to show more than just the apple symbol?

    how do i get  my i phone to show more than just the apple symbol?

    Welcome to the Apple Community.
    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.

  • Want to record with two mics but don't want to spend more than $150...

    Hey everyone.
    I want to do shows with my sister and I want to use two mics. Or do I need to use two mics? I
    We tried using my one Logitec Desktop usb mic but her voice was very low.
    I don't want to spend more than $150.. my current setup:
    1.42 GHz Power PC G4 eMac
    two Logitech USB Desktop mics
    GarageBand 3
    That's it.
    I tried Line In and Soundflower to do this a while ago and got this awful reverb effect.
    Any tips and help are appreciated.
    Denise
    The Home Spa Goddess Show
    All the latest and greatest bath, body and beauty news!
    Previously On Alias...
    The Podcast Devoted To All Things Alias
    The GoddessCast Station
    TV talk with the Home Spa Goddess - Now featuring reviews and talk about "24"

    For my podcast (the Weekly Anime Review) I use a MXL 990 condenser microphone and a Behringer UB802 mixer. I recently got a second mic, and I couldn't be happier with this setup. Musiciansfriend.com has the mixer and the mic for $49.99 each. They also have free shipping for orders over $100. Don't forget to get a couple mic cables too, the MF branded ones work great and they are only $3.99 for a 20 foot cable.
    Check out my podcast at www.weeklyanimereview.com to hear how this set-up sounds. I've been using it since the beginning, and I'm extremely happy with the audio quality. Hope this helps!
    Aaron

  • Wanted to catch more than one record in selected rows

    Hi all,
    I am using the following function to catch the selected rows.
    CALL METHOD w_grid->get_selected_rows
            IMPORTING
              et_index_rows = i_selected_rows.
    it is catching only one row.
    but i want to catch more than one record.
    for example i will select more than one record from the grid and press the approve button. so that the status will change in the database.
    but what is happening is if i select 2 or more records it is approving only first record. because in the i_selected_rows only first row is catching. what i have to do to catch other select rows also.
    thanking u.
    regards,
    giri.

    Hi,
    CALL METHOD w_grid->get_selected_rows
    IMPORTING
    et_index_rows = i_selected_rows[] ."<<<< try to put these into []
    please not open multiple threads

  • Can I keep more than just 5 entries in the podcast page?

    I noticed that any post in iWeb's podcast page that gets moved to the archive is no longer indexed by iTunes or other aggregators. I was wondering if there is a way to keep more than just 5 entries in the podcast page so that they continue to remain pasrt of the RSS feed and stay indexed on the aggregator.
    Thank you for your help!

    In a similar problem, does subscribing to a podcast with only one or two current episodes listed, allow all the archived episodes to be accessed or visible in the iTunes Store as well?
    I don't really see the purpose of the Archive if it isn't ultimately used for cataloguing available iTunes downloads, and I am thus forced to load all blog entries on the main page.
    Or am I doing something horribly wrong?

  • Is there a way to use locations to do more than just basic network config?

    Hello,
    I'm trying to figure out if the network location can be used to do more than just the basics. For example, is there a way to automatically connect to network drives when I'm at a particular location? Trying to connect to them all the time (as a login item for example) makes the computer slow down whenever I'm at a different location. Also, is there a way to change the default printer or even sharing of pictures or music? It doesn't make sense to have a default printer something that's not available anymore at my new location, right?
    What would be the best way to automatize all this (if it's not already supported?)
    Many thanks in advance,
    Adrian

    You can create many calendars. Here's the tip:
    Example: you have 1 son and 1 daughter.
    In iCloud ( https://www.icloud.com )
    Create 1 calendar called Son ( Choose a color to tell them apart )
    Create 1 calendar called Daughter ( Ditto )
    Create 1 calendar called Kids
    Since you are the creator, you get to see all calendars combined.
    Send invitations to each of them
    Son gets Son and Kids calendars
    Daughter gets Daughter and Kids calendars
    So if there an event for Son, just put in that calendar
    If it's for both then enter it in the Kids calendar
    Likewise for daughter.

  • When ASM reads my block, it will usually read much more than just the block I requested.

    When ASM reads my (8K) block, it will usually read much more than just the block I requested.
    4 questions :
    1) Am I right when I presume ASM will increase my request to 1 complete AU sized retrieval action done on the I/O subsystem? 
    2) Now what interests me is where does the rest of that I/O size sleep / reside ?
    3) Under what circumstances will those poor, initially unused and discarded KB's be revived and be reckognized for their true value. Will only certain actions, like a scan, cause the 'overhead' to be used ?
    kind regards, Niek

    Hi Aman,
    ASM does not do IOs .
    ASM only gives extent map to clients and clients take that pointers and do direct IO on that block.
    This is very much true statement and explains what will happen if data block is not available at buffer .
    That's why most of IO errors are getting printed on rdbms alertlog file ,rather ASM .Which inturn confirms my statement...
    ASM level DBWR ,LGWR are related to ASM level data processing .
    Keeping above things in mind ,it clarifies ASM does not hold any IOs /place on sleep.
    ASM at diskgroup level,always does IOs  as per au_size of  that diskgroup .
    Regards,
    Aritra

  • How to make iTunes support more than just one harddrive

    The title of this topic says it all: How do I make iTunes support more than just one harddrive? I cannot afford to buy a really huge drive just because iTunes doesn't support more than one.
    There must be a way around this! Anyone?

    I sure hope so. I run iTunes on an iBook G4 with limited space. I've got about 15gigs of music on an external harddrive. I only use the harddrive at home so I like to keep a handful of albums with me on the lappy. There should be some way to designate a primary folder on the laptop for imports, and a secondary (external or whatever) for the bulk of the library. Maybe some nifty way to do quick transfers between them within iTunes. Like a relocate function.
    Say I want the new death cab for cutie album on the laptop this week, but next week I want to swap it out with something new that comes out. It would be nice to highlight an album and select "transfer to secondary" so that iTunes can move the files for you, keep them organized, and keep track of them.
    That doesn't sound so difficult...

  • Joining more than just 2 tracks together

    Is it possible to connect more than just 2 tracks together from a cd? I would like to have a song that is continuous and i wanted it to be longer than just 2 track lengths...so i was just wondering before i wasted a cd and finding out it doesnt work!
    Thanks alot for all of your help!!!!

    Yes, just select all the songs you want to join and go Advanced>join cd tracks. They must be listed right next to each other though.
    bd

  • More than just MASK in 4 point in Keynote '09

    Hi,
    recently using keynote for my iWeb design "front Page" ,it's useful stuff.
    I realised that the Mask Edit c'ld be "Make Editable" in four point.
    It's useful when edit in a round shape..how to make it more than just four point editable?
    thanks

    With the mask selected and editable, the control points should appear as red circles. Click on the point you want to remove -- it should turn white. Now you can press the delete key to delete it.

  • When will Apple offer more than just THEIR brand of cases for the 6 Plus?

    I bought a Project Red leather case for my 6 Plus.  I have also ordered a Tech 21 case, but the shipping from the UK was $15.  I'd love to be able to order a couple of more Tech 21 cases, but I don't want to pay high shipping costs like that again. 

    Yes, I have.  I want Tech 21 since it is my favorite brand.  However, they are from the UK and it costs around $15 to ship to the U.S.  Apple generally has some awesome Tech 21 cases and I'm hoping that they'll offer them soon for the 6 Plus.  Any idea when Apple will offer more than just their brand on their online store?  The closest Apple retail store is a couple of hours from me....

  • Is there a way that I can see more than just the next slide in Presentation mode (as an old version of PowerPoint used to do)?

    Is there a way that I can see more than just the next slide in Presentation mode (as an old version of PowerPoint used to do)?

    Sorry - should have been more specific. As far as I can see, Keynote will only allow me to see the current slide and the next slide on my laptop when I am presenting a slideshow through a projector. But an old version of PowerPoint allowed me to show the current slide....and (adjustable) many more slides ahead (say 10)....so I could simply jump ahead to a 'future' slide and skip several slides in between. Net result being that I was able to matcgh my slides to group discussions rather than stick to a fixed, predetermined slide show.
    As much as it pains me, without this facility - PowerPoint (old verson, not current one) is more useful for me! :-((

  • More than just a $25M fine!

    I just read an article regarding the FCC's "fine" for Verizon Wireless;
    FCC's Fine on Verizon Wireless a $25 Million Joke
    It is a joke.
    But Verizon is going to lose more than just $25M.
    My contract expires in a little less than one year.
    We currently pay around $150 per month.  How much would I pay over years of service if Verizon were actually a good company to do business with?
    It won't be just me.  There are many, many people (just look at the other posts on this forum) that are going to leave Verizon as well.
    Interesting business practice.  Cheat, rob, and steal from your current customers, perhaps hoping they will not leave, and relying on new business to keep coming in?
    Good luck Verizon.
    I have a feeling your going to need it.

    Your statement that I (and others that have stated that they are going to leave Verizon) will not be missed by Verizon, is kind of, part of, my point.  Verizon does not care about their current customer base.  Once you are signed into a contract; they know that "most" people will not leave during their contract because they would have to pay a "fine"; and they count on many people just simply renewing, because that is easier, when the contract comes due.
    Of course; not everyone will be happy with a particular business they decide to do do business with.  What happens when people are not happy with a business though?  They generally leave.  Right?  Sure, there are people who will hang on and just complain and keep doing things the way they do.  I see it all the time.
    That's great that you have not been robbed, cheated, or swindled by VZW.  Other people HAVE!  Clue: that is why the FCC has "fined" them.  That would be for their "less than honest" business practice. 
    Of those amazing numbers you have thrown up, and pretty much indicated that the people who post here are a very, very, small number of VZW customers, how many of those who do not post here do you suppose HAVE been impacted by VZW's less than honest business practice?  Even if only 1% of all subscribers leave, don't you think that will be a much LARGER loss than $25M?
    I read most of the articles concerning the FCC fine on Yahoo news.  People on Yahoo can comment on those articles.  On just ONE article, there were THOUSANDS of people who posted their discontent with VZW (and one or two people who praised them).

Maybe you are looking for

  • Can I use a mini CD-R in my PowerBook CD Drive?

    Can I use a mini CD-R in my PowerBook cd drive? I wanted to transfer some photo's to the Sony Mini CD-R that came with a PSP to then put on the PSP. But the Mini CD-R is so small I'm afraid to try to slide it into the PowerBook cd slot and not get it

  • Microsoft.VsHub.Server.HttpHostx64.exe has stopped working

    Hi there, Can anyone offer advice as how to further diagnose the cause of the above fault?  This happens each & every time I run an MVC &/or API ASP.NET Web Application built with VS 2015 CTP 6, it does not prevent the application from building/worki

  • Chapters and Sound in iMovie

    Yes I know that for some stupid reason Apple have moved adding chapters to Garage Band, makes absolute complete sense to do this when trying to make movies.....but having put up with this I find that Garage Band has moved my sound from the iMovie and

  • [SOLVED] streaming videos directly to mplayer?

    basically what i want to do is watching online videos from the shell via mplayer and elinks w/o downloading them, but not to be limited to youtube, so youtube-viewer is not an option. problem is that mplayer doesn't seem to do the job. some claim you

  • Blank PO gets created.

    Blank PO gets created in production system. Nothing has been entered in ME21N transaction but it gets saved with just PO number. Does anybody knows about this issue or is there any SAP notes on this issue ( may be caused due to data inconsistencies).