How to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?

how to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?
I have tried with dsquery below but status is not showing there.
dsquery * -filter "(objectCategory=computer)" -attr name operatingSystem

last logon user name - not really stored (or lined) with computer object.  However, you can get this info during the logon process or from the computer.  Here is method:
http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
Santhosh Sivarajan | Houston, TX | www.sivarajan.com
ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
Blogs: Blogs
Twitter: Twitter
LinkedIn: LinkedIn
Facebook: Facebook
Microsoft Virtual Academy:
Microsoft Virtual Academy
This posting is provided AS IS with no warranties, and confers no rights.

Similar Messages

  • How do I download after changing my operating system from a 32 bit to a 64 bit system?

    I changed my operating system from a 32 bit to a 64 bit system and I need to re-purchase or trade my purchase for a different download -fridayjunior

    Hi fridayjunior,
    Which Adobe software are you trying to install?
    All 32 bit applications are compatible and can be installed on a 64 bit machine.

  • How do I upgrade to the new operating system from OSX 10.5.8

    I have an older laptop and cannot upgrade to the new version of itunes unless I upgrade my operating system.  Can someone please tell me the steps I need to take to upgrade?

    Choose About this Mac from the Apple menu and check the processor.
    If it's a PowerPC Mac, it's already running the newest OS it can.
    If it's an Intel Mac, click here, install the DVD, and run Software Update twice.
    It isn't necessary to upgrade past 10.6.8 to use the current version of iTunes. If you upgrade the OS, back up the computer first.
    (103226)

  • How am i going to downgrade my operating system? i am using os x mavericks right now and i want to downgrade to os x mountain lion

    i`m afraid i might lose any file or application from os x mountain lion that is why i wanted to go back to 10.8.5 and stop using 10.9.2.
    i dont want to lose any file or move them to any places, what should i do now??

    In order to downgrade you must erase the drive, then install the version of OS X that came with your computer. If that is not Mountain Lion, then you will have to re-download Mountain Lion in order to install it. To do that will require repurchasing the code to download Mountain Lion because it is no longer available from Apple.
    It would be much easier to resolve what problems you think you have with Mavericks.

  • I'm trying to update my operating system from mac OS X 10.5.8  where do I go first?, I'm trying to update my operating system from mac OS X 10.5.8  where do I go first?

    How do I go about updating my operating system from the mac os x 10.5.8 to mountain lion?? 

    Click here and read all three steps to the bottom.
    (83996)

  • I have all my music on an external hard drive. I just transferred all my files to a new hard drive . How do I sync all my files with my itunes library without losing all my playlists etc and keep everything intact?

    I have all my music on an external hard drive. I just transferred all my files to a new hard drive . How do I sync all my files with my itunes library without losing all my playlists etc and keep everything intact?

    Launch iTunes with the Option key held down, click on Choose Library, and specify it. If the external drive doesn't contain the iTunes database files, create a new library there and import that music.
    If the library contains any rented movies, they won't play on a different computer.
    (109334)

  • HT1386 The laptop I originally synch'd my iphone 4s with is broken and cannot retrieve any files. How can I sync the phone with a new laptop without losing all my downloaded music and apps already installed on my iphone?

    The laptop I originally synch'd my iphone 4s with is broken and cannot retrieve any files. How can I sync the phone with a new laptop without losing all my downloaded music and apps already installed on my iphone?

    If the answer to the above question is "yes", FIRST, set up a backup of your new computer before you do anything else so the next time your computer breaks you will not be in the same situation. Backup solutions are numerous and inexpensive, and there is absolutely no excuse in the Third Millennium not to have one.
    Then see this tip: https://discussions.apple.com/docs/DOC-3141

  • How to export 2 different report with a link at the same time

    Hi,
    Do anybody know how to export 2 different report with a link at the same time. I currently create a report which link to another report. But when I want to export the 1st report I also want the 2nd report also be exported.
    Thank you very much.
    Best Rgds,
    SL Voon

    Export all the three components individually.
    It will generate 3 script files. Now run them from SQL>
    null

  • How to export string in CDATA with the jaxb xml writer?

    How to export string in CDATA with the jaxb xml writer?
    It read CDATA no problem but it is lost on write.

    Found it:
    ### THIS WORKS WITH SUN JAXB REFERENCE IMPLEMENTATION. ###
    (Not tested with any other)
    In the xsd, you must create a type for your string-like element.
    Then associate a data type converter class to this new type, which will produce CDATA tags.
    Then you must set a custom characterEscapeHandler to avoid the default xml escaping in order to preserve the previously produced CDATA tag.
    Good luck.
    -----type converter-----
    import javax.xml.bind.DatatypeConverter;
    public class ExpressionConverter {
         * Convert an expression from an XML file into an internal representation. JAXB will
         * probably have already stripped off the CDATA encapsulation. As a result, this method
         * simply invokes the JAXB type conversion for strings but does not take any other action.
         * @param text an XML-compliant expression
         * @return a pure string expression
         public static String parse(String text) {
              String result = DatatypeConverter.parseString(text);
              return result;
         * Convert an expression from its internal representation to an XML-compliant version.
         * This method will simply surround the string in a CDATA block and return the result.
         * @param text a pure string expression
         * @return the expression encapsulated within a CDATA block
         public static String print(String text) {
              StringBuffer sb = new StringBuffer(text.length() + 20); //should add the length of the CDATA tags + 8 EOLs to be safe
              sb.append("<![CDATA[");
              sb.append(wrapLines(text, 80));
              sb.append("]]>");
              return DatatypeConverter.printString(sb.toString());
         * Provides line-wrapping for long text strings. EOL indicators are inserted at
         * word boundaries once a specified line-length has been exceeded.
         * @param text the string to be wrapped
         * @param lineLength the maximum number of characters that should be included in a single line
         * @return the new string with appropriate EOL insertions
         private static String wrapLines(String text, int lineLength) {
              //wrap logic, watchout for quoted strings!!!!
              return text;
    ------in caller----
    Marshaller writer = ......
    writer.setProperty("com.sun.xml.bind.characterEscapeHandler", new NoCharacterEscapeHandler());
    -----escaper-----
    import java.io.IOException;
    import java.io.Writer;
    import com.sun.xml.bind.marshaller.CharacterEscapeHandler;
    public class NoCharacterEscapeHandler implements CharacterEscapeHandler {
         * Escape characters inside the buffer and send the output to the writer.
         * @param buf buffer of characters to be encoded
         * @param start the index position of the first character that should be encoded
         * @param len the number of characters that should be encoded
         * @param isAttValue true, if the buffer represents an XML tag attribute
         * @param out the output stream
         * @throws IOException if the writing process fails
         public void escape(char[] buf, int start, int len, boolean isAttValue, Writer out) throws IOException {
              for (int i = start; i < start + len; i++) {
                   char ch = buf;
                   if (isAttValue) {
                        // isAttValue is set to true when the marshaller is processing
                        // attribute values. Inside attribute values, there are more
                        // things you need to escape, usually.
                        if (ch == '&') {
                             out.write("&");
                        } else if (ch == '>') {
                             out.write(">");
                        } else if (ch == '<') {
                             out.write("<");
                        } else if (ch == '"') {
                             out.write(""");
                        } else if (ch == '\'') {
                             out.write("&apos;");
                        } else if (ch > 0x7F) {
                             // escape everything above ASCII to &#xXXXX;
                             out.write("&#x");
                             out.write(Integer.toHexString(ch));
                             out.write(";");
                        } else {
                             out.write(ch);
                   } else {
                        out.write(ch);
              return;

  • I have just purchased a Macbook pro, but my iphone is currently synched to my old pc. How can I now synch it with my new mac without losing all the apps/music etc on my phone, Ta

    Hi, I have just purchased a Macbook, but my iphone is currently synched to my old pc. How can I now synch it with my new mac without losing all the apps/music etc on my phone? Ta

    The easiest way is to copy the iTunes folder from your old PC to your MB (put it in the Music folder as a subfolder), along with the other valuable data on the old PC. Or restore it from a backup of your old PC. Then authorize iTunes on the MB to the same account you had on the PC. When you sync it will warn you that your content will be deleted, but it will be replaced with the same content from the MB. Before syncing you should also make sure there is at least one entry in iCal and Address book on the MB (assuming you sync to Outlook or equivalent on the PC) to assure that your contacts and calendar entries will move over correctly.
    Al alternative that is less effective is to connect the iPhone to the MB without syncing, and choose "Transfer Purchases" from the iTunes File menu. This willl copy purchases music, videos and apps, but not ripped tracks from the iPhone to the MB.

  • How i do search in list with textinput

    how i do search in list with textinput ?
    i make textinput with list and list have data i want to do search in list when right my information in textinput

    On change event of TextInput, apply a filter.I am giving sample code over here:
    private function filter():void {
                                            (your list dataprovider).filterFunction = filterMyArrayCollection;
                                             (your list dataprovider).refresh();
                                  private function filterMyArrayCollection(item:Object):Boolean {
                                            var searchString:String = (Your textinput id).text.toLowerCase();
                                            var itemName:String = (item.(property of list provider which is to be searched) as String).toLowerCase();
                                            return itemName.indexOf(searchString) > -1;
    This will help you in following manner:
    when you type "D" in textinput, the list will show you the names which start with "D" or include the letter "D" in their spelling.

  • How do I link iCloud up with my stuff from my iPhone to appear on my iPad. Through both devices iCloud APPS are all switched to "on"  Do I have to click the storage and backup icon or no?

    How do I link iCloud up with my stuff from my iPhone to appear on my iPad. Through both devices iCloud APPS are all switched to "on"
    Do I have to click the storage and backup icon or no?

    Welcome to the Apple Community.
    What exactly do you mean by your stuff, what type of documents are you talking about.

  • HT204088 How can i view purchases made with an itunes gift card?  All purchases were made from my phone.

    How can i view purchases made with an itunes gift card?  All purchases were made from my phone.

    The article from which you came has instructions on how to view your purchase history. Where in those instructions are you encountering difficulty?

  • How can I install my selphy photo printer CP780 on a new MacBook Pro with operating system 10.8

    Is it possible to install my selphy photo printer CP780 on a new MacBook Pro with operating system 10.8?

    Is it possible to install my selphy photo printer CP780 on a new MacBook Pro with operating system 10.8?

  • How to release a Transport Request at operating system level

    HI,
    How to release a Transport Request at operating system level. Please specify the complete commands along with the pf parameters for TP Export only.......

    <b>tp export <request></b>
    This exports the complete request from the source system. This command starts the export of a request from the operating system level. Only use this command in exceptional cases. The SAP System uses the command expwbo to release requests from CTS transactions
    <b>tp cleanbuffer <sapsid></b>
    This deletes successfully imported change requests from the list of requests that are marked for import into the SAP System <SAPSID>. This function is contained in the commands tp import all <sapsid> and tp put <sapsid> .
    <b>tp delfrombuffer <request> <sapsid></b>
    If the specified request is marked for import into the specified SAP System, this flag is deleted from the import list.
    Reward points if you find this helpful to you.

Maybe you are looking for