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