NB
df672de696
Add alias for Service 'StartType' ( #9940 )
2019-07-12 12:48:20 -07:00
PRASOON KARUNAN V
ffb1549aa9
Add -SecurityDescriptorSddl parameter to Set-Service ( #8626 )
2019-07-11 13:23:57 -07:00
Ilya
dd7e45fe2e
Code cleanup: use IndexOf(char) overload ( #9722 )
...
- Use IndexOf(char) overload instead of IndexOf(string) to benefit from Ordinal search
- Replace IndexOf with Contains to get more understandable code
- Use StringComparison.Ordinal for ASCII chars
2019-06-26 11:02:07 +05:00
Ilya
74c87ab20b
Cleanup: Use EndsWith(char) and StartsWith(char) ( #9994 )
2019-06-25 11:02:31 -07:00
Ilya
e3d8131390
Remove LCIDToLocaleName P/Invoke from GetComputerInfoCommand ( #9716 )
...
- Remove LCIDToLocaleName P/Invoke with StringBuilder
- Reduce allocations by using GetCultureInfo to get cached CultureInfo
- Use UInt32.TryParse to parse Hex
- Minor cleanups after above changes
2019-06-25 08:22:00 +05:00
Reece Dunham
c0fd96fe4b
Remove EtwActivity empty constructor and make minor style fixes ( #9958 )
2019-06-21 17:21:06 +05:00
Ilya
7e423e7451
Fix minor style issues come from last commits ( #9640 )
2019-06-07 08:35:33 +05:00
Ilya
83708a4242
Use new string.ConCat() in Process.cs ( #9720 )
2019-06-01 23:51:25 +05:00
Steve Lee
a96b4c0404
Update use of "PowerShell Core" to just "PowerShell" ( #9513 )
2019-05-10 15:34:27 -07:00
Ilya
bd6fdae735
Cleanup: sort usings ( #9490 )
2019-04-30 10:25:11 +05:00
Ilya
4a323b3668
Run CodeFormatter for Microsoft.PowerShell.Commands.Management ( #9377 )
2019-04-18 08:08:56 +05:00
Staffan Gustafsson
4ec36a0d4a
Fixing progress for Get-ComputerInfo ( #9236 )
2019-04-04 16:15:43 -07:00
Ilya
7dc17a35a9
Enhance the P/Invoke code for LookupAccountSid in Process.cs ( #9197 )
2019-03-26 21:11:25 -07:00
Ilya
a47c1b3113
Minor cleanups in Process.cs ( #9195 )
...
* Use string.Join
* Use char const
2019-03-23 09:46:33 +05:00
Aditya Patwardhan
0fe9af4856
Fix Restart-Computer to work on localhost when WinRM is not present ( #9160 )
2019-03-19 14:18:29 -07:00
Ilya
759c4abde8
Use Type.EmptyTypes and Array.Empty<T>() to replace our custom code of the same functionality ( #9042 )
2019-03-09 17:53:31 -08:00
Muhammed Imran
6f6b7983b0
Suggest "-Id pid" for "Get-Process pid" ( #8959 )
2019-03-01 17:01:52 +05:00
Ilya
11ae24fcad
Cleanup dllimport ( #8847 )
2019-02-27 08:33:46 +05:00
Ilya
ff3edaa2e3
Fix lgtm issues ( #8843 )
...
Add some null checks
Remove unused code
2019-02-13 16:51:05 +05:00
Joel Sallow (/u/ta11ow)
db1b309800
Correctly Report impact level when SupportsShouldProcess is not set to 'true' ( #8209 )
...
Major changes are:
- Make all commands return 'ConfirmImpact.None' if `SupportsShouldProcess` is not set to `true`.
- Update some cmdlets to explicitly use `ConfirmImpact.Low`.
- Update `DefaultCommands.Tests.ps1` to test for 'ConfirmImpact' level.
2019-01-26 03:12:00 -08:00
xtqqczze
863528881f
Use https in URLs where available ( #8622 )
...
Use https in URLS across the repository where the domain serves content by https.
2019-01-24 12:50:11 -08:00
Ilya
d80154430d
Style: Change first char to upper in summary comments ( #8597 )
2019-01-09 13:07:40 -08:00
Ilya
f95dae55f7
Style: Use the type aliases 'char' and 'bool' instead of 'Char' and 'Boolean' ( #8572 )
2019-01-07 11:40:07 -08:00
Ilya
b8f9532b41
Style: Use the type alias 'string' instead of 'String' in places that are appropriate ( #8573 )
2019-01-07 10:46:00 -08:00
Ilya
233b54ed65
Style: Add a space after "//" in comments and remove unneeded comments after "}" ( #8576 )
2019-01-05 17:51:20 -08:00
Ilya
1be3f4cc0e
Style: Add the ending period to the XML document texts ( #8577 )
2019-01-05 15:40:24 -08:00
Ilya
dfd2f69369
Style: Change 'String.' to 'string.' ( #8568 )
2018-12-31 20:44:16 +05:00
Ilya
56569b9315
Style: Replace String.IsNullOrEmpty with string.IsNullOrEmpty ( #8557 )
2018-12-31 15:10:15 +05:00
Ilya
7207db6360
Style: Convert to upper first char in <param> and <exception> doc tags ( #8556 )
2018-12-29 08:25:49 +05:00
Ilya
479fc64aff
Style: Add period before </param> and </exception> doc tags ( #8553 )
2018-12-28 16:39:06 +05:00
Ilya
767c13fca1
Style: Remove extra spaces after <para> and before </para> docs tags ( #8547 )
2018-12-28 11:05:14 +05:00
xtqqczze
b850d57c78
Style: Remove preceding spaces from C# preprocessor-type keywords ( #8540 )
2018-12-26 11:59:10 +05:00
Ilya
871ce5696d
Style: Add period before returns doc tag ( #8535 )
...
- add period before "</returns>" doc tag
- remove extra space before "</returns>" doc tag
- convert first char after "<returns>" doc tag to upper case
2018-12-25 21:43:03 +05:00
Ilya
1ae1594bd9
Style: Change 'Object[]' to 'object[]' ( #8526 )
2018-12-24 12:32:38 +05:00
Ilya
42ba9d22ce
Style: Change 'Object' to 'object' ( #8522 )
2018-12-24 12:01:44 +05:00
Ilya
d0bbfe6279
Style: Change UInt64? to ulong? ( #8527 )
...
* Style: Change UInt64? to ulong?
* Style: Change UInt32? to uint?
* Style: Change UInt16? to ushort?
2018-12-24 11:27:47 +05:00
Steve Lee
4af3068566
Code cleanup: Add space after closing brace where needed ( #8530 )
...
* Update TestService
* Update WebListener
* Update Controllers
* Update ExpTest
* Update MyApp
* Update Logic
* Update Logic
* Update MyApp
* Update Microsoft.Management.Infrastructure.CimCmdlets
* Update Microsoft.PowerShell.Commands.Diagnostics
* Update Microsoft.PowerShell.ScheduledJob
* Update Microsoft.WSMan.Management
* Update Microsoft.WSMan.Runtime
* Update ResGen
* Update TypeCatalogGen
* Update commands
* Update Eventing
* Update Reader
* Update utility
* Update ShowCommand
* Update trace
* Update WebCmdlet
* Update Common
* Update CoreCLR
* Update common
* Update format-object
* Update format-wide
* Update out-file
* Update out-printer
* Update out-string
* Update OutGridView
* Update LocalAccounts
* Update Commands
* Update security
* Update CoreCLR
* Update DscSupport
* Update engine
* Update help
* Update logging
* Update namespaces
* Update security
* Update utils
* Update config
* Update perfCounters
* Update tracing
* Update cmdletization
* Update other
* Update cim
* Update xml
* Update CoreCLR
* Update common
* Update DefaultFormatters
* Update out-console
* Update out-textInterface
* Update DisplayDatabase
* Update Utilities
* Update COM
* Update ComInterop
* Update CommandCompletion
* Update debugger
* Update ExperimentalFeature
* Update hostifaces
* Update interpreter
* Update lang
* Update Modules
* Update parser
* Update runtime
* Update client
* Update commands
* Update common
* Update fanin
* Update server
* Update WireDataFormat
* Update Binding
* Update Operations
* Update interface
* Update cmdletization
* Update cim
* Update management
* Update WindowsTaskbarJumpList
* Update msh
2018-12-24 11:20:06 +05:00
Dongbo Wang
8d27eb44b1
Style: Remove extra space before colon in named parameters ( #8504 )
2018-12-21 10:26:34 -08:00
Dongbo Wang
56ad1d3a65
Style: Use the shorthand of the nullable type ( #8501 )
2018-12-21 10:07:01 -08:00
Meir Blachman
b7b386d209
Remove comments after closing brackets ( #8344 )
2018-12-08 21:53:30 +05:00
PRASOON KARUNAN V
6e523f21eb
Fix for PSDrive creation with a UNC path with a trailing backslash or forward slash when combined with -Persist ( #8305 )
2018-11-30 08:49:22 +05:00
Luke Jeremy
0cc1f06be4
Remove Persist parameter from New-PSDrive on non-Windows platform ( #8291 )
2018-11-29 19:02:08 +05:00
Meir Blachman
58bbfe8396
Fix GetLocationCommand output type parameter set and style issues ( #8324 )
2018-11-27 08:59:34 +05:00
Joel Sallow (/u/ta11ow)
775552c0f5
Test-Path: Return $false when given an empty or $null -Path/-LiteralPath value ( #8080 )
2018-11-21 10:08:31 +05:00
kwkam
caad7ed471
Fix Rename-Item -Path with wildcard char ( #7398 )
2018-11-09 11:08:26 -08:00
Steve Lee
9141b11c5e
Enable Set-Location -LiteralPath to work with folders named "-" and "+" ( #8089 )
2018-10-24 09:37:59 +05:00
Ilya
0a4f33a872
Replace StringComparision.CurrentCulture with StringComparision.Ordinal ( #8068 )
2018-10-21 16:11:08 +05:00
Vijayakrishna Pondala
97bcd8c88e
Remove unused commented out code ( #7935 )
2018-10-04 15:17:38 +05:00
Sergey Vasin
2291a898c3
Add 'TimeToLive' and 'Hops' aliases to MaxHops parameter of Test-Connection cmdlet. ( #7850 )
...
Add the following aliases to MaxHops parameter of Test-Connection cmdlet:
- TimeToLive
It is the similar parameter's name from Windows PowerShell Test-Connection cmdlet .
- Hops
Similar parameter's name from Test-NetConnection cmdlet.
2018-09-27 15:59:10 +05:00
zhenggu
358e8abefe
Fix Set-Service -Status Stopped to stop services with dependencies ( #5525 )
2018-08-28 11:03:12 -07:00