Wsyncmgr.log: The request failed with HTTP status 503

Kent have blogged about WSUS maintenance before – its important so that we don’t hit problems like the one I’m about to share with you, so make sure you do something about it – Link. “The request failed with HTTP status 503: Status Unavailable” in this case the source is a stored procedure running (Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPGetUpdatesThatSupersedeUpdate). The wsyncmgr.log snippet above is an example of the WSUS sync failing because the IIS Application Pool had stopped. The reason for it stopping is that the amount of private memory allowed to the application pool had hit the roof, and when that happens the [...]

By |2015-03-31T07:57:21+01:00marts 31st, 2015|Configuration Manager (SCCM)|Kommentarer lukket til Wsyncmgr.log: The request failed with HTTP status 503

Help shape the future of Microsoft Automation/Orchestrator!

The Microsoft engineering team that creates Azure Automation, Service Management Automation, and System Center Orchestrator is asking for us customers to help them shape the future of Automation. Today we run most automation on premise, but in the future this might be a cloud service like Office 365. It all depends on the inputs from us! You can give your input by filling this survey with questions about moving to a cloud service: https://microsoft.qualtrics.com/SE/?SID=SV_b3pBfQD39MLGiHP

By |2017-08-22T09:25:50+01:00marts 24th, 2015|Automation|Kommentarer lukket til Help shape the future of Microsoft Automation/Orchestrator!

Create Status Filter Rules with PowerShell

Here is a quick example of creating a Status Filter Rule in Configuration Manager with PowerShell #Example 1 New-CMStatusFilterRule -SiteCode PS1 -Name 'Remove PC from OSD Collection' -MessageId 11144 -MessageType Milestone ` -RunProgram $True -ProgramPath 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file D:\Scripts\Remove-CMDeviceFromCollection.ps1 -CollectionName "OSD Windows 8 Standard" -ComputerName %msgsys' #Example 2 $Parameters = @{ SiteCode = 'PS1' Name = 'Remove PC from OSD Collection' MessageId = 11144 MessageType = 'Milestone' RunProgram = $True ProgramPath = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file D:\Scripts\Remove-CMDeviceFromCollection.ps1 -CollectionName "OSD Windows 8 Standard" -ComputerName %msgsys' } New-CMStatusFilterRule @Parameters Execute the code     Happy Scripting

By |2015-03-23T13:16:47+01:00marts 23rd, 2015|Configuration Manager (SCCM), Powershell, Scripting & Development|Kommentarer lukket til Create Status Filter Rules with PowerShell

Beyond unsupported – How to add PowerShell ISE to ConfigMgr Admin Console

As you already know, then currently we can only start PowerShell Console through Configuration Manager Admin Console but most likely  you may want to start PowerShell ISE through Admin Console :) Step-by-step guide First, this is not supported so don’t blame me if something is not working. Please also remember that there is no SAVE button in Admin Console Builder Tool! Close ConfigMgr Admin Console Start AdminUI.ConsoleBuilder.exe – You can find this tool under the Admin Console installation folder   Select File –> Open –> ConnectedConsole Select View->Application Menu Items Select Connect via Windows PowerShell and right-click select Clone Now [...]

Working with Queries in ConfigMgr with PowerShell

I accidentally blew up my dev lab and now I need to build a new one but luckily we have PowerShell :). In this picture we have 8 Queries and I would like to create Device Collections based on these Queries. These Queries are built with Servicing Extension.   Here are some of the commands that we can use in Configuration Manager 2012 R2 CU4. These commands allows us easily export/import Queries from one system to another and much more. #Import Module Import-Module $env:SMS_ADMIN_UI_PATH.Replace("\bin\i386","\bin\configurationmanager.psd1") $SiteCode = Get-PSDrive -PSProvider CMSITE Set-Location "$($SiteCode.Name):\" #Get all CM Queries $Queries = Get-CMQuery #Total Queries [...]

Microsoft MVP Roadshow 2015 Copenhagen – Slides & Runbooks

As promised here is my slides from yesterdays MVP Roadshow in copenhagen! Will update this next week after the event in Århus!   if you are not signed up, You can still make it!  http://blogs.technet.com/b/rasmush/archive/2015/03/02/mvp-roadshow-2015.aspx Slides:   Download from here: http://www.slideshare.net/JakobGottliebSvendse/automating-system-center-2012-r2-mvp-roadshow-cph-2015   (first time i use slideshare, please comment if it is not a good idea )   See you next week Aarhus! :D

By |2015-03-17T11:24:53+01:00marts 17th, 2015|Events|Kommentarer lukket til Microsoft MVP Roadshow 2015 Copenhagen – Slides & Runbooks

Quick intro to Configuration Items in ConfigMgr with PowerShell

Configuration Items that I would like to export and import   Here are some command examples that we can use in Configuration Manager 2012 R2 CU4. #Import Module Import-Module $env:SMS_ADMIN_UI_PATH.Replace("\bin\i386","\bin\configurationmanager.psd1") $SiteCode = Get-PSDrive -PSProvider CMSITE Set-Location "$($SiteCode.Name):\" #Get all CIs $ConfigurationItems = Get-CMConfigurationItem #Total CIs $ConfigurationItems.Count #Get CIs only with specific keyword $ConfigurationItems = Get-CMConfigurationItem -Name "*CT - *" -ForceWildcardHandling #CI rules with 'CT - ' keyword - 12 CIs in this example $ConfigurationItems.Count #Export out CIs with 'CT - ' keyword foreach($CI in $ConfigurationItems){ Write-Output -InputObject "Exporting out $($CI.LocalizedDisplayName) CI" Export-CMConfigurationItem -Path "$env:USERPROFILE\Desktop\CI_Rules\$($CI.LocalizedDisplayName).cab" -InputObject $CI } #New CI folder [...]

By |2015-03-16T09:50:54+01:00marts 16th, 2015|Configuration Manager (SCCM), Powershell, Scripting & Development|Kommentarer lukket til Quick intro to Configuration Items in ConfigMgr with PowerShell

Lenovo Laptop Bugs – System Update & Not Waking Up From Sleep Mode

Before we begin, I would like you to download this System Updater from Lenovo - you will have to use it later on: For Windows 7, Windows 8,  Windows 8.1 - [download id="242" format="1"]  For Windows 2000, XP and Vista - [download id="243" format="1"] If you recently bought a Lenovo computer or laptop, you might as well know some of these problems. Problem: Lenovo laptop won't wake up from sleep, there are driver problems & the Fn and CTRL are not working correctly. Let's start with the Fn & CTRL button. Most of you may have noticed that there is a problem [...]