kubectl get node -ojson | jq -r '.items.spec.providerID' | cut -d/ -f5 | tr -d '"'
jqto iterate over the objects to fetch the
providerIDwhich will be in form of originally :
cutcommand to split the string with
/as delimiter and extract the 5th field.
trfinally to remove the trailing
"(by deleting all occurences of