View Large Files Powershell
gc log.txt -head 10 gc log.txt -tail 10 gc log.txt -tail 10 -wait # equivalent to tail -f
gc log.txt -head 10 gc log.txt -tail 10 gc log.txt -tail 10 -wait # equivalent to tail -f
Command: 1DBCC CHECKDB Returned: 123456789101112DBCC results for ‘AP_TypeLocations’. There are 3004 rows in 14 pages for object "AP_TypeLocations". Msg 8976, Level 16, State 1, Line 1 Table error: Object ID …
1). Install the AWS CLI for PowerShell https://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-set-up-windows.html Click Start > type PowerShell > right click run as Administrator Run commands: 12345678Install-Module -Name AWS.Tools.Installer Install-Module -Name AWSPowerShell Set-ExecutionPolicy RemoteSigned Set-AWSCredential …
Convert a domain user SID 1234PS C:\Users\Torrance> Get-ADUser -Identity ‘Torrance’ | select SID …
Stop the time service then change the clock from elevated command 123net stop w32time date 4/22/2021 net start w32time NOTE: the clock does switch back periodically, to permanently disable the …
Wazuh API 4 > From the API Console 1DELETE /agents?pretty=true&older_than=0s&agents_list=327,328&status=all https://documentation.wazuh.com/current/user-manual/agents/remove-agents/restful-api-remove.html
After install of the OS no wifi driver was available 1). Under System Settings > Driver Management > Ubuntu Tab, check the box for Source Code and choose Download from …
Cloud Trail Event Name Search Criteria RequestCertificate – SSL Cert Manipulation RunInstances – Instance Manipulation StartInstances – Instance Manipulation StopInstances – Instance Manipulation TerminateInstances – Instance Manipulation AuthorizeSecurityGroupEgress – Security …
Windows Update service (svchost -k netsrv) can cause excessive CPU. Clear the C:\Windows\Software Distribution\ folder net stop wuauserv net stop bits Delete the folders contents End task svchost if it …