I have referenced this in previous posts but wanted to break this out specifically because I find myself referencing this process in many posts. My future posts will just reference this process in an effort to keep posts to the point.
Creating the powershell script package
- In the SCCM Console go to Software Library, Application Management, Packages. Click on Create Package.
- Package
- Name = Powershell Script Package Name
- Description = Package Description
- Manufacturer =
- Language = English
- Version = Version
- Check This package contains source files. Browse to the Source folder that contains the powershell script you created.
- Next.
- Program Type
- Select Standard Program, Next.
- Standard Program
- Name = Powershell Script Program Name
- Command line = powershell -ExecutionPolicy ByPass -File PowershellScriptName.ps1
- Startup folder =
- Run = Normal
- Program can run = Whether or not a user is logged on
- Next.
- Requirements
- Estimated disk space = Unknown
- Maximum allowed run time = Unknown
- Next.
- Summary. Next.
- Close.
No comments :
Post a Comment