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
<# | |
Author: Oliver Kieselbach (oliverkieselbach.com) | |
Script: Create-CmtraceMRU.ps1 | |
The script is provided "AS IS" with no warranties. | |
#> | |
# write cmtrace MRU list for SYSTEM user | |
& REG DELETE HKCU\Software\Microsoft\Trace32 /f /reg:64 | Out-Null | |
& REG ADD HKCU\Software\Microsoft\Trace32 /v "Register File Types" /t REG_SZ /d "1" /f /reg:64 | Out-Null | |
& REG ADD HKCU\Software\Microsoft\Trace32 /v "Maximize" /t REG_SZ /d "1" /f /reg:64 | Out-Null |
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
<# | |
Version: 1.0 | |
Author: Oliver Kieselbach (oliverkieselbach.com) | |
Script: Create-MyVM.ps1 | |
Description: | |
The script crates a VM on a Hyper-V host with TPM and starts it including the VMConnect client. | |
Release notes: | |
Version 1.0: Original published version. | |
The script is provided "AS IS" with no warranties. | |
#> |
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
<# | |
Author: Oliver Kieselbach (oliverkieselbach.com) | |
Script: Install-LanguageExperiencePack-de-DE.ps1 | |
Description: | |
run in SYSTEM context, usage of MDM Bridge WMI Provider to install german language experience pack | |
Release notes: | |
Version 1.0: 2020-04-21 - Original published version. |
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
<# | |
Version: 1.0 | |
Author: Oliver Kieselbach | |
Script: Get-DecryptInfoFromSideCarLogFiles.ps1 | |
Description: | |
run as Admin on a device where you are AADJ and Intune enrolled to successfully decrypt | |
the log message containing decryption info for Intune Win32 apps (.intunewin) | |
Release notes: |
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
<# | |
Version: 1.0 | |
Author: Oliver Kieselbach (oliverkieselbach.com) | |
Date: 15.12.2018 | |
Description: | |
Uninstall BGInfo64. User has to switch background to the original one by his own. | |
Release notes: | |
Version 1.0: Original published version. |
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
Dim WshShell, colItems, objItem, objGroup, objUser | |
Dim strUser, strAdministratorsGroup, bAdmin | |
bAdmin = False | |
On Error Resume Next | |
Set WshShell = CreateObject("WScript.Shell") | |
strUser = WshShell.ExpandEnvironmentStrings("%Username%") | |
winmgt = "winmgmts:{impersonationLevel=impersonate}!//" | |
Set colItems = GetObject(winmgt).ExecQuery("Select Name from Win32_Group where SID='S-1-5-32-544'",,48) |
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
<# | |
Version: 1.0 | |
Author: Oliver Kieselbach (oliverkieselbach.com) | |
Date: 15.12.2018 | |
Description: | |
Install BGInfo64 with custom background scheme where hostname and logged on user incl. membership (Admin|User) is shown. | |
It is especially usefull when dealing with virtual test environments where different devices, users, and different | |
Autopilot profiles are used. It enhanced viability of hostname, username and available permissions of the user. |
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
<# | |
Version: 1.0 | |
Author: Oliver Kieselbach | |
Script: Get-WindowsAutoPilotInfoAndUpload.ps1 | |
Description: | |
Get the AutoPilot information and copy it to an Azure Blob Storage. Use existing AzCopy.exe and | |
Get-WindowsAutoPilotInfo.ps1 files or download them from an Azure Blob Storage named 'resources'. | |
If used with an MDT offline media the hash can be written to the offline media as well. |
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
<# | |
Version: 1.0 | |
Author: Oliver Kieselbach | |
Runbook: Import-AutoPilotInfo | |
Description: | |
Get AutoPilot device information from Azure Blob Storage and import device to Intune | |
AutoPilot service via Intune API running from a Azure Automation runbook. | |
Cleanup Blob Storage and send import notification to a Microsoft Teams channel. |
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
<# | |
Version: 1.0 | |
Author: Oliver Kieselbach | |
Runbook: Invoke-RetireDevice | |
Description: | |
Delete device from Intune via Intune API and AAD from a Azure Automation runbook. | |
Release notes: | |
Version 1.0: Original published version. | |
Version 1.1: Bugfix, escaped ' on delete request, thanks Sandy! |
NewerOlder