Commit Graph

47 Commits

Author SHA1 Message Date
Boris Verkhovskiy
3e687f1a8c Remove leading and trailing empty lines in code blocks 2024-04-06 08:33:50 -07:00
Boris Verkhovskiy
4f9542879f
Merge pull request #4510 from Charliecoolblue/patch-1
[powershell/en] correct examples for arrays
2024-04-04 08:40:31 -07:00
Boris Verkhovskiy
ae7197c6a6 [powershell/*] fix syntax highlighting 2024-04-03 04:14:45 -07:00
Michaël Peeters
d123cd4a5c
[powershell/en] Fix and clarify -eq operator on (some) objects (#4333) 2024-02-25 23:36:47 +01:00
Tomasz Wojdat
6c46b911f2
Fix typo 2023-11-01 21:28:26 +01:00
Charliecoolblue
b5ab0b7928
[powershell/en] correct examples for arrays
Fixed incorrect examples for arrays.
Added information for tuple
Fixed wording for Hashtables
2022-10-04 17:15:08 +02:00
Kareem Zahre
968086a46f
Switch Jump-Location to ZLocation
Jump-Location is no longer maintained and ZLocation is the declared successor.
2022-08-16 18:33:22 +01:00
Andrew Ryan Davis
33cd1f57ef
Adjusting formatting
Indentation on function
2020-10-06 18:02:35 -07:00
Andrew Ryan Davis
ea11ea2444
Fixing formatting in published page
the markdown powershell checker didn't have a space before it
2020-08-20 12:40:18 -07:00
Andrew Ryan Davis
d221d56c60 Adjusting last items before land 2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
b46242c138 Final look-over and adjusting carriage returns
Reducing line length
Adjusting grammar
Fixing some inconsistencies in variables and properties
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
88f7de0db0 Final comments 2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
a1b13e3757 Moving Escape chars section to string section 2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
fc9b23f357 Adding in escape chars and more info on call operator with exe's
escape chars like newlines, tabs, negating affects
call operator and dot-sourcing for paths to exes with spaces in them and arguments passed.
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
c0a8574825 Fixing typo and some other formatting
Doubled input on 'pipeline'
spaces between commented sections
expand alias on where
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
ea49b693cc I don't think CI was happy about those header tags
Changing back to the way they were
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
eeaff3bc70 Adding changes discussed
1. Added info on scoping with dot sourcing, IEX, and call operator
2. Added comments about .NET class calling
3. Changed Get-EventLog to Get-WinEvent
4. Added info on Pipeline caveats related to passing bytes and speed
5. Added in a couple more pipeline examples to iteration and filtering

And some formatting changes
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
cf5b2a36e0 Adjusting truthy falsy section 2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
2e9734975e Removing duped entry 2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
e6a53387be Addressing comments
1. Clarifying '[]' and null-assigned expressions.
2. Removing "-contains" on switch example from Wouter, it does not appear to be true anymore
3. Adding comments and adjusting some func examples a bit
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
5c79b4288c Adjusting array section to be more accurate
The default array object is mutable, but is of a fixed length. Changing comments to better reflect that.
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
f67ae9b311 Addressing bitwise and/or
Mistakenly left "and/or", changed to "-band/-bor"
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
12c7b6cd59 Update powershell.html.markdown
Co-authored-by: 谭九鼎 <109224573@qq.com>
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
8df9aa061f Removing duped section
There was a duplicate section
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
11db56b81c Making some minor fixes
Adjusting some inconsistent names. 
Changing Remove-Array to Format-Array since Remove is not an approved Posh verb.
Adding Kevin Marquette's blog because it's awesome
Adding a simpler array reversal example
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
b30a88cd31 Revamping Powershell
Changing to reflect current capabilities and draw similarities to other languages in terms of capabilities
2020-08-20 12:30:32 -07:00
Andrew Ryan Davis
0f19d90383
Adding comment next to new link at bottom
It seems I didn't add the details of the link initially.
2020-05-17 00:18:21 -07:00
Andrew Ryan Davis
6151e30b6b
[powershell/en] Adding some things I find useful 2020-05-16 19:26:29 -07:00
谭九鼎
aa35d1c5f3
Update powershell.html.markdown 2020-01-12 16:44:21 +08:00
谭九鼎
2d39fed244
[powershell/en] Update url 2020-01-12 16:43:09 +08:00
dee-see
8847563b08 Fix typo in powershell page 2019-02-02 20:41:28 -05:00
Renze Yu
d7cd776eee
add list syntax example in for powershell 2018-11-08 10:48:33 +08:00
Adam Bard
67e2ff0162 Try a backslash to fix formatting 2017-09-12 22:00:31 -07:00
Samantha McVey
152fddbd92
Fix backtick that was messing up syntax highlighting on powershell. 2016-11-23 09:43:37 -08:00
derek-austin
c518beae09 Add syntax highlight (#2581)
Only the first chunk of code was highlighted
2016-11-22 03:45:45 -08:00
Amru Eliwat
8e51d5b5c2 Fixed a few spelling errors 2016-10-30 22:51:19 -04:00
ven
c55799610d Partial fix for #2498 2016-10-23 14:22:45 +02:00
Laoujin
e4e737c371 [PowerShell/en]: fixed typos/layout. Added some extra aliases/info. 2016-01-08 19:52:33 +01:00
Adam Bard
e47099866b Fix formatting. 2016-01-06 03:17:33 +08:00
Laoujin
e9b3854e16 Merge branch 'master' of https://github.com/Laoujin/learnxinyminutes-docs 2015-11-28 19:44:54 +01:00
Laoujin
90a7e8ac49 [PowerShell/en] Markdown ```powershell didn't render properly 2015-11-28 19:44:24 +01:00
Wouter Van Schandevijl
276390e458 [Powershell/en] Deleted a left-over from the bash turorial 2015-11-27 05:44:22 +01:00
Laoujin
3cbcf0e983 [PowerShell/en] More usefull snippets and interesting projects 2015-11-27 04:05:53 +01:00
Laoujin
0b7c612c3e [PowerShell/en] IO, Interesting Projects, Not Covered, Exception Handling, UseFull stuff, max line 80. 2015-11-27 03:49:34 +01:00
Laoujin
bc47915c8f [PowerShell/en] control-flow, pipeline, getting help 2015-11-27 02:37:30 +01:00
Laoujin
4d44e241d7 [PowerShell/en] execution-policy, builtin variables, configure your shell 2015-11-27 01:07:45 +01:00
Laoujin
083eb1c4a5 [PowerShell/en] intro 2015-11-27 00:19:06 +01:00