NEED TO GET ALL USER ACCOUNTS ON MY NETWORK/DOMAIN WITH A SCRIPT

%3CLINGO-SUB%20id%3D%22lingo-sub-1032010%22%20slang%3D%22en-US%22%3ENEED%20TO%20GET%20ALL%20USER%20ACCOUNTS%20ON%20MY%20NETWORK%2FDOMAIN%20WITH%20A%20SCRIPT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1032010%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20day%20Colleagues%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20y'all%20doing%20well!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EComing%20for%20a%20help%20here%20because%20recently%20i%20need%20to%20get%20from%20my%20mainserver%20all%20user%20accounts%20active%20and%20inactive%20(True%2FFalse)%20that%20i%20have%20on%20my%20network%20using%20PowerShell.%20The%20point%20is%20to%20gather%20all%20them%20and%20create%20a%20file%20where%20i%20have%20them%20all%20organized.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei've%20been%20trying%20to%20do%20it%20using%20the%20following%20scritp%20but%20haven't%20been%20sucessful%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EGet-LocalUser%20%7C%20Out-File%20c%3A%5C%24env%3Ausername.txt%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20if%20y'all%20have%20a%20solution%20for%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1032010%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActive%20Directory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1032163%22%20slang%3D%22en-US%22%3ERe%3A%20NEED%20TO%20GET%20ALL%20USER%20ACCOUNTS%20ON%20MY%20NETWORK%2FDOMAIN%20WITH%20A%20SCRIPT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1032163%22%20slang%3D%22en-US%22%3E%3CP%3EThese%20ones%20may%20help.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2Fsite%2Fsearch%3Fquery%3Dget%2520inactive%2520users%26amp%3Bf%255B0%255D.Value%3Dget%2520inactive%2520users%26amp%3Bf%255B0%255D.Type%3DSearchText%26amp%3Bac%3D5%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2Fsite%2Fsearch%3Fquery%3Dget%2520inactive%2520users%26amp%3Bf%255B0%255D.Value%3Dget%2520inactive%2520users%26amp%3Bf%255B0%255D.Type%3DSearchText%26amp%3Bac%3D5%3C%2FFONT%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3EThere%20are%20many%20scripts%20here%20you%20may%20be%20able%20to%20modify%20to%20suit%20your%20needs.%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%3CSPAN%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3E%3CA%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%2300749e%3B%20cursor%3A%20pointer%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20list-style-type%3A%20none%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-decoration%3A%20none%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2F%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%3CSPAN%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3Eor%20request%20a%20script%20to%20be%20written%20here.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%3CSPAN%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3E%3CA%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%2300749e%3B%20cursor%3A%20pointer%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20list-style-type%3A%20none%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-decoration%3A%20none%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2Fsite%2Frequests%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2Fsite%2Frequests%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%3CSPAN%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3Eor%20ask%20for%20more%20help%20with%20writing%20a%20script%20here.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%3CSPAN%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3E%3CA%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%2300749e%3B%20cursor%3A%20pointer%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20list-style-type%3A%20none%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-decoration%3A%20none%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fwindowsserver%2Fen-US%2Fhome%3Fforum%3Dwinserverpowershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fwindowsserver%2Fen-US%2Fhome%3Fforum%3Dwinserverpowershell%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%3CSPAN%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3E%3CA%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%2300749e%3B%20cursor%3A%20pointer%3B%20font-family%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20list-style-type%3A%20none%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-decoration%3A%20none%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fen-US%2Fhome%3Fforum%3DITCG%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fen-US%2Fhome%3Fforum%3DITCG%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E(please%20don't%20forget%20to%20mark%20helpful%20replies%20as%20answer)%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2014px%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20list-style-type%3A%20none%3B%20orphans%3A%202%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%200px%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%201em%200px%3B%20border%3A%20medium%20none%20currentColor%3B%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Good day Colleagues,

 

Hope y'all doing well!

 

Coming for a help here because recently i need to get from my mainserver all user accounts active and inactive (True/False) that i have on my network using PowerShell. The point is to gather all them and create a file where i have them all organized.

 

i've been trying to do it using the following scritp but haven't been sucessful: 

Get-LocalUser | Out-File c:\$env:username.txt

 

Please let me know if y'all have a solution for it.

 

Thanks in advance

 

 

1 Reply