skip to Main Content

Azure – Get extended property Microsoft graph mailFolders

This is maybe a very dumb question but I am trying to create a hidden folder with multiValueExtendedProperties. If I´m creating the folder like this: POST https://graph.microsoft.com/v1.0/me/mailFolders { "displayName": "Test", "isHidden": "true", "multiValueExtendedProperties": [ { "id": "StringArray {66f5a359-4659-4830-9070-00050ec6ac6e} Name Recreation",…

VIEW QUESTION

Json – Powershell: Using Invoke-WebRequest with variables

I am currently having a problem with a script to send fuel transactions through an api. It works without variables: $headers=@{} $headers.Add("accept", "application/json") $headers.Add("content-type", "application/json") $headers.Add("authorization", "$APIToken") $response = Invoke-WebRequest -Uri 'https://api.samsara.com/fuel-purchase' -Method POST -Headers $headers -ContentType 'application/json' -Body '{"fuelQuantityLiters":"676.8","iftaFuelType":"Diesel","transactionLocation":"350…

VIEW QUESTION

PowerShell to parse HTML Table

I've hit an interesting problem that has eluded me thus far. I'm trying to extract specific information from a local html document. It's essentially a series of tables, and I only need specific values. I've imported the document using $sourcePath…

VIEW QUESTION

Docker – Installing exe inside Windows container using PowerShell

I am facing problem with installation of .exe file inside docker container: FROM mcr.microsoft.com/dotnet/sdk:7.0 AS base SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN dotnet tool install --global --version 7.3.11 PowerShell ADD https://downloads.unidata.ucar.edu/netcdf-c/4.9.2/netCDF4.9.2-NC4-DAP-64.exe lib/netCDF4.9.2-NC4-DAP-64.exe RUN start-process -Filepath "C:libnetCDF4.9.2-NC4-DAP-64.exe"…

VIEW QUESTION

Query WorkItems Between Builds and convert it into a excel file from on-prem Azure DevOps Server through Azure DevOps REST API

I want list of the workItems that is changed after build in excel file. So far I am here : $AzureDevOpsPAT = "**********************************" $fromBuildId = "161" $toBuildId = "176" $AzureDevOpsAuthenicationHeader = @{Authorization = 'Basic ' + [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(":$($AzureDevOpsPAT)")) } $uriAccount ="https://AzureDevOpsServerName/DefaultCollection/ProjectName/_apis/build/workitems?fromBuildId=$($fromBuildId)&toBuildId=$($toBuildId)&api-version=5.0"…

VIEW QUESTION
Back To Top
Search