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