Advertisement

11.08.2008 at 03:15AM PST, ID: 23887572
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

Hashtable Import/Merge/Export Powershell

Asked by DaleHarris in MSH/Monad PowerShell, Scripting Languages

Tags: ,

This is something I've attempted to do before, but did not succeed.  Now I'm asking for something pretty interesting and I haven't seen much written about it on Google or EE.

Simply put, I want to make a hash table with values like "John Smith", "2" and "Jane Doe", "4".  It starts by taking a survey of all the exchange mailboxes and whoever is over a certain amount of MBs, flags that user name and adds it to a temporary list.  This can be an array since it's only a bunch of names.  No numbers yet.  Here's where it gets interesting.  There will be a text file or csv, whichever is easier in a location accessible by the script.  Let's call it "C:\HashTable.csv".  It imports all the values from Hashtable.csv into a hashtable.  Then it goes down the line and says "If a person exists in this hash table, increment their corresponding value by 1".  Otherwise, just add them to the list, and give the key a value of 1.  So the key is the persons name (because it's unique), and the value is how many days we've found them full on the server.

I tried to use a text file that outputs their names into it, and then counts it all up.  That works but after a while the text file gets so sloppy, it's hard to read it.  And it also pretty large after a few days.

Hopefully someone can cook something up.  The hardest part I'm having is exporting the hashtable.  Once I export it, I suppose it would be easy to import it.  And even easier to do a "Does key exist" on the table, then if they do, increment their value by 1.  Should be a cakewalk, right?

This has been something plaguing me for a few months and I shelved it because I got sidetracked with other projects.  So whoever can fix this will get my 2000 points + my undying gratitude free of charge.

-Dale HarrisStart Free Trial
[+][-]11.08.2008 at 09:15PM PST, ID: 22915170

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.08.2008 at 09:15PM PST, ID: 22915171

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.08.2008 at 09:49PM PST, ID: 22915225

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.09.2008 at 02:46PM PST, ID: 22918093

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.09.2008 at 02:49PM PST, ID: 22918108

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.10.2008 at 06:46AM PST, ID: 22921885

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MSH/Monad PowerShell, Scripting Languages
Tags: Powershell, V2 CTP 2
Sign Up Now!
Solution Provided By: BSonPosh
Participating Experts: 2
Solution Grade: A
 
 
[+][-]11.10.2008 at 08:45AM PST, ID: 22923156

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.10.2008 at 08:47AM PST, ID: 22923176

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.10.2008 at 10:11AM PST, ID: 22923931

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.10.2008 at 10:18AM PST, ID: 22923985

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.11.2008 at 09:31PM PST, ID: 22937014

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.12.2008 at 07:05AM PST, ID: 22940203

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.22.2008 at 06:36AM PST, ID: 23020878

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.22.2008 at 07:36AM PST, ID: 23021095

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11.22.2008 at 08:49AM PST, ID: 23021354

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.22.2008 at 08:51AM PST, ID: 23021363

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2008 at 10:44AM PST, ID: 23141582

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.16.2008 at 11:49PM PST, ID: 23191385

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.17.2008 at 05:22AM PST, ID: 23192924

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628