Enhanced Sync-VSTSGit runbook that support Pull Requests

My colleague Andreas and me was preparing demos for our Azure Automation – Advanced runbook design session at Experts Live EU More info on the session hereUse thís runbook to support automatic synchronization from visual studio git repositories! (See the session recording for WHY!)It is based on the script provided by MSFT at https://github.com/azureautomation/runbooks/blob/master/Utility/ARM/Sync-VSTS.ps1We will make sure to submit a pull request to get the enchanced code implemented in that version.This version add’s support for multiple branches and pull requests, while the original runbook only supports synchronizing direct commits.To setup the solution, follow the guide described here:https://docs.microsoft.com/en-us/azure/automation/automation-scenario-source-control-integration-with-vstsGood luck! <#PSScriptInfo .VERSION [...]

By |2017-08-25T14:11:40+01:00august 24th, 2017|Powershell|Kommentarer lukket til Enhanced Sync-VSTSGit runbook that support Pull Requests

Azure Automation Runbook Template 1.0

This is a base runbook template developed by CT Global. This version was first presented at Experts Live EU 2017. [CmdletBinding()] [OutputType([Object])] #Set to specific object type if possible (fx. if script gets a ADUser, set output type to ADUser) Param ( [Parameter (Mandatory = $true)] [String] $ResourceGroupName ) $ErrorActionPreference = "stop" $VerbosePreference = "silentlycontinue" #//---------------------------------------------------------------------------- #// #// Global constant and variable declarations #// Shared Resource retrieval (Assets) #// #//---------------------------------------------------------------------------- #Constants $Prefix = "CT-" #Assets $Credential = Get-AutomationCredential -Name "Admin" #//---------------------------------------------------------------------------- #// Procedures (Logging etc.) #//---------------------------------------------------------------------------- #region Procedures Function Add-Tracelog { param($Message, $TraceLog) $Message = "$(get-date) - $Message`n" Write-Verbose $Message [...]

By |2017-08-23T14:34:56+01:00august 24th, 2017|Powershell|2 Comments

It’s here, Android O aka Android Oreo

Google just announced the release of Android 8.0 aka Android Oreo - https://www.android.com/versions/oreo-8-0/ and https://youtu.be/twZggnNbFqo lot’s of new cool features to look forward to, and also important architecture changes. My believe is that especially the architecture change, will have an impact on those administrators managing Android devices as future OS upgrades can come faster. The vendor specific implementation will now be separated from the OS framework as illustrated below. This change, and many of other security features will all be supported from Microsoft Intune and Microsoft System Center Configuration Manager with Zero day support. Before moving into testing, a couple [...]

System Center Configuration Manager Toolkit Package Download Very Slow

Recently I built a new ConfigMgr/SCCM environment for a customer. I installed the Microsoft Deployment Toolkit and created an MDT integrated task sequence in SCCM. The deployment task sequence that I created was very slow, it took at least a couple of hours to load. I noticed that the toolkit package was taking approximately 30 minutes to download. The site server was running Symantec antivirus and I had not yet configured any antivirus exclusions. This was a simple sign server environment therefore I add the exclusions listed in this article on the site server. In a more complex environment the [...]

Create and run scripts with the new feature “Run Powershell scripts from the ConfigMgr console” on current branch 1706

In my last post I talked about how we could activate the new feature "Run Powershell script from the ConfigMgr" on current branch 1706 and in this post I would like to talk about on how to get started using this wonderful feature once you have activated it. This feature really shows that the ConfigMgr product team over at Microsoft really listens to its community and that they do everything they can to improve the product. Tho this feature is a bit rough around the edges it shows great potential and i can't wait to see how it will evolve over time [...]