Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING How to use Collection Variables

  • Thread starter Thread starter tim
  • Start date Start date
  • Replies Replies 1
  • Views Views 3K

tim

Member
Messages
18
Reaction score
2
Points
3
Hello

I made some collection variables and I want to use them as a parameter of a powershell script in my task sequence.

Does anyone know how I can do this?
For example:

Collection variable: Text

Powershell script: writeText.ps1 -Text <Collection variable Text>

WriteText.ps1 -Text %Text% does not work.
 
Back
Top