I hereby claim:
- I am jayankandathil on github.
- I am jayankandathil (https://keybase.io/jayankandathil) on keybase.
- I have a public key ASDb8cE-11PpWLeH5mAXM6y_WLMZoJJEEkIJiNWD5zUZ_go
To claim this, I am signing this object:
| <# | |
| .SYNOPSIS | |
| List all AEM [Data Store] Blobs to a CSV file | |
| .DESCRIPTION | |
| This PowerShell script was tested with Azure PowerShell v4.3.1 | |
| .NOTES | |
| AUTHOR: Jayan Kandathil (Adobe AEM Managed Services) | |
| LASTEDIT: August 19, 2017 |
| // Author : Jayan Kandathil | |
| // Last Updated : May 19, 2017 | |
| // Version : 0.1 | |
| import java.lang.management.* | |
| import javax.management.ObjectName | |
| import javax.management.remote.JMXConnectorFactory as JmxFactory | |
| import javax.management.remote.JMXServiceURL as JmxUrl | |
| import java.text.DecimalFormat; |
| # Author : Jayan Kandathil (Adobe Managed Services) | |
| # Date : July 19, 2018 | |
| # https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html | |
| # https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/rds-metricscollected.html | |
| # https://aws.amazon.com/blogs/developer/writing-and-archiving-custom-metrics-using-amazon-cloudwatch-and-aws-tools-for-powershell/ | |
| # Get authentication credentials | |
| Set-AWSCredential -AccessKey YOURAWSACCESSKEY -SecretKey yOUR354aws39875358sECRET93453-96kEY -SessionToken yOURawssESSIONtOKENEaDKGld+XcXoR/yOUtHINKtHISiSreAL2XD1k9tgQ/TKIjhXXTXxM | |
| # Set Test Start Time and Test End Time (remember to adjust for your time zone - CloudWatch data is in UTC) |
| # Author : Jayan Kandathil (Adobe Managed Services) | |
| # Date : July 19, 2018 | |
| # https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html | |
| # https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ec2-metricscollected.html | |
| # https://aws.amazon.com/blogs/developer/writing-and-archiving-custom-metrics-using-amazon-cloudwatch-and-aws-tools-for-powershell/ | |
| # Get authentication credentials | |
| Set-AWSCredential -AccessKey YOURAWSACCESSKEY -SecretKey yOUR354aws39875358sECRET93453-96kEY -SessionToken yOURawssESSIONtOKENEaDKGld+XcXoR/yOUtHINKtHISiSreAL2XD1k9tgQ/TKIjhXXTXxM | |
| # Set Test Start Time and Test End Time (remember to adjust for your time zone - CloudWatch data is in UTC) |
I hereby claim:
To claim this, I am signing this object:
| # Original script from Microsoft at https://docs.microsoft.com/en-us/azure/storage/scripts/storage-blobs-container-calculate-size-powershell | |
| # Login to Azure interactively | |
| Login-AzAccount | |
| # Specify the Azure subscription | |
| Select-AzSubscription -SubscriptionName "My Subscription" | |
| $resourceGroup = "my_resourcegroup" | |
| $storageAccountName = "mystorageaccount" |
| # https://docs.microsoft.com/en-us/azure/virtual-machines/windows/multiple-nics | |
| # "Stop" the VM first | |
| $subscriptionname = "yoursubscription" | |
| $resourcegroupname = "yourresourcegroup" | |
| $vmname = "yourvmname" | |
| $vnetname = "vnetname" | |
| $subnetname = "subnetname" | |
| $wantednicname = "newnicname" |
| @echo off | |
| :: This script configures the start information for this server. | |
| setlocal | |
| ::* TCP port used for stop and status scripts | |
| set CQ_PORT=4502 | |
| ::* runmode(s) | |
| ::* will not be used if repository is already present |
| # Author : Jayan Kandathil (Adobe Managed Services) | |
| # Date : July 17, 2018 | |
| # https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html | |
| # https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/rds-metricscollected.html | |
| # https://aws.amazon.com/blogs/developer/writing-and-archiving-custom-metrics-using-amazon-cloudwatch-and-aws-tools-for-powershell/ | |
| # Get authentication credentials | |
| Set-AWSCredential -AccessKey YOURAWSACCESSKEY -SecretKey yOUR354aws39875358sECRET93453-96kEY -SessionToken yOURawssESSIONtOKENEaDKGld+XcXoR/yOUtHINKtHISiSreAL2XD1k9tgQ/TKIjhXXTXxM | |
| # Set Test Start Time and Test End Time (remember to adjust for your time zone - CloudWatch data is in UTC) |
| @echo off | |
| :: This script configures the start information for this server. | |
| :: | |
| :: The following variables may be used to override the defaults. | |
| :: For one-time overrides the variable can be set as part of the command-line; e.g., | |
| :: | |
| :: SET CQ_PORT=1234 & ./start.bat | |
| :: | |
| setlocal |