
EmreOzanMemis – Github
https://github.com/EmreOzanMemis Ziyaret ediniz
PowerShell, Microsoft’un geliştirmiş olduğu yeni komut satırıdır. PowerShell, Windows işletim sistemlerinin ilk günündnen beri vazgeçilmezi olan CMD (CoMmanD) komut satırının […]
Genç bilişimciler yetiştirme programı kapsamında sektöre genç, dinamik gençler kazandırmak için tamamen gönülü olarak yaptığım. Birbirinden yetenekli gennçlerin bulunduğu bu […]
###Resolve IP to HostName### function ResolveIPtoName($IP) { $ResolvingResults = “” $ResolvingResults = @() $IPList += @($IP) foreach ($IP in $IPList) […]
# WSUSCleanupscript.ps1 [reflection.assembly]::LoadWithPartialName(“Microsoft.UpdateServices.Administration”)` | out-null $wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer(); $cleanupScope = new-object Microsoft.UpdateServices.Administration.CleanupScope; $cleanupScope.DeclineSupersededUpdates = $true $cleanupScope.DeclineExpiredUpdates = $true $cleanupScope.CleanupObsoleteUpdates = […]
$logs = get-eventlog system -ComputerName powershell-ozan -source Microsoft-Windows-Winlogon -After (Get-Date).AddDays(-7); $res = @(); ForEach ($log in $logs) {if($log.instanceid -eq 7001) […]
[CmdletBinding()] Param ( [Parameter(Mandatory=$true, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true, Position=0)] [ValidateNotNullOrEmpty()] [string[]]$ComputerName, [Parameter(Position=1)] [int]$ResultCount = 150 ) $PipelineItems = @($input) if ($PipelineItems.Count) { […]
# Firewall uzerinde tanimladiginiz kuralin adini yazınız $firewallRuleName = “RDP Atak Engelle” # Karalisteye eklenmetecek IP adreslerini yada hostnamelerini tanimlayiniz. […]