PowerShell – Bulk Convert Global Groups to Domain Local…

2017-07-27T00:00:59+00:00 September 29th, 2015|Uncategorized|

Recently I was working with someone who spent a bunch of time building Active Directory groups for a project I’m working on.  After he was done, I noticed the groups he made were Global type groups (which is the default type in ADUC) instead of Domain Local type groups, which I needed for my project.

Instead of causing the person to panic, I told him we could turn to PowerShell to easily flip the type.  However, there is one caveat… You cannot convert groups directly from Global to Domain Local, so they have to be converted to Universal first.

Fortunately for me, all these groups were in a single OU, and we could fix this with just a few simple commands.  Just read along in the comments for explanations of each line.

# So before we begin to process groups, we set a variable to set your searchbase:

$MySearchBase = "ou=Groups,ou=ABC,dc=lab,dc=local"

# For our first step – we load up a variable with the groups we want (filtered by type):

$MyGroupList = get-adgroup -Filter 'GroupCategory -eq "Security" -and GroupScope -eq "Global"' -SearchBase "$MySearchBase"

# If you want to validate you got the correct groups in the variable, list out the names of your objects in the variable:


# Now, for every group in the list, we flip the type to Universal:

$MyGroupList | Set-ADGroup -GroupScope Universal

# Now for our second step – we re-load the variable:

$MyGroupList = get-adgroup -Filter 'GroupCategory -eq "Security" -and GroupScope -eq "Universal"' -SearchBase "$MySearchBase"

# Again, if you want to validate you got the correct groups, list them out:


# Finally, convert them from Universal to Domain Local:

$MyGroupList | Set-ADGroup -GroupScope DomainLocal

And of course, I thought it’d be great to pass it along in case it helps stop some panic in your world…  Enjoy!


2017-07-27T00:00:59+00:00 September 16th, 2015|News|

September 16, 2015 – A lot of companies have already jumped on the Virtual Clinical Workspace bandwagon, only to discover that their wagon is, well, broken.  The reason is because many of the companies that have tried VCW (for short, because that’s a mouthful) have tried to implement desktop virtualization on their own, without the help of third party virtualization expert.

The results are grim. VCW is not an out of the box solution. It’s a stack of technologies that need to be integrated together with the proper strategy, know-how, and expertise in order to provide the solution you need. And trying to do so on your own can leave you with a poor virtualization product – one that makes life harder, not easier. Instead of streamlined workflow, your end-users complain of even longer log-on times, sessions that don’t roam, printers not working the way they’re supposed to, and a whole new set of support headaches for your IT staff to resolve.

It’s time to get optimized. In other words, it’s time to hire a virtualization expert who can bring your VCW into actual working order, delivering the wonderful benefits that virtualization should provide.

To help explain the value of optimization, here are the top 5 IT issues that properly functioning Virtual Clinical Workspace can resolve, as well as what you can expect if you’ve gone the road alone:

IT Issue #1: Initial login & reconnect times too slow

Solo-trip: When implemented incorrectly, login times can range from 1-3 minutes, and reconnect time from 30 seconds to a minute and a half, which is especially headache inducing when roaming also fails to work.

Expert-application: Initial login to data access (not just desktop access) occurs in 30 seconds or less. Data will also roam with them wherever they go, and can be reconnected to exactly where they left it in a maximum of 10 seconds.

IT Issue #2: Poor end user experience in clinical virtual environments

Solo-trip: The two biggest impacts you will see to the virtualization experience are the loss of desktop personalization (no shortcuts, favorites, icons where you expect them, and the loss of mental process and flow), and problematic printing (again with HIPAA – see #3).

Expert-application: Desktops will be personalized and roam for each staff member, applications will auto launch with single sign-on access and printers will be location aware, allowing your team to be more focused on patient care, less on technology malfunctions.

IT Issue #3: Minimizing desktop security risk/major calamity or HIPAA violation

Solo-trip: The workarounds that people create when virtualized desktops don’t perform can raise huge HIPAA concerns. We’re talking pre-or-post charting, failing to log out when necessary to avoid slow reconnect times, or having patient data forgotten about and left on display, or printed and left because they were sent to the wrong printer.

Expert-application: Everything follows you – your desktop, your printers, everything – and your log-in and reconnect times are so quick that there’s much less risk of human-error for the above HIPAA violations.

IT Issue #4: Increasing user base more easily

Solo-trip: When VCW is implemented incorrectly, your hands are tied when it comes to adding new users. You don’t want to continue rolling out something that doesn’t work in the first place, only increasing the issues you’re already experiencing.

Expert-application: A lot of hospitals are in acquisition mode, these days, and virtualization done right can allow you to expand very rapidly, easily combining domains and pushing out applications to new users.

IT Issue #5: Reduce or slow down escalating IT support costs

Solo-trip: VCW done incorrectly will increase your support costs. Your staff will always be complaining and you can end up needing an even bigger IT staff just to support general maintenance.

Expert-application Proper virtualization implementation allows you to centrally manage all your desktops, increases your overall security and reduces the amount of IT staff needed to maintain general functionality. If your staff has thinned due to attrition or retirement, you wouldn’t be required to refill those positions. Even better, you can repurpose IT people onto more strategic projects, instead of sticking them on daily maintenance.

At Coretek, we can optimize the virtualization systems you already own (and don’t like) so that you experience only the benefits of virtualization (of which there are many) and none of the headaches. Done correctly, Virtual Clinical Workspace allows you to break down technology barriers and give your doctors and clinicians instant access to patient data at the point of care.


2017-07-27T00:00:59+00:00 September 15th, 2015|News|

September 15, 2015 – At the turn of the 20th century, industrial factories stopped supplying their own power. Thomas Edison had the bright idea to build a giant public power station that offered electrical power as-needed to nearby factories, rentable on a monthly basis.

The cloud, otherwise known as massive outsourced data-centers, function exactly the same way. Your data and computing capabilities are the “power” of your business. They keep the lights on. Keep your workers working. And they keep your “product” available to your customers. The cloud allows you to house all your data and computing capabilities somewhere else, instead of storing it all on-site.

At the turn of the 20th century, it soon became apparent that private power generation would be replaced by power utilities. Are you preparing to make this transition from totally private, in-house datacenters to some form of the Cloud?

Just as with a power plant, you have 3 options for how much “power” you outsource:

A Private Cloud: Think of this as the hands-on cloud that is virtualized and centralized (not the legacy distributed architecture). With this option, you’re in complete control, and entry is “invitation only”.

In other words, you own the cloud infrastructure – you have purchased the cloud-storage servers, you have designed your cloud controller architecture, and everything related to your private “cloud” lives in your building or a near-by hosted data center that you can physically visit.

The Private Cloud through Coretek: Hyperconverged Data Center, Software Defined Networking, Workspace Optimization through Virtualization (virtual desktops)

A Public Cloud: Think of this as the neighborhood block party. You’re surrounded by like-minded people (you all live in the same “neighborhood”), and there’s definitely a group of you, but it’s still a controlled environment, with the local HOA running the show.

These are offered through entities like AWS from Amazon or Azure from Microsoft. Their physical location is of little importance, as these mammoth companies have numerous data storage centers located all over the globe to manage and maintain the cloud capabilities they supply. What’s important about the public cloud is that it is always available, always professionally managed and maintained to the highest degree of innovation and optimization, is extremely safe, and comes at a reduced rate due to its huge economies of scale.

The Public Cloud through CoretekCloud Desktop (through Azure or AWS), Cloud Strategy Development and Implementation,

A Hybrid Cloud: Instead of a party, the hybrid cloud is more like having both a private book collection and a membership to your local library. (This might sound less exciting, but we love books!) You own the items that mean the most to you, personally (the ones that give your organization their competitive advantage), but have rentable access to other items that you’re interested in, just don’t need to purchase.

When you’re transitioning from your traditional IT infrastructure, or need to maintain your traditional infrastructure for internal legacy applications that are not cloud-friendly, but provide your current business with key functionality. The hybrid cloud is a great option.

With a hybrid cloud, you can move standard, non-competitive functionalities like payroll or email infrastructure (e.g. Microsoft 365) to the Cloud. You are then able to free up resources and staff to focus on replacing legacy applications that are causing “legacy drag” (obsolete technologies that prevent you from taking advantage of new functionality) and improve business agility (through something like BYOD). Prices for this standard type functionality continue to trend downward (again through “economies of scale”) and scales up or down in small increments on a “per user” monthly subscription basis.

The Hybrid Cloud through CoretekMicrosoft Cloud & Automation, Cloud Desktop, Workspace Optimization through Virtualization, Software Defined Networking

Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: `POST https://dc.services.visualstudio.com/v2/track` resulted in a `400 Invalid instrumentation key` response: {"itemsReceived":1,"itemsAccepted":0,"errors":[{"index":0,"statusCode":400,"message":"Invalid instrumentation key"}]} ' in /home/coretek/public_html/wp-content/plugins/application-insights/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /home/coretek/public_html/wp-content/plugins/application-insights/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /home/coretek/public_html/wp-content/plugins/application-insights/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /home/coretek/public_html/wp-content/plugins/application-insights/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promi in /home/coretek/public_html/wp-content/plugins/application-insights/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113