New
#1131
Your commands have been put into the attached script.
Your commands have been put into the attached script.
Commands are needed to display non-Microsoft:
a) firewall
b) drive encryption
I know nothing about firewalls and encryption.
Hello @Matthew Wai,
I have searched high and low for a Batch Script of yours that was something likeCollect_Logs_From_Event_Viewer.bat
that placed the Folder on the Desktop but wasNOT
Zipped
, but I just can't find it.
Have you got a copy please?
Thanks.
Hello @Matthew Wai,
No, that creates aZipped Folder
on the Desktop, I want the one that doesNOT
create aZipped Folder
on the Desktop. Did you read my post?
See whether the following one does not zip the files.
Post problem reports here for Batch files for use in BSOD debugging
Hello @Matthew Wai
Yes, thanks for that, it is appreciated. I have tweaked it a little bit to run from a Batch Script, Copy the Folder to the Desktop, etc, etc.
I also added >$Host.UI.RawUI.BufferSize = New-Object Management.Automation.Host.Size(1000,10000)
so that I could view the WHOLE of theCMD Prompt
Output.
Last edited by Paul Black; 16 Dec 2021 at 15:11.
Hello @Matthew Wai,
Just a quick question that I think you will be able to answer.
How can I change the PowerShell Code to Output theLOGS
Folder to theDesktop
instead of$tempDir\LOGS
[ Temp Directory ] please? I have tried replacing$tempDir\LOGS
with$UserPath\LOGS
, after setting$UserPath = "$($env:USERPROFILE)\Desktop"
, which only partly works.
I think the problem is the$global:tempDir = [System.IO.Path]::GetTempPath()
part which I can't seem to get right.
Thanks.