Get-MessageTrackingLog -Sender SENDER@gmail.com -Start "01/01/19 04:00:00" -End "02/12/13 23:59:59" -Recipient "TheMole@BadGuyCompany.com" -resultsize unlimited | select sender, {$_.Recipients}, timestamp, messagesubject, totalbytes | export-csv c:\exported.csv
Remove either -Sender or -Recipient, or modify them when necessary
Friday, May 10, 2019
Monday, May 6, 2019
WIndows 10 1809, add netfx3 to WIM, also SMB1
Add NetFX3 and SMB1 to your WIM directly.
Mount the WIM with the correct index
dism /mount-image /imagefile:e:\temp\install.wim /index:3 /MountDir:e:\temp\mount
Add NetFX3
DISM /Image:e:\temp\mount /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:e:\temp\sxs
Enable SMB1
DISM /Image:e:\temp\mount /Enable-Feature /FeatureName:"SMB1Protocol" -All
Unmount and Commit the changes
dism /unmount-wim /mountdir:e:\temp\mount /commit
Mount the WIM with the correct index
dism /mount-image /imagefile:e:\temp\install.wim /index:3 /MountDir:e:\temp\mount
Add NetFX3
DISM /Image:e:\temp\mount /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:e:\temp\sxs
Enable SMB1
DISM /Image:e:\temp\mount /Enable-Feature /FeatureName:"SMB1Protocol" -All
Unmount and Commit the changes
dism /unmount-wim /mountdir:e:\temp\mount /commit
Friday, May 3, 2019
Windows 10 remove apps from WIM file
To find the index of the version of Windows in the install.wim file.
Open an elevated command prompt and run,
dism /Get-WimInfo /WimFile:X:\sources\install.wim
Will need Windows 10 ADK installed.
Script for removing built-in apps from the wim file,
https://gallery.technet.microsoft.com/Removing-Built-in-apps-65dc387b
Open an elevated command prompt and run,
dism /Get-WimInfo /WimFile:X:\sources\install.wim
Will need Windows 10 ADK installed.
Script for removing built-in apps from the wim file,
https://gallery.technet.microsoft.com/Removing-Built-in-apps-65dc387b
Thursday, April 25, 2019
Unable to restore due to long filenames
1. Right click on the folder you're trying to restore from shadow copy and chose Previous Versions. Chose a date and click on Open.
2. Right click on any file or folder within the previous folder and chose Properties. On the General tab copy what's shown in 'location',
e.g.: \\localhost\E$\@GMT-2019.04.20-06.00.04\_Data
3. Open cmd.exe and type in:
subst X: \\localhost\E$\@GMT-2019.04.20-06.00.04\_Data
4. Open PowerShell and use robocopy to copy content of X: e.g.:
robocopy Z: E:\Folder\ /E /COPYALL
5. Check that all files have been copied.
6. When finished open a command prompt and type subst X: /D
2. Right click on any file or folder within the previous folder and chose Properties. On the General tab copy what's shown in 'location',
e.g.: \\localhost\E$\@GMT-2019.04.20-06.00.04\_Data
3. Open cmd.exe and type in:
subst X: \\localhost\E$\@GMT-2019.04.20-06.00.04\_Data
4. Open PowerShell and use robocopy to copy content of X: e.g.:
robocopy Z: E:\Folder\ /E /COPYALL
5. Check that all files have been copied.
6. When finished open a command prompt and type subst X: /D
Thursday, March 14, 2019
Sonicwall Global VPN Client & Windows 10 wifi bug
Sonicwall Global VPN Client & Windows 10 bug
With the GVC running, connected or not, the wifi speed is reduced, often to less than 1MB making it almost unusable.
Solution / Workaround is to disable Receive Segment Coalescing (RSC) on the wifi adapter.
Automated fix from Microsoft available here, https://aka.ms/diag_cssemerg11005
Manual fix
Open an Administrative Command PromptGet the network adapter name, powershell Get-NetAdapter
Get the network adapter's RSC setting, powershell Get-NetAdapterRsc
Disable RSC for the adapter, powershell Disable-NetAdapterRsc -Name ADAPTER-NAME
Verify RSC is disabled, powershell Get-NetAdapterRsc
Subscribe to:
Comments (Atom)