Windows Command Line

From MyWiki
Revision as of 17:24, 31 May 2016 by George2 (Talk | contribs)

Jump to: navigation, search

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 } }