New Delhi , Moti Nagar
+91-9007641046
subhendu@subhendumct.com

Blog

Live in Future - Live in Cloud

Create Complex NSG – PowerShell

Creating NSG in azure is easy unless you want to create multiple NSG with multiple inbound and outbound security rules. Here is a simple way to create that. First open Microsoft Excel and create a .CSV file by following this format: Please do not change the format. Then save the file in CSV format. Once…
Read more

Restore VM from Recovery Service Vault – PowerShell

# Mention your VM here $VMName = “SubhenduTestVM” # Mention your Stage Storage here $stagestorageaccountname = “teststorage” ########################Body#################################################################### $VMRGname = (Get-AzureRmResource -Name $VMName -ResourceType “Microsoft.Compute/virtualMachines”).ResourceGroupName $VMBackupStatus = (Get-AzureRmRecoveryServicesBackupStatus -Name $VMName -ResourceGroupName $VMRGName -Type “AzureVM”).BackedUp $VMRSVVaultID = (Get-AzureRmRecoveryServicesBackupStatus -Name $VMName -ResourceGroupName $VMRGName -Type “AzureVM”).VaultId $VMRSVName = (Get-AzureRmResource -ResourceId $VMRSVVaultID).Name $RSVRG = (Get-AzureRmResource -Name $VMRSVName).ResourceGroupName $vault =…
Read more

Power Of Powershell 2

Hope you are doing great . Current Time is very critical for us . I never thought that I will see a global pandemic in 2020 where we are building a commercial path to reach moon . But we cant ingonre the truth . I will talk about this in my ” Future millionaire” post…
Read more

Power of Powershell

Being a part of Microsoft Education I have explored powershell long time back . But that was a very basic intro . Honestly I haven’t explored this option much . But now being a part of production I have to use powershell of various work . Within a very short time I have realized the…
Read more

New Azure Exam is Ready to Launch

Sorry !! But Yes .  Microsoft is about to release new exam in Azure Segment . Old exams will be vaild for next 90 days  . We are currently finalizing the updates related to Azure Administrator, Developer, Architect, and AI Engineer. We will be publishing the updated exams in the next few months, but we will…
Read more

DFSR to Azure File Sync | DFS cross domain Migration | Azure File Sync Agent issue and Solution

Migration is always a part of our life and part of this fantastic IT world . Recently management took decision to migrate old DFS environment to new corpnet domain . Our DFS environment is not massive but not less than 10 TB . We have forest trust in place and both the environment has a…
Read more

Powershell Script to create Snapshot from VM and move to storage account

I believe you have enjoyed my last script related to VM snapshot creation . Sometime we work futher then that . it may be that you have to move those snapshot to a specific storage account . This script  will help you to do that . Again I have tried my level best to make…
Read more

Remove VM and Associated Resource Powershell

Greetings to all unbelievable students across globe . Allow me to present one of the the most useful script for production use . We need to delete VMs and all associated resources like disks+NIC for various reason . But most of the time we just delete the VM and forget to delete VHDs or NICs…
Read more

Powershell Script to create Snapshot from VM – One VM at a time

Greetings to all unbelievable students across globe . Allow me to present one of the the most useful script for production use . We need to create VM disks (OS+Data) snapshot for various reason . We all know how to create that one through portal or through PowerShell . But for that you need maintain…
Read more

Fetch NIC details from Azure – Powershell Script

Here is a very useful script to fetch Azure NIC details . Most of the time we forgot to delete NIC card associated with VM . and within time 100+ un-used and unattached NIC left in subscription . Use this script and fetch NIC details and delete all un=necessary NIC card .  # This script…
Read more