Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: SeekAndFind

In order to prevent confusion among coders and scripters.

When scripting a search for a system by operating system, many coders (older programs) and scripters will use a wildcard to catch both Windows 95 and Windows 98. This would be coded as such:

get-adcomputer -filter {operatingsystem -like “Windows9*”}

This PowerShell command would get you all computers in Active Directory that are either Windows 95 or 98. (note: shame on you if you have Windows 95 or 98 joined to you domain.) If they released the new OS as Windows 9, they would’ve been caught up in those results, which would be a royal pain to sort through for accurate results.


14 posted on 07/29/2015 9:41:27 AM PDT by rarestia (It's time to water the Tree of Liberty.)
[ Post Reply | Private Reply | To 8 | View Replies ]


To: rarestia

That makes sense. I vaguely recall a year-old theory that it was a marketing ploy to try to confuse OS X with Win 10.


38 posted on 07/29/2015 10:36:16 AM PDT by Calvin Locke
[ Post Reply | Private Reply | To 14 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson