This file contains hidden or 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
| $Win10_2004_FODs = @("Accessibility.Braille~~~~0.0.1.0", | |
| "Analog.Holographic.Desktop~~~~0.0.1.0", | |
| "App.StepsRecorder~~~~0.0.1.0", | |
| "App.Support.QuickAssist~~~~0.0.1.0", | |
| "App.WirelessDisplay.Connect~~~~0.0.1.0", | |
| "Browser.InternetExplorer~~~~0.0.11.0", | |
| "DirectX.Configuration.Database~~~~0.0.1.0", | |
| "Hello.Face.18967~~~~0.0.1.0", | |
| "Hello.Face.Migration.18967~~~~0.0.1.0", | |
| "Language.Basic~~~af-ZA~0.0.1.0", |
This file contains hidden or 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
| Function Get-ESPProgress () { | |
| <# | |
| .SYNOPSIS | |
| Reads the ESP Phase status from Registry, returns PSCustomObject | |
| #> | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory, HelpMessage = 'Choose ESP Phase')] | |
| [ValidateSet("DevicePreparation", "DeviceSetup", "AccountSetup")] | |
| [String] |
This file contains hidden or 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
| [Flags()] enum CoManagementFlag { | |
| CoManagementConfigured = 1 | |
| CompliancePolicies = 3 | |
| ResourceAccessPolicies = 5 | |
| DeviceConfiguration = 9 | |
| WindowsUpdatesPolicies = 17 | |
| EndpointProtection = 33 | |
| ClientApps = 65 | |
| OfficeClickToRunApps = 129 | |
| } |
This file contains hidden or 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
| [Flags()] enum CoManagementFlag { | |
| CoManagementConfigured = 1 | |
| CompliancePolicies = 3 | |
| ResourceAccessPolicies = 5 | |
| DeviceConfiguration = 9 | |
| WindowsUpdatesPolicies = 17 | |
| EndpointProtection = 33 | |
| ClientApps = 65 | |
| OfficeClickToRunApps = 129 | |
| } |
This file contains hidden or 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
| #iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/MrWyss-MSFT/d511d655f55762233a1d442c24d584f6/raw')) | |
| Function Get-ESPProgress () { | |
| <# | |
| .SYNOPSIS | |
| Reads the ESP Phase status from Registry, returns PSCustomObject | |
| #> | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory, HelpMessage = 'Choose ESP Phase')] |
This file contains hidden or 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
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Position=1)] | |
| $result, | |
| [Parameter(Position=2)] | |
| $Password | |
| ) | |
| # Site configuration |
This file contains hidden or 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
| Function New-IntuneInvEntry { | |
| <# | |
| .SYNOPSIS | |
| Creates fake software inventory entries (Add Remove Programs / Installed Apps) | |
| used to create custom inventory items in Intune | |
| .DESCRIPTION | |
| Creates fake software inventory entries in HKLM|HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall | |
| with the DisplayName, DisplayVersion, Publisher, InstallDate, NoModify, NoRepair, NoRemove. If it should | |
| be hidden in Add/Remove Programs and Installed Apps it will also set the SystemComponent and WindowsInstaller values to 1. |
This file contains hidden or 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
| #Requires -RunAsAdministrator | |
| $scheduledTaskScript = @' | |
| $PSDefaultParameterValues = @{ | |
| "Write-Log:Path" = $env:ALLUSERSPROFILE + "\Microsoft\IntuneManagementExtension\Logs\Log-Network-$(Get-Date -Format yyyy-M-dd).log" | |
| "Write-Log:Component" = "Log-Network" | |
| "Write-Log:Type" = "Info" | |
| "Write-Log:ConsoleOutput" = $True | |
| } | |
| #endregion |
This file contains hidden or 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
| #[scriptblock]::Create((iwr "https://gist.githubusercontent.com/MrWyss-MSFT/228ed9f3dd2b67077790a3bef98442d5/raw").Content).Invoke() | |
| <# | |
| .SYNOPSIS | |
| Returns the Co-Management Workloads Names | |
| .DESCRIPTION | |
| Reads the Co-Management Workloads from the CCM_System WMI Class and returns the | |
| Workloads as PSCustomObject if they are enabled or not. | |
| #> |
This file contains hidden or 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
| ($(netsh wlan show drivers) -match "WPA3-*").trimstart() -split "`n" | ForEach-Object { $auth, $cipher = $_ -split ' +'; [PSCustomObject]@{ 'Security Mode' = $auth; 'Encryption Mode' = ($cipher -join ' ') } } |
OlderNewer