Related Articles
ARM Template – Deployment Error “[Subscription().SubscriptionId]” The request is invalid…
Recently I authored some ARM stuff in Visual Studio and I had a need for getting the current subscription ID the template is being deployed to. So there is a helper function you can call like this… “subscriptionId”: “[subscription().subscriptionId]” I used it in the template like this… …but as soon I tried to deploy the […]
PowerShell – Create a Credential Object with NULL Password
In one of my automation tasks I had the need to create a credential object with a $null password – an empty / NULL password. One easy way to do is, create just instantiate a new secure string object using the new() constructor from the .Net class like this: or using New-Object cmdlet like this […]
SCOM 2012 Maintenance Mode Script – Computer maintenance mode depending on SCCM 2012 collection membership
Maintenance mode is always something you are facing during System Center setups. Let’s say you have a SCCM administrator who want’s to deploy it’s Windows updates on a certain day e.g. Tuesday @ 08.00 p.m. o’clock, and he also decides to reboot each server forcefully after successful deployment. Because we (SCOM administrators) have to find […]