echo "✅ Config file downloaded and verified: $DEST_DIR/$FILE_NAME" # ------------------------------------------------- # LMC 8.4 – R18 config file download (PowerShell) # -------------------------------------------------
# Build request headers $Headers = @ "Authorization" = "Bearer $ApiKey" "Accept" = "application/x-yaml"
#--- Create destination folder (if needed) ------------------------------- mkdir -p "$DEST_DIR" cd "$DEST_DIR" || echo "❌ Cannot cd to $DEST_DIR"; exit 1;