Get-NetIPAddress
Get-Command -Module ActiveDirectory
Get-FileHash -Path C:\Windows\System32\notepad.exe -Algorithm SHA256
Get-Process | Where-Object { $_.CPU -gt 100 }
hostname
Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table Description,IPAddress,MACAddress
Get-SmbOpenFile
Get-Content C:\Scripts\deploy.ps1
Get-Service | Where-Object { $_.Status -eq 'Running' }
Import-Module ActiveDirectory
Get-ADObject -LDAPFilter '(objectCategory=computer)'
Copy-Item -Path C:\Temp\* -Destination Z:\Backup\
Get-Credential
Get-HotFix | Sort-Object InstalledOn -Descending
Set-ExecutionPolicy RemoteSigned -Scope Process
Get-Content C:\Scripts\deploy.ps1
Test-DnsServer -IPAddress 192.168.3.10
Get-ProcessMitigation -Name powershell.exe
Get-Content C:\Scripts\deploy.ps1
Get-ADPrincipalGroupMembership svc_backup
Get-WmiObject Win32_Service | Where-Object { $_.StartMode -eq 'Auto' }
Get-CimInstance -ClassName Win32_QuickFixEngineering
Get-SmbSession
Get-ADServiceAccount -Filter * -Properties *
Get-Content C:\Users\svc_backup\AppData\Local\Temp\deploy.log
Get-EventLog -LogName Security -InstanceId 4624 -Newest 100
Get-ADPrincipalGroupMembership svc_backup
Get-ScheduledTaskInfo -TaskName 'DailyBackupJob'
Set-ExecutionPolicy RemoteSigned -Scope Process
Get-EventLog -LogName Security -Source Microsoft-Windows-Security-Auditing -Newest 200
Get-WmiObject -Class Win32_Process | Where-Object { $_.Name -like '*spoolsv*' }
Get-WmiObject Win32_Service | Where-Object { $_.StartMode -eq 'Auto' }
Get-Service | Where-Object { $_.Name -like '*crypt*' }
Get-ADPrincipalGroupMembership svc_backup
Get-Process -Name powershell
Get-EventLog -LogName Security -InstanceId 4624 -Newest 100
New-Item -Path C:\Temp -ItemType Directory
Get-EventLog -LogName Security -InstanceId 4672 -Newest 50
Get-ADPrincipalGroupMembership svc_backup
New-Item -Path C:\Temp -ItemType Directory
Get-ADOrganizationalUnit -Filter *
Set-Location C:\Temp
Invoke-Command -ComputerName DC01 -ScriptBlock { gpupdate /force }
Get-EventLog -LogName Security -Source Microsoft-Windows-Security-Auditing -Newest 200
Get-EventLog -LogName Application -Newest 50
Set-ExecutionPolicy RemoteSigned -Scope Process
cls
Get-WinEvent -FilterHashtable @{LogName='Directory Service';Id=4662} -MaxEvents 50
Start-Sleep -Seconds 10
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Get-Process -Name powershell
Get-LocalGroupMember -Group 'Administrators'
Get-ScheduledTaskInfo -TaskName 'DailyBackupJob'
Invoke-WebRequest -Uri 'https://intranet.novatech.local' -UseDefaultCredentials
Get-SmbShare
hostname
Get-EventLog -LogName Security -Source Microsoft-Windows-Security-Auditing -Newest 200
Get-ChildItem -Recurse C:\Scripts\
Get-ADObject -LDAPFilter '(objectCategory=computer)'
Import-Module ActiveDirectory
Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table Description,IPAddress,MACAddress
Get-Content C:\Scripts\deploy.ps1
Get-CimInstance -ClassName Win32_QuickFixEngineering
Get-ADPrincipalGroupMembership svc_backup
New-PSDrive -Name Z -PSProvider FileSystem -Root \\DC01\SYSVOL
Get-SmbSession
Set-ExecutionPolicy RemoteSigned -Scope Process
Get-ChildItem -Recurse C:\Scripts\
Get-ADPrincipalGroupMembership svc_backup
Get-SmbShare
Get-WmiObject -Class Win32_Process | Where-Object { $_.Name -like '*spoolsv*' }
ipconfig /all
Get-ADPermission -Identity 'OU=BadOU,DC=novatech,DC=local' -User svc_backup
Get-NetIPAddress
Start-Sleep -Seconds 10
Get-Content C:\Users\svc_backup\AppData\Local\Temp\deploy.log
Get-EventLog -LogName Security -After (Get-Date).AddDays(-7) -InstanceId 4662 -Newest 100
Get-Date
Get-Process -Name powershell
Copy-Item -Path C:\Temp\* -Destination Z:\Backup\
Restart-Service -Name 'WinRM'
Get-DnsServerZone
Get-HotFix | Sort-Object InstalledOn -Descending
Get-Service -Name WinRM | Format-List *
Start-Sleep -Seconds 10
klist
Copy-Item -Path C:\Temp\* -Destination Z:\Backup\
Get-DnsServerStatistics
Get-WinEvent -FilterHashtable @{LogName='Directory Service';Id=4662} -MaxEvents 50
Copy-Item -Path C:\Temp\* -Destination Z:\Backup\
Get-NetFirewallProfile
Clear-DnsServerCache
Get-ADServiceAccount -Filter * -Properties *
Restart-Service -Name 'WinRM'
Get-EventLog -LogName Security -InstanceId 4672 -Newest 50
Get-ADObject -LDAPFilter '(objectCategory=computer)'
New-PSDrive -Name Z -PSProvider FileSystem -Root \\DC01\SYSVOL
Get-ADPrincipalGroupMembership svc_backup
Get-Date
New-PSDrive -Name Z -PSProvider FileSystem -Root \\DC01\SYSVOL
Get-NetFirewallProfile
Get-NetIPAddress
Restart-Service -Name 'WinRM'
Get-Service -Name WinRM | Format-List *
whoami
Remove-Item C:\Temp\old_log.log -Force
Get-ADComputer -Filter *
Get-ProcessMitigation -Name powershell.exe
Get-ADServiceAccount -Filter *
Get-DnsServerResourceRecord -ZoneName novatech.local
Add-Content -Path C:\Scripts\deploy.ps1 -Value '# Deployment script updated'
Get-ADGroupMember 'Domain Admins'
Get-ADUser -Filter 'Enabled -eq True'
Get-ADGroup -Filter *
Get-NetIPAddress
Get-FileHash -Path C:\Windows\System32\notepad.exe -Algorithm SHA256
Set-ExecutionPolicy RemoteSigned -Scope Process
Invoke-Command -ComputerName DC01 -ScriptBlock { gpupdate /force }
Get-Content C:\Users\svc_backup\AppData\Local\Temp\deploy.log
Get-ADComputer -Filter *
Get-EventLog -LogName Security -InstanceId 4624 -Newest 100
Get-ChildItem -Recurse C:\Scripts\
hostname
Get-EventLog -LogName System -Newest 50
Get-Command -Module ActiveDirectory
Get-EventLog -LogName Security -InstanceId 4624 -Newest 100
Get-Content C:\Scripts\deploy.ps1
Get-Acl -Path 'AD:\OU=BadOU,DC=novatech,DC=local'
Get-Content C:\Scripts\deploy.ps1
Get-ScheduledTask
Get-WmiObject -Class Win32_Process | Where-Object { $_.Name -like '*spoolsv*' }
Get-FileHash -Path C:\Windows\System32\notepad.exe -Algorithm SHA256
Get-Content C:\Users\svc_backup\AppData\Local\Temp\deploy.log
Get-EventLog -LogName Security -InstanceId 4625 -Newest 50
Get-NetFirewallProfile
Get-ChildItem -Recurse C:\Scripts\
Get-ADPermission -Identity 'OU=BadOU,DC=novatech,DC=local' -User svc_backup
Invoke-WebRequest -Uri 'https://intranet.novatech.local' -UseDefaultCredentials
Get-Service -Name DNS
Get-EventLog -LogName Application -Newest 50
Get-ADServiceAccount -Filter * -Properties *
Get-WmiObject -Class Win32_Process | Where-Object { $_.Name -like '*spoolsv*' }
Get-EventLog -LogName Application -Newest 50
Add-Content -Path C:\Scripts\deploy.ps1 -Value '# Deployment script updated'
Get-Service | Where-Object { $_.Name -like '*crypt*' }
Get-NetFirewallProfile
Get-WmiObject -Class Win32_Process | Where-Object { $_.Name -like '*spoolsv*' }
Get-EventLog -LogName System -Newest 50
Get-Process -Name powershell
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Get-ADObject -LDAPFilter '(objectCategory=computer)'
Get-HotFix -Id KB5005565
Get-EventLog -LogName Security -After (Get-Date).AddDays(-7) -InstanceId 4662 -Newest 100
Get-NetFirewallRule | Where-Object { $_.Enabled -eq 'True' }
Get-Acl -Path 'AD:\OU=BadOU,DC=novatech,DC=local'
Get-Service -Name WinRM | Format-List *
Get-ADPrincipalGroupMembership svc_backup
