Get-Mailbox ExchangeGUID
PS C:\Users\kschweiger> Get-Mailbox user.cloud | select Name, ExchangeGUID, ArchiveGUID Name ExchangeGuid ArchiveGuid —- ———— ———– user.cloud 594fd053-1f81-4ad0-bc89-9f144c5a5183 de702a74-29dd-46d8-a712-0d033e56a69c
by Kevin · Published 20. Oktober 2020 · Last modified 14. Jänner 2021
PS C:\Users\kschweiger> Get-Mailbox user.cloud | select Name, ExchangeGUID, ArchiveGUID Name ExchangeGuid ArchiveGuid —- ———— ———– user.cloud 594fd053-1f81-4ad0-bc89-9f144c5a5183 de702a74-29dd-46d8-a712-0d033e56a69c
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
### Enable ‚AutoLogon‘ Set-ItemProperty -Path "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "AutoAdminLogon" -Value "1" ### Specify for which user AutoLogon should be enabled Set-ItemProperty -Path "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "DefaultUsername" -Value "Administrator" ### Extract the initial Administrator Password from the VMWare Config $vmwaretoolspath = "C:\Program Files\VMware\VMware Tools\vmtoolsd.exe" $tmp = & $vmwaretoolspath –cmd "info-get guestinfo.cloudinit.metadata" | Out-String $tmp = [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($tmp))...
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
### Get SID of local Administrator $localadmin = Get-LocalUser | where {$_.Name -like "Administrator"} ### Load HKEY_USER Hive of local Administrator reg load HKU\$($localadmin.SID.Value) C:\Users\Administrator\ntuser.dat ### Check if ‚RunOne‘ Key is already available, if not create it if(!(Test-Path -Path Registry::HKEY_USERS\$($localadmin.SID.Value)\Software\Microsoft\Windows\CurrentVersion\RunOnce)){ New-Item -Path Registry::HKEY_USERS\$($localadmin.SID.Value)\Software\Microsoft\Windows\CurrentVersion\RunOnce } ### Create RunOnce Variable und set Path to Powershell Script Set-ItemProperty...
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
$regionPS = {& $env:SystemRoot\System32\control.exe "intl.cpl,,/f:`"C:\Windows\Temp\Region_de-AT.xml`""} Add-Content -Path "C:\Windows\Temp\SetRegion.ps1" -Value $regionPS
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
$regionalsettingsAT = "<gs:GlobalizationServices xmlns:gs=’urn:longhornGlobalizationUnattend‘> <!–User List–> <gs:UserList> <gs:User UserID=’Current‘ CopySettingsToDefaultUserAcct=’true‘ CopySettingsToSystemAcct=’true’/> </gs:UserList> <!– user locale –> <gs:UserLocale> <gs:Locale Name=’de-AT‘ SetAsCurrent=’true‘ ResetAllSettings=’true’/> </gs:UserLocale> <!– system locale –> <gs:SystemLocale Name=’de-AT’/> <!– GeoID –> <gs:LocationPreferences> <gs:GeoID Value=’14’/> </gs:LocationPreferences> <gs:MUILanguagePreferences> <gs:MUILanguage Value=’de-AT’/> </gs:MUILanguagePreferences> <!– input preferences –> <gs:InputPreferences> <!–en-AU–> <gs:InputLanguageID Action=’add‘ ID=’0c07:00000407′ Default=’true’/> </gs:InputPreferences> </gs:GlobalizationServices>" $regionalsettingsAT | Out-File C:\Windows\Temp\Region_de-AT.xml...
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
apt-get update apt-get install docker-ce docker-ce-cli containerd.io
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add – add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
apt-get update apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common
by Kevin · Published 19. September 2020 · Last modified 14. Jänner 2021
timedatectl set-timezone Europe/Vienna
by Kevin · Published 12. Juni 2020 · Last modified 14. Jänner 2021
### Step 1: Creating Securestring encrypted with AES Key $AESKey = New-Object Byte[] 32 [Security.Cryptography.RNGCryptoServiceProvider]::Create().GetBytes($AESKey) $AESKey | Out-File .\Desktop\aes.key $password = Read-Host -AsSecureString $password | ConvertFrom-SecureString -Key $AESKey | Out-File .\Desktop\password.txt ### Step 2: Using Securestring and AES Key in Scripts $username = "Administrator" $AESKey = Get-Content .\Desktop\aes.key $password = Get-Content .\Desktop\password.txt | ConvertTo-SecureString -Key...
AD / HowTo / Microsoft / Server
Kerberos-Delegierung im Active Directory: Angriffsvektoren und Schutzmaßnahmen
12. August 2026
Exchange / HowTo / Microsoft / Microsoft 365 / Server
Exchange On-Premises: Modern Hybrid Auth testen
10. Feber 2026
Exchange / HowTo / Microsoft / Microsoft 365 / Server
Exchange: Mails von Extern besonders hervorheben
19. März 2021