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
| $sourceXML = "https://gist.githubusercontent.com/MarcoGriep88/5d7f966d87e1ce4073978a731738a34b/raw/b799b8483c9287b2977dad8fb04257206b783295/gistfile1.txt" | |
| $tempPath = "$($env:TEMP)\oobe" | |
| if (-Not (Test-Path -Path $tempPath)) { | |
| New-Item -ItemType Directory -Path $tempPath -Force -ErrorAction SilentlyContinue | |
| } | |
| $destitionPath = "$($env:TEMP)\oobe\deploy.xml" |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
| <settings pass="oobeSystem"> | |
| <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <OOBE> | |
| <HideEULAPage>true</HideEULAPage> | |
| <HideLocalAccountScreen>true</HideLocalAccountScreen> | |
| <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> | |
| <HideOnlineAccountScreens>true</HideOnlineAccountScreens> | |
| <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> |
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()] | |
| [string]$URL = "http://localhost/api/v1/hardware", | |
| [Parameter()] | |
| [string]$APIKEY = "" | |
| ) | |
| Import-Module ImportExcel |
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
| # For more information visit: https://www.marcogriep.de/posts/telefonbuch-von-ascotel-zu-avaya-telefonanlage-migrieren/ | |
| $InputFile = "Input.csv" | |
| $OutputFile = "Export.csv" | |
| class Entry { | |
| [string]$Name | |
| [string]$Number | |
| [string]$SpeedDialCode | |
| } | |
| $entries = @() |
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
| version: '3' | |
| services: | |
| keycloak: | |
| image: jboss/keycloak | |
| container_name: keycloak | |
| restart: always | |
| #volumes: | |
| # - ./themes/customTheme:/opt/jboss/keycloak/themes/customTheme (optional) | |
| environment: |
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
| param( | |
| [string]$argServer = 'mybls-server.intranet.int:8085', | |
| [string]$argUser = 'domain\username', | |
| [string]$argPassword = 'DSMPassoword', | |
| [string]$context = "emdb:\rootDSE\Managed Users & Computers\*" | |
| ) | |
| #============================================== | |
| # IDENTIFY ALL DSM COMPUTERS | |
| #============================================== |
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
| #Get-WindowsCapability -Online | ? {$_.Name -like "*RSAT*" -and $_.State -eq "NotPresent"} | Add-WindowsCapability -Online | |
| # Oder: | |
| #DISM /Online /Add-Capability /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 | |
| #Install-Module ImportExcel | |
| class HostInfo { | |
| [string]$Hostname | |
| [string]$LastSync | |
| } |
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
| param | |
| ( | |
| [string]$argServer = 'localhost:8090', | |
| #localhost:8090 | |
| [string]$argUser = 'domain\user', | |
| #domain\username | |
| [string]$argPassword = 'password', | |
| #Password123 |
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
| #!/bin/bash | |
| # ---------------------------------------------------------- | |
| # Author: Griep Marco, www.marcogriep.de | |
| # License: | |
| # You can edit, distribute or sell this snippet if you want, | |
| # but please contribute to my webpage www.marcogriep.com | |
| # | |
| # If you use this Script commercially, please send a dollar | |
| # to "[email protected]" via paypal. (Pay-What-You-Want) |
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
| # ===================================================== | |
| # Author: Griep Marco | |
| # Last Change: 2018-02-16 | |
| # | |
| # Release Notes: Initial Commit | |
| # Contributors: - | |
| # ===================================================== | |
| import-module psx7 -DisableNameChecking |
NewerOlder