Friday, January 25, 2019

Cracking AZ-900: Microsoft Azure Fundamentals

I wanted to refresh this year with Azure skillsets. So started with fundamentals.

This exam covers some general knowledge about Microsoft Azure. It targets basic understanding of
- Cloud concepts
- Core Azure services
- Security,- Privacy
- Compliance and trust
- Azure Pricing and support.

The best starting point would be below Microsoft learning training. But i highly recommend to have some hands on play on the azure portal and try out different services.

https://docs.microsoft.com/en-us/learn/paths/azure-fundamentals/

Monday, October 17, 2016

Determining the SID for User Account

Determining the SID for a Local User Account

Here’s a simple script that returns the SID for a local user named mozaid:











Determining the SID for an Active Directory User Account


You can use the exact same approach to determine an Active Directory SID as you do for local user SID; the only thing is to include both the domain (fabrikam) and the user name (mozaid):



Friday, September 9, 2016

ARM Template to create sample PaaS Solution

{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"serverFarmName": {
"type": "string",
"minLength": 1,
"defaultValue": "testlab"
},
"serverFarmSKU": {
"type": "string",
"allowedValues": [
"Free",
"Shared",
"Basic",
"Standard"
],
"defaultValue": "Free"
},

ARM Template to Build vNet and Storage Account

{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",

"contentVersion": "1.0.0.0",

"parameters": {

"storagetemplateType": {

"type": "string",

"defaultValue": "Standard_LRS",

"allowedValues": [

"Standard_LRS",

"Standard_ZRS",

"Standard_GRS",

"Standard_RAGRS",

"Premium_LRS"

]

Friday, April 5, 2013

The Application Virtualization Client could not complete the operation. A device attached to the system is not functioning.


Issue:-

In my environment I sequence the application on App-V 4.6 SP1 and then deploy the application msi on Citrix XenApp Servers.
I sequenced the application successfully but when I was installing the same on Citrix XenApp Servers it gave the below error message.
 “The Application Virtualization Client could not complete the operation.

A device attached to the system is not functioning. “

Then I checked the Event Viewer on the XenApp Server which gave below details:-

Monday, March 25, 2013

SMS_MP_CONTROL_MANAGER failed

Issue:-

On my SCCM server 2007 R3, component SMS_MP_CONTROL_MANAGER status changed to critical.

When I checked the status message for component SMS_MP_CONTROL_MANAGER it said:-“MP could not write settings to WMI. This component stopped“

Wednesday, March 20, 2013

Powershell execution of scripts is disabled on this system

Issue:-

First time when you launch PowerShell and try to run any PowerShell scripts file, it will not run and gives the below error. Here I am trying to run a simple ps script “directory.ps1” with Get-Chitditem cmdlet inside it.

"File C:\ZAid\Testing\Script.ps1 cannot be loaded because the execution of scripts is disabled on this system. "


When PowerShell is first installed the default execution policy is “Restricted.” This means PowerShell will not run scripts or configuration files. Here is a list of policy levels:

Azure Policy support for remediating tags for existing resources

Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...