Search the Community
Showing results for tags 'Status Filter Rules'.
-
Hi All, Would like to know if there's a way to create a new Status Filter variable (Eg. %msgsys, %msgsrc and etc.) . At the start of the TS, the user who kicked-off the TS requires to authenticate before proceeding. Would like to capture the user's details (email, givenname and sn), store these into a variable (Eg. %email, %givenname & %surname) then pass it to the SCCM Status Filter Rules. Regards, ej
-
- Status Messages
- Task Sequence
- (and 6 more)
-
Hi All, I've been having some issues executing powershell scripts using the status filter rules. I am able to run VB scripts without issue, but powershell scripts do not seem to execute. I have a VBscript that runs under the same conditions which executes without issue. The PS script is a basic script to send an email to the SCCM administrators upon successful completion of a task sequence. It will work perfectly when run manually, under both administrator and system accounts context. Powershell Execution Policy is set to unrestricted. The command line for the script is 'powershell -file \\SCCM\d$\packages\scripts\complete.ps1 %msgsys' I have also tried directly pointing to D:\Packages\...etc. Any ideas?
- 5 replies
-
- powershell
- status filter rules
-
(and 2 more)
Tagged with: