Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
wwb
Aug 17, 2004

Easiest way would be to have sql server do it actually- "SELECT COUNT(*) as ItemCount, HostName, DisplayName, EntryDate, Usages GROUP BY HostName" is a step in the right direction.

Adbot
ADBOT LOVES YOU

wwb
Aug 17, 2004

No real expert, but the other manning powershell books are first-rate too.

wwb
Aug 17, 2004

First, stop generating XML as strings. It isn't a string it is an object graph with a string representation.

As a temporary fix, you should try forcing a particular encoding.

wwb
Aug 17, 2004

So they aliased wget in powershell 3. Any idea why it is horribly slow compared to any other http download client? Sub 100mb speeds on a gigabit network with nothing happening slow FWIW.

wwb
Aug 17, 2004

One note on finding __UTAH____ -- you can pass a function to a filter -- see http://stackoverflow.com/questions/15536611/how-to-pass-custom-filter-function-to-where-object for an example. So you don't need a 2 stage filter.

Personally I would skip the regex here but that is probably because I hate regexes.

wwb
Aug 17, 2004

Does their software have the windows accessiblity hooks built in? Is it keyboard operable? Sendkeys is fun and easy and the way we used to do this poo poo before we had newfangled crap like coded ui.

wwb
Aug 17, 2004

If you can get the forms to work in a browser then that is easier -- check out http://docs.seleniumhq.org/ for a good tool.

Adbot
ADBOT LOVES YOU

wwb
Aug 17, 2004

You can chain wheres so if there is a way to say "where name not like conference-room-xxx" or something like that you'd be golden. No idea if there is an effective naming convention you can leverage.

Another idea would be to add a piece of metadata to cover "accounts that are disabled but should not be hidden" and then filter on that. Would probably be better than relying upon naming conventions.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply