MicksITBlogs / PowerShell

PowerShell scripts for Mick's IT Blogs
MIT License
296 stars 128 forks source link

Script Editing and Deploymgnt #3

Open anilsne opened 5 years ago

anilsne commented 5 years ago

Hi Mick,

  1. Is it mandatory to put exclusion path to script. I don't have anything to exclude it for now but later on it could be. Can I mark those lines as comment ?
  2. Can I deploy script as baseline in sccm instead creating package ?

Note: I have deployed the script as Baseline in sccm but not getting compliance from Client. I have not mentioned correct path in exclusion variable in script.

mickpletcher commented 4 years ago

Yes. Just create the exclusion file and leave it blank

umaismomin commented 4 years ago

Hi Mick,

  1. Is it mandatory to put exclusion path to script. I don't have anything to exclude it for now but later on it could be. Can I mark those lines as comment ?

  2. Can I deploy script as baseline in sccm instead creating package ?

Note: I have deployed the script as Baseline in sccm but not getting compliance from Client. I have not mentioned correct path in exclusion variable in script.

How you created baseline using this script? Can you please help me how can I supply the product key while using this script for baseline.