Differences between revisions 4 and 7 (spanning 3 versions)
Revision 4 as of 2009-12-17 22:24:49
Size: 976
Editor: SamatJain
Comment:
Revision 7 as of 2017-05-26 20:38:49
Size: 1390
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

== Apps to look at… ==

[[https://chocolatey.org/|Chocolatey]]: CLI package manager for Windows.

[[https://github.com/cmderdev/cmder|Cmder]]: Console emulator (i.e. alternative to cmd.exe) that doesn't suck
Line 9: Line 15:
== Active Directory ==
Line 11: Line 16:
Force Group Policy Object update on a client machine: == Commands ==
Line 13: Line 18:
=== Active Directory ===
Line 14: Line 20:
# Force Group Policy Object update on a client machine:
Line 17: Line 24:
== Commands ==

=== Recursive directory removal ===
=== File management ===
Line 22: Line 27:
# Recursive directory removal
Line 23: Line 29:

# Remove desktop.ini files from a directory structure
FOR /f %G in ('dir /b') do attrib %G\desktop.ini -h -s
FOR /f %G in ('dir /b') do del %G\desktop.ini
Line 25: Line 35:
=== Removing desktop.ini files from a directory structure === === Power ===
Line 28: Line 38:
FOR /f %G in ('dir /b') do attrib %G\desktop.ini -h -s
FOR /f %G in ('dir /b') do del %G\desktop.ini
# Display an energy efficiency report (Windows 7)
powercfg /energy
Line 38: Line 48:
== Evil ==

https://gist.github.com/ryancdotorg/9f557d3513710ce91aed: FAT32 file fragmenter.

Apps to look at…

Chocolatey: CLI package manager for Windows.

Cmder: Console emulator (i.e. alternative to cmd.exe) that doesn't suck

Installation

Selecting different HAL during installation

A different HAL (e.g. Standard HAL instead of ACPI HAL) can be chosen on installation by hitting F5 during the Press F6 if you need to install a third party SCSI or RAID driver message.

Commands

Active Directory

# Force Group Policy Object update on a client machine:
gpupdate

File management

# Recursive directory removal
rmdir /s /q [directory]

# Remove desktop.ini files from a directory structure
FOR /f %G in ('dir /b') do attrib %G\desktop.ini -h -s
FOR /f %G in ('dir /b') do del %G\desktop.ini

Power

# Display an energy efficiency report (Windows 7)
powercfg /energy

Shortcuts

Run application with administrative privileges

Ctrl+Shift+Enter when clicking on a shortcut will launch an application with administrative privileges. Works on Windows Vista and above. Usually brings up a User Account Protection (UAP) dialog.

Evil

https://gist.github.com/ryancdotorg/9f557d3513710ce91aed: FAT32 file fragmenter.


CategoryCheatSheet

SamatsWiki: CheatSheet/MicrosoftWindows (last edited 2020-06-03 07:12:01 by SamatJain)