Skip to content

Instantly share code, notes, and snippets.

@SleepyLctl
Created July 11, 2018 09:32
Show Gist options
  • Save SleepyLctl/421c36c42a9a78ebdc939c77ca0532ed to your computer and use it in GitHub Desktop.
Save SleepyLctl/421c36c42a9a78ebdc939c77ca0532ed to your computer and use it in GitHub Desktop.
PowerShell Basics - Century
century.underthewire.tech:6009
1. Version of Powershell Build = 10.0.14409.1012
$PSVersionTable
2. Download a file = invoke-webrequest80
Invoke-WebRequest
3. Number of files on the desktop.
Get-ChildItem ..\desktop\ | Measure-Object
4. Name of the file within a directory on the desktop that has spaces in its name.
Get-ChildItem ..\desktop\ -Recurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment