Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 702451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:43:21+00:00 2026-05-14T03:43:21+00:00

Hiya I am very new to C#, infact this is basically my first task

  • 0

Hiya I am very new to C#, infact this is basically my first task set by work whilst i learn the language. Yes i am also new to programming, be gentle :).

Context:
My script needs to query active directory, grab of OU’s and put them to a combo box in a form.
Next query ActDir for a list of machines in a selected OU (Done this in a vbscript already)

Next query the machines in turn for there IP, and MAC addresses.(Done this in a vbscript already)
Next needs to shut those machines down(Done this in a vbscript already) and dump all the machine and NIC info to a txt file

The other half of the script grabs the info for the machines out of the text file and sends them a magic packet to wake them up.

The shutdown section i have already written a VBscript for, but decided it wasn’t future prrof, and i was learninc C# at home, so figured it was the best option to start over with.

Im not looking for anyone to write this for me, but if anyone had any pointers on where to go for information etc. . . It would be more than appreciated 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:43:21+00:00Added an answer on May 14, 2026 at 3:43 am

    MSDN has all the information you need. Your AD stuff should be covered pretty well in the System.DirectoryServices namespace, the other stuff you can get using COM or P/Invoke.

    However, to get more help here, you need to ask more specific questions. Unclear/unspecific questions often do not last long and are closed as “not a real question”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hiya, i have the following code but when i try and create a new
Hiya guys heres my question: im using mootools and im using this demo-> Drag.Move
Hiya I am working on an FTP client, can someone tell me the difference
Hiya - been pointed at you guys by a friend of mine. I have
Hiya - quick one - is there any harm / value in subclassing JComponent
Hiya - still @ the design stages of an app, and was wondering about
Hiya, I'm sort a newbie when it comes to hibernate so I'm going to
Hiya, I'm a bit of a newbie to .NET so please ignore my ignorance.
Hiya im trying to write a code for basic 1D Monte-Carlo integration. To do
Hiya! I'm having problems with z-index in IE7. I have a table where the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.