-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Winget-Install | ||
Powershell scripts to install Winget Packages with SCCM/Intune or other tools and even standalone. | ||
|
||
## Install | ||
### SCCM | ||
- Create an application and put the "winget-install.ps1" script as sources | ||
- For install command, put this command line: | ||
>powershell.exe -ExecutionPolicy bypass -File winget-install.ps1 -AppIDs Notepad++.Notepad++ | ||
### Intune | ||
- Create Intunewin with the "winget-install.ps1" script | ||
- Create an Win32 application in Intune | ||
- Put this command line as Install Cmd | ||
>powershell.exe -ExecutionPolicy bypass -File winget-install.ps1 -AppIDs Notepad++.Notepad++ | ||
## Detection method | ||
- Use the "winget-detect.ps1" with SCCM or Intune as detection method. | ||
- Replace "$AppToDetect" value by your App ID | ||
>$AppToDetect = "Notepad++.Notepad++" | ||
## Updates | ||
https://github.com/Romanitho/Winget-autoupdate | ||
|
||
## Other ideas and approaches | ||
https://github.com/o-l-a-v/winget-intune-win32 |