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