Forum Discussion

dmarquesgn's avatar
dmarquesgn
Iron Contributor
Sep 05, 2022
Solved

Powershell parse csv file to store some values to variable

Hi, I'm working with PSWindowsUpdate module to automate some tasks related to Windows Servers Updates. I've already created some scripting to go to each server, check which updates are available an...
  • raindropsdev's avatar
    Sep 05, 2022
    If I understood your request correctly you already have the necessary code for the actual execution, what you need to know is how to put values in a variable, correct?
    Do you require a string, array or hashtable variable?
    See here for examples on the use of each: https://docs.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-05?view=powershell-7.2

Resources