PowerShell Uninstall Automation

I have authored the PowerShell Uninstall script.  It gives the ability for IT Operations / ConfigMgr Admins to uninstall multiple versions of a particular software with one process.

Does your organization struggle when trying to cleanup software when standardizing on a application version? I.E. Oracle Java, Adobe Flash, RightFax, IBM products, etc…  Not all the versions you have are in ConfigMgr / SCCM or not in the application model?  If the answer is yes, the PowerShell Uninstall script is for you.

The PowerShell Uninstall script takes inputs from a CSV file.  Using the delimiter of “^”, don’t worry I have included a Excel file to build your CSV.

Since by nature when uninstalling legacy software there maybe pre-or post- process you must run. The PowerShell Uninstall script has functions to call a PowerShell script before or after the uninstall logic.

The PowerShell Uninstall script also includes a Boolean to  create the script as an ConfigMgr / SCCM Application.  In which you can attach to other programs for requirements.

To detect the PowerShell Uninstall script, have ConfigMgr / SCCM check existence of “%SystemDrive%\Program Files\Pomeroy\AppName”.  It will be an empty directory.  For the uninstall just use the command “rmdir /Q /S %SystemDrive%\Program Files\Pomeroy\AppName”

Continue reading “PowerShell Uninstall Automation”

Windows 10 Enterprise Thoughts

This past Wednesday, January 21st I was able to watch the Windows 10 Media Briefing.  This was a great presentation.  It gave a glimpse at what truly Microsoft is trying to create.  It seems like Microsoft followed its true self.  Failing and succeeding every other major release.  But true to their fashion they seemed to have out done themselves on this one.

Microsoft’s vision has always been unification.  As software always out performs hardware it truly wasn’t possible when they started this journey over a decade ago.  I have been using Windows 10 Enterprise build 9879 for my home lab admin workstation.  I technically haven’t truly used it to its full ability, but it has been good with the System Center consoles.

Enough of my jabbering, lets get to what I think are the key points on a enterprise management take.

Windows 10 Device Support

Windows as a Service and FREE Windows 10 Upgrade

This is a interesting aspect on they way Microsoft is approaching this.   Microsoft is implementing Software Assurance for everyone.  I believe they are saying Windows 10 is the foundation of whatever they build or release in the future.  It is a great way in getting people to upgrade.

This is more than a one-time upgrade: once a Windows device is upgraded to Windows 10, we will continue to keep it current for the supported lifetime of the device – at no cost. With Windows 10, the experience will evolve and get even better over time. We’ll deliver new features when they’re ready, not waiting for the next major release. We think of Windows as a Service – in fact, one could reasonably think of Windows in the next couple of years as one of the largest Internet services on the planet.

Cortana Everywhere

Cortana is coming to all your Windows devices.  This is a great leap forward in creating a personal experience with your device.  In which we all know we can’t live with out.  I look forward in what Microsoft will do with Cortana.

Cortana learns your preferences to provide relevant recommendations, fast access to information, and important reminders. Interaction is natural and easy via talking or typing, with advanced features to control Cortana for more trustworthiness and transparency.

Cortana Everywhere

The Same OS for Your Desktop, Laptop, Tablet, and Phone

While phones will not run native Win32 applications it will still run your modern apps.

Windows 10 for phones and small tablets features a fast, fluid and familiar experience that seamlessly interacts with your PC.

Windows 10 For All Devices

Continuum Mode

I think this is what makes Windows 10’s possibilities so great.  The intuitive approach for balancing touch enabled and traditional point and click devices.  I am not going to say this will get rid of iPads in the enterprise, but when you are talking Surface Pro 3 as laptop and tablet killer.  Right now iPads are used for executives who want mobility.  Well if you give them a Surface Pro 3 instead of a laptop and iPad, this bring more simplicity and standardization to your environment.

On 2in1 devices, Windows 10 will move easily between keyboard/mouse and touch/tablet as it detects the transition and conveniently switches to the new mode.

Continuum

Project “Spartan”

A intuitive browser for the web enabled world.  This offering of a beefed up “Reading Lists” application.  In what I do I don’t usually screen capture websites and draw on them.  But saying that I do understand there is a whole industry of web development and business that would love this.

Code-named “Project Spartan,” the next generation browser was built with greater interoperability, reliability and discoverability, with a new look and feel built just for Windows 10. Advanced features include the ability to annotate by keyboard or pen directly on the webpage and easily share with friends, a reading view that is distraction free, displaying the article in a simplified layout for a great reading experience for Web articles online and offline, and the integration of Cortana for finding and doing things online faster.

Project

Office Universal Apps on Windows 10

Being in the IT Operations industry, Office is 90% of the time a core application for a company.  Microsoft finally did, with backlash from the Windows Phone and tablet community, released a touch centric version for the iPad and Android.  This brings a touch-centric and rich document designing experience.  I cannot wait to try this out.

Office universal apps on Windows 10 offer a consistent, touch-first experience across phone, tablet and PC with new versions of Word, Excel, PowerPoint, OneNote and Outlook. Designed from the ground up to run on Windows, you can easily create and edit Word documents, annotate slides in real-time with new inking features or easily present PowerPoint presentations, and with new touch-first controls in Excel you can create or update spreadsheets without a keyboard or mouse. The next version of the Office desktop suite is also currently in development, more on this in the coming months.

Office Universal

Bonus: Microsoft’s Surface Hub

I am not going to speculate on this right now as Microsoft didn’t release a price for this yet.  But its a 84″ computer focused on meetings and presentation.  As you will see if you watch the briefing.

From no screen to 84”, with Microsoft Surface Hub we introduced a new large screen device designed for the way teams in the workplace naturally interact and come together.  Custom versions of Skype for Business and OneNote are integrated into the Windows 10 shell to take full advantage of the built in cameras, sensors and mics, as well as the new screen that was built from the ground up for ink and touch. The Surface Hub features state of the art digital white boarding, instant remote conferencing, the ability for multiple people to share and edit content on the screen from any device, and a trusted platform for large-screen apps. Available in two sizes – 55” and 84” – the Surface Hub removes the current limitations of traditional conference room scenarios to empower teams to create their best work together.

Microsoft's Surface Hub

Closing Thoughts

I think this is the most excited I have been for a Microsoft release; including the Xbox 360.  I think the blend and unification will actually happen with this release.  Especially the way Microsoft has planned this release.

Read the Windows’s blog here: http://blogs.windows.com/bloggingwindows/2015/01/21/the-next-generation-of-windows-windows-10/

Introducing: PowerShell Gallery

The wonderful PowerShell folks announced a great new PowerShell feature called gallery that is coming in 5.0

Introducing the PowerShell Gallery – PowerShellGet is an exciting new feature releasing in WMF 5.0 Preview.  With it, you can easily discover, install, update, and publish PowerShell modules to and from online repositories – simplifying the process of sharing PowerShell content.

Find out all the details over here:

http://blogs.msdn.com/b/powershell/archive/2014/11/19/powershell-gallery-live.aspx

 

PowerShell DSC Resource Kit Wave 9

Over on the “Windows PowerShell Blog” they announced the release of PowerShell DSC Resource Kit Wave 9.

Head over to the blog to read all about it:

Here’s a holiday gift from the PowerShell team – the DSC Resource Kit wave 9. You can find it right here.

This wave has something for everyone, we hope. There are 34 new DSC resources across 13 modules! We have also incorporated your feedback, and made fixes to several existing resources that address issues you have encountered.

Last year we delivered the first DSC Resource Kit as a holiday gift, with 11 DSC resources. In case you are counting, we now have 172 DSC resources, enabling use of DSC for deploying and configuring Active Directory, Azure VMs, Certificate Services, SQL Server, DNS, file shares, Failover clusters, Internet Explorer, Exchange, web applications, Hyper-V, networking, Just Enough Administration, DNS, Remote Desktop Services, the System Center products (SCDPM, SCOM, SCSMA, SCSPF, SCSR, SCVMM), and more. In all, this is a great start in a single year, with more to come in 2015!

http://blogs.msdn.com/b/powershell/archive/2014/12/17/another-holiday-present-from-the-powershell-team-dsc-reskit-wave-9.aspx

Azure AD Connect

Microsoft announces they are releasing a public preview of the “new” Azure AD Connect (you can download it here).

Azure AD Connect is “new” because it is now one integrated tool that includes all the advances of AAD Sync and the features from the beta release of Azure AD Connect into simple, fast & lightweight solution. Azure AD Connect has everything you need to connect your Windows Server AD(s) and Azure AD with only 4 clicks.

Now you can get started using Azure AD in under an hour, no new hardware required!

Read More……

http://blogs.technet.com/b/ad/archive/2014/12/15/azure-ad-connect-one-simple-fast-lightweight-tool-to-connect-active-directory-and-azure-active-directory.aspx

SCCM 2012 Visio Low Level Overview

I have created an SCCM 2012 Visio overview.  This after searching high and low, and even asking Microsoft for a Visio diagram, and my searches ending in zero.

The SCCM 2012 Visio just shows a cookie cut / low level overview.  This is by no means a solution for every organization.  The diagram involves different hierarchy options. Not all sites will have a CAS, two primaries, or even secondary sites.

You can either save the SCCM 2012 Visio JPG for you consumption or click below to download the SCCM 2012 Visio PDF version.

SC2012_CM_LowLevel_Overview

SCCM 2012 Visio PDF

Pomeroy Joins Microsoft Device Reseller Program

Selection is part of a limited group of companies to offer Microsoft Surface devices and services.

Hebron, KY – November 6, 2014 – Pomeroy, a global leader in optimizing the IT infrastructure, announced today it has joined a limited group of twenty companies in the United States participating in the Microsoft Devices Program, which allows clients to purchase Surface devices and commercial services through authorized resellers. –

See more at: http://www.pomeroy.com/home/news-and-events/2014/11/06/pomeroy-joins-microsoft-device-reseller-program#sthash.dVZB4Isu.dpuf

Azure as Your Disaster Recovery Site

Over at the System Center team’s blog site, they talk Azure Disaster Recovery.

Excerpt…

One of the biggest reveals during the TechEd 2014 North America keynote was the Preview of Disaster Recovery to Azure using Azure Site Recovery. Azure Site Recovery (ASR) is the new name for Hyper-V Recovery Manager (HVRM). HVRM was the first use of the Azure public cloud for off-premise automation controlling on-premise private cloud fabric. HVRM had a lot of fans for its simplification of a complex and expensive process (DR site management and failover) but fewer adopters since the solution required customers to already have invested in a physical or partner-hosted DR site running a Microsoft private cloud.

Azure Disaster Recovery

Read more here:

http://blogs.technet.com/b/systemcenter/archive/2014/07/01/microsoft-azure-site-recovery-your-dr-site-in-microsoft-azure.aspx

SCCM 2012 Folder Creation Script

I have created a script that will automate SCCM 2012 folder creation.  Either in bulk or single by single. It is a simple script with no parameters.  You just run the script and follow the instructions.  If you want to bulk folder create the text file must be in the format where the folder names is per line.

Example.

folder name 1
folder name 2
folder name 3
folder name 4
…..

Here is a walk through.

Get Help:

Get-Help.

Single Folder Creation:

Single folder creation.

Bulk Folder Creation:

Bulk folder creation.

Click the download link to give it a try.

CM2012 Node Folder Creation v2.0