Difference between revisions of "Windows Command Line"

From MyWiki
Jump to: navigation, search
 
Line 19: Line 19:
 
Double-click the "Turn off Windows Defender" option, select "Enabled", and apply.
 
Double-click the "Turn off Windows Defender" option, select "Enabled", and apply.
 
</source>
 
</source>
 +
[[ Changing the default route in Windows ]]<br>

Latest revision as of 08:44, 27 March 2017

net use \\192.168.34.1\c$
start \\192.168.34.2\c$
check disk space on windows
http://serverfault.com/questions/102745/setting-low-disk-space-alerts-on-windows-server-2008 - disk space alerts

Get-Content ForEach-Object { $; Get-WMIObject –computername $ Win32_LogicalDisk -filter "DriveType=3" | ForEach-Object { $.DeviceID; $.FreeSpace/1GB } }

Turn windows defender off

gpedit
 
If you have Group Policy Editor available (I think Windows 10 always does, but for example under Windows 8 you must have either "Pro" or "Enterprise"), you can open gpedit.msc, and navigate to
 
Computer Configuration  
->Administrative Templates
 ->Windows Components
  ->Windows Defender`
Double-click the "Turn off Windows Defender" option, select "Enabled", and apply.

Changing the default route in Windows