Posts Tagged "PowerShell"
Previously I’ve written Session Downloader to get all (or selected) session recordings from events such as TechEd and Build. Before I wrote the app, I wrote scripts based in PowerShell for the same thing. Now, in time for the Connect() conference I’ve written a PowerShell module in C# that allows you...
As I wrote some time ago Cumulative Update 1 for Configuration Manager 2012 R2 broke the wild card support for getting packages using the Get-CMPackage command in PowerShell. Happily Cumulative Update 2 fixes that problem along with “some” other commands. Get the full list of fixes and updates here. However,...
After you’ve installed CU1 for Configuration Manager 2012 R2 you can no longer use wildcard with Get-CMPackage. Pre-installation of CU1, it works just fine to use Get-CMPackage –Id CM100* If your Site Code is CM1 that is. However, after you’ve installed CU1 and restarted PowerShell it nolonger works. Instead we...
Every now and then I run into a case where a customer have a problem to deploy an application to a machine. Quite often the problem lies with a missing Content Boundary in Configuration Manager. Many uses the boundary type AD Site, and that is fine – IF, and only...
This blog post shows you how to create a new VM with SQL Server pre-installed, make sure it automatically joins the Active Directory domain and install required Windows Features as well as Configuration Manager 2012 R2. It acts as a part in a bigger series about ‘Workplace vNext’ using Configuration...
This blog post shows you how to create a new VM and make sure it automatically joins the Active Directory domain. It acts as a part in a bigger series about ‘Workplace vNext’ using Configuration Manager 2012 R2, Intune, ADFS and Azure Multifactor Authentication to provide the next generations Workplace....
I’ve been developing scripts for quite some time now. One of the more popular have been my script to download TechEd/MMS event videos and powerpoint slides. During the development of that script I went with the .Net Framework WebClient feature instead of the PowerShell integrated BITS transfer feature to some...
Tried Windows Azure for Virtual Machines lately? Then you’ve probably noticed that Remote PowerShell is activated by default as an Endpoint (firewall opening/port forwarding). Per default however, the certificate used by the VM is a nontrusted certificate and if you use Enter-PSSession it will trow you an error: “The SSL...
This blog post shows you how to order your first VM in Windows Azure and what you need to do in order to create a network in Windows Azure. It acts as a part in a bigger series about ‘Workplace vNext’ using Configuration Manager 2012 R2, Intune, ADFS and Azure...
/ A couple of days ago I got a question on how one would go ahead and clear all Device/User affinity in a Configuration Manager 2012 Site. There are some PowerShell methods that we can utilize for our script to do this. It is quite simple “for-each” actually but of...
I saw a question on twitter for how to update package source paths using PowerShell in Configuration Manager 2012 SP1. This is a script that I’ve used for many customers during migrations from Configuration Manager 2007 to Configuration Manager 2012 SP1. You can download the script here. As some sort...
Just a quick follow up to my last post on creating users with PowerShell. If you find yourself in the need of creating a basic ou structure in Active Directory you can of course do this with PowerShell as well. Below is a quick sample that we use in our...
Since I work with Identity Management I often find myself in the need for a bunch of sample users in my directories in order to do proper demos and development. A while ago I found a site called FakeNameGenerator.com which is great because it is possible to put in an...
One of my most popular things on this site is my Hydration Kit to install System Center products. I’ve completed yet a new version, this time I only support the Preview version of Configuration Manager 2012 R2 as well as SQL Server 2014 CTP1. And Windows Server 2012 R2 of...
Alot of you are fully aware that it is possible to perform an unattended/silent installation of a site server using a so called script file. It is really an INI file with declared properties. I really love the simplicity with PowerShell and that it is so easy to run a...