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
| $Path = "C:\Users\Public" | |
| Start-Transcript -Path (Join-Path -Path $Path -ChildPath ("{0}-Logon.txt" -f $env:COMPUTERNAME)) -NoClobber -Append -Verbose | |
| $VerbosePreference = "continue" | |
| # $RestartExplorer = $false | |
| # Remove Edge Desktop Icon | |
| if ([System.Environment]::OSVersion.Version.Major -eq 10) { | |
| if (Test-Path -Path (Join-Path -Path $env:USERPROFILE -ChildPath "Desktop\Microsoft Edge.lnk") -ErrorAction SilentlyContinue) { | |
| Remove-Item -Path (Join-Path -Path $env:USERPROFILE -ChildPath "Desktop\Microsoft Edge.lnk") -Verbose |
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
| alias rc-status="systemctl list-units --no-pager --type=service --state=running --no-legend" |
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
| # Remove Store Applications | |
| $StoreApplications = Import-Clixml -Path StoreApplications.xml | |
| foreach($Application in $StoreApplications) { | |
| Get-AppxPackage -Name $Application | Remove-AppxPackage -AllUsers -Verbose | |
| } |
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
| # Store Applications | |
| $StoreApplications = ( | |
| "Microsoft.MicrosoftSolitaireCollection", | |
| "Microsoft.MinecraftUWP", | |
| "A278AB0D.MarchofEmpires", | |
| "A278AB0D.DisneyMagicKingdoms", | |
| "89006A2E.AutodeskSketchBook", | |
| "46928bounde.EclipseManager", | |
| "D5EA27B7.Duolingo-LearnLanguagesforFree", | |
| "king.com.CandyCrushSodaSaga", |
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-AppxPackage -AllUsers | Where-Object -FilterScript { $_.Publisher -notmatch "CN=Microsoft" } | Select-Object -Property Name |
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
| # Enable Network Discovery / Require UAC | |
| Get-NetFirewallRule -Group "@FirewallAPI.dll,-32752" | Where-Object -FilterScript {$_.Enabled -eq $false} | ForEach-Object -Process { | |
| Set-NetFirewallRule -Name $_.Name -Enabled True -Verbose | |
| } | |
| Get-NetFirewallRule -Group "@FirewallAPI.dll,-28502" | Where-Object -FilterScript {$_.Enabled -eq $false} | ForEach-Object -Process { | |
| Set-NetFirewallRule -Name $_.Name -Enabled True -Verbose | |
| } | |
| # Enable Remote Desktop / Require UAC | |
| Get-NetFirewallRule -Group "@FirewallAPI.dll,-28752" | Where-Object -FilterScript {$_.Enabled -eq $false} | ForEach-Object -Process { |
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
| Start-Transcript -Path (Join-Path -Path $env:TEMP -ChildPath "test.txt") -NoClobber -Append -Verbose | |
| $Principal = New-Object -TypeName Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) | |
| $IsPrivileged = $Principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) | |
| $VerbosePreference = "Continue" | |
| # $64Bit = [System.Environment]::Is64BitOperatingSystem | |
| $RestartExplorer = $false | |
| $RestartComputer = $false | |
| if ($IsPrivileged) { |
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-AppxPackage -AllUsers | Where-Object -FilterScript { $_.Publisher -notmatch "CN=Microsoft" } | Select-Object -Property Name | |
| A278AB0D.MarchofEmpires | |
| A278AB0D.DisneyMagicKingdoms | |
| DolbyLaboratories.DolbyAccess | |
| SpotifyAB.SpotifyMusic | |
| king.com.BubbleWitch3Saga | |
| XINGAG.XING | |
| king.com.CandyCrushSodaSaga |
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
| if ((Get-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol-Client" | Select-Object -Property State).Value -eq "Disabled") { | |
| Get-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol-Client" | Where-Object -FilterScript {$_.State -ne "Enabled"} | Enable-WindowsOptionalFeature -Online | |
| $Restart = $true | |
| } |
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
| <p>Wir freuen uns sehr über Ihr Interesse an uns. Datenschutz hat einen besonders hohen Stellenwert für uns. Eine Nutzung unserer Internetseiten ist grundsätzlich ohne jede Angabe personenbezogener Daten möglich. Sofern eine betroffene Person besondere Services über unsere Internetseite in Anspruch nehmen möchte, könnte jedoch eine Verarbeitung personenbezogener Daten erforderlich werden. Ist die Verarbeitung personenbezogener Daten erforderlich und besteht für eine solche Verarbeitung keine gesetzliche Grundlage, holen wir generell eine Einwilligung der betroffenen Person ein.</p> | |
| <p>Die Verarbeitung personenbezogener Daten, beispielsweise des Namens, der Anschrift, E-Mail-Adresse oder Telefonnummer einer betroffenen Person, erfolgt stets im Einklang mit der Datenschutz-Grundverordnung und in Übereinstimmung mit den für uns geltenden landesspezifischen Datenschutzbestimmungen. Mittels dieser Datenschutzerklärung möchte wir die Öffentlichkeit über Art, Umfang und Zweck der von uns erhobenen, genutzten und ve |