How can i copy a vm snapshot to storage account in Azure?
I can successfully create a VM disk snapshot using az cli. How can i copy the snapshot to an azure storage account using az cli ?
I can successfully create a VM disk snapshot using az cli. How can i copy the snapshot to an azure storage account using az cli ?
I'm making a script which made a RestMethod call and export results to CSV On the output I have an object which contain the agentstatus and the last agentstatusmessage but for the last one i saw only System.Object[] How could…
Im having trouble pulling scripts from a s3 bucket to my aws workspace. I cant use access key or secret keys because they seem to be temporary and the script will be used my our support team in our org…
I got a awkward situation when I found that I am able to run my python codes in VS Code but when I try to open python in cmd/powershell prompt: I get the following: `python : The term 'python' is…
I'm currently building a little app to retrieve information from an HTML Form (multiples checkboxes actually) and pass this information as args to a powershell exec command. Currently I get this kind of array as a result : Array (…
I can't for the life of me understand what this api wan't from me ! I made a query to get the extensionId and publisherId from the cli. I connect with my tenantId because an admin PAT is not enough.…
I'm using az vm list-skus -l australiasoutheast | convertfrom-json to populate a variable (lets call it $skus) so I can use it in a PS script. When $skus is populated, it's contents look like: apiVersions : capabilities : {@{name=MaxResourceVolumeMB; value=256000},…
I'm currently working with Microsoft support on a ticket related to updating the value of CreationOption for an M365 Group, as discussed in this post: M365 Group: update value of CreationOption. While awaiting a resolution, I attempted to clone the…
All my Python files are located in the same directory, "E:Python LearningDave Gray tutorials", and simply running the files works. However, I get an error when running one within the VSCode terminal: PS E:Python Learning> python hello_person.py C:UsersvictoAppDataLocalProgramsPythonPython312python.exe: can't open…
I'm doing cs50p and I am using visual studio. In the first tutorial they are using command "code hello.py" in terminal and it should create a file but I'm getting only errors, saying the powershell doesn't understand comand "code" code…