Tag Info

New answers tagged

8

Powershell: Get-WmiObject Win32_Process | Select Name, ProcessId, CommandLine


0

Have a look at PowerShell and the Get-Process command; it can give you any info you'll find in the Task Manager, and a lot more. https://technet.microsoft.com/en-us/library/hh849832.aspx https://technet.microsoft.com/en-us/library/ee176855.aspx


0

You've gotta parse it. Go through each line looking for Import:. When you find it set a flag, return the sample content, then ignore everything until you get to View:. Then start returning everything again. Rinse, repeat. $sampleContent = Get-Content 'Sample.txt' $inImport = $false Get-Content -Path 'Test.txt' | ForEach-Object { if( $inImport ...


1

Richard as has been mentioned already you need an imaging solution. The free ones are WDS/MDT from Microsoft. However, it's up to you to research how they work to make your life easier as well as making yourself marketable for future positions. Now if you can't do those or your company doesn't want to then you could script this with pnputil command. It's ...


0

Windows doesn't have a simple log for started processes. One thing that comes close is the Registry key UserAssist: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist It has entries for certain executed processes, the most interesting subkey is: {CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count However those entries are ROT13 ...


0

One of the following should give you that (can't test now): Nirsoft's Winprefetch View Nirsoft's Last Activity View


0

Try Event Logs. Click Start and type "event logs". Under "Windows Logs" on the left, click "Application". The batch file would need to have specific code that dumps an exception or completed message in the logs. If not, you may be out of luck.


1

Finally I was able to resolve the issue. The problem was with the user authority. The batch script was suppose to encrypt a file and then ftp the encrypted file to the vendor's ftp server. Apparently in Windows Server 2012 , the ADMINISTRATORS have the permission to create a file (here the encrypted file) while this user does not have the permission to ...



Top 50 recent answers are included