Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2009-06-27 18:12:47
Size: 848
Editor: SamatJain
Comment:
Revision 10 as of 2020-06-03 07:12:01
Size: 2140
Editor: SamatJain
Comment: Clink
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<TableOfContents>>

== Apps to look at… ==

[[https://chocolatey.org/|Chocolatey]]: CLI package manager for Windows. [[http://boxstarter.org/|Boxstarter]], based on Chocolately, helps setup Windows on new systems.

[[https://github.com/cmderdev/cmder|Cmder]]: Console emulator (i.e. alternative to cmd.exe) that doesn't suck
Line 7: Line 15:
Line 9: Line 18:
=== Recursive directory removal === === Active Directory ===
{{{
# Force Group Policy Object update on a client machine:
gpupdate
}}}

=== File management ===
Line 12: Line 27:
# Recursive directory removal
Line 13: 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 15: Line 35:
=== Removing desktop.ini files from a directory structure === === Power ===
Line 18: 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 28: Line 48:
=== CLI ===

[[https://mridgers.github.io/clink/|Clink]]: GNU Readline for cmd.exe. Extendable via a Lua API.

== Evil ==

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

== Stuff ==

[[https://superuser.com/questions/1103675/update-linux-subsystem-on-windows-ubuntu-to-16-04|Upgrading WSL to Ubuntu 16.04]]: Tips on upgrading Windows for Linux (WSL) to Ubuntu 16.04.

[[https://www.reddit.com/r/docker/comments/5eggwo/running_docker_on_windows_subsystem_for_linux_wsl/|Running Docker inside WSL via Docker for Windows]]: Setup Docker userspace inside Windows for Linux (WSL), connect to Docker for Windows running outside of WSL. Let's you interact w/ Docker inside Linux userspace, while on Windows.
Line 29: Line 63:
CategoryCheetSheet CategoryCheatSheet

Apps to look at…

Chocolatey: CLI package manager for Windows. Boxstarter, based on Chocolately, helps setup Windows on new systems.

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.

CLI

Clink: GNU Readline for cmd.exe. Extendable via a Lua API.

Evil

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

Stuff

Upgrading WSL to Ubuntu 16.04: Tips on upgrading Windows for Linux (WSL) to Ubuntu 16.04.

Running Docker inside WSL via Docker for Windows: Setup Docker userspace inside Windows for Linux (WSL), connect to Docker for Windows running outside of WSL. Let's you interact w/ Docker inside Linux userspace, while on Windows.


CategoryCheatSheet

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