Comments for ISbyR https://isbyr.com/ Infrequent Smarts by Reshetnikov Mon, 09 Dec 2024 02:34:37 +0000 hourly 1 https://wordpress.org/?v=6.7.1 Comment on Azure: Invalid user storage id or storage type is not supported by Ilya Reshetnikov https://isbyr.com/azure-invalid-user-storage-id-or-storage-type-is-not-supported/#comment-12485 Fri, 30 Aug 2024 13:30:48 +0000 https://isbyr.com/?p=1086#comment-12485 In reply to Thomas Lundborg.

Happy it helped you Thomas!

]]>
Comment on Azure: Invalid user storage id or storage type is not supported by Thomas Lundborg https://isbyr.com/azure-invalid-user-storage-id-or-storage-type-is-not-supported/#comment-11531 Thu, 27 Jun 2024 11:33:26 +0000 https://isbyr.com/?p=1086#comment-11531 Thank you for this post! It helped me in exactly the same situation 🙂

]]>
Comment on Centos – repair corrupt boot drive by Ilya Reshetnikov https://isbyr.com/centos-repair-corrupt-boot-drive/#comment-9733 Fri, 22 Sep 2023 06:31:44 +0000 http://isbyr.com/?p=681#comment-9733 In reply to Jimmer.

No worries, glad it helped someone 🙂

]]>
Comment on Centos – repair corrupt boot drive by Jimmer https://isbyr.com/centos-repair-corrupt-boot-drive/#comment-9596 Tue, 15 Aug 2023 07:00:29 +0000 http://isbyr.com/?p=681#comment-9596 Dude, this fixed my problem, I love you, thanks xx

]]>
Comment on How to export attachments from JIRA OnDemand and JIRA Cloud by Ilya Reshetnikov https://isbyr.com/how-to-export-attachments-from-jira-ondemand/#comment-9073 Fri, 31 Mar 2023 03:25:19 +0000 http://isbyr.com/?p=13#comment-9073 In reply to YMAC.

Appreciate sharing of the PowerShell script to the solution that allows to export attachments from Jira

]]>
Comment on How to export attachments from JIRA OnDemand and JIRA Cloud by YMAC https://isbyr.com/how-to-export-attachments-from-jira-ondemand/#comment-8964 Tue, 07 Mar 2023 21:47:17 +0000 http://isbyr.com/?p=13#comment-8964 When I used the updated script from Grayson it would work for a folder, but when it switched directories it started saying “The syntax of the command is incorrect”

current Dir. path is: C:\Jira
matched file path is: \Jira\Files\CMP\10000\CMP-1065\
matched file name is: 29764
Found row and ran command: ren 29764 “ScreenShot.jpg”
.
current Dir. path is: C:\Jira
matched file path is: \\Jira\Files\CMP\10000\CMP-1065\
matched file name is: 29765
Found row and ran command: ren 29765 “ScreenShot_2.jpg”
.
current Dir. path is: C:\Jira
matched file path is: \Jira\Files\CMP\10000\CMP-1068\
matched file name is: 29718
Found row and ran command: ren 29718 “ScreenShot_3.jpg”
The syntax of the command is incorrect.

If I stopped it the cmd prompt was in the correct directory and if I ran it again it would work for the next folder, I messed with it for awhile but could not get it to work. I gave up and converted it to a PowerShell script. I am sure there is a better way to do it, but the below worked for me.

$mainDirectory = “C:\Jira”
$filesToRename = “C:\Jira\Files”
$renameCmdList = “C:\Jira\NewnamesPS.txt”
# Get the file with all of the rename commands
$commands = Get-Content -Path $renameCmdList
# Cycle through each line of the file
foreach ($command in $commands) {
# Find the generic filename from the line by extracting the data after the .\
$filename = [regex]::Match($command, “\d+”).Value
# Display the filename
Write-Host “Filename:” $filename
# Search for the file in the filesToRename directory
$file = Get-Childitem -Path $filesToRename -Recurse | Where-Object { $_.Name -eq $filename }
# If the file is found, set the found directory as current and execute the line from the renameCmdList file
if ($file) {
Set-Location (Split-Path -Path $file.Fullname -Parent)
Write-Host “Current Path” $PWD.Path
Write-Host “Final:” $command
Invoke-Expression $command
# If the file is not found, report to console
} else {
Write-Host “Not Found”
}
}

The renameCmdList names file needs to be setup with the Powershell commands instead of the CMD ones like so:

Rename-Item -Path .\72633 -NewName “screenshot-1.png”

]]>
Comment on How to use an SSH key stored in Azure Key Vault while building Azure Linux VMs using Terraform by Karan https://isbyr.com/how-to-use-an-ssh-key-stored-in-azure-key-vault-while-building-azure-linux-vms-using-terraform/#comment-8636 Thu, 19 Jan 2023 09:27:05 +0000 http://isbyr.com/?p=962#comment-8636 In reply to Ilya Reshetnikov.

Hello IIya,

Thanks for response, above doesn’t solve the purpose.
I want to deploy the azure vm through terraform and as described in this article “a corresponding public key dev-mgmt-ssh-key stored in an existing Azure Key Vault kv-dev-mgmt (which I don’t want to be managed by Terraform, but only used by it)”

I want to deploy the VMs as suggested in this article.

]]>
Comment on How to use an SSH key stored in Azure Key Vault while building Azure Linux VMs using Terraform by Ilya Reshetnikov https://isbyr.com/how-to-use-an-ssh-key-stored-in-azure-key-vault-while-building-azure-linux-vms-using-terraform/#comment-8635 Thu, 19 Jan 2023 07:29:48 +0000 http://isbyr.com/?p=962#comment-8635 In reply to karan.

Hi Karan,
Have you tried following this https://learn.microsoft.com/en-us/azure/virtual-machines/ssh-keys-portal#upload-an-ssh-key ?

]]>
Comment on How to use an SSH key stored in Azure Key Vault while building Azure Linux VMs using Terraform by karan https://isbyr.com/how-to-use-an-ssh-key-stored-in-azure-key-vault-while-building-azure-linux-vms-using-terraform/#comment-8629 Wed, 18 Jan 2023 13:42:22 +0000 http://isbyr.com/?p=962#comment-8629 How to store the SSH key in Azure Key Vault.

I’m not able to upload the key, please provide procedure.

]]>
Comment on How to set up Zoho Mail with your own domain by Choosing a Cloud Provider for a Bootstrapped StartUp https://isbyr.com/how-to-set-up-zoho-mail-with-your-own-domain/#comment-6574 Thu, 21 Jul 2022 13:44:58 +0000 http://isbyr.com/?p=715#comment-6574 […] Have a domain, but want an email for free? How to set up Zoho Mail with your own domain […]

]]>