Configuration Manager Remote Control via IP

Have you ever had trouble accessing a computer via Remote Control from the Configuration Manager console? While many factors can cause this, one major issue can be DNS-related. If the computer is not correctly registered, or perhaps the machine is on a VPN connection which doesn’t have that adapter registered in DNS, you may not be able to get in....

Read More»

Install Windows features through PowerShell – by clicking

 Rebuilding my home lab with PowerShell I am currently rebuilding my home lab (again! This time properly, I promise.) and my goal is to use as much PowerShell as possible. I am building everything on a Dell XPS 15 laptop with a 1TB Samsung SSD and 16GB RAM. Enough for a mid-size mobile lab. The host runs Windows Server 2012 R2, what else? On top of that I have also installed the Windows Management Framework 5 November Preview in order to use all the latest and greatest features of PowerShell, for example Desired State Configuration in its latest version. Of course, I have also downloaded the DSC Resource Kit in … Continue reading

Read More»

Import users to Azure and Office 365 with PowerShell

Mass import of users into a cloud directory with PowerShell By now you should already know that PowerShell should be the default tool for every IT Pro nowadays. Every new product and every new release of an existing product out of Microsoft is shipped with a PowerShell module, that’s a clear sign. It’s not only Microsoft, VMware, Citrix, Amazon, all big vendors make their products and services manageable via PowerShell. So get used to it This article will show you an end-to-end example of a PowerShell script that does a mass import of users into a Microsoft Azure Active Directory or Office 365 directory via PowerShell. Azure Active Directory won’t … Continue reading

Read More»

Update SQL Always On Cluster with ConfigMgr and Powershell

How to update a cluster with a cluster-ignorant tool I’ve recently been tasked to create a process to patch SQL Always On Availability Groups (I guess calling it a cluster is not really accurate?!) with just the tools I had available, no new implementation of stuff. This meant to do a proper patching cycle (Operating System AND SQL) with graceful failovers of SQL roles from one node to the other, no data loss. So, quick inventory; what did I have? ConfigMgr 2012 R2 PowerShell Phew, PowerShell, you can do a lot with PowerShell. ConfigMgr, mhhh, ConfigMgr can do Software Updates and execute stuff on machines when it is told to … Continue reading

Read More»

Recover deleted users in Azure Active Directory

You know of the recycle bin in Active Directory, right? I guess this feature has probably saved a bunch of people already big time. Anyways, even the cloud can’t save you from stupidity, failures or “Are you sure? Of course I’m sure!” situations when, for whatever reason, user accounts get deleted when they should not have been deleted. This scenario will specifically show how you can recover deleted user accounts both from Office 365 and also from Azure Active Directory. Azure Active Directory You can’t view deleted users in your Azure Portal (unless you can show me where!), too bad. Gone is gone. PowerShell to the rescue. Connect your PowerShell … Continue reading

Read More»

RDCMan v2.7 Unknown disconnection reason 3848

Last week Microsoft released Remote Desktop Connection Manager version 2.7 (aka RDCMan).  It has some really cool features and supports Windows 8.1 and Windows Server 2012 R2.  This tool is essential if you run a lot of virtual machines.  One of the new features allows the ability to connect directly to virtual machines (called virtual machine connect-to-console support).  […]

Read More»

Infrastructure Saturday Powershell scripts

You’ve been to Infrastructure Saturday in Brisbane / Queensland / Australia? (www.infrastructuresaturday.com) Awesome, hope you enjoyed it. You haven’t been? Try next time, until then, you can go and grab all the scripts I used during both my sessions here to test in your own environment. Azure Active Directory Identity Management Rich Identity Management session with James Bannan on Azure Active Directory: The web site I used to build the dummy user data is http://www.generatedata.com/ Service Management Automation and Powershell Service Management Automation Session: Scripts: Slides: Disclaimer! Please check all scripts before you execute them. Most only make sense in context but might demo some limited functionality.

Read More»

PowerShell Desired State Configuration

With the release of Windows Server 2012 R2 and Windows 8.1, Microsoft provided a new way of ensuring that your devices are at a good configuration state. This new method uses PowerShell to ensure that required roles and features are enabled, registry settings are correct, files are in place, and a whole host of other management tasks. Note that this...

Read More»

Deploy SMA Server via Powershell DSC resource

Hi, I’m currently sitting on my plane from Minneapolis to Dallas. I love technology, WiFi on a plane, awesome!!! After two weeks of conferences (MVP Summit and MMS) I’m pretty exhausted and looking forward to get back home. I already wrote about how to deploy a SMA (Service Management Automation) runbook worker with the help of Powershell DSC (Desired State Configuration) here , but Microsoft has just the other day released the DSC Resource Kit Wave 8 with now in total more than 100 custom resources. Some of those are for System Center components, for example for SMA. DSC Resource for SMA (xSCSMA) The custom module released by Microsoft to … Continue reading

Read More»

SCCM 2012 R2 – Visual Studio 2013

Hi All, have you ever tried to install Visual Studio 2013 with SCCM 2012 R2? Well, a client of mine tried and it failed. the error he was getting was to install the user running the installer to the group Performance Log users. as you can imagine, the user running the action is SYSTEM… i have tested it with VS2012 Update 2 and the installer worked fine, and back in the company, we downloaded the new version (Update 3) and it was failing. once i did another test with Update 3 at home, it failed. because this, we had to create a script using psexec to be able to install the VS, but what does this script do? Simple, it create a local user and add it on the local administration group. it execute the vs installer via psexec as the created user once the installer is done, it removes…

Read the complete blog: http://thedesktopteam.com/blog/raphael/sccm-2012-r2-visual-studio-2013/

Read More»