Tried the below for winRM in pipeline,
node { stage(\'test\') { winRMClient credentialsId: \'xyz\', hostName: \'10.111.111.111\', winRMOperation