Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
engrit-epm
sccm-ts-scripts
Commits
51da74ba
Commit
51da74ba
authored
Jul 06, 2020
by
mmseng
Browse files
Removed outdated usage example comments
parent
1c519750
Changes
1
Hide whitespace changes
Inline
Side-by-side
smsts-post-action-BETA.ps1
View file @
51da74ba
# Post Action Script for running post-Task Sequence tasks
# Originally developed by tewebb. Modded and converted to PS by mseng3
# Usage example #1:
# powershell.exe -ExecutionPolicy Bypass -file "\\engr-wintools.ad.uillinois.edu\packagedsoftware$\ushar\scripts\SMSTSPostAction.ps1" -email "netid@illinois.edu"
# Usage example #2:
# powershell.exe -ExecutionPolicy Bypass -file "\\engr-wintools.ad.uillinois.edu\packagedsoftware$\ushar\scripts\SMSTSPostAction.ps1" -SlackMsg "%_SMSTSMachineName% (model: %EngrIT_Model%) finished imaging with TS: %_SMSTSPackageName%." -SlackChannel "yourchannel" -SlackName "YourBot" -SlackIcon "http://helptools.engrit.illinois.edu/images/block_i_70x70.png"
# Parameters
param
(
# If specified, will run the SCCM client's "Machine Policy Retrieval & Evaluation Cycle". Omit to like, not do that.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment