From ef494a0ba9eba0361520718b1b7f997bf9833ec9 Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Fri, 18 Aug 2017 19:13:11 -0700 Subject: [PATCH 001/120] Add launch.json file --- .vscode/launch.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..9beb418df --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,30 @@ +{ + "version": "0.2.0", + "configurations": [ + + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceRoot}/bin/Debug//", + "args": [], + "cwd": "${workspaceRoot}", + "externalConsole": false, + "stopAtEntry": false, + "internalConsoleOptions": "openOnSessionStart" + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach", + "processId": "${command:pickProcess}" + }, + { + "name": ".NET Full Attach", + "type": "clr", + "request": "attach", + "processId": "${command:pickProcess}" + } + ] +} From 14121d12962562f26ce35a59624c91f6eac05b32 Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Sat, 19 Aug 2017 10:41:42 -0700 Subject: [PATCH 002/120] Fix range validation in TextEdit.ApplyEdit Prior to the fix, any text editing action that tried to append text at the end of a line, would throw. --- Engine/EditableText.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/EditableText.cs b/Engine/EditableText.cs index 93f78d66a..5d77862d2 100644 --- a/Engine/EditableText.cs +++ b/Engine/EditableText.cs @@ -126,7 +126,7 @@ public bool IsValidRange(Range range) return range.Start.Line <= Lines.Count && range.End.Line <= Lines.Count - && range.Start.Column <= Lines[range.Start.Line - 1].Length + && range.Start.Column <= Lines[range.Start.Line - 1].Length + 1 && range.End.Column <= Lines[range.End.Line - 1].Length + 1; } From 0637a36ae88b50a010453245a6a3448a4c9c6baf Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Sat, 19 Aug 2017 10:43:59 -0700 Subject: [PATCH 003/120] Ignore no whitespace if new line after binary operator --- Rules/UseConsistentWhitespace.cs | 3 ++- Tests/Rules/UseConsistentWhitespace.tests.ps1 | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Rules/UseConsistentWhitespace.cs b/Rules/UseConsistentWhitespace.cs index 9975036fb..f7d8d2024 100644 --- a/Rules/UseConsistentWhitespace.cs +++ b/Rules/UseConsistentWhitespace.cs @@ -315,7 +315,8 @@ private IEnumerable FindOperatorViolations(TokenOperations tok } var hasWhitespaceBefore = IsPreviousTokenOnSameLineAndApartByWhitespace(tokenNode); - var hasWhitespaceAfter = IsPreviousTokenOnSameLineAndApartByWhitespace(tokenNode.Next); + var hasWhitespaceAfter = tokenNode.Next.Value.Kind == TokenKind.NewLine + || IsPreviousTokenOnSameLineAndApartByWhitespace(tokenNode.Next); if (!hasWhitespaceAfter || !hasWhitespaceBefore) { diff --git a/Tests/Rules/UseConsistentWhitespace.tests.ps1 b/Tests/Rules/UseConsistentWhitespace.tests.ps1 index 7be2675d7..b80a0f947 100644 --- a/Tests/Rules/UseConsistentWhitespace.tests.ps1 +++ b/Tests/Rules/UseConsistentWhitespace.tests.ps1 @@ -173,6 +173,15 @@ $x = 1 '@ Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null } + + It "Should not find violation if a binary operator is followed by new line" { + $def = @' +$x = $true -and + $false +'@ + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + } + } Context "When a comma is not followed by a space" { From 77ff6140a78c4e984c2a6d0846ed7ed001598624 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 30 Aug 2017 22:53:47 +0100 Subject: [PATCH 004/120] Add AutoFix switch parameter for 'File' parameter set, which uses the SuggestedCorrectionExtent information as a correction. It uses UTF8 to read/write the file for avoiding problems with special characters such as the copyright symbol in psd1 files but this probably needs to be enhanced to preserver the encoding of the original file. This is a a minimum (and hopefully) viable implementation of issue 802. It works for most files of the PowerShell repo but throws a 'EditableTextInvalidLineEnding' error for one file (this seems to be an issue with existing code that fixes EditableText) --- Engine/Commands/InvokeScriptAnalyzerCommand.cs | 13 ++++++++++++- Engine/ScriptAnalyzer.cs | 11 ++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index ad25c5e0e..7aebc2e18 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -180,6 +180,17 @@ public SwitchParameter SuppressedOnly } private bool suppressedOnly; + /// + /// Resolves rule violations automatically where possible. + /// + [Parameter(Mandatory = false, ParameterSetName = "File")] + public SwitchParameter AutoFix + { + get { return autoFix; } + set { autoFix = value; } + } + private bool autoFix; + /// /// Returns path to the file that contains user profile or hash table for ScriptAnalyzer /// @@ -377,7 +388,7 @@ private void ProcessInput() { foreach (var p in processedPaths) { - diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.recurse); + diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.recurse, this.autoFix); WriteToOutput(diagnosticsList); } } diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index 5c3a6ec03..b61e90c4a 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -31,6 +31,7 @@ using System.Collections.ObjectModel; using System.Collections; using System.Diagnostics; +using System.Text; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { @@ -1451,11 +1452,12 @@ public Dictionary> CheckRuleExtension(string[] path, PathIn /// /// The path of the file or directory to analyze. /// + /// /// If true, recursively searches the given file path and analyzes any /// script files that are found. /// /// An enumeration of DiagnosticRecords that were found by rules. - public IEnumerable AnalyzePath(string path, bool searchRecursively = false) + public IEnumerable AnalyzePath(string path, bool searchRecursively = false, bool autoFix = false) { List scriptFilePaths = new List(); @@ -1475,6 +1477,13 @@ public IEnumerable AnalyzePath(string path, bool searchRecursi this.BuildScriptPathList(path, searchRecursively, scriptFilePaths); foreach (string scriptFilePath in scriptFilePaths) { + if (autoFix) + { + var scriptFileContentWithAutoFixes = Fix(File.ReadAllText(scriptFilePath)); + // Use UTF8 when writing to avoid issues with special characters such as e.g. the copyright symbol in *.psd1 files. This could be improved to detect the encoding in order to preserve it. + File.WriteAllText(scriptFilePath, scriptFileContentWithAutoFixes, Encoding.UTF8); + } + // Yield each record in the result so that the // caller can pull them one at a time foreach (var diagnosticRecord in this.AnalyzeFile(scriptFilePath)) From 08896dabc29931444953844868d47c998ad902eb Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Fri, 1 Sep 2017 10:27:13 -0700 Subject: [PATCH 005/120] Update changelog --- CHANGELOG.MD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index d6c440e18..2cbe8d9c5 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,8 @@ -## [1.16.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.16.0) - 2017-08-15 +## [1.16.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.16.1) - 2017-09-01 +### Fixed +- (#815) Formatter crashes due to invalid extent comparisons + +## [1.16.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.16.0) - 2017-08-15 ### Added - (#803) `CustomRulePath`, `RecurseCustomRulePath` and `IncludeDefaultRules` parameters to settings file. From 0f09ec457ca7da22b88525e08915649892eb256f Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Fri, 1 Sep 2017 10:28:42 -0700 Subject: [PATCH 006/120] Update module manifest --- Engine/PSScriptAnalyzer.psd1 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Engine/PSScriptAnalyzer.psd1 b/Engine/PSScriptAnalyzer.psd1 index 4a24c8c92..75554ffe4 100644 --- a/Engine/PSScriptAnalyzer.psd1 +++ b/Engine/PSScriptAnalyzer.psd1 @@ -11,7 +11,7 @@ Author = 'Microsoft Corporation' RootModule = 'PSScriptAnalyzer.psm1' # Version number of this module. -ModuleVersion = '1.16.0' +ModuleVersion = '1.16.1' # ID used to uniquely identify this module GUID = 'd6245802-193d-4068-a631-8863a4342a18' @@ -87,12 +87,8 @@ PrivateData = @{ ProjectUri = 'https://github.com/PowerShell/PSScriptAnalyzer' IconUri = '' ReleaseNotes = @' -### Added -- (#803) `CustomRulePath`, `RecurseCustomRulePath` and `IncludeDefaultRules` parameters to settings file. - ### Fixed -- (#801) Reading DSC classes in `PSUseIdenticalMandatoryParametersForDSC` rule. -- (#796) `PSAvoidUsingWriteHost` rule documentation (Thanks @bergmeister!). +- (#815) Formatter crashes due to invalid extent comparisons '@ } } @@ -117,3 +113,4 @@ PrivateData = @{ + From e46e146caec908bdb971c131969c28f9e6ebf9ad Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Fri, 1 Sep 2017 10:28:59 -0700 Subject: [PATCH 007/120] Bump version to 1.16.1 --- Engine/project.json | 2 +- Rules/project.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Engine/project.json b/Engine/project.json index f60424aea..620ade237 100644 --- a/Engine/project.json +++ b/Engine/project.json @@ -1,6 +1,6 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer", - "version": "1.16.0", + "version": "1.16.1", "dependencies": { "System.Management.Automation": "6.0.0-alpha13" }, diff --git a/Rules/project.json b/Rules/project.json index 5a33b4acb..6a37f6f04 100644 --- a/Rules/project.json +++ b/Rules/project.json @@ -1,9 +1,9 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules", - "version": "1.16.0", + "version": "1.16.1", "dependencies": { "System.Management.Automation": "6.0.0-alpha13", - "Engine": "1.16.0", + "Engine": "1.16.1", "Newtonsoft.Json": "9.0.1" }, From ef75719c744d8edbbe5e68445138e2cbd31b3cee Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 12 Sep 2017 23:22:37 +0100 Subject: [PATCH 008/120] PR 817: Name switch 'Fix' and preserver Encoding of the file. However in the case of UTF8, a BOM will get added. Update help markdown to fix help related tests. --- .../Commands/InvokeScriptAnalyzerCommand.cs | 10 ++++---- Engine/ScriptAnalyzer.cs | 24 ++++++++++++++----- docs/markdown/Invoke-ScriptAnalyzer.md | 18 +++++++++++++- 3 files changed, 40 insertions(+), 12 deletions(-) diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index 7aebc2e18..a393fa1a7 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -184,12 +184,12 @@ public SwitchParameter SuppressedOnly /// Resolves rule violations automatically where possible. /// [Parameter(Mandatory = false, ParameterSetName = "File")] - public SwitchParameter AutoFix + public SwitchParameter Fix { - get { return autoFix; } - set { autoFix = value; } + get { return fix; } + set { fix = value; } } - private bool autoFix; + private bool fix; /// /// Returns path to the file that contains user profile or hash table for ScriptAnalyzer @@ -388,7 +388,7 @@ private void ProcessInput() { foreach (var p in processedPaths) { - diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.recurse, this.autoFix); + diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.recurse, this.fix); WriteToOutput(diagnosticsList); } } diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index b61e90c4a..d768a9ba7 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1452,12 +1452,12 @@ public Dictionary> CheckRuleExtension(string[] path, PathIn /// /// The path of the file or directory to analyze. /// - /// + /// /// If true, recursively searches the given file path and analyzes any /// script files that are found. /// /// An enumeration of DiagnosticRecords that were found by rules. - public IEnumerable AnalyzePath(string path, bool searchRecursively = false, bool autoFix = false) + public IEnumerable AnalyzePath(string path, bool searchRecursively = false, bool fix = false) { List scriptFilePaths = new List(); @@ -1477,11 +1477,11 @@ public IEnumerable AnalyzePath(string path, bool searchRecursi this.BuildScriptPathList(path, searchRecursively, scriptFilePaths); foreach (string scriptFilePath in scriptFilePaths) { - if (autoFix) + if (fix) { - var scriptFileContentWithAutoFixes = Fix(File.ReadAllText(scriptFilePath)); - // Use UTF8 when writing to avoid issues with special characters such as e.g. the copyright symbol in *.psd1 files. This could be improved to detect the encoding in order to preserve it. - File.WriteAllText(scriptFilePath, scriptFileContentWithAutoFixes, Encoding.UTF8); + var fileEncoding = GetFileEncoding(scriptFilePath); fileEncoding.GetPreamble(); + var scriptFileContentWithFixes = Fix(File.ReadAllText(scriptFilePath, fileEncoding)); + File.WriteAllText(scriptFilePath, scriptFileContentWithFixes, fileEncoding); // although this preserves the encoding, it will add a BOM to UTF8 files } // Yield each record in the result so that the @@ -1622,6 +1622,18 @@ public EditableText Fix(EditableText text, Range range, out Range updatedRange) return text; } + private static Encoding GetFileEncoding(string path) + { + using (var stream = new FileStream(path, FileMode.Open)) + { + using (var reader = new StreamReader(stream, true)) + { + reader.ReadToEnd(); // needed in order to populate the CurrentEncoding property + return reader.CurrentEncoding; + } + } + } + private static Range SnapToEdges(EditableText text, Range range) { // todo add TextLines.Validate(range) and TextLines.Validate(position) diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index 17ce0526c..f67ecda99 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -12,7 +12,7 @@ Evaluates a script or module based on selected best practice rules ### UNNAMED_PARAMETER_SET_1 ``` Invoke-ScriptAnalyzer [-Path] [-CustomRulePath ] [-RecurseCustomRulePath] - [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] + [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-Fix] [-Settings ] ``` @@ -399,6 +399,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Fix +Certain warnings contain a suggested fix in their DiagnosticRecord and therefore those warnings will be fixed automatically using this fix. + +When you used Fix, Invoke-ScriptAnalyzer runs as usual but will apply the fixes before running the analysis. Please make sure that you have a backup of your files when using this switch. It tries to pre-server the file encoding but it is possible that a BOM gets added to the fixed files. + +```yaml +Type: SwitchParameter +Parameter Sets: UNNAMED_PARAMETER_SET_1 +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False + ### -Settings File path that contains user profile or hash table for ScriptAnalyzer From 24732eee51d0f41dfaf8d1cb16a63fe877dfe44e Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 12 Sep 2017 23:30:55 +0100 Subject: [PATCH 009/120] PR 817 Minor syntax fix for markdown file --- docs/markdown/Invoke-ScriptAnalyzer.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index f67ecda99..dfec97a6b 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -414,6 +414,7 @@ Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False +``` ### -Settings File path that contains user profile or hash table for ScriptAnalyzer From aeead84f300ac50c6da6a7effe2cf28905a38a8b Mon Sep 17 00:00:00 2001 From: Dave Wyatt Date: Thu, 28 Sep 2017 15:52:10 -0400 Subject: [PATCH 010/120] Add PSAvoidTrailingWhitespace rule --- Rules/AvoidTrailingWhitespace.cs | 159 ++++++++++++++++++ Rules/Strings.resx | 12 ++ Tests/Rules/AvoidTrailingWhitespace.tests.ps1 | 35 ++++ 3 files changed, 206 insertions(+) create mode 100644 Rules/AvoidTrailingWhitespace.cs create mode 100644 Tests/Rules/AvoidTrailingWhitespace.tests.ps1 diff --git a/Rules/AvoidTrailingWhitespace.cs b/Rules/AvoidTrailingWhitespace.cs new file mode 100644 index 000000000..f9fb86b68 --- /dev/null +++ b/Rules/AvoidTrailingWhitespace.cs @@ -0,0 +1,159 @@ +// Copyright (c) Microsoft Corporation. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +using System; +using System.Collections.Generic; +using System.Text.RegularExpressions; +#if !CORECLR +using System.ComponentModel.Composition; +#endif +using System.Globalization; +using System.Linq; +using System.Management.Automation.Language; +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules +{ + /// + /// A class to walk an AST to check for violation. + /// +#if !CORECLR + [Export(typeof(IScriptRule))] +#endif + public class AvoidTrailingWhitespace : IScriptRule + { + /// + /// Analyzes the given ast to find violations. + /// + /// AST to be analyzed. This should be non-null + /// Name of file that corresponds to the input AST. + /// A an enumerable type containing the violations + public IEnumerable AnalyzeScript(Ast ast, string fileName) + { + if (ast == null) + { + throw new ArgumentNullException("ast"); + } + + var diagnosticRecords = new List(); + + string[] lines = Regex.Split(ast.Extent.Text, @"\r?\n"); + + for (int lineNumber = 0; lineNumber < lines.Length; lineNumber++) + { + var line = lines[lineNumber]; + + var match = Regex.Match(line, @"\s+$"); + if (match.Success) + { + var startLine = lineNumber + 1; + var endLine = startLine; + var startColumn = match.Index + 1; + var endColumn = startColumn + match.Length; + + var violationExtent = new ScriptExtent( + new ScriptPosition( + ast.Extent.File, + startLine, + startColumn, + line + ), + new ScriptPosition( + ast.Extent.File, + endLine, + endColumn, + line + )); + + var suggestedCorrections = new List(); + suggestedCorrections.Add(new CorrectionExtent( + violationExtent, + string.Empty, + ast.Extent.File + )); + + diagnosticRecords.Add( + new DiagnosticRecord( + String.Format(CultureInfo.CurrentCulture, Strings.AvoidTrailingWhitespaceError), + violationExtent, + GetName(), + GetDiagnosticSeverity(), + ast.Extent.File, + null, + suggestedCorrections + )); + } + } + + return diagnosticRecords; + } + + /// + /// Retrieves the common name of this rule. + /// + public string GetCommonName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.AvoidTrailingWhitespaceCommonName); + } + + /// + /// Retrieves the description of this rule. + /// + public string GetDescription() + { + return string.Format(CultureInfo.CurrentCulture, Strings.AvoidTrailingWhitespaceDescription); + } + + /// + /// Retrieves the name of this rule. + /// + public string GetName() + { + return string.Format( + CultureInfo.CurrentCulture, + Strings.NameSpaceFormat, + GetSourceName(), + Strings.AvoidTrailingWhitespaceName); + } + + /// + /// Retrieves the severity of the rule: error, warning or information. + /// + public RuleSeverity GetSeverity() + { + return RuleSeverity.Information; + } + + /// + /// Gets the severity of the returned diagnostic record: error, warning, or information. + /// + /// + public DiagnosticSeverity GetDiagnosticSeverity() + { + return DiagnosticSeverity.Information; + } + + /// + /// Retrieves the name of the module/assembly the rule is from. + /// + public string GetSourceName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.SourceName); + } + + /// + /// Retrieves the type of the rule, Builtin, Managed or Module. + /// + public SourceType GetSourceType() + { + return SourceType.Builtin; + } + } +} diff --git a/Rules/Strings.resx b/Rules/Strings.resx index 66884bff7..7148ba8ea 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -870,6 +870,18 @@ AvoidGlobalAliases + + AvoidTrailingWhitespace + + + Avoid trailing whitespace + + + Each line should have no trailing whitespace. + + + Line has trailing whitespace + PlaceOpenBrace diff --git a/Tests/Rules/AvoidTrailingWhitespace.tests.ps1 b/Tests/Rules/AvoidTrailingWhitespace.tests.ps1 new file mode 100644 index 000000000..4d7126a49 --- /dev/null +++ b/Tests/Rules/AvoidTrailingWhitespace.tests.ps1 @@ -0,0 +1,35 @@ +$directory = Split-Path -Parent $MyInvocation.MyCommand.Path +$testRootDirectory = Split-Path -Parent $directory + +Import-Module PSScriptAnalyzer +Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") + +$ruleName = "PSAvoidTrailingWhitespace" + +$settings = @{ + IncludeRules = @($ruleName) +} + +Describe "AvoidTrailingWhitespace" { + $testCases = @( + @{ + Type = 'spaces' + Whitespace = ' ' + } + + @{ + Type = 'tabs' + Whitespace = "`t`t`t" + } + ) + + It 'Should find a violation when a line contains trailing ' -TestCases $testCases { + param ( + [string] $Whitespace + ) + + $def = "`$null = `$null$Whitespace" + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings + Test-CorrectionExtentFromContent $def $violations 1 $Whitespace '' + } +} From b457755216dff0f71d83b86264c52441dd840dc8 Mon Sep 17 00:00:00 2001 From: Dave Wyatt Date: Fri, 29 Sep 2017 10:43:25 -0400 Subject: [PATCH 011/120] Fix other tests that failed as a result of adding a new default rule --- Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 4 ++-- Tests/Rules/BadCmdlet.ps1 | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index 2ba99ecea..28980e462 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -61,7 +61,7 @@ Describe "Test Name parameters" { It "get Rules with no parameters supplied" { $defaultRules = Get-ScriptAnalyzerRule - $expectedNumRules = 51 + $expectedNumRules = 52 if ((Test-PSEditionCoreClr) -or (Test-PSVersionV3) -or (Test-PSVersionV4)) { # for PSv3 PSAvoidGlobalAliases is not shipped because @@ -159,7 +159,7 @@ Describe "TestSeverity" { It "filters rules based on multiple severity inputs"{ $rules = Get-ScriptAnalyzerRule -Severity Error,Information - $rules.Count | Should be 13 + $rules.Count | Should be 14 } It "takes lower case inputs" { diff --git a/Tests/Rules/BadCmdlet.ps1 b/Tests/Rules/BadCmdlet.ps1 index 2958a0778..40f1a05b9 100644 --- a/Tests/Rules/BadCmdlet.ps1 +++ b/Tests/Rules/BadCmdlet.ps1 @@ -1,7 +1,7 @@ function Verb-Files { - [CmdletBinding(DefaultParameterSetName='Parameter Set 1', - SupportsShouldProcess=$true, + [CmdletBinding(DefaultParameterSetName='Parameter Set 1', + SupportsShouldProcess=$true, PositionalBinding=$false, HelpUri = 'http://www.microsoft.com/', ConfirmImpact='Medium')] @@ -12,17 +12,17 @@ Param ( # Param1 help description - [Parameter(Mandatory=$true, + [Parameter(Mandatory=$true, ValueFromPipeline=$true, - ValueFromPipelineByPropertyName=$true, - ValueFromRemainingArguments=$false, + ValueFromPipelineByPropertyName=$true, + ValueFromRemainingArguments=$false, Position=0, ParameterSetName='Parameter Set 1')] [ValidateNotNull()] [ValidateNotNullOrEmpty()] [ValidateCount(0,5)] [ValidateSet("sun", "moon", "earth")] - [Alias("p1")] + [Alias("p1")] $Param1, # Param2 help description From 6512285c9d655875df8f6461965c8312ad7f1b9f Mon Sep 17 00:00:00 2001 From: Dave Wyatt Date: Fri, 29 Sep 2017 10:54:59 -0400 Subject: [PATCH 012/120] Fix one other test file with trailing whitespace --- .../AvoidDefaultValueForMandatoryParameterNoViolations.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 b/Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 index a42931454..0215f9252 100644 --- a/Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 +++ b/Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 @@ -2,11 +2,11 @@ { param( [Parameter(Mandatory=$true)] - [ValidateNotNullOrEmpty()] + [ValidateNotNullOrEmpty()] [string] $Param1, [Parameter(Mandatory=$false)] - [ValidateNotNullOrEmpty()] + [ValidateNotNullOrEmpty()] [string] $Param2=$null ) From 4dc4aeb4380f5f34e289ad3cbe02f2eaffb0fca8 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sat, 30 Sep 2017 11:33:45 +0100 Subject: [PATCH 013/120] Improve encoding handling by not using the detectEncodingFromByteOrderMarks overload. Using StreamReader.Peek() instead of StreamReader.ReadToEnd() is sufficient to detect the encoding. This improves the overall behaviour but when run against the PowerShell repo, it will still convert the ASCI psd1 files into UTF8 files. I think this is due to the implementation of the EditableText class. --- Engine/ScriptAnalyzer.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index d768a9ba7..9dfd41533 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1479,7 +1479,7 @@ public IEnumerable AnalyzePath(string path, bool searchRecursi { if (fix) { - var fileEncoding = GetFileEncoding(scriptFilePath); fileEncoding.GetPreamble(); + var fileEncoding = GetFileEncoding(scriptFilePath); var scriptFileContentWithFixes = Fix(File.ReadAllText(scriptFilePath, fileEncoding)); File.WriteAllText(scriptFilePath, scriptFileContentWithFixes, fileEncoding); // although this preserves the encoding, it will add a BOM to UTF8 files } @@ -1626,9 +1626,9 @@ private static Encoding GetFileEncoding(string path) { using (var stream = new FileStream(path, FileMode.Open)) { - using (var reader = new StreamReader(stream, true)) + using (var reader = new StreamReader(stream)) { - reader.ReadToEnd(); // needed in order to populate the CurrentEncoding property + reader.Peek(); // needed in order to populate the CurrentEncoding property return reader.CurrentEncoding; } } From 5480c1402956c9651620d8ab00a9d7857eec259a Mon Sep 17 00:00:00 2001 From: Dave Wyatt Date: Fri, 6 Oct 2017 09:46:41 -0400 Subject: [PATCH 014/120] Add documentation file --- RuleDocumentation/AvoidTrailingWhitespace.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 RuleDocumentation/AvoidTrailingWhitespace.md diff --git a/RuleDocumentation/AvoidTrailingWhitespace.md b/RuleDocumentation/AvoidTrailingWhitespace.md new file mode 100644 index 000000000..8a5a1e189 --- /dev/null +++ b/RuleDocumentation/AvoidTrailingWhitespace.md @@ -0,0 +1,7 @@ +# AvoidTrailingWhitespace + +**Severity Level: Information** + +## Description + +Lines should not end with whitespace characters. This can cause problems with the line-continuation backtick, and also clutters up future commits to source control. From 792fe300ac23391542030468b33d119ec5355d66 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 6 Nov 2017 19:49:22 +0000 Subject: [PATCH 015/120] improve wording of help as suggested in PR --- docs/markdown/Invoke-ScriptAnalyzer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index dfec97a6b..b421ea076 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -400,9 +400,9 @@ Accept wildcard characters: False ``` ### -Fix -Certain warnings contain a suggested fix in their DiagnosticRecord and therefore those warnings will be fixed automatically using this fix. +Fixes certain warnings which contain a fix in their DiagnosticRecord. -When you used Fix, Invoke-ScriptAnalyzer runs as usual but will apply the fixes before running the analysis. Please make sure that you have a backup of your files when using this switch. It tries to pre-server the file encoding but it is possible that a BOM gets added to the fixed files. +When you used Fix, Invoke-ScriptAnalyzer runs as usual but will apply the fixes before running the analysis. Please make sure that you have a backup of your files when using this switch. It tries to preserve the file encoding but there are still some cases where the encoding can change. ```yaml Type: SwitchParameter From 5a2f47b63b04a8e6bd98238e5599d877282591aa Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 6 Nov 2017 19:51:30 +0000 Subject: [PATCH 016/120] Add simple test for -Fix switch --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 17 +++++++++++++++++ Tests/Engine/TestScriptWithFixableWarnings.ps1 | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 Tests/Engine/TestScriptWithFixableWarnings.ps1 diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index f1989fae4..cbfb40363 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -465,3 +465,20 @@ Describe "Test CustomizedRulePath" { } } } + +Describe "Test -Fix Switch" { + + It "Fixes warnings" { + # we expect the script to contain warnings + $warningsBeforeFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 + $warningsBeforeFix.Count | Should Be 4 + + # fix the warnings and expect that it should not return the fixed warnings + $warningsWithFixSwitch = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 -Fix + $warningsWithFixSwitch.Count | Should Be 0 + + # double check that the warnings are really fixed + $warningsAfterFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 + $warningsAfterFix.Count | Should Be 0 + } +} diff --git a/Tests/Engine/TestScriptWithFixableWarnings.ps1 b/Tests/Engine/TestScriptWithFixableWarnings.ps1 new file mode 100644 index 000000000..84a7c3076 --- /dev/null +++ b/Tests/Engine/TestScriptWithFixableWarnings.ps1 @@ -0,0 +1,5 @@ +# Produce PSAvoidUsingCmdletAliases warning that should get fixed by replacing it with the actual command +gci . | % { } | ? { } + +# Produces PSAvoidUsingPlainTextForPassword warning that should get fixed by making it a [SecureString] +function Test-bar([string]$PasswordInPlainText){} \ No newline at end of file From 023f9e3249aad4df6516ee921b9b13e9d82f51fb Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 6 Nov 2017 22:51:36 +0000 Subject: [PATCH 017/120] improve test by restoring original file and also asserting against the content. --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 16 ++++++++++++++++ .../TestScriptWithFixableWarnings_AfterFix.ps1 | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index cbfb40363..61084e738 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -468,6 +468,17 @@ Describe "Test CustomizedRulePath" { Describe "Test -Fix Switch" { + BeforeEach { + $initialTestScript = Get-Content $directory\TestScriptWithFixableWarnings.ps1 -Raw + } + + AfterEach { + if ($null -ne $initialTestScript) + { + $initialTestScript | Set-Content $directory\TestScriptWithFixableWarnings.ps1 -NoNewline + } + } + It "Fixes warnings" { # we expect the script to contain warnings $warningsBeforeFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 @@ -480,5 +491,10 @@ Describe "Test -Fix Switch" { # double check that the warnings are really fixed $warningsAfterFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 $warningsAfterFix.Count | Should Be 0 + + $expectedScriptContentAfterFix = Get-Content $directory\TestScriptWithFixableWarnings_AfterFix.ps1 -Raw + $actualScriptContentAfterFix = Get-Content $directory\TestScriptWithFixableWarnings.ps1 -Raw + write-host $actualScriptContentAfterFix + $actualScriptContentAfterFix | Should Be $expectedScriptContentAfterFix } } diff --git a/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 b/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 new file mode 100644 index 000000000..7898593a2 --- /dev/null +++ b/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 @@ -0,0 +1,5 @@ +# Produce PSAvoidUsingCmdletAliases warning that should get fixed by replacing it with the actual command +Get-ChildItem . | ForEach-Object { } | Where-Object { } + +# Produces PSAvoidUsingPlainTextForPassword warning that should get fixed by making it a [SecureString] +function Test-bar([SecureString]$PasswordInPlainText){} \ No newline at end of file From 6edeef4e7e8bd1ebd88af43ead4a8618e15d6260 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 6 Nov 2017 23:21:40 +0000 Subject: [PATCH 018/120] Clean up test --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 61084e738..b06691276 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -494,7 +494,6 @@ Describe "Test -Fix Switch" { $expectedScriptContentAfterFix = Get-Content $directory\TestScriptWithFixableWarnings_AfterFix.ps1 -Raw $actualScriptContentAfterFix = Get-Content $directory\TestScriptWithFixableWarnings.ps1 -Raw - write-host $actualScriptContentAfterFix $actualScriptContentAfterFix | Should Be $expectedScriptContentAfterFix } } From f129846efe9fffdefcec59e3e9b3e38d7a0f5b70 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 8 Nov 2017 22:11:25 +0000 Subject: [PATCH 019/120] Refactor 'fix' switch out of AnalyzePath method as requested in PR --- .../Commands/InvokeScriptAnalyzerCommand.cs | 9 ++- Engine/ScriptAnalyzer.cs | 70 +++++++++++++------ 2 files changed, 56 insertions(+), 23 deletions(-) diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index a393fa1a7..d137abfe0 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -388,7 +388,14 @@ private void ProcessInput() { foreach (var p in processedPaths) { - diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.recurse, this.fix); + if (fix) + { + diagnosticsList = ScriptAnalyzer.Instance.AnalyzeAndFixPath(p, this.recurse); + } + else + { + diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.recurse); + } WriteToOutput(diagnosticsList); } } diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index 9dfd41533..de32dc3eb 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1452,40 +1452,44 @@ public Dictionary> CheckRuleExtension(string[] path, PathIn /// /// The path of the file or directory to analyze. /// - /// /// If true, recursively searches the given file path and analyzes any /// script files that are found. /// /// An enumeration of DiagnosticRecords that were found by rules. - public IEnumerable AnalyzePath(string path, bool searchRecursively = false, bool fix = false) + public IEnumerable AnalyzePath(string path, bool searchRecursively = false) { - List scriptFilePaths = new List(); + List scriptFilePaths = ScriptPathList(path, searchRecursively); - if (path == null) + foreach (string scriptFilePath in scriptFilePaths) { - this.outputWriter.ThrowTerminatingError( - new ErrorRecord( - new FileNotFoundException(), - string.Format(CultureInfo.CurrentCulture, Strings.FileNotFound, path), - ErrorCategory.InvalidArgument, - this)); + // Yield each record in the result so that the caller can pull them one at a time + foreach (var diagnosticRecord in this.AnalyzeFile(scriptFilePath)) + { + yield return diagnosticRecord; + } } + } + + /// + /// Analyzes a script file or a directory containing script files and fixes warning where possible. + /// + /// The path of the file or directory to analyze. + /// + /// If true, recursively searches the given file path and analyzes any + /// script files that are found. + /// + /// An enumeration of DiagnosticRecords that were found by rules and could not be fixed automatically. + public IEnumerable AnalyzeAndFixPath(string path, bool searchRecursively = false) + { + List scriptFilePaths = ScriptPathList(path, searchRecursively); - // Create in advance the list of script file paths to analyze. This - // is an optimization over doing the whole operation at once - // and calling .Concat on IEnumerables to join results. - this.BuildScriptPathList(path, searchRecursively, scriptFilePaths); foreach (string scriptFilePath in scriptFilePaths) { - if (fix) - { - var fileEncoding = GetFileEncoding(scriptFilePath); - var scriptFileContentWithFixes = Fix(File.ReadAllText(scriptFilePath, fileEncoding)); - File.WriteAllText(scriptFilePath, scriptFileContentWithFixes, fileEncoding); // although this preserves the encoding, it will add a BOM to UTF8 files - } + var fileEncoding = GetFileEncoding(scriptFilePath); + var scriptFileContentWithFixes = Fix(File.ReadAllText(scriptFilePath, fileEncoding)); + File.WriteAllText(scriptFilePath, scriptFileContentWithFixes, fileEncoding); - // Yield each record in the result so that the - // caller can pull them one at a time + // Yield each record in the result so that the caller can pull them one at a time foreach (var diagnosticRecord in this.AnalyzeFile(scriptFilePath)) { yield return diagnosticRecord; @@ -1676,6 +1680,28 @@ private static EditableText Fix( return text; } + private List ScriptPathList(string path, bool searchRecursively) + { + List scriptFilePaths = new List(); + + if (path == null) + { + this.outputWriter.ThrowTerminatingError( + new ErrorRecord( + new FileNotFoundException(), + string.Format(CultureInfo.CurrentCulture, Strings.FileNotFound, path), + ErrorCategory.InvalidArgument, + this)); + } + + // Create in advance the list of script file paths to analyze. This + // is an optimization over doing the whole operation at once + // and calling .Concat on IEnumerables to join results. + this.BuildScriptPathList(path, searchRecursively, scriptFilePaths); + + return scriptFilePaths; + } + private void BuildScriptPathList( string path, bool searchRecursively, From bfa1c5457ce2a96aaca44d4cde2593aee48293e8 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 8 Nov 2017 22:46:24 +0000 Subject: [PATCH 020/120] Implement SupportShouldProcess for InvokeScriptAnalyzerCommand down to a per process path and per file basis. Propagating it further down would not make sense because then it would need to analyze all files, in this case SupportShouldContinue could be implemented in the future. --- .../Commands/InvokeScriptAnalyzerCommand.cs | 7 ++-- Engine/ScriptAnalyzer.cs | 34 ++++++++++++------- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index d137abfe0..40b8d5cff 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -38,6 +38,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands [Cmdlet(VerbsLifecycle.Invoke, "ScriptAnalyzer", DefaultParameterSetName = "File", + SupportsShouldProcess = true, HelpUri = "http://go.microsoft.com/fwlink/?LinkId=525914")] public class InvokeScriptAnalyzerCommand : PSCmdlet, IOutputWriter { @@ -390,11 +391,13 @@ private void ProcessInput() { if (fix) { - diagnosticsList = ScriptAnalyzer.Instance.AnalyzeAndFixPath(p, this.recurse); + ShouldProcess(p, $"Analyzing and fixing path with Recurse={this.recurse}"); + diagnosticsList = ScriptAnalyzer.Instance.AnalyzeAndFixPath(p, this.ShouldProcess, this.recurse); } else { - diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.recurse); + ShouldProcess(p, $"Analyzing path with Recurse={this.recurse}"); + diagnosticsList = ScriptAnalyzer.Instance.AnalyzePath(p, this.ShouldProcess, this.recurse); } WriteToOutput(diagnosticsList); } diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index de32dc3eb..ce946f029 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1444,28 +1444,32 @@ public Dictionary> CheckRuleExtension(string[] path, PathIn return results; } -#endregion + #endregion /// /// Analyzes a script file or a directory containing script files. /// /// The path of the file or directory to analyze. + /// Whether the action should be executed. /// /// If true, recursively searches the given file path and analyzes any /// script files that are found. /// /// An enumeration of DiagnosticRecords that were found by rules. - public IEnumerable AnalyzePath(string path, bool searchRecursively = false) + public IEnumerable AnalyzePath(string path, Func shouldProcess, bool searchRecursively = false) { List scriptFilePaths = ScriptPathList(path, searchRecursively); foreach (string scriptFilePath in scriptFilePaths) { - // Yield each record in the result so that the caller can pull them one at a time - foreach (var diagnosticRecord in this.AnalyzeFile(scriptFilePath)) + if (shouldProcess(scriptFilePath, $"Analyzing file {scriptFilePath}")) { - yield return diagnosticRecord; + // Yield each record in the result so that the caller can pull them one at a time + foreach (var diagnosticRecord in this.AnalyzeFile(scriptFilePath)) + { + yield return diagnosticRecord; + } } } } @@ -1474,25 +1478,29 @@ public IEnumerable AnalyzePath(string path, bool searchRecursi /// Analyzes a script file or a directory containing script files and fixes warning where possible. /// /// The path of the file or directory to analyze. + /// Whether the action should be executed. /// /// If true, recursively searches the given file path and analyzes any /// script files that are found. /// /// An enumeration of DiagnosticRecords that were found by rules and could not be fixed automatically. - public IEnumerable AnalyzeAndFixPath(string path, bool searchRecursively = false) + public IEnumerable AnalyzeAndFixPath(string path, Func shouldProcess, bool searchRecursively = false) { List scriptFilePaths = ScriptPathList(path, searchRecursively); foreach (string scriptFilePath in scriptFilePaths) { - var fileEncoding = GetFileEncoding(scriptFilePath); - var scriptFileContentWithFixes = Fix(File.ReadAllText(scriptFilePath, fileEncoding)); - File.WriteAllText(scriptFilePath, scriptFileContentWithFixes, fileEncoding); - - // Yield each record in the result so that the caller can pull them one at a time - foreach (var diagnosticRecord in this.AnalyzeFile(scriptFilePath)) + if (shouldProcess(scriptFilePath, $"Analyzing and fixing file {scriptFilePath}")) { - yield return diagnosticRecord; + var fileEncoding = GetFileEncoding(scriptFilePath); + var scriptFileContentWithFixes = Fix(File.ReadAllText(scriptFilePath, fileEncoding)); + File.WriteAllText(scriptFilePath, scriptFileContentWithFixes, fileEncoding); + + // Yield each record in the result so that the caller can pull them one at a time + foreach (var diagnosticRecord in this.AnalyzeFile(scriptFilePath)) + { + yield return diagnosticRecord; + } } } } From 50af5d20a9dd86640e0aabf5e625ed1e24c4fde0 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 8 Nov 2017 23:07:14 +0000 Subject: [PATCH 021/120] Adapt the full .net wrapper in LibraryUsage.tests.ps1 with the -fix switch and the new SupportsShouldProcess Func --- Tests/Engine/LibraryUsage.tests.ps1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index 64570d58f..89c41e416 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -48,7 +48,10 @@ function Invoke-ScriptAnalyzer { [switch] $IncludeDefaultRules, [Parameter(Mandatory = $false)] - [switch] $SuppressedOnly + [switch] $SuppressedOnly, + + [Parameter(Mandatory = $false)] + [switch] $Fix ) if ($null -eq $CustomRulePath) @@ -75,7 +78,8 @@ function Invoke-ScriptAnalyzer { ); if ($PSCmdlet.ParameterSetName -eq "File") { - return $scriptAnalyzer.AnalyzePath($Path, $Recurse.IsPresent); + $supportsShouldProcessFunc = [Func[bool, string,string]]{ return $Recurse.IsPresent } + $scriptAnalyzer.AnalyzePath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); } else { return $scriptAnalyzer.AnalyzeScriptDefinition($ScriptDefinition); From 771ffb6176594cbe5f2996ce2efa33e4f994dab8 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 8 Nov 2017 23:24:00 +0000 Subject: [PATCH 022/120] Fix Func wrapper in LibraryUsage.tests.ps1 --- Tests/Engine/LibraryUsage.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index 89c41e416..e28035abc 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -78,7 +78,7 @@ function Invoke-ScriptAnalyzer { ); if ($PSCmdlet.ParameterSetName -eq "File") { - $supportsShouldProcessFunc = [Func[bool, string,string]]{ return $Recurse.IsPresent } + $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $Recurse.IsPresent } $scriptAnalyzer.AnalyzePath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); } else { From 701c2640c840d0aec7fbf217f6c99cc4b363ad55 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 8 Nov 2017 23:34:03 +0000 Subject: [PATCH 023/120] Another fix to LibraryUsage.tests.ps1 to accomodate -Fix switch and also return --- Tests/Engine/LibraryUsage.tests.ps1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index e28035abc..440ce8889 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -78,8 +78,12 @@ function Invoke-ScriptAnalyzer { ); if ($PSCmdlet.ParameterSetName -eq "File") { - $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $Recurse.IsPresent } - $scriptAnalyzer.AnalyzePath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); + $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $Recurse.IsPresent } + if ($Fix.IsPresent) + { + return $scriptAnalyzer.AnalyzeAndFixPath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); + } + return $scriptAnalyzer.AnalyzePath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); } else { return $scriptAnalyzer.AnalyzeScriptDefinition($ScriptDefinition); From a16c232f6b4c8dc168bd6e0caf757a2a5fc0183f Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 05:56:11 +0000 Subject: [PATCH 024/120] Always return true for shouldprocess --- Tests/Engine/LibraryUsage.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index 440ce8889..30c6579da 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -78,7 +78,7 @@ function Invoke-ScriptAnalyzer { ); if ($PSCmdlet.ParameterSetName -eq "File") { - $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $Recurse.IsPresent } + $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $true } if ($Fix.IsPresent) { return $scriptAnalyzer.AnalyzeAndFixPath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); From e64335f0369edfe7664b741d57cccaaa99042ba1 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 06:18:27 +0000 Subject: [PATCH 025/120] Add supportshouldprocess to full .net wrapper library --- Tests/Engine/LibraryUsage.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index 30c6579da..6d81a39ca 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -15,7 +15,7 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path # wraps the usage of ScriptAnalyzer as a .NET library function Invoke-ScriptAnalyzer { param ( - [CmdletBinding(DefaultParameterSetName="File")] + [CmdletBinding(DefaultParameterSetName="File", SupportsShouldProcess = $true)] [parameter(Mandatory = $true, Position = 0, ParameterSetName="File")] [Alias("PSPath")] From 4297ff4e3c3d7a7f98c7aeea75948dfc5eee8abd Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 09:45:37 +0100 Subject: [PATCH 026/120] Add 'WhatIf' to common words for help tests --- Tests/Engine/ModuleHelp.Tests.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Engine/ModuleHelp.Tests.ps1 b/Tests/Engine/ModuleHelp.Tests.ps1 index f1b9e5743..aeb84892a 100644 --- a/Tests/Engine/ModuleHelp.Tests.ps1 +++ b/Tests/Engine/ModuleHelp.Tests.ps1 @@ -121,7 +121,7 @@ function Get-ParametersDefaultFirst { ) BEGIN { - $Common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable' + $Common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable', 'WhatIf' $parameters = @() } PROCESS { @@ -266,7 +266,7 @@ foreach ($command in $commands) { Context "Test parameter help for $commandName" { $Common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', - 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable' + 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable', 'WhatIf' # Get parameters. When >1 parameter with same name, # get parameter from the default parameter set, if any. @@ -315,4 +315,4 @@ foreach ($command in $commands) { } } } -} \ No newline at end of file +} From 9785993b96703287791eebff54f3d73011577eca Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 09:57:13 +0100 Subject: [PATCH 027/120] Add 'Confirm' to common words for help tests --- Tests/Engine/ModuleHelp.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Engine/ModuleHelp.Tests.ps1 b/Tests/Engine/ModuleHelp.Tests.ps1 index aeb84892a..b4dd7e94a 100644 --- a/Tests/Engine/ModuleHelp.Tests.ps1 +++ b/Tests/Engine/ModuleHelp.Tests.ps1 @@ -121,7 +121,7 @@ function Get-ParametersDefaultFirst { ) BEGIN { - $Common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable', 'WhatIf' + $Common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable', 'WhatIf', 'Confirm' $parameters = @() } PROCESS { @@ -266,7 +266,7 @@ foreach ($command in $commands) { Context "Test parameter help for $commandName" { $Common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', - 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable', 'WhatIf' + 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable', 'WhatIf', 'Confirm' # Get parameters. When >1 parameter with same name, # get parameter from the default parameter set, if any. From 14197ce962cdf436da42de26296acebbf827bf96 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 10:01:04 +0100 Subject: [PATCH 028/120] Add debug line to debug failing test --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index b06691276..56dd0c990 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -482,6 +482,7 @@ Describe "Test -Fix Switch" { It "Fixes warnings" { # we expect the script to contain warnings $warningsBeforeFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 + $warningsBeforeFix | % { Write-Verbose $_ -Verbose } $warningsBeforeFix.Count | Should Be 4 # fix the warnings and expect that it should not return the fixed warnings From fffcd7615fb3ec22a32413055be50c967a47b706 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 10:10:36 +0100 Subject: [PATCH 029/120] Add more debug info for test failure --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 56dd0c990..f4c065d1f 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -482,7 +482,7 @@ Describe "Test -Fix Switch" { It "Fixes warnings" { # we expect the script to contain warnings $warningsBeforeFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 - $warningsBeforeFix | % { Write-Verbose $_ -Verbose } + $warningsBeforeFix | % { Write-Verbose "$($_.Message)" -Verbose } $warningsBeforeFix.Count | Should Be 4 # fix the warnings and expect that it should not return the fixed warnings From c707a1e392a47b4ac9f0403ea4aab91c090f8e28 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 10:22:03 +0100 Subject: [PATCH 030/120] Add comment about deliberate whitespace warning --- Tests/Engine/TestScriptWithFixableWarnings.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Engine/TestScriptWithFixableWarnings.ps1 b/Tests/Engine/TestScriptWithFixableWarnings.ps1 index 84a7c3076..f191b3c70 100644 --- a/Tests/Engine/TestScriptWithFixableWarnings.ps1 +++ b/Tests/Engine/TestScriptWithFixableWarnings.ps1 @@ -1,5 +1,5 @@ -# Produce PSAvoidUsingCmdletAliases warning that should get fixed by replacing it with the actual command +# Produce PSAvoidUsingCmdletAliases and PSAvoidTrailingWhitespace warnings that should get fixed by replacing it with the actual command gci . | % { } | ? { } # Produces PSAvoidUsingPlainTextForPassword warning that should get fixed by making it a [SecureString] -function Test-bar([string]$PasswordInPlainText){} \ No newline at end of file +function Test-bar([string]$PasswordInPlainText){} From 9d4e8efee8af83466645e727f1664b49950a1191 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 10:23:37 +0100 Subject: [PATCH 031/120] Number of expected warnings now 5 in -fix test due to PSAvoidTrailingWhitespace --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index f4c065d1f..5a0adb0a2 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -483,7 +483,7 @@ Describe "Test -Fix Switch" { # we expect the script to contain warnings $warningsBeforeFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 $warningsBeforeFix | % { Write-Verbose "$($_.Message)" -Verbose } - $warningsBeforeFix.Count | Should Be 4 + $warningsBeforeFix.Count | Should Be 5 # fix the warnings and expect that it should not return the fixed warnings $warningsWithFixSwitch = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 -Fix From c0f881d5b8ec5eec5ef68dc67efad12f8f37f14a Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 10:43:03 +0100 Subject: [PATCH 032/120] Update expected test file --- Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 b/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 index 7898593a2..5b5db011e 100644 --- a/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 +++ b/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 @@ -1,5 +1,5 @@ -# Produce PSAvoidUsingCmdletAliases warning that should get fixed by replacing it with the actual command +# Produce PSAvoidUsingCmdletAliases and PSAvoidTrailingWhitespace warnings that should get fixed by replacing it with the actual command Get-ChildItem . | ForEach-Object { } | Where-Object { } # Produces PSAvoidUsingPlainTextForPassword warning that should get fixed by making it a [SecureString] -function Test-bar([SecureString]$PasswordInPlainText){} \ No newline at end of file +function Test-bar([SecureString]$PasswordInPlainText){} From c59b6b0b83b3b7e6b43fd77fba028ec960a6592c Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 10:51:01 +0100 Subject: [PATCH 033/120] Remove trailing whitespace in expected file since this gets fixed now --- Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 b/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 index 5b5db011e..876e8ed8e 100644 --- a/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 +++ b/Tests/Engine/TestScriptWithFixableWarnings_AfterFix.ps1 @@ -1,5 +1,5 @@ # Produce PSAvoidUsingCmdletAliases and PSAvoidTrailingWhitespace warnings that should get fixed by replacing it with the actual command -Get-ChildItem . | ForEach-Object { } | Where-Object { } +Get-ChildItem . | ForEach-Object { } | Where-Object { } # Produces PSAvoidUsingPlainTextForPassword warning that should get fixed by making it a [SecureString] function Test-bar([SecureString]$PasswordInPlainText){} From 6f6896a13b12c6418542b33113306a2d4f167841 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 10:58:18 +0100 Subject: [PATCH 034/120] Remove debugging line since test passes now --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 5a0adb0a2..a4fcf3f59 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -482,7 +482,6 @@ Describe "Test -Fix Switch" { It "Fixes warnings" { # we expect the script to contain warnings $warningsBeforeFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 - $warningsBeforeFix | % { Write-Verbose "$($_.Message)" -Verbose } $warningsBeforeFix.Count | Should Be 5 # fix the warnings and expect that it should not return the fixed warnings From f5ac9eb16db151c926a30a8fe590b24d64f24741 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 11:12:07 +0100 Subject: [PATCH 035/120] Set-Content -NoNewline was only introduced in PS v5 and would therefore not work -> replace with .net method --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index a4fcf3f59..27ede4dc3 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -475,7 +475,7 @@ Describe "Test -Fix Switch" { AfterEach { if ($null -ne $initialTestScript) { - $initialTestScript | Set-Content $directory\TestScriptWithFixableWarnings.ps1 -NoNewline + [System.IO.File]::WriteAllText($directory\TestScriptWithFixableWarnings.ps1, initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI } } From 8e4675019089317d1d0bf6712b143e4d5c7f5cb1 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 11:27:52 +0100 Subject: [PATCH 036/120] Syntax fix of last commit --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 27ede4dc3..5b2f2749d 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -475,7 +475,7 @@ Describe "Test -Fix Switch" { AfterEach { if ($null -ne $initialTestScript) { - [System.IO.File]::WriteAllText($directory\TestScriptWithFixableWarnings.ps1, initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI + [System.IO.File]::WriteAllText("$($directory)\TestScriptWithFixableWarnings.ps1", initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI } } From e184e3b9b3fef3c1884bd81773b73686e739ddee Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 11:43:47 +0100 Subject: [PATCH 037/120] Another small syntax fix (sorry, I am commiting from my mobile) --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 5b2f2749d..a915bed85 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -475,7 +475,7 @@ Describe "Test -Fix Switch" { AfterEach { if ($null -ne $initialTestScript) { - [System.IO.File]::WriteAllText("$($directory)\TestScriptWithFixableWarnings.ps1", initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI + [System.IO.File]::WriteAllText("$($directory)\TestScriptWithFixableWarnings.ps1", $initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI } } From 0df445b26659372cfaeac4d9fda9d399064fffa1 Mon Sep 17 00:00:00 2001 From: bergmeister Date: Thu, 9 Nov 2017 12:42:20 +0100 Subject: [PATCH 038/120] Return $pscmdlet.shouldprocess in .net test wrapper --- Tests/Engine/LibraryUsage.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index 6d81a39ca..a945fdd02 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -78,7 +78,7 @@ function Invoke-ScriptAnalyzer { ); if ($PSCmdlet.ParameterSetName -eq "File") { - $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $true } + $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $PSCmdlet.Shouldprocess } if ($Fix.IsPresent) { return $scriptAnalyzer.AnalyzeAndFixPath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); From 8525e037316d898eb2d6587bc4e61ff562b283fc Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 13 Nov 2017 22:48:22 +0000 Subject: [PATCH 039/120] Optimize -Fix switch to only write the fixed file to disk if any fixes were actually applied. This helps especially because sometimes the encoding cannot be preserved (which is probably due to the EditableText implementation) --- Engine/Formatter.cs | 3 ++- Engine/ScriptAnalyzer.cs | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/Engine/Formatter.cs b/Engine/Formatter.cs index 098e772a9..bcdbc32b8 100644 --- a/Engine/Formatter.cs +++ b/Engine/Formatter.cs @@ -53,7 +53,8 @@ public static string Format( ScriptAnalyzer.Instance.Initialize(cmdlet, null, null, null, null, true, false); Range updatedRange; - text = ScriptAnalyzer.Instance.Fix(text, range, out updatedRange); + bool fixesWereApplied; + text = ScriptAnalyzer.Instance.Fix(text, range, out updatedRange, out fixesWereApplied); range = updatedRange; } diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index ce946f029..cdc3884f5 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1493,8 +1493,12 @@ public IEnumerable AnalyzeAndFixPath(string path, Func AnalyzeScriptDefinition(string scriptDefini /// Fix the violations in the given script text. /// /// The script text to be fixed. + /// Whether any warnings were fixed. /// The fixed script text. - public string Fix(string scriptDefinition) + public string Fix(string scriptDefinition, out bool fixesWereApplied) { if (scriptDefinition == null) { @@ -1561,7 +1566,7 @@ public string Fix(string scriptDefinition) } Range updatedRange; - return Fix(new EditableText(scriptDefinition), null, out updatedRange).ToString(); + return Fix(new EditableText(scriptDefinition), null, out updatedRange, out fixesWereApplied).ToString(); } /// @@ -1570,8 +1575,9 @@ public string Fix(string scriptDefinition) /// An object of type `EditableText` that encapsulates the script text to be fixed. /// The range in which the fixes are allowed. /// The updated range after the fixes have been applied. + /// Whether any warnings were fixed. /// The same instance of `EditableText` that was passed to the method, but the instance encapsulates the fixed script text. This helps in chaining the Fix method. - public EditableText Fix(EditableText text, Range range, out Range updatedRange) + public EditableText Fix(EditableText text, Range range, out Range updatedRange, out bool fixesWereApplied) { if (text == null) { @@ -1604,7 +1610,9 @@ public EditableText Fix(EditableText text, Range range, out Range updatedRange) this.outputWriter.WriteVerbose($"Found {corrections.Count} violations."); int unusedCorrections; Fix(text, corrections, out unusedCorrections); - this.outputWriter.WriteVerbose($"Fixed {corrections.Count - unusedCorrections} violations."); + var numberOfFixedViolatons = corrections.Count - unusedCorrections; + fixesWereApplied = numberOfFixedViolatons > 0; + this.outputWriter.WriteVerbose($"Fixed {numberOfFixedViolatons} violations."); // This is an indication of an infinite loop. There is a small chance of this. // It is better to abort the fixing operation at this point. From 667aea52e82fc04c6461970e74214c2a2c224fd1 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 3 Dec 2017 12:58:29 +0000 Subject: [PATCH 040/120] Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned more than once to still give a warning. Issue 833: https://github.com/PowerShell/PSScriptAnalyzer/issues/833 --- Rules/UseDeclaredVarsMoreThanAssignments.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Rules/UseDeclaredVarsMoreThanAssignments.cs b/Rules/UseDeclaredVarsMoreThanAssignments.cs index f2731474a..1df2840ca 100644 --- a/Rules/UseDeclaredVarsMoreThanAssignments.cs +++ b/Rules/UseDeclaredVarsMoreThanAssignments.cs @@ -166,7 +166,17 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip // Checks if this variableAst is part of the logged assignment foreach (VariableExpressionAst varInAssignment in varsInAssignment) { - inAssignment |= varInAssignment.Equals(varAst); + // Try casting to AssignmentStatementAst to be able to catch case where a variable is assigned more than once (https://github.com/PowerShell/PSScriptAnalyzer/issues/833) + var varInAssignmentAsStatementAst = varInAssignment.Parent as AssignmentStatementAst; + var varAstAsAssignmentStatementAst = varAst.Parent as AssignmentStatementAst; + if (varInAssignmentAsStatementAst != null && varAstAsAssignmentStatementAst != null) + { + inAssignment = varInAssignmentAsStatementAst.Left.Extent.Text.Equals(varAstAsAssignmentStatementAst.Left.Extent.Text, StringComparison.OrdinalIgnoreCase); + } + else + { + inAssignment = varInAssignment.Equals(varAst); + } } if (!inAssignment) From faf48868c002f35d13d69f3472120b66c1e6a234 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 3 Dec 2017 14:02:53 +0000 Subject: [PATCH 041/120] Fix FixPSUseDeclaredVarsMoreThanAssignments to also detect variables that are strongly typed. --- Rules/UseDeclaredVarsMoreThanAssignments.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Rules/UseDeclaredVarsMoreThanAssignments.cs b/Rules/UseDeclaredVarsMoreThanAssignments.cs index f2731474a..09db386f7 100644 --- a/Rules/UseDeclaredVarsMoreThanAssignments.cs +++ b/Rules/UseDeclaredVarsMoreThanAssignments.cs @@ -135,6 +135,17 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip // Only checks for the case where lhs is a variable. Ignore things like $foo.property VariableExpressionAst assignmentVarAst = assignmentAst.Left as VariableExpressionAst; + if (assignmentVarAst == null) + { + // If the variable is declared in a strongly typed way, e.g. [string]$s = 'foo' then the type is ConvertExpressionAst. + // Therefore we need to the VariableExpressionAst from its Child property. + var assignmentVarAstAsConvertExpressionAst = assignmentAst.Left as ConvertExpressionAst; + if (assignmentVarAstAsConvertExpressionAst != null && assignmentVarAstAsConvertExpressionAst.Child != null) + { + assignmentVarAst = assignmentVarAstAsConvertExpressionAst.Child as VariableExpressionAst; + } + } + if (assignmentVarAst != null) { // Ignore if variable is global or environment variable or scope is function From 68840ace7ac2145c1d5aad2d54e079c9af365b5e Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 3 Dec 2017 14:21:02 +0000 Subject: [PATCH 042/120] Add PSUseDeclaredVarsMoreThanAssignments test for strongly typed variables --- Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 index 4f94c35d3..7d3f0eba3 100644 --- a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 +++ b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 @@ -38,6 +38,12 @@ function MyFunc2() { Should Be 1 } + It "flags strongly typed variables" { + Invoke-ScriptAnalyzer -ScriptDefinition '[string]$s=''mystring''' -IncludeRule $violationName | ` + Get-Count | ` + Should Be 1 + } + It "does not flag `$InformationPreference variable" { Invoke-ScriptAnalyzer -ScriptDefinition '$InformationPreference=Stop' -IncludeRule $violationName | ` Get-Count | ` From f7e46376ceefde1f43f4609b444d9261939b7ff7 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 3 Dec 2017 14:32:37 +0000 Subject: [PATCH 043/120] add tests to PSUseDeclaredVarsMoreThanAssignments to check that it flags a variable that is assigned twice but still never used. --- .../UseDeclaredVarsMoreThanAssignments.tests.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 index 4f94c35d3..2fced774a 100644 --- a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 +++ b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 @@ -49,6 +49,18 @@ function MyFunc2() { Get-Count | ` Should Be 0 } + + It "flags a variable that is defined twice but never used" { + Invoke-ScriptAnalyzer -ScriptDefinition '$myvar=1;$myvar=2' -IncludeRule $violationName | ` + Get-Count | ` + Should Be 1 + } + + It "does not flag a variable that is defined twice but gets assigned to another variable and flags the other variable instead" { + $results = Invoke-ScriptAnalyzer -ScriptDefinition '$myvar=1;$myvar=2;$mySecondvar=$myvar' -IncludeRule $violationName + $results | Get-Count | Should Be 1 + $results[0].Extent | Should Be '$mySecondvar' + } } Context "When there are no violations" { From 7aa15bb18be93e603602aa7abb4a1fb82d7d68f3 Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Thu, 14 Dec 2017 16:59:20 -0800 Subject: [PATCH 044/120] Add instuctions to make a release (#843) --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b532a5c7b..72478b593 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Table of Contents - [Violation Correction](#violation-correction) - [Project Management Dashboard](#project-management-dashboard) - [Contributing to ScriptAnalyzer](#contributing-to-scriptanalyzer) +- [Creating a Release](#creating-a-release) - [Code of Conduct](#code-of-conduct) @@ -402,8 +403,29 @@ Before submitting a feature or substantial code contribution, please discuss it [Back to ToC](#table-of-contents) +Creating a Release +================ + +- Update changelog (`changelog.md`) with the new version number and change set. When updating the changelog please follow the same pattern as that of previous change sets (otherwise this may break the next step). +- Import the ReleaseMaker module and execute `New-Release` cmdlet to perform the following actions. + - Update module manifest (engine/PSScriptAnalyzer.psd1) with the new version number and change set + - Update the version number in `engine/project.json` and `rules/project.json` + - Create a release build in `out/` + +```powershell + PS> Import-Module .\Utils\ReleaseMaker.psm1 + PS> New-Release +``` + +- Sign the binaries and PowerShell files in the release build and publish the module to [PowerShell Gallery](www.powershellgallery.com). +- Create a PR on `development` branch, with all the changes made in the previous step. +- Merge the changes to `development` and then merge `development` to `master` (Note that the `development` to `master` merge should be a `fast-forward` merge). +- Draft a new release on github and tag `master` with the new version number. + +[Back to ToC](#table-of-contents) + Code of Conduct =============== This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. -[Back to ToC](#table-of-contents) \ No newline at end of file +[Back to ToC](#table-of-contents) From 5051bd362229402722476691f61519b5e3c111c1 Mon Sep 17 00:00:00 2001 From: Gil Ferreira Date: Fri, 29 Dec 2017 11:52:22 -0500 Subject: [PATCH 045/120] Fix typo in README The path for settings does not match example above and below. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 72478b593..256882171 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ that does not output an Error or Warning diagnostic record. Then invoke that settings file when using `Invoke-ScriptAnalyzer`: ``` PowerShell -Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting ScriptAnalyzerSettings.psd1 +Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting PSScriptAnalyzerSettings.psd1 ``` The next example selects a few rules to execute instead of all the default rules. From 06732fd9027110210a26ad1012572c0c41d2003c Mon Sep 17 00:00:00 2001 From: Kevin Marquette Date: Wed, 17 Jan 2018 17:34:14 -0800 Subject: [PATCH 046/120] Add Justification to the first example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72478b593..5e24812a7 100644 --- a/README.md +++ b/README.md @@ -147,12 +147,12 @@ Suppressing Rules ================= You can suppress a rule by decorating a script/function or script/function parameter with .NET's [SuppressMessageAttribute](https://msdn.microsoft.com/en-us/library/system.diagnostics.codeanalysis.suppressmessageattribute.aspx). -`SuppressMessageAttribute`'s constructor takes two parameters: a category and a check ID. Set the `categoryID` parameter to the name of the rule you want to suppress and set the `checkID` parameter to a null or empty string: +`SuppressMessageAttribute`'s constructor takes two parameters: a category and a check ID. Set the `categoryID` parameter to the name of the rule you want to suppress and set the `checkID` parameter to a null or empty string. You can optionally add a third named parameter with a justification for suppressing the message. ``` PowerShell function SuppressMe() { - [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSProvideCommentHelp", "")] + [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSProvideCommentHelp", "", Justification="Just an example")] param() Write-Verbose -Message "I'm making a difference!" From fbc504692a15fbc882b8d738b336c2303adb3757 Mon Sep 17 00:00:00 2001 From: Kevin Marquette Date: Wed, 17 Jan 2018 17:37:41 -0800 Subject: [PATCH 047/120] added colon --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e24812a7..877a2de68 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ Suppressing Rules ================= You can suppress a rule by decorating a script/function or script/function parameter with .NET's [SuppressMessageAttribute](https://msdn.microsoft.com/en-us/library/system.diagnostics.codeanalysis.suppressmessageattribute.aspx). -`SuppressMessageAttribute`'s constructor takes two parameters: a category and a check ID. Set the `categoryID` parameter to the name of the rule you want to suppress and set the `checkID` parameter to a null or empty string. You can optionally add a third named parameter with a justification for suppressing the message. +`SuppressMessageAttribute`'s constructor takes two parameters: a category and a check ID. Set the `categoryID` parameter to the name of the rule you want to suppress and set the `checkID` parameter to a null or empty string. You can optionally add a third named parameter with a justification for suppressing the message: ``` PowerShell function SuppressMe() From 26f623afd258ede6cd8164a397721272bd6aba54 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sun, 21 Jan 2018 08:13:47 +0000 Subject: [PATCH 048/120] Fix NullReferenceException in AlignAssignmentStatement rule when CheckHashtable is enabled (#838) * Fix a nullreference that occured for '$MyObj | % { @{$_.Name = $_.Value} }' when the PSAlignAssignmentStatement setting CheckHashtable was turned on. The reason for it was because the previous implementation expected the key in a hashtable to not contain more than 1 token expression. * fix regression in previous commit to traverse the tokenlist at least until the keyStartOffset and then search for the equal token. Works mainly fine except that I get an off by one error, which leads to a false positive warning when analysing the settings file provided by issue 828. * Add test for fix of issue 828 --- Rules/AlignAssignmentStatement.cs | 24 ++++--- .../SettingsTest/Issue828/Issue828.tests.ps1 | 27 ++++++++ .../Issue828/PSScriptAnalyzerSettings.psd1 | 63 +++++++++++++++++++ Tests/Engine/SettingsTest/Issue828/script.ps1 | 2 + 4 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 create mode 100644 Tests/Engine/SettingsTest/Issue828/PSScriptAnalyzerSettings.psd1 create mode 100644 Tests/Engine/SettingsTest/Issue828/script.ps1 diff --git a/Rules/AlignAssignmentStatement.cs b/Rules/AlignAssignmentStatement.cs index 37566862e..a17b4afd6 100644 --- a/Rules/AlignAssignmentStatement.cs +++ b/Rules/AlignAssignmentStatement.cs @@ -300,18 +300,28 @@ private static List> GetExtents( foreach (var kvp in hashtableAst.KeyValuePairs) { var keyStartOffset = kvp.Item1.Extent.StartOffset; + bool keyStartOffSetReached = false; var keyTokenNode = tokenOps.GetTokenNodes( - token => token.Extent.StartOffset == keyStartOffset).FirstOrDefault(); - if (keyTokenNode == null - || keyTokenNode.Next == null - || keyTokenNode.Next.Value.Kind != TokenKind.Equals) + token => + { + if (keyStartOffSetReached) + { + return token.Kind == TokenKind.Equals; + } + if (token.Extent.StartOffset == keyStartOffset) + { + keyStartOffSetReached = true; + } + return false; + }).FirstOrDefault(); + if (keyTokenNode == null || keyTokenNode.Value == null) { - return null; + continue; } + var assignmentToken = keyTokenNode.Value.Extent; nodeTuples.Add(new Tuple( - kvp.Item1.Extent, - keyTokenNode.Next.Value.Extent)); + kvp.Item1.Extent, assignmentToken)); } return nodeTuples; diff --git a/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 b/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 new file mode 100644 index 000000000..851256485 --- /dev/null +++ b/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 @@ -0,0 +1,27 @@ +Describe "Issue 828: No NullReferenceExceptionin AlignAssignmentStatement rule when CheckHashtable is enabled" { + It "Should not throw" { + # For details, see here: https://github.com/PowerShell/PSScriptAnalyzer/issues/828 + # The issue states basically that calling 'Invoke-ScriptAnalyzer .' with a certain settings file being in the same location that has CheckHashtable enabled + # combined with a script contatining the command '$MyObj | % { @{$_.Name = $_.Value} }' could make it throw a NullReferencException. + $cmdletThrewError = $false + $initialErrorActionPreference = $ErrorActionPreference + $initialLocation = Get-Location + try + { + Set-Location $PSScriptRoot + $ErrorActionPreference = 'Stop' + Invoke-ScriptAnalyzer . + } + catch + { + $cmdletThrewError = $true + } + finally + { + $ErrorActionPreference = $initialErrorActionPreference + Set-Location $initialLocation + } + + $cmdletThrewError | Should Be $false + } +} \ No newline at end of file diff --git a/Tests/Engine/SettingsTest/Issue828/PSScriptAnalyzerSettings.psd1 b/Tests/Engine/SettingsTest/Issue828/PSScriptAnalyzerSettings.psd1 new file mode 100644 index 000000000..9ac432ef9 --- /dev/null +++ b/Tests/Engine/SettingsTest/Issue828/PSScriptAnalyzerSettings.psd1 @@ -0,0 +1,63 @@ +@{ + Severity = @( + 'Error', + 'Warning', + 'Information' + ) + ExcludeRules = @( + 'PSUseOutputTypeCorrectly', + 'PSUseShouldProcessForStateChangingFunctions' + ) + Rules = @{ + PSAlignAssignmentStatement = @{ + Enable = $true + CheckHashtable = $true + } + PSAvoidUsingCmdletAliases = @{ + # only whitelist verbs from *-Object cmdlets + Whitelist = @( + '%', + '?', + 'compare', + 'foreach', + 'group', + 'measure', + 'select', + 'sort', + 'tee', + 'where' + ) + } + PSPlaceCloseBrace = @{ + Enable = $true + NoEmptyLineBefore = $false + IgnoreOneLineBlock = $true + NewLineAfter = $false + } + PSPlaceOpenBrace = @{ + Enable = $true + OnSameLine = $true + NewLineAfter = $true + IgnoreOneLineBlock = $true + } + PSProvideCommentHelp = @{ + Enable = $true + ExportedOnly = $true + BlockComment = $true + VSCodeSnippetCorrection = $true + Placement = "before" + } + PSUseConsistentIndentation = @{ + Enable = $true + IndentationSize = 4 + Kind = "space" + } + PSUseConsistentWhitespace = @{ + Enable = $true + CheckOpenBrace = $true + CheckOpenParen = $true + CheckOperator = $false + CheckSeparator = $true + } + } +} \ No newline at end of file diff --git a/Tests/Engine/SettingsTest/Issue828/script.ps1 b/Tests/Engine/SettingsTest/Issue828/script.ps1 new file mode 100644 index 000000000..95d3f7edd --- /dev/null +++ b/Tests/Engine/SettingsTest/Issue828/script.ps1 @@ -0,0 +1,2 @@ +# This script has to be like that in order to reproduce the issue +$MyObj | % { @{$_.Name = $_.Value} } \ No newline at end of file From cfea14f747424528b1e717d83064332d0618c549 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sun, 21 Jan 2018 08:16:44 +0000 Subject: [PATCH 049/120] Add documentation for -Fix switch to README.md (#852) --- README.md | 49 ++++++++----------------------------------------- 1 file changed, 8 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index d4b5be6de..b36790705 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Usage ``` PowerShell Get-ScriptAnalyzerRule [-CustomizedRulePath ] [-Name ] [] [-Severity ] -Invoke-ScriptAnalyzer [-Path] [-CustomizedRulePath ] [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [] +Invoke-ScriptAnalyzer [-Path] [-CustomizedRulePath ] [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-Fix] [] ``` [Back to ToC](#table-of-contents) @@ -318,49 +318,16 @@ public System.Collections.Generic.IEnumerable GetRule(string[] moduleName Violation Correction ==================== -Most violations can be fixed by replacing the violation causing content with the correct alternative. -In an attempt to provide the user with the ability to correct the violation we provide a property, `SuggestedCorrections`, in each DiagnosticRecord instance, -that contains information needed to rectify the violation. +Some violations can be fixed by replacing the violation causing content with a suggested alternative. You can use the `-Fix` switch to automatically apply the suggestions. Since `Invoke-ScriptAnalyzer` implements `SupportsShouldProcess`, you can additionally use `-WhatIf` or `-Confirm` to find out which corrections would be applied. It goes without saying that you should use source control when applying those corrections since some some of them such as the one for `AvoidUsingPlainTextForPassword` might require additional script modifications that cannot be made automatically. Should your scripts be sensitive to encoding you should also check that because the initial encoding can not be preserved in all cases. -For example, consider a script `C:\tmp\test.ps1` with the following content: -``` PowerShell -PS> Get-Content C:\tmp\test.ps1 -gci C:\ -``` - -Invoking PSScriptAnalyzer on the file gives the following output. -``` PowerShell -PS>$diagnosticRecord = Invoke-ScriptAnalyzer -Path C:\tmp\test.p1 -PS>$diagnosticRecord | select SuggestedCorrections | Format-Custom - -class DiagnosticRecord -{ - SuggestedCorrections = - [ - class CorrectionExtent - { - EndColumnNumber = 4 - EndLineNumber = 1 - File = C:\Users\kabawany\tmp\test3.ps1 - StartColumnNumber = 1 - StartLineNumber = 1 - Text = Get-ChildItem - Description = Replace gci with Get-ChildItem - } - ] -} -``` - -The `*LineNumber` and `*ColumnNumber` properties give the region of the script that can be replaced by the contents of `Text` property, i.e., replace gci with Get-ChildItem. - -The main motivation behind having `SuggestedCorrections` is to enable quick-fix like scenarios in editors like VSCode, Sublime, etc. At present, we provide valid `SuggestedCorrection` only for the following rules, while gradually adding this feature to more rules. +The initial motivation behind having the `SuggestedCorrections` property on the `ErrorRecord` (which is how the `-Fix` switch works under the hood) was to enable quick-fix like scenarios in editors like VSCode, Sublime, etc. At present, we provide valid `SuggestedCorrection` only for the following rules, while gradually adding this feature to more rules. -* AvoidAlias.cs -* AvoidUsingPlainTextForPassword.cs -* MisleadingBacktick.cs -* MissingModuleManifestField.cs -* UseToExportFieldsInManifest.cs +- AvoidAlias.cs +- AvoidUsingPlainTextForPassword.cs +- MisleadingBacktick.cs +- MissingModuleManifestField.cs +- UseToExportFieldsInManifest.cs [Back to ToC](#table-of-contents) From e9730472418714fced7481ec7152ef297935fb14 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sun, 21 Jan 2018 18:49:52 +0000 Subject: [PATCH 050/120] Add -EnableExit switch to Invoke-ScriptAnalyzer for exit and return exit code for CI purposes (#842) * Add -EnableExit switch * fix yaml in markdown file * fix LibraryUsage.tests.ps1 for -EnableExit switch * fix LibraryUsage.tests.ps1 to return results * add test for -EnableExit switch * Fix test by waiting for the powershell process to finish and improve it to hide the window * Add -EnableExit switch to Invoke-ScriptAnalyzer cmdlet documentation in README.md * Call powerShell directly to avoid using unsupported (in pwsh) WindowStyle parameter --- .../Commands/InvokeScriptAnalyzerCommand.cs | 16 +++++++++ README.md | 2 +- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 7 ++++ Tests/Engine/LibraryUsage.tests.ps1 | 35 +++++++++++++------ docs/markdown/Invoke-ScriptAnalyzer.md | 20 +++++++++-- 5 files changed, 67 insertions(+), 13 deletions(-) diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index 40b8d5cff..4719a51a1 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -192,6 +192,17 @@ public SwitchParameter Fix } private bool fix; + /// + /// Sets the exit code to the number of warnings for usage in CI. + /// + [Parameter(Mandatory = false)] + public SwitchParameter EnableExit + { + get { return enableExit; } + set { enableExit = value; } + } + private bool enableExit; + /// /// Returns path to the file that contains user profile or hash table for ScriptAnalyzer /// @@ -418,6 +429,11 @@ private void WriteToOutput(IEnumerable diagnosticRecords) logger.LogObject(diagnostic, this); } } + + if (EnableExit.IsPresent) + { + this.Host.SetShouldExit(diagnosticRecords.Count()); + } } private void ProcessPath() diff --git a/README.md b/README.md index b36790705..3cd91f699 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Usage ``` PowerShell Get-ScriptAnalyzerRule [-CustomizedRulePath ] [-Name ] [] [-Severity ] -Invoke-ScriptAnalyzer [-Path] [-CustomizedRulePath ] [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-Fix] [] +Invoke-ScriptAnalyzer [-Path] [-CustomizedRulePath ] [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-EnableExit] [-Fix] [] ``` [Back to ToC](#table-of-contents) diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index a915bed85..50f2e8a2f 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -497,3 +497,10 @@ Describe "Test -Fix Switch" { $actualScriptContentAfterFix | Should Be $expectedScriptContentAfterFix } } + +Describe "Test -EnableExit Switch" { + It "Returns exit code equivalent to number of warnings" { + powershell -Command 'Import-Module PSScriptAnalyzer; Invoke-ScriptAnalyzer -ScriptDefinition gci -EnableExit' + $LASTEXITCODE | Should Be 1 + } +} diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index a945fdd02..3bf7890bd 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -51,7 +51,10 @@ function Invoke-ScriptAnalyzer { [switch] $SuppressedOnly, [Parameter(Mandatory = $false)] - [switch] $Fix + [switch] $Fix, + + [Parameter(Mandatory = $false)] + [switch] $EnableExit ) if ($null -eq $CustomRulePath) @@ -77,16 +80,28 @@ function Invoke-ScriptAnalyzer { $SuppressedOnly.IsPresent ); - if ($PSCmdlet.ParameterSetName -eq "File") { - $supportsShouldProcessFunc = [Func[string, string, bool]]{ return $PSCmdlet.Shouldprocess } - if ($Fix.IsPresent) - { - return $scriptAnalyzer.AnalyzeAndFixPath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); - } - return $scriptAnalyzer.AnalyzePath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); + if ($PSCmdlet.ParameterSetName -eq "File") + { + $supportsShouldProcessFunc = [Func[string, string, bool]] { return $PSCmdlet.Shouldprocess } + if ($Fix.IsPresent) + { + $results = $scriptAnalyzer.AnalyzeAndFixPath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); + } + else + { + $results = $scriptAnalyzer.AnalyzePath($Path, $supportsShouldProcessFunc, $Recurse.IsPresent); + } } - else { - return $scriptAnalyzer.AnalyzeScriptDefinition($ScriptDefinition); + else + { + $results = $scriptAnalyzer.AnalyzeScriptDefinition($ScriptDefinition); + } + + $results + + if ($EnableExit.IsPresent -and $null -ne $results) + { + exit $results.Count } } diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index b421ea076..a83634afd 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -12,14 +12,14 @@ Evaluates a script or module based on selected best practice rules ### UNNAMED_PARAMETER_SET_1 ``` Invoke-ScriptAnalyzer [-Path] [-CustomRulePath ] [-RecurseCustomRulePath] - [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-Fix] + [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-Fix] [-EnableExit] [-Settings ] ``` ### UNNAMED_PARAMETER_SET_2 ``` Invoke-ScriptAnalyzer [-ScriptDefinition] [-CustomRulePath ] [-RecurseCustomRulePath] - [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] + [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-EnableExit] [-Settings ] ``` @@ -48,6 +48,7 @@ To get rules that were suppressed, run Invoke-ScriptAnalyzer with the SuppressedOnly parameter. For instructions on suppressing a rule, see the description of the SuppressedOnly parameter. +For usage in CI systems, the -EnableExit exits the shell with an exit code equal to the number of error records. The PSScriptAnalyzer module tests the Windows PowerShell code in a script, module, or DSC resource to determine whether, and to what extent, it fulfils best practice standards. @@ -416,6 +417,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnableExit +Exits PowerShell and returns an exit code equal to the number of error records. This can be useful in CI systems. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Settings File path that contains user profile or hash table for ScriptAnalyzer From 9ea381092ccadf1b4096bb920a78340d0edb3a04 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sun, 21 Jan 2018 18:55:43 +0000 Subject: [PATCH 051/120] Upgrade .Net Core SDK from '1.0 Preview 2' to '1.1.5' (this is the LTS branch) and from Visual Studio 2015 to 2017 (#835) * Upgrade to .Net Core SDK 1.1.5 * fix restore * use newer vs 2017 image instead of wmf5 * do not install pester for new image because it is already installed * replace project.json reference with new csproj in build.ps1 * Fix problem with ressource binding * csproj xml syntax fix * install .net sdk 1.1 for legacy wmf4 image * add missing parenthesis * use iwr instead of bitstransfer for wmf4 build due to mixed assembly mode and do not use aliases any more * Update appveyor.yml * correct iwr syntax do downlod dotnet-install * correct syntax to install dotnet * install pester for wmf 4 build * appveyor syntax fix * PowerShellGet is not available in wmf4 -> use cinst instead * use fullsemver of pester to install * add cache back to appveyor * cleanup * restore packages automatically the first time * rename VS solutions appropriately * simplify restore to do it on the solution * update download link for .net core 1.1.5 sdk * add pester version to readme * try to see if it is possible to get rid of the old solution * try to get rid of the last call to the resource generation script * update readme with full path to out directory * remove the remainders of the ressource generation script calls and document it * csproj cleanup from the old DNX or preview days --- .build.ps1 | 21 +- .gitignore | 2 +- Engine/Engine.csproj | 56 +++++ Engine/Strings.Designer.cs | 241 +++++++++++++++++++- Engine/Strings.resx | 56 ++--- Engine/project.json | 54 ----- New-StronglyTypedCsFileForResx.ps1 | 12 +- PSScriptAnalyzer.sln | 59 +++-- README.md | 21 +- Rules/Rules.csproj | 60 +++++ Rules/Strings.Designer.cs | 346 ++++++++++++++++++++++++++++- Rules/project.json | 61 ----- Utils/ReleaseMaker.psm1 | 4 +- Utils/RuleMaker.psm1 | 2 +- appveyor.yml | 25 ++- buildCoreClr.ps1 | 24 +- global.json | 2 +- 17 files changed, 822 insertions(+), 224 deletions(-) create mode 100644 Engine/Engine.csproj delete mode 100644 Engine/project.json create mode 100644 Rules/Rules.csproj delete mode 100644 Rules/project.json diff --git a/.build.ps1 b/.build.ps1 index a712753bf..b1d94d75f 100644 --- a/.build.ps1 +++ b/.build.ps1 @@ -9,7 +9,6 @@ param( # todo remove aliases # todo make each project have its own build script -$resourceScript = Join-Path $BuildRoot "New-StronglyTypedCsFileForResx.ps1" $outPath = "$BuildRoot/out" $modulePath = "$outPath/PSScriptAnalyzer" @@ -81,8 +80,8 @@ function Get-BuildTaskParams($project) { function Get-RestoreTaskParams($project) { @{ - Inputs = "$BuildRoot/$project/project.json" - Outputs = "$BuildRoot/$project/project.lock.json" + Inputs = "$BuildRoot/$project/$project.csproj" + Outputs = "$BuildRoot/$project/$project.csproj" Jobs = {dotnet restore} } } @@ -109,20 +108,6 @@ function Get-TestTaskParam($project) { } } -function Get-ResourceTaskParam($project) { - @{ - Inputs = "$project/Strings.resx" - Outputs = "$project/Strings.cs" - Data = $project - Jobs = { - Push-Location $BuildRoot - & $resourceScript $Task.Data - Pop-Location - } - Before = "$project/build" - } -} - function Add-ProjectTask([string]$project, [string]$taskName, [hashtable]$taskParams, [string]$pathPrefix = $buildRoot) { $jobs = [scriptblock]::Create(@" pushd $pathPrefix/$project @@ -136,14 +121,12 @@ popd $projects = @("engine", "rules") $projects | ForEach-Object { - Add-ProjectTask $_ buildResource (Get-ResourceTaskParam $_) Add-ProjectTask $_ build (Get-BuildTaskParams $_) Add-ProjectTask $_ restore (Get-RestoreTaskParams $_) Add-ProjectTask $_ clean (Get-CleanTaskParams $_) Add-ProjectTask $_ test (Get-TestTaskParam $_) "$BuildRoot/tests" } -task buildResource -Before build "engine/buildResource", "rules/buildResource" task build "engine/build", "rules/build" task restore "engine/restore", "rules/restore" task clean "engine/clean", "rules/clean" diff --git a/.gitignore b/.gitignore index ae004a34e..329ec9bd5 100644 --- a/.gitignore +++ b/.gitignore @@ -38,7 +38,7 @@ TestResult.xml [Rr]eleasePS/ dlldata.c -# DNX +# .Net Core CLI project.lock.json artifacts/ diff --git a/Engine/Engine.csproj b/Engine/Engine.csproj new file mode 100644 index 000000000..2981cf2f6 --- /dev/null +++ b/Engine/Engine.csproj @@ -0,0 +1,56 @@ + + + + 1.16.1 + netstandard1.6;net451 + Microsoft.Windows.PowerShell.ScriptAnalyzer + Engine + Microsoft.Windows.PowerShell.ScriptAnalyzer + + + + + + + + + + + + + + portable + + + + $(DefineConstants);CORECLR + + + + + + + + + + + + + True + True + Strings.resx + + + + + + ResXFileCodeGenerator + Strings.Designer.cs + + + + + $(DefineConstants);PSV3;PSV5 + + + diff --git a/Engine/Strings.Designer.cs b/Engine/Strings.Designer.cs index 7af798344..1f8db8c92 100644 --- a/Engine/Strings.Designer.cs +++ b/Engine/Strings.Designer.cs @@ -10,6 +10,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { using System; + using System.Reflection; /// @@ -19,7 +20,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Strings { @@ -39,7 +40,7 @@ internal Strings() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Windows.PowerShell.ScriptAnalyzer.Strings", typeof(Strings).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Windows.PowerShell.ScriptAnalyzer.Strings", typeof(Strings).GetTypeInfo().Assembly); resourceMan = temp; } return resourceMan; @@ -87,6 +88,33 @@ internal static string CommandInfoNotFound { } } + /// + /// Looks up a localized string similar to "Argument should not be null.".. + /// + internal static string ConfigurableScriptRuleNRE { + get { + return ResourceManager.GetString("ConfigurableScriptRuleNRE", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "Cannot find a ConfigurableRuleProperty attribute on property {0}".. + /// + internal static string ConfigurableScriptRulePropertyHasNotAttribute { + get { + return ResourceManager.GetString("ConfigurableScriptRulePropertyHasNotAttribute", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SettingsFileHasInvalidHashtable. + /// + internal static string ConfigurationFileHasInvalidHashtable { + get { + return ResourceManager.GetString("ConfigurationFileHasInvalidHashtable", resourceCulture); + } + } + /// /// Looks up a localized string similar to SettingsFileHasNoHashTable. /// @@ -150,6 +178,51 @@ internal static string DefaultLoggerName { } } + /// + /// Looks up a localized string similar to Edge from {0} to {1} already exists.. + /// + internal static string DigraphEdgeAlreadyExists { + get { + return ResourceManager.GetString("DigraphEdgeAlreadyExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vertex {0} already exists! Cannot add it to the digraph.. + /// + internal static string DigraphVertexAlreadyExists { + get { + return ResourceManager.GetString("DigraphVertexAlreadyExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vertex {0} does not exist in the digraph.. + /// + internal static string DigraphVertexDoesNotExists { + get { + return ResourceManager.GetString("DigraphVertexDoesNotExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot determine line endings as the text probably contain mixed line endings.. + /// + internal static string EditableTextInvalidLineEnding { + get { + return ResourceManager.GetString("EditableTextInvalidLineEnding", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TextEdit extent not completely contained in EditableText.. + /// + internal static string EditableTextRangeIsNotContained { + get { + return ResourceManager.GetString("EditableTextRangeIsNotContained", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot find file '{0}'.. /// @@ -204,6 +277,15 @@ internal static string MissingRuleExtension { } } + /// + /// Looks up a localized string similar to Temporary module location: {0}.. + /// + internal static string ModuleDepHandlerTempLocation { + get { + return ResourceManager.GetString("ModuleDepHandlerTempLocation", resourceCulture); + } + } + /// /// Looks up a localized string similar to {0} cannot be set by both positional and named arguments.. /// @@ -267,6 +349,51 @@ internal static string ParserErrorMessageForScriptDefinition { } } + /// + /// Looks up a localized string similar to Column number cannot be less than 1.. + /// + internal static string PositionColumnLessThanOne { + get { + return ResourceManager.GetString("PositionColumnLessThanOne", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Line number cannot be less than 1.. + /// + internal static string PositionLineLessThanOne { + get { + return ResourceManager.GetString("PositionLineLessThanOne", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Input position should be less than that of the invoking object.. + /// + internal static string PositionRefPosLessThanInputPos { + get { + return ResourceManager.GetString("PositionRefPosLessThanInputPos", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reference Position should begin before start Position of Range.. + /// + internal static string RangeRefPosShouldStartBeforeRangeStartPos { + get { + return ResourceManager.GetString("RangeRefPosShouldStartBeforeRangeStartPos", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start position cannot be before End position.. + /// + internal static string RangeStartPosGreaterThanEndPos { + get { + return ResourceManager.GetString("RangeStartPosGreaterThanEndPos", resourceCulture); + } + } + /// /// Looks up a localized string similar to RULE_ERROR. /// @@ -321,6 +448,96 @@ internal static string RuleSuppressionRuleNameNotFound { } } + /// + /// Looks up a localized string similar to Found {0}. Will use it to provide settings for this invocation.. + /// + internal static string SettingsAutoDiscovered { + get { + return ResourceManager.GetString("SettingsAutoDiscovered", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot find a settings file.. + /// + internal static string SettingsCannotFindFile { + get { + return ResourceManager.GetString("SettingsCannotFindFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dictionary should be indexable in a case-insensitive manner.. + /// + internal static string SettingsDictionaryShouldBeCaseInsesitive { + get { + return ResourceManager.GetString("SettingsDictionaryShouldBeCaseInsesitive", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Input should be a dictionary type.. + /// + internal static string SettingsInputShouldBeDictionary { + get { + return ResourceManager.GetString("SettingsInputShouldBeDictionary", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Settings should be either a file path, built-in preset or a hashtable.. + /// + internal static string SettingsInvalidType { + get { + return ResourceManager.GetString("SettingsInvalidType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot parse settings. Will abort the invocation.. + /// + internal static string SettingsNotParsable { + get { + return ResourceManager.GetString("SettingsNotParsable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Settings not provided. Will look for settings file in the given path {0}.. + /// + internal static string SettingsNotProvided { + get { + return ResourceManager.GetString("SettingsNotProvided", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Using settings file at {0}.. + /// + internal static string SettingsUsingFile { + get { + return ResourceManager.GetString("SettingsUsingFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Using settings hashtable.. + /// + internal static string SettingsUsingHashtable { + get { + return ResourceManager.GetString("SettingsUsingHashtable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} property must be of type bool.. + /// + internal static string SettingsValueTypeMustBeBool { + get { + return ResourceManager.GetString("SettingsValueTypeMustBeBool", resourceCulture); + } + } + /// /// Looks up a localized string similar to All the arguments of the Suppress Message Attribute should be string constants.. /// @@ -348,6 +565,24 @@ internal static string TargetWithoutScopeSuppressionAttributeError { } } + /// + /// Looks up a localized string similar to Line element cannot be null.. + /// + internal static string TextEditNoNullItem { + get { + return ResourceManager.GetString("TextEditNoNullItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Line element cannot be null.. + /// + internal static string TextLinesNoNullItem { + get { + return ResourceManager.GetString("TextLinesNoNullItem", resourceCulture); + } + } + /// /// Looks up a localized string similar to Analyzing file: {0}. /// @@ -430,7 +665,7 @@ internal static string WrongValueFormat { } /// - /// Looks up a localized string similar to Value {0} for key {1} has the wrong data type. Value in the settings hashtable should be a string or an array of strings.. + /// Looks up a localized string similar to Value {0} for key {1} has the wrong data type.. /// internal static string WrongValueHashTable { get { diff --git a/Engine/Strings.resx b/Engine/Strings.resx index f9bb6f8a3..5194830c3 100644 --- a/Engine/Strings.resx +++ b/Engine/Strings.resx @@ -1,17 +1,17 @@  - @@ -321,4 +321,4 @@ Input position should be less than that of the invoking object. - + \ No newline at end of file diff --git a/Engine/project.json b/Engine/project.json deleted file mode 100644 index 620ade237..000000000 --- a/Engine/project.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer", - "version": "1.16.1", - "dependencies": { -"System.Management.Automation": "6.0.0-alpha13" - }, - - "configurations": { - "PSV3Release": { - "buildOptions": { - "define": [ "PSV3", "PSV5" ], - "optimize": true - } - }, - "PSV3Debug": { - "buildOptions": { - "define": [ "PSV3", "DEBUG" ] - } - } - }, - - "frameworks": { - "net451": { - "frameworkAssemblies": { - "System.ComponentModel.Composition": "" - }, - "buildOptions": { - "compile": { - "exclude": [ - "Commands/GetScriptAnalyzerLoggerCommand.cs", - "Strings.Designer.Core.cs", - "Strings.Designer.cs" - ] - }, - "debugType": "portable" - } - }, - "netstandard1.6": { - "imports": "dnxcore50", - "buildOptions": { - "define": [ "CORECLR" ], - "compile": { - "exclude": [ - "SafeDirectoryCatalog.cs", - "Strings.Designer.cs", - "Strings.Designer.Core.cs", - "Commands/GetScriptAnalyzerLoggerCommand.cs" - ] - }, - "debugType": "portable" - } - } - } -} diff --git a/New-StronglyTypedCsFileForResx.ps1 b/New-StronglyTypedCsFileForResx.ps1 index c18896f66..5fb0ee9ea 100644 --- a/New-StronglyTypedCsFileForResx.ps1 +++ b/New-StronglyTypedCsFileForResx.ps1 @@ -1,4 +1,8 @@ -param( +<# +# This script can be used to update the *.Designer file if a *.resx ressource file has been updated. +# However, it is recommended to use Visual Studio instead for editing ressources instead since it takes of that automatically and prodcues cleaner diffs. +#> +param( [ValidateSet("Engine","Rules")] [string] $project ) @@ -26,7 +30,7 @@ function Get-StronglyTypeCsFileForResx $banner = @' //------------------------------------------------------------------------------ // -// This code was generated by a New-StronglyTypedCsFileForResx funciton. +// This code was generated by a New-StronglyTypedCsFileForResx function. // To add or remove a member, edit your .ResX file then rerun Start-ResGen. // // Changes to this file may cause incorrect behavior and will be lost if @@ -50,7 +54,7 @@ using System.Reflection; /// /// A strongly-typed resource class, for looking up localized strings, etc. /// -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] +[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -132,7 +136,7 @@ if (-not (Test-Path "$projectRoot/global.json")) throw "Not in solution root: $projectRoot" } $inputFilePath = Join-Path $projectRoot "$project/Strings.resx" -$outputFilePath = Join-Path $projectRoot "$project/Strings.cs" +$outputFilePath = Join-Path $projectRoot "$project/Strings.Designer.cs" $className = "Microsoft.Windows.PowerShell.ScriptAnalyzer" if ($project -eq "Rules") { diff --git a/PSScriptAnalyzer.sln b/PSScriptAnalyzer.sln index c8843df1a..6b7e04454 100644 --- a/PSScriptAnalyzer.sln +++ b/PSScriptAnalyzer.sln @@ -1,38 +1,51 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScriptAnalyzerEngine", "Engine\ScriptAnalyzerEngine.csproj", "{F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}" +# Visual Studio 15 +VisualStudioVersion = 15.0.27004.2010 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Engine", "Engine\Engine.csproj", "{E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScriptAnalyzerBuiltinRules", "Rules\ScriptAnalyzerBuiltinRules.csproj", "{C33B6B9D-E61C-45A3-9103-895FD82A5C1E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rules", "Rules\Rules.csproj", "{D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - PSV3 Debug|Any CPU = PSV3 Debug|Any CPU - PSV3 Release|Any CPU = PSV3 Release|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.PSV3 Debug|Any CPU.ActiveCfg = PSV3 Debug|Any CPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.PSV3 Debug|Any CPU.Build.0 = PSV3 Debug|Any CPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.PSV3 Release|Any CPU.ActiveCfg = PSV3 Release|Any CPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.PSV3 Release|Any CPU.Build.0 = PSV3 Release|Any CPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60}.Release|Any CPU.Build.0 = Release|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.PSV3 Debug|Any CPU.ActiveCfg = PSV3 Debug|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.PSV3 Debug|Any CPU.Build.0 = PSV3 Debug|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.PSV3 Release|Any CPU.ActiveCfg = PSV3 Release|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.PSV3 Release|Any CPU.Build.0 = PSV3 Release|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E}.Release|Any CPU.Build.0 = Release|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Debug|x64.ActiveCfg = Debug|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Debug|x64.Build.0 = Debug|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Debug|x86.ActiveCfg = Debug|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Debug|x86.Build.0 = Debug|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Release|Any CPU.Build.0 = Release|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Release|x64.ActiveCfg = Release|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Release|x64.Build.0 = Release|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Release|x86.ActiveCfg = Release|Any CPU + {E3969A29-E511-46A3-ABF7-FA6AD4AAB33B}.Release|x86.Build.0 = Release|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Debug|x64.ActiveCfg = Debug|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Debug|x64.Build.0 = Debug|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Debug|x86.ActiveCfg = Debug|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Debug|x86.Build.0 = Debug|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Release|Any CPU.Build.0 = Release|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Release|x64.ActiveCfg = Release|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Release|x64.Build.0 = Release|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Release|x86.ActiveCfg = Release|Any CPU + {D601FAC9-48CD-45B5-B4E8-9A3BD06E1436}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8354D5F1-95D7-48B3-B4BF-DD7AACDAA5BA} + EndGlobalSection EndGlobal diff --git a/README.md b/README.md index 3cd91f699..bd38a220d 100644 --- a/README.md +++ b/README.md @@ -82,12 +82,13 @@ Exit ### From Source #### Requirements -* [.NET Core 1.0 SDK Preview 2](https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.0-preview2-download.md) +* [.NET Core 1.1.5 SDK](https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.5.md) * [PlatyPS 0.5.0 or greater](https://github.com/PowerShell/platyPS) +* Optionally but recommended for development: [Visual Studio 2017](https://www.visualstudio.com/downloads/) #### Steps * Obtain the source - - Download the latest source code from the release page (https://github.com/PowerShell/PSScriptAnalyzer/releases) OR + - Download the latest source code from the [release page](https://github.com/PowerShell/PSScriptAnalyzer/releases) OR - Clone the repository (needs git) ```powershell git clone https://github.com/PowerShell/PSScriptAnalyzer @@ -96,11 +97,9 @@ Exit ```powershell cd path/to/PSScriptAnalyzer ``` -* Restore packages - ```powershell - dotnet restore - ``` -* Build for your platform +* Building + + You can either build using the `Visual Studio` solution `PSScriptAnalyzer.sln` or build using `PowerShell` specifically for your platform as follows: * Windows PowerShell version 5.0 and greater ```powershell .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build @@ -119,15 +118,19 @@ Exit ``` * Import the module ```powershell -Import-Module /path/to/PSScriptAnalyzer/out/PSScriptAnalyzer +Import-Module .\out\PSScriptAnalyzer\PSScriptAnalyzer.psd1 ``` To confirm installation: run `Get-ScriptAnalyzerRule` in the PowerShell console to obtain the built-in rules +* Adding/Removing resource strings + +For adding/removing resource strings in the `*.resx` files, it is recommended to use `Visual Studio` since it automatically updates the strongly typed `*.Designer.cs` files. The `Visual Studio 2017 Community Edition` is free to use but should you not have/want to use `Visual Studio` then you can either manually adapt the `*.Designer.cs` files or use the `New-StronglyTypedCsFileForResx.ps1` script although the latter is discouraged since it leads to a bad diff of the `*.Designer.cs` files. + #### Tests Pester-based ScriptAnalyzer Tests are located in `path/to/PSScriptAnalyzer/Tests` folder. -* Ensure Pester is installed on the machine +* Ensure Pester 3.4 is installed on the machine * Copy `path/to/PSScriptAnalyzer/out/PSScriptAnalyzer` to a folder in `PSModulePath` * Go the Tests folder in your local repository * Run Engine Tests: diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj new file mode 100644 index 000000000..40a21d218 --- /dev/null +++ b/Rules/Rules.csproj @@ -0,0 +1,60 @@ + + + + 1.16.1 + netstandard1.6;net451 + Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules + Rules + $(PackageTargetFallback);dnxcore50 + 1.0.4 + Microsoft.Windows.PowerShell.ScriptAnalyzer + + + + + + + + + + + + + + + + + + + + portable + + + + $(DefineConstants);CORECLR + + + + + + + + + True + True + Strings.resx + + + + + + ResXFileCodeGenerator + Strings.Designer.cs + + + + + $(DefineConstants);PSV3;PSV5 + + + diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index 6dae783ce..fb6532d29 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -8,10 +8,11 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { using System; - - + using System.Reflection; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -19,7 +20,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Strings { @@ -39,7 +40,7 @@ internal Strings() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.Strings", typeof(Strings).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Windows.PowerShell.ScriptAnalyzer.Strings", typeof(Strings).GetTypeInfo().Assembly); resourceMan = temp; } return resourceMan; @@ -60,6 +61,42 @@ internal Strings() { } } + /// + /// Looks up a localized string similar to Align assignment statement. + /// + internal static string AlignAssignmentStatementCommonName { + get { + return ResourceManager.GetString("AlignAssignmentStatementCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Line up assignment statements such that the assignment operator are aligned.. + /// + internal static string AlignAssignmentStatementDescription { + get { + return ResourceManager.GetString("AlignAssignmentStatementDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Assignment statements are not aligned. + /// + internal static string AlignAssignmentStatementError { + get { + return ResourceManager.GetString("AlignAssignmentStatementError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AlignAssignmentStatement. + /// + internal static string AlignAssignmentStatementName { + get { + return ResourceManager.GetString("AlignAssignmentStatementName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Avoid Using ComputerName Hardcoded. /// @@ -411,6 +448,42 @@ internal static string AvoidShouldContinueWithoutForceName { } } + /// + /// Looks up a localized string similar to Avoid trailing whitespace. + /// + internal static string AvoidTrailingWhitespaceCommonName { + get { + return ResourceManager.GetString("AvoidTrailingWhitespaceCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Each line should have no trailing whitespace.. + /// + internal static string AvoidTrailingWhitespaceDescription { + get { + return ResourceManager.GetString("AvoidTrailingWhitespaceDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Line has trailing whitespace. + /// + internal static string AvoidTrailingWhitespaceError { + get { + return ResourceManager.GetString("AvoidTrailingWhitespaceError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AvoidTrailingWhitespace. + /// + internal static string AvoidTrailingWhitespaceName { + get { + return ResourceManager.GetString("AvoidTrailingWhitespaceName", resourceCulture); + } + } + /// /// Looks up a localized string similar to No traps in the script.. /// @@ -1311,6 +1384,123 @@ internal static string OneCharName { } } + /// + /// Looks up a localized string similar to Place close braces. + /// + internal static string PlaceCloseBraceCommonName { + get { + return ResourceManager.GetString("PlaceCloseBraceCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Close brace should be on a new line by itself.. + /// + internal static string PlaceCloseBraceDescription { + get { + return ResourceManager.GetString("PlaceCloseBraceDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Close brace is not on a new line.. + /// + internal static string PlaceCloseBraceErrorShouldBeOnNewLine { + get { + return ResourceManager.GetString("PlaceCloseBraceErrorShouldBeOnNewLine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Close brace before a branch statement is followed by a new line.. + /// + internal static string PlaceCloseBraceErrorShouldCuddleBranchStatement { + get { + return ResourceManager.GetString("PlaceCloseBraceErrorShouldCuddleBranchStatement", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Close brace does not follow a new line.. + /// + internal static string PlaceCloseBraceErrorShouldFollowNewLine { + get { + return ResourceManager.GetString("PlaceCloseBraceErrorShouldFollowNewLine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Close brace does not follow a non-empty line.. + /// + internal static string PlaceCloseBraceErrorShouldNotFollowEmptyLine { + get { + return ResourceManager.GetString("PlaceCloseBraceErrorShouldNotFollowEmptyLine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PlaceCloseBrace. + /// + internal static string PlaceCloseBraceName { + get { + return ResourceManager.GetString("PlaceCloseBraceName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Place open braces consistently. + /// + internal static string PlaceOpenBraceCommonName { + get { + return ResourceManager.GetString("PlaceOpenBraceCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Place open braces either on the same line as the preceding expression or on a new line.. + /// + internal static string PlaceOpenBraceDescription { + get { + return ResourceManager.GetString("PlaceOpenBraceDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to There is no new line after open brace.. + /// + internal static string PlaceOpenBraceErrorNoNewLineAfterBrace { + get { + return ResourceManager.GetString("PlaceOpenBraceErrorNoNewLineAfterBrace", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open brace not on same line as preceding keyword. It should be on the same line.. + /// + internal static string PlaceOpenBraceErrorShouldBeOnSameLine { + get { + return ResourceManager.GetString("PlaceOpenBraceErrorShouldBeOnSameLine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open brace is not on a new line.. + /// + internal static string PlaceOpenBraceErrorShouldNotBeOnSameLine { + get { + return ResourceManager.GetString("PlaceOpenBraceErrorShouldNotBeOnSameLine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PlaceOpenBrace. + /// + internal static string PlaceOpenBraceName { + get { + return ResourceManager.GetString("PlaceOpenBraceName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Null Comparison. /// @@ -1824,6 +2014,114 @@ internal static string UseCompatibleCmdletsName { } } + /// + /// Looks up a localized string similar to Use consistent indentation. + /// + internal static string UseConsistentIndentationCommonName { + get { + return ResourceManager.GetString("UseConsistentIndentationCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Each statement block should have a consistent indenation.. + /// + internal static string UseConsistentIndentationDescription { + get { + return ResourceManager.GetString("UseConsistentIndentationDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Indentation not consistent. + /// + internal static string UseConsistentIndentationError { + get { + return ResourceManager.GetString("UseConsistentIndentationError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UseConsistentIndentation. + /// + internal static string UseConsistentIndentationName { + get { + return ResourceManager.GetString("UseConsistentIndentationName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use whitespaces. + /// + internal static string UseConsistentWhitespaceCommonName { + get { + return ResourceManager.GetString("UseConsistentWhitespaceCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check for whitespace between keyword and open paren/curly, around assigment operator ('='), around arithmetic operators and after separators (',' and ';'). + /// + internal static string UseConsistentWhitespaceDescription { + get { + return ResourceManager.GetString("UseConsistentWhitespaceDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use space before open brace.. + /// + internal static string UseConsistentWhitespaceErrorBeforeBrace { + get { + return ResourceManager.GetString("UseConsistentWhitespaceErrorBeforeBrace", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use space before open parenthesis.. + /// + internal static string UseConsistentWhitespaceErrorBeforeParen { + get { + return ResourceManager.GetString("UseConsistentWhitespaceErrorBeforeParen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use space before and after binary and assignment operators.. + /// + internal static string UseConsistentWhitespaceErrorOperator { + get { + return ResourceManager.GetString("UseConsistentWhitespaceErrorOperator", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use space after a comma.. + /// + internal static string UseConsistentWhitespaceErrorSeparatorComma { + get { + return ResourceManager.GetString("UseConsistentWhitespaceErrorSeparatorComma", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use space after a semicolon.. + /// + internal static string UseConsistentWhitespaceErrorSeparatorSemi { + get { + return ResourceManager.GetString("UseConsistentWhitespaceErrorSeparatorSemi", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UseConsistentWhitespace. + /// + internal static string UseConsistentWhitespaceName { + get { + return ResourceManager.GetString("UseConsistentWhitespaceName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Extra Variables. /// @@ -1879,7 +2177,7 @@ internal static string UseIdenticalMandatoryParametersDSCDescription { } /// - /// Looks up a localized string similar to The mandatory parameter '{0}' is not present in '{1}' DSC resource function(s).. + /// Looks up a localized string similar to The '{0}' parameter '{1}' is not present in '{2}' DSC resource function(s).. /// internal static string UseIdenticalMandatoryParametersDSCError { get { @@ -2166,6 +2464,42 @@ internal static string UseStandardDSCFunctionsInResourceName { } } + /// + /// Looks up a localized string similar to Use SupportsShouldProcess. + /// + internal static string UseSupportsShouldProcessCommonName { + get { + return ResourceManager.GetString("UseSupportsShouldProcessCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Commands typically provide Confirm and Whatif parameters to give more control on its execution in an interactive environment. In PowerShell, a command can use a SupportsShouldProcess attribute to provide this capability. Hence, manual addition of these parameters to a command is discouraged. If a commands need Confirm and Whatif parameters, then it should support ShouldProcess.. + /// + internal static string UseSupportsShouldProcessDescription { + get { + return ResourceManager.GetString("UseSupportsShouldProcessDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whatif and/or Confirm manually defined in function {0}. Instead, please use SupportsShouldProcess attribute.. + /// + internal static string UseSupportsShouldProcessError { + get { + return ResourceManager.GetString("UseSupportsShouldProcessError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UseSupportsShouldProcess. + /// + internal static string UseSupportsShouldProcessName { + get { + return ResourceManager.GetString("UseSupportsShouldProcessName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Use the *ToExport module manifest fields.. /// diff --git a/Rules/project.json b/Rules/project.json deleted file mode 100644 index 6a37f6f04..000000000 --- a/Rules/project.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules", - "version": "1.16.1", - "dependencies": { - "System.Management.Automation": "6.0.0-alpha13", - "Engine": "1.16.1", - "Newtonsoft.Json": "9.0.1" - }, - - "configurations": { - "PSV3Release": { - "buildOptions": { - "define": [ "PSV3", "PSV5" ], - "optimize": true - } - }, - "PSV3Debug": { - "buildOptions": { - "define": [ "PSV3", "DEBUG" ] - } - } - }, - - "frameworks": { - "net451": { - "frameworkAssemblies": { - "System.ComponentModel.Composition": "", - "System.Data.Entity.Design": "" - }, - "buildOptions": { - "compile": { - "exclude": [ - "Strings.Designer.Core.cs", - "Strings.Designer.cs" - ] - }, - "debugType": "portable" - } - }, - "netstandard1.6": { - "imports": "dnxcore50", - "buildOptions": { - "define": [ "CORECLR" ], - "compile": { - "exclude": [ - "Strings.Designer.cs", - "Strings.Designer.Core.cs", - "UseSingularNouns.cs" - ] - }, - "debugType": "portable" - }, - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.0-rc2-3002702" - } - } - } - } -} diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index 9d2dffcb9..da33bfac9 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -171,8 +171,8 @@ function Update-Version [string] $solutionPath ) - $ruleJson = Combine-Path $solutionPath 'Rules' 'project.json' - $engineJson = Combine-Path $solutionPath 'Engine' 'project.json' + $ruleJson = Combine-Path $solutionPath 'Rules' 'Rules.csproj' + $engineJson = Combine-Path $solutionPath 'Engine' 'Engine.csproj' $pssaManifest = Combine-Path $solutionPath 'Engine' 'PSScriptAnalyzer.psd1' Update-PatternInFile $ruleJson '"version": "{0}"' $oldVer $newVer diff --git a/Utils/RuleMaker.psm1 b/Utils/RuleMaker.psm1 index fe01740c8..cea6af750 100644 --- a/Utils/RuleMaker.psm1 +++ b/Utils/RuleMaker.psm1 @@ -22,7 +22,7 @@ Function Get-SolutionRoot $PSModule = $ExecutionContext.SessionState.Module $path = $PSModule.ModuleBase $root = Split-Path -Path $path -Parent - $solutionFilename = 'psscriptanalyzer.sln' + $solutionFilename = 'PSScriptAnalyzer.sln' if (-not (Test-Path (Join-Path $root $solutionFilename))) { return $null diff --git a/appveyor.yml b/appveyor.yml index 1e24d0dea..4db1569fe 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ environment: matrix: - - APPVEYOR_BUILD_WORKER_IMAGE: WMF 5 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 PowerShellEdition: Desktop BuildConfiguration: Release - APPVEYOR_BUILD_WORKER_IMAGE: WMF 4 @@ -10,20 +10,35 @@ environment: # clone directory clone_folder: c:\projects\psscriptanalyzer -# cache nuget packages +# cache Nuget packages and dotnet CLI cache cache: - - '%USERPROFILE%\.nuget\packages -> **\project.json' + - '%USERPROFILE%\.nuget\packages -> appveyor.yml' + - '%LocalAppData%\Microsoft\dotnet -> appveyor.yml' # Install Pester install: - - cinst -y pester --version 3.4.0 - ps: nuget install platyPS -Version 0.5.0 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion + - ps: | + $requiredPesterVersion = '3.4.0' + $pester = Get-Module Pester -ListAvailable | Where-Object { $_.Version -eq $requiredPesterVersion } + $pester + if ($null -eq $pester) # WMF 4 build does not have pester + { + cinst -y pester --version $requiredPesterVersion + } + - ps: | + # the legacy WMF4 image only has the old preview SDKs of dotnet + if (-not ((dotnet --version).StartsWith('1.1'))) + { + Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1 + .\dotnet-install.ps1 -Channel 1.1 + } build_script: - ps: | $PSVersionTable Push-Location C:\projects\psscriptanalyzer - dotnet restore + dotnet --version C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration $env:BuildConfiguration -Build C:\projects\psscriptanalyzer\build.ps1 -BuildDocs Pop-Location diff --git a/buildCoreClr.ps1 b/buildCoreClr.ps1 index f3111380f..86a28a1c5 100644 --- a/buildCoreClr.ps1 +++ b/buildCoreClr.ps1 @@ -1,5 +1,8 @@ param( + # Automatically performs a 'dotnet restore' when being run the first time [switch]$Build, + # Restore Projects in case NuGet packages have changed + [switch]$Restore, [switch]$Uninstall, [switch]$Install, @@ -20,7 +23,12 @@ Function Test-DotNetRestore param( [string] $projectPath ) - Test-Path (Join-Path $projectPath 'project.lock.json') + Test-Path ([System.IO.Path]::Combine($projectPath, 'obj', 'project.assets.json')) +} + +function Invoke-RestoreSolution +{ + dotnet restore (Join-Path $PSScriptRoot .\PSScriptAnalyzer.sln) } $solutionDir = Split-Path $MyInvocation.InvocationName @@ -47,27 +55,29 @@ elseif ($Configuration -match 'PSv3') { $destinationDirBinaries = "$destinationDir\PSv3" } +if ($Restore.IsPresent) +{ + Invoke-RestoreSolution +} if ($build) { if (-not (Test-DotNetRestore((Join-Path $solutionDir Engine)))) { - throw "Please restore project Engine" + Invoke-RestoreSolution } - .\New-StronglyTypedCsFileForResx.ps1 Engine Push-Location Engine\ - dotnet build --framework $Framework --configuration $Configuration + dotnet build Engine.csproj --framework $Framework --configuration $Configuration Pop-Location if (-not (Test-DotNetRestore((Join-Path $solutionDir Rules)))) { - throw "Please restore project Rules" + Invoke-RestoreSolution } - .\New-StronglyTypedCsFileForResx.ps1 Rules Push-Location Rules\ - dotnet build --framework $Framework --configuration $Configuration + dotnet build Rules.csproj --framework $Framework --configuration $Configuration Pop-Location Function CopyToDestinationDir($itemsToCopy, $destination) diff --git a/global.json b/global.json index 023d5575d..a7d00c0aa 100644 --- a/global.json +++ b/global.json @@ -4,6 +4,6 @@ "Rules" ], "sdk": { - "version": "1.0.0-preview2-1-003177" + "version": "1.1.5" } } From 9e37dd34e8564dc7470dda1e0d2596de37bcd679 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 22 Jan 2018 01:10:12 +0000 Subject: [PATCH 052/120] Upgrade from .Net Core SDK 1.1 to 2.1.4 (#854) * Upgrade to netcore 2.0.5 runtime * add test build using netstandard 1.6 to test in CI that only supported APIs are being called. * PSv3Release configuration is not applicable to netstandard1.6 framework -> hardcode 'Release' for netstandard 1.6 test build --- README.md | 3 +-- appveyor.yml | 7 +++++-- global.json | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bd38a220d..d8b30ad56 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,7 @@ Exit ### From Source -#### Requirements -* [.NET Core 1.1.5 SDK](https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.5.md) +* [.NET Core 2.1.4 SDK](https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.0.5-download.md) * [PlatyPS 0.5.0 or greater](https://github.com/PowerShell/platyPS) * Optionally but recommended for development: [Visual Studio 2017](https://www.visualstudio.com/downloads/) diff --git a/appveyor.yml b/appveyor.yml index 4db1569fe..e5582850a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,10 +28,10 @@ install: } - ps: | # the legacy WMF4 image only has the old preview SDKs of dotnet - if (-not ((dotnet --version).StartsWith('1.1'))) + if (-not ((dotnet --version).StartsWith('2.1.4'))) { Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1 - .\dotnet-install.ps1 -Channel 1.1 + .\dotnet-install.ps1 -Version 2.1.4 } build_script: @@ -39,6 +39,9 @@ build_script: $PSVersionTable Push-Location C:\projects\psscriptanalyzer dotnet --version + # Test build using netstandard to test whether APIs are being called that are not available in .Net Core. Remove output afterwards. + .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build + git clean -dfx C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration $env:BuildConfiguration -Build C:\projects\psscriptanalyzer\build.ps1 -BuildDocs Pop-Location diff --git a/global.json b/global.json index a7d00c0aa..0b0ba35ab 100644 --- a/global.json +++ b/global.json @@ -4,6 +4,6 @@ "Rules" ], "sdk": { - "version": "1.1.5" + "version": "2.1.4" } } From 1cda9d33dfcc3f56860a3260d6da6cd21dc6c84e Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 22 Jan 2018 03:11:10 +0200 Subject: [PATCH 053/120] =?UTF-8?q?Use=20the=20typewriter=20apostrophe=20(?= =?UTF-8?q?=20'=20)=20instead=20the=20typographic=20apostrophe=20(=20?= =?UTF-8?q?=E2=80=99=20)=20in=20rules=20message=20(#855)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All rules use the typewriter apostrophe in the description. --- Rules/Strings.Designer.cs | 4 ++-- Rules/Strings.resx | 4 ++-- Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 | 2 +- .../Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 | 2 +- Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index fb6532d29..1d6f12a04 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -2366,7 +2366,7 @@ internal static string UseShouldProcessForStateChangingFunctionsDescrption { } /// - /// Looks up a localized string similar to Function ’{0}’ has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.. + /// Looks up a localized string similar to Function '{0}' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.. /// internal static string UseShouldProcessForStateChangingFunctionsError { get { @@ -2636,7 +2636,7 @@ internal static string UseVerboseMessageInDSCResourceDescription { } /// - /// Looks up a localized string similar to There is no call to Write-Verbose in DSC function ‘{0}’. If you are using Write-Verbose in a helper function, suppress this rule application.. + /// Looks up a localized string similar to There is no call to Write-Verbose in DSC function '{0}'. If you are using Write-Verbose in a helper function, suppress this rule application.. /// internal static string UseVerboseMessageInDSCResourceErrorFunction { get { diff --git a/Rules/Strings.resx b/Rules/Strings.resx index 7148ba8ea..aa12ff43f 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -280,7 +280,7 @@ It is a best practice to emit informative, verbose messages in DSC resource functions. This helps in debugging issues when a DSC configuration is executed. - There is no call to Write-Verbose in DSC function ‘{0}’. If you are using Write-Verbose in a helper function, suppress this rule application. + There is no call to Write-Verbose in DSC function '{0}'. If you are using Write-Verbose in a helper function, suppress this rule application. Use verbose message in DSC resource @@ -658,7 +658,7 @@ Functions that have verbs like New, Start, Stop, Set, Reset, Restart that change system state should support 'ShouldProcess'. - Function ’{0}’ has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. + Function '{0}' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. UseShouldProcessForStateChangingFunctions diff --git a/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 b/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 index 78f3d1a27..6f52cc709 100644 --- a/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 +++ b/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 @@ -1,5 +1,5 @@ Import-Module PSScriptAnalyzer -$violationMessage = [regex]::Escape("There is no call to Write-Verbose in the function ‘Verb-Files’.") +$violationMessage = [regex]::Escape("There is no call to Write-Verbose in the function 'Verb-Files'.") $violationName = "PSProvideVerboseMessage" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\BadCmdlet.ps1 | Where-Object {$_.RuleName -eq $violationName} diff --git a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 index f37a7f1c2..747ef3318 100644 --- a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 +++ b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 @@ -1,5 +1,5 @@ Import-Module PSScriptAnalyzer -$violationMessage = "Function ’Set-MyObject’ has verb that could change system state. Therefore, the function has to support 'ShouldProcess'" +$violationMessage = "Function 'Set-MyObject' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'" $violationName = "PSUseShouldProcessForStateChangingFunctions" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\UseShouldProcessForStateChangingFunctions.ps1 | Where-Object {$_.RuleName -eq $violationName} diff --git a/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 b/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 index d181bb628..f78dff5ee 100644 --- a/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 +++ b/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 @@ -1,6 +1,6 @@ Import-Module PSScriptAnalyzer -$violationMessage = "There is no call to Write-Verbose in DSC function ‘Test-TargetResource’. If you are using Write-Verbose in a helper function, suppress this rule application." +$violationMessage = "There is no call to Write-Verbose in DSC function 'Test-TargetResource'. If you are using Write-Verbose in a helper function, suppress this rule application." $violationName = "PSDSCUseVerboseMessageInDSCResource" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\DSCResourceModule\DSCResources\MSFT_WaitForAll\MSFT_WaitForAll.psm1 | Where-Object {$_.RuleName -eq $violationName} From 3f088959e36c71153647216f0a5c174ed978ca80 Mon Sep 17 00:00:00 2001 From: Sergey Vasin Date: Fri, 2 Feb 2018 21:31:50 +0300 Subject: [PATCH 054/120] Fix Example 7 in Invoke-ScriptAnalyzer.md. (#862) --- docs/markdown/Invoke-ScriptAnalyzer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index a83634afd..c742babe8 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -113,8 +113,8 @@ This example runs only the rules that are Error severity and have the PSDSC sour function Get-Widgets { [CmdletBinding()] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingCmdletAliases", Justification="Resolution in progress.")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingCmdletAliases", "", Justification="Resolution in progress.")] Param() dir $pshome From 048c7f37230df957ddeedf9eef4593d570dd3e95 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 5 Feb 2018 23:49:31 +0000 Subject: [PATCH 055/120] Warn when an if statement contains an assignment (#859) * first try at implementation rule. basically works but also catches case where the execution block of the if statement contains an assignment * remove unused variables and fix test to import pssa and fix some rule counter tests * Improve rule to only assert against clause in if statement. TODO: Make sure that the following case does not get flagged up (added a test case for it) 'if ( $files = get-childitem ) { }' * Improve rule to reduce false warnings and adds lots more tests. The only false positive that is left is 'if ($a = (Get-ChildItem)){}' where the RHS is wrapped in an exprssion * fix false positive when the command is wrapped in an expression * simplify and cleanup * Uncomment import of PSSA in test to be consistent with other tests --- Engine/Generic/IScriptRule.cs | 4 - ...sibleIncorrectUsageOfAssignmentOperator.md | 7 + ...sibleIncorrectUsageOfAssignmentOperator.cs | 124 ++++++++++++++++++ Rules/Strings.Designer.cs | 35 ++++- Rules/Strings.resx | 66 ++++++---- Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 4 +- ...correctUsageOfAssignmentOperator.tests.ps1 | 63 +++++++++ 7 files changed, 264 insertions(+), 39 deletions(-) create mode 100644 RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md create mode 100644 Rules/PossibleIncorrectUsageOfAssignmentOperator.cs create mode 100644 Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 diff --git a/Engine/Generic/IScriptRule.cs b/Engine/Generic/IScriptRule.cs index df7de53fa..b081296ae 100644 --- a/Engine/Generic/IScriptRule.cs +++ b/Engine/Generic/IScriptRule.cs @@ -10,11 +10,7 @@ // THE SOFTWARE. // -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Management.Automation.Language; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic diff --git a/RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md b/RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md new file mode 100644 index 000000000..42ced0406 --- /dev/null +++ b/RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md @@ -0,0 +1,7 @@ +# PossibleIncorrectUsageOfAssignmentOperator + +**Severity Level: Information** + +## Description + +In many programming languages, the equality operator is denoted as `==` or `=`, but `PowerShell` uses `-eq`. Since assignment inside if statements are very rare, this rule wants to call out this case because it might have been unintentional. diff --git a/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs b/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs new file mode 100644 index 000000000..fe34e6d2a --- /dev/null +++ b/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs @@ -0,0 +1,124 @@ +// +// Copyright (c) Microsoft Corporation. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. +// + +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; +using System; +using System.Collections.Generic; +#if !CORECLR +using System.ComponentModel.Composition; +#endif +using System.Management.Automation.Language; +using System.Globalization; + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules +{ + /// + /// PossibleIncorrectUsageOfAssignmentOperator: Warn if someone uses the '=' or '==' by accident in an if statement because in most cases that is not the intention. + /// +#if !CORECLR +[Export(typeof(IScriptRule))] +#endif + public class PossibleIncorrectUsageOfAssignmentOperator : AstVisitor, IScriptRule + { + /// + /// The idea is to get all AssignmentStatementAsts and then check if the parent is an IfStatementAst, which includes if, elseif and else statements. + /// + public IEnumerable AnalyzeScript(Ast ast, string fileName) + { + if (ast == null) throw new ArgumentNullException(Strings.NullAstErrorMessage); + + var ifStatementAsts = ast.FindAll(testAst => testAst is IfStatementAst, searchNestedScriptBlocks: true); + foreach (IfStatementAst ifStatementAst in ifStatementAsts) + { + foreach (var clause in ifStatementAst.Clauses) + { + var assignmentStatementAst = clause.Item1.Find(testAst => testAst is AssignmentStatementAst, searchNestedScriptBlocks: false) as AssignmentStatementAst; + if (assignmentStatementAst != null) + { + // Check if someone used '==', which can easily happen when the person is used to coding a lot in C#. + // In most cases, this will be a runtime error because PowerShell will look for a cmdlet name starting with '=', which is technically possible to define + if (assignmentStatementAst.Right.Extent.Text.StartsWith("=")) + { + yield return new DiagnosticRecord( + Strings.PossibleIncorrectUsageOfAssignmentOperatorError, assignmentStatementAst.Extent, + GetName(), DiagnosticSeverity.Warning, fileName); + } + else + { + // If the right hand side contains a CommandAst at some point, then we do not want to warn + // because this could be intentional in cases like 'if ($a = Get-ChildItem){ }' + var commandAst = assignmentStatementAst.Right.Find(testAst => testAst is CommandAst, searchNestedScriptBlocks: true) as CommandAst; + if (commandAst == null) + { + yield return new DiagnosticRecord( + Strings.PossibleIncorrectUsageOfAssignmentOperatorError, assignmentStatementAst.Extent, + GetName(), DiagnosticSeverity.Information, fileName); + } + } + } + } + } + } + + /// + /// GetName: Retrieves the name of this rule. + /// + /// The name of this rule + public string GetName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.NameSpaceFormat, GetSourceName(), Strings.PossibleIncorrectUsageOfAssignmentOperatorName); + } + + /// + /// GetCommonName: Retrieves the common name of this rule. + /// + /// The common name of this rule + public string GetCommonName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.PossibleIncorrectUsageOfAssignmentOperatorCommonName); + } + + /// + /// GetDescription: Retrieves the description of this rule. + /// + /// The description of this rule + public string GetDescription() + { + return string.Format(CultureInfo.CurrentCulture, Strings.AvoidUsingWriteHostDescription); + } + + /// + /// GetSourceType: Retrieves the type of the rule: builtin, managed or module. + /// + public SourceType GetSourceType() + { + return SourceType.Builtin; + } + + /// + /// GetSeverity: Retrieves the severity of the rule: error, warning of information. + /// + /// + public RuleSeverity GetSeverity() + { + return RuleSeverity.Information; + } + + /// + /// GetSourceName: Retrieves the module/assembly name the rule is from. + /// + public string GetSourceName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.SourceName); + } + } +} diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index 1d6f12a04..9905be482 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -11,8 +11,8 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { using System; using System.Reflection; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -1537,6 +1537,33 @@ internal static string PossibleIncorrectComparisonWithNullName { } } + /// + /// Looks up a localized string similar to '=' operator means assignment. Did you mean the equal operator '-eq'?. + /// + internal static string PossibleIncorrectUsageOfAssignmentOperatorCommonName { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfAssignmentOperatorCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Did you really mean to make an assignment inside an if statement? If you rather meant to check for equality, use the '-eq' operator.. + /// + internal static string PossibleIncorrectUsageOfAssignmentOperatorError { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfAssignmentOperatorError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PossibleIncorrectUsageOfAssignmentOperator. + /// + internal static string PossibleIncorrectUsageOfAssignmentOperatorName { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfAssignmentOperatorName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Basic Comment Help. /// @@ -2366,7 +2393,7 @@ internal static string UseShouldProcessForStateChangingFunctionsDescrption { } /// - /// Looks up a localized string similar to Function '{0}' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.. + /// Looks up a localized string similar to Function '{0}' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.. /// internal static string UseShouldProcessForStateChangingFunctionsError { get { @@ -2636,7 +2663,7 @@ internal static string UseVerboseMessageInDSCResourceDescription { } /// - /// Looks up a localized string similar to There is no call to Write-Verbose in DSC function '{0}'. If you are using Write-Verbose in a helper function, suppress this rule application.. + /// Looks up a localized string similar to There is no call to Write-Verbose in DSC function '{0}'. If you are using Write-Verbose in a helper function, suppress this rule application.. /// internal static string UseVerboseMessageInDSCResourceErrorFunction { get { diff --git a/Rules/Strings.resx b/Rules/Strings.resx index aa12ff43f..69de3a14f 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -1,17 +1,17 @@  - @@ -957,7 +957,6 @@ Use space after a semicolon. - UseSupportsShouldProcess @@ -982,4 +981,13 @@ Assignment statements are not aligned - + + '=' operator means assignment. Did you mean the equal operator '-eq'? + + + Did you really mean to make an assignment inside an if statement? If you rather meant to check for equality, use the '-eq' operator. + + + PossibleIncorrectUsageOfAssignmentOperator + + \ No newline at end of file diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index 28980e462..0ca96f243 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -61,7 +61,7 @@ Describe "Test Name parameters" { It "get Rules with no parameters supplied" { $defaultRules = Get-ScriptAnalyzerRule - $expectedNumRules = 52 + $expectedNumRules = 53 if ((Test-PSEditionCoreClr) -or (Test-PSVersionV3) -or (Test-PSVersionV4)) { # for PSv3 PSAvoidGlobalAliases is not shipped because @@ -159,7 +159,7 @@ Describe "TestSeverity" { It "filters rules based on multiple severity inputs"{ $rules = Get-ScriptAnalyzerRule -Severity Error,Information - $rules.Count | Should be 14 + $rules.Count | Should be 15 } It "takes lower case inputs" { diff --git a/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 new file mode 100644 index 000000000..9c48cb34b --- /dev/null +++ b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 @@ -0,0 +1,63 @@ +Import-Module PSScriptAnalyzer +$ruleName = "PSPossibleIncorrectUsageOfAssignmentOperator" + +Describe "PossibleIncorrectUsageOfAssignmentOperator" { + Context "When there are violations" { + It "assignment inside if statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a=$b){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 1 + } + + It "assignment inside if statement causes warning when when wrapped in command expression" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a=($b)){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 1 + } + + It "assignment inside if statement causes warning when wrapped in expression" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a="$b"){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 1 + } + + It "assignment inside elseif statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -eq $b){}elseif($a = $b){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 1 + } + + It "double equals inside if statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a == $b){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 1 + } + + It "double equals inside if statement causes warning when wrapping it in command expresion" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a == ($b)){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 1 + } + + It "double equals inside if statement causes warning when wrapped in expression" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a == "$b"){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 1 + } + } + + Context "When there are no violations" { + It "returns no violations when there is no equality operator" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -eq $b){$a=$b}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 0 + } + + It "returns no violations when there is an evaluation on the RHS" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = Get-ChildItem){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 0 + } + + It "returns no violations when there is an evaluation on the RHS wrapped in an expression" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = (Get-ChildItem)){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 0 + } + + It "returns no violations when there is an evaluation on the RHS wrapped in an expression and also includes a variable" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = (Get-ChildItem $b)){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should Be 0 + } + } +} From d918da83d6c506e53ada57746e93e39ce599de20 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 5 Feb 2018 23:50:29 +0000 Subject: [PATCH 056/120] Add a simple GitHub issue template based on the one of PowerShell Core. (#865) --- .github/ISSUE_TEMPLATE.md.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md.txt diff --git a/.github/ISSUE_TEMPLATE.md.txt b/.github/ISSUE_TEMPLATE.md.txt new file mode 100644 index 000000000..9aac57600 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md.txt @@ -0,0 +1,32 @@ +Steps to reproduce +------------------ + +```powershell + +``` + +Expected behavior +----------------- + +```none + +``` + +Actual behavior +--------------- + +```none + +``` + +Environment data +---------------- + + + +```powershell +> $PSVersionTable + +> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() } + +``` From 3adb9dfd29b7f82624ff3da83317010d4cfd84d3 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 5 Feb 2018 23:51:52 +0000 Subject: [PATCH 057/120] Add simple GitHub Pull Request template based off the one for PowerShell Core (#866) * Add simple GitHub Pull Request template based off the one for PowerShell Core * update pr template with help for people that are not familiar with markdown * remove powershell core specific links * fix typo --- .github/PULL_REQUEST_TEMPLATE.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..c62f4f6d8 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +## PR Summary + + + +## PR Checklist + +Note: Tick the boxes below that apply to this pull request by putting an `x` between the square brackets. Please mark anything not applicable to this PR `NA`. + +- [ ] PR has a meaningful title + - [ ] Use the present tense and imperative mood when describing your changes +- [ ] Summarized changes +- [ ] User facing documentation needed +- [ ] Change is not breaking +- [ ] Make sure you've added a new test if existing tests do not effectively test the code changed +- [ ] This PR is ready to merge and is not work in progress + - If the PR is work in progress, please add the prefix `WIP:` to the beginning of the title and remove the prefix when the PR is ready From 79fe37f9cda27778294790aebc642cfed6087570 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 6 Feb 2018 00:07:04 +0000 Subject: [PATCH 058/120] Fix PSAvoidUsingCmdletAliases warnings in root and Utils folder using the new -Fix switch. Encoding was corrected to stay the same. (#872) --- .build.ps1 | 12 ++++++------ New-StronglyTypedCsFileForResx.ps1 | 2 +- Utils/New-CommandDataFile.ps1 | 8 ++++---- Utils/ReleaseMaker.psm1 | 4 ++-- Utils/RuleMaker.psm1 | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.build.ps1 b/.build.ps1 index b1d94d75f..4489df2ff 100644 --- a/.build.ps1 +++ b/.build.ps1 @@ -38,20 +38,20 @@ function CreateIfNotExists([string] $folderPath) { } function Get-BuildInputs($project) { - pushd $buildRoot/$project - gci -Filter *.cs - gci -Directory -Exclude obj, bin | gci -Filter *.cs -Recurse - popd + Push-Location $buildRoot/$project + Get-ChildItem -Filter *.cs + Get-ChildItem -Directory -Exclude obj, bin | Get-ChildItem -Filter *.cs -Recurse + Pop-Location } function Get-BuildOutputs($project) { $bin = "$buildRoot/$project/bin/$Configuration/$Framework" $obj = "$buildRoot/$project/obj/$Configuration/$Framework" if (Test-Path $bin) { - gci $bin -Recurse + Get-ChildItem $bin -Recurse } if (Test-Path $obj) { - gci $obj -Recurse + Get-ChildItem $obj -Recurse } } diff --git a/New-StronglyTypedCsFileForResx.ps1 b/New-StronglyTypedCsFileForResx.ps1 index 5fb0ee9ea..1a2406dce 100644 --- a/New-StronglyTypedCsFileForResx.ps1 +++ b/New-StronglyTypedCsFileForResx.ps1 @@ -110,7 +110,7 @@ internal class {0} {{ }} }} '@ - $entries = $xml.root.data | % { + $entries = $xml.root.data | ForEach-Object { if ($_) { $val = $_.value.Replace("`n", "`n ///") $name = $_.name.Replace(' ', '_') diff --git a/Utils/New-CommandDataFile.ps1 b/Utils/New-CommandDataFile.ps1 index cc9d98412..5000e0a2f 100644 --- a/Utils/New-CommandDataFile.ps1 +++ b/Utils/New-CommandDataFile.ps1 @@ -82,8 +82,8 @@ $shortModuleInfos = Get-ChildItem -Path $builtinModulePath ` $module = $_ Write-Progress $module.Name $commands = Get-Command -Module $module - $shortCommands = $commands | select -Property Name,@{Label='CommandType';Expression={$_.CommandType.ToString()}},ParameterSets - $shortModuleInfo = $module | select -Property Name,@{Label='Version';Expression={$_.Version.ToString()}} + $shortCommands = $commands | Select-Object -Property Name,@{Label='CommandType';Expression={$_.CommandType.ToString()}},ParameterSets + $shortModuleInfo = $module | Select-Object -Property Name,@{Label='Version';Expression={$_.Version.ToString()}} Add-Member -InputObject $shortModuleInfo -NotePropertyName 'ExportedCommands' -NotePropertyValue $shortCommands Add-Member -InputObject $shortModuleInfo -NotePropertyName 'ExportedAliases' -NotePropertyValue $module.ExportedAliases.Keys -PassThru } @@ -95,12 +95,12 @@ $shortModuleInfos = Get-ChildItem -Path $builtinModulePath ` $psCoreSnapinName = 'Microsoft.PowerShell.Core' Write-Progress $psCoreSnapinName $commands = Get-Command -Module $psCoreSnapinName -$shortCommands = $commands | select -Property Name,@{Label='CommandType';Expression={$_.CommandType.ToString()}},ParameterSets +$shortCommands = $commands | Select-Object -Property Name,@{Label='CommandType';Expression={$_.CommandType.ToString()}},ParameterSets $shortModuleInfo = New-Object -TypeName PSObject -Property @{Name=$psCoreSnapinName; Version=$commands[0].PSSnapin.PSVersion.ToString()} Add-Member -InputObject $shortModuleInfo -NotePropertyName 'ExportedCommands' -NotePropertyValue $shortCommands # Find the exported aliases for the commands in Microsoft.PowerShell.Core -$aliases = Get-Alias * | where {($commands).Name -contains $_.ResolvedCommandName} +$aliases = Get-Alias * | Where-Object { ($commands).Name -contains $_.ResolvedCommandName } if ($null -eq $aliases) { $aliases = @() } diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index da33bfac9..5f38c05b2 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -89,7 +89,7 @@ function Get-VersionsFromChangeLog function New-ReleaseBuild { $solutionPath = Get-SolutionPath - pushd $solutionPath + Push-Location $solutionPath try { remove-item out/ -recurse -force @@ -101,7 +101,7 @@ function New-ReleaseBuild } finally { - popd + Pop-Location } } diff --git a/Utils/RuleMaker.psm1 b/Utils/RuleMaker.psm1 index cea6af750..b46d89bf0 100644 --- a/Utils/RuleMaker.psm1 +++ b/Utils/RuleMaker.psm1 @@ -286,7 +286,7 @@ Function Add-RuleStrings($Rule) Function Remove-RuleStrings($Rule) { $stringsXml = Get-RuleStrings $Rule - $nodesToRemove = $stringsXml.root.GetElementsByTagName("data") | ? {$_.name -match $Rule.Name} + $nodesToRemove = $stringsXml.root.GetElementsByTagName("data") | Where-Object { $_.name -match $Rule.Name } $nodesToRemove | Foreach-Object { $stringsXml.root.RemoveChild($_) } Set-RuleStrings $stringsXml } @@ -307,7 +307,7 @@ Function Set-RuleProjectXml($projectXml) Function Get-CompileTargetGroup($projectXml) { - $projectXml.Project.ItemGroup | ? {$_.Compile -ne $null} + $projectXml.Project.ItemGroup | Where-Object { $_.Compile -ne $null } } Function Add-RuleToProject($Rule) @@ -324,7 +324,7 @@ Function Remove-RuleFromProject($Rule) { $projectXml = Get-RuleProjectXml $compileItemgroup = Get-CompileTargetGroup $projectXml - $itemToRemove = $compileItemgroup.Compile | ? {$_.Include -eq $Rule.SourceFileName} + $itemToRemove = $compileItemgroup.Compile | Where-Object { $_.Include -eq $Rule.SourceFileName } $compileItemgroup.RemoveChild($itemToRemove) Set-RuleProjectXml $projectXml } From b5afd5df8de0613c7d5ce0501ff5c579b53446dd Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 6 Feb 2018 00:07:46 +0000 Subject: [PATCH 059/120] Make documentation of AvoidUsingPositionalParameters match the implementation (#867) * Make documentation of AvoidUsingPositionalParameters match the implementation * add more documentation details as suggested in PR comment --- RuleDocumentation/AvoidUsingPositionalParameters.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/RuleDocumentation/AvoidUsingPositionalParameters.md b/RuleDocumentation/AvoidUsingPositionalParameters.md index e1a0de3d4..fc31c0de7 100644 --- a/RuleDocumentation/AvoidUsingPositionalParameters.md +++ b/RuleDocumentation/AvoidUsingPositionalParameters.md @@ -1,12 +1,14 @@ # AvoidUsingPositionalParameters -**Severity Level: Warning** +** Severity Level: Information ** ## Description When developing PowerShell content that will potentially need to be maintained over time, either by the original author or others, you should use full command names and parameter names. -The use of positional parameters can reduce the readability of code and potentially introduce errors. +The use of positional parameters can reduce the readability of code and potentially introduce errors. Furthermore it is possible that future signatures of a Cmdlet could change in a way that would break existing scripts if calls to the Cmdlet rely on the position of the parameters. + +For simple Cmdlets with only a few positional parameters, the risk is much smaller and in order for this rule to be not too noisy, this rule gets only triggered when there are 3 or more parameters supplied. A simple example where the risk of using positional parameters is negligible, is e.g. `Test-Path $Path`. ## How @@ -17,11 +19,11 @@ Use full parameter names when calling commands. ### Wrong ``` PowerShell -Get-ChildItem *.txt +Get-Command Get-ChildItem Microsoft.PowerShell.Management System.Management.Automation.Cmdlet ``` ### Correct ``` PowerShell -Get-Content -Path *.txt +Get-Command -Noun Get-ChildItem -Module Microsoft.PowerShell.Management -ParameterType System.Management.Automation.Cmdlet ``` From ed21cf8acc38937819cd5d346bd98f41e1b94468 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 7 Feb 2018 00:53:06 +0000 Subject: [PATCH 060/120] use https links where possible (tested) (#873) --- Engine/Commands/GetScriptAnalyzerRuleCommand.cs | 2 +- Engine/Commands/InvokeScriptAnalyzerCommand.cs | 2 +- Engine/Settings/CodeFormattingStroustrup.psd1 | 2 +- Engine/VariableAnalysisBase.cs | 2 +- PowerShellBestPractices.md | 2 +- README.md | 4 ++-- RuleDocumentation/ProvideCommentHelp.md | 2 +- Tests/Rules/GoodCmdlet.ps1 | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Engine/Commands/GetScriptAnalyzerRuleCommand.cs b/Engine/Commands/GetScriptAnalyzerRuleCommand.cs index a0a669b98..e60ff8500 100644 --- a/Engine/Commands/GetScriptAnalyzerRuleCommand.cs +++ b/Engine/Commands/GetScriptAnalyzerRuleCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands /// /// GetScriptAnalyzerRuleCommand: Cmdlet to list all the analyzer rule names and descriptions. /// - [Cmdlet(VerbsCommon.Get, "ScriptAnalyzerRule", HelpUri = "http://go.microsoft.com/fwlink/?LinkId=525913")] + [Cmdlet(VerbsCommon.Get, "ScriptAnalyzerRule", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=525913")] public class GetScriptAnalyzerRuleCommand : PSCmdlet, IOutputWriter { #region Parameters diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index 4719a51a1..7f7a76a41 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -39,7 +39,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands "ScriptAnalyzer", DefaultParameterSetName = "File", SupportsShouldProcess = true, - HelpUri = "http://go.microsoft.com/fwlink/?LinkId=525914")] + HelpUri = "https://go.microsoft.com/fwlink/?LinkId=525914")] public class InvokeScriptAnalyzerCommand : PSCmdlet, IOutputWriter { #region Private variables diff --git a/Engine/Settings/CodeFormattingStroustrup.psd1 b/Engine/Settings/CodeFormattingStroustrup.psd1 index 51cbb540a..f40c83988 100644 --- a/Engine/Settings/CodeFormattingStroustrup.psd1 +++ b/Engine/Settings/CodeFormattingStroustrup.psd1 @@ -1,4 +1,4 @@ -# Inspired by http://eslint.org/docs/rules/brace-style#stroustrup +# Inspired by https://eslint.org/docs/rules/brace-style#stroustrup @{ IncludeRules = @( 'PSPlaceOpenBrace', diff --git a/Engine/VariableAnalysisBase.cs b/Engine/VariableAnalysisBase.cs index 79fd6727c..2ace1910e 100644 --- a/Engine/VariableAnalysisBase.cs +++ b/Engine/VariableAnalysisBase.cs @@ -546,7 +546,7 @@ internal static void DominanceFrontiers(List Blocks, Block Entry) /// /// Returns the immediate dominator of each block. The array returned is /// indexed by postorder number of each block. - /// Based on http://www.cs.rice.edu/~keith/Embed/dom.pdf + /// Based on https://www.cs.rice.edu/~keith/Embed/dom.pdf /// /// /// diff --git a/PowerShellBestPractices.md b/PowerShellBestPractices.md index 62838a856..81bc3e00c 100644 --- a/PowerShellBestPractices.md +++ b/PowerShellBestPractices.md @@ -126,6 +126,6 @@ The following guidelines come from a combined effort from both the PowerShell te ###Reference: * Cmdlet Development Guidelines from MSDN site (Cmdlet Development Guidelines): https://msdn.microsoft.com/en-us/library/ms714657(v=vs.85).aspx * The Community Book of PowerShell Practices (Compiled by Don Jones and Matt Penny and the Windows PowerShell Community): https://powershell.org/community-book-of-powershell-practices/ -* PowerShell DSC Resource Design and Testing Checklist: http://blogs.msdn.com/b/powershell/archive/2014/11/18/powershell-dsc-resource-design-and-testing-checklist.aspx +* PowerShell DSC Resource Design and Testing Checklist: https://blogs.msdn.com/b/powershell/archive/2014/11/18/powershell-dsc-resource-design-and-testing-checklist.aspx * DSC Guidelines can also be found in the DSC Resources Repository: https://github.com/PowerShell/DscResources * The Unofficial PowerShell Best Practices and Style Guide: https://github.com/PoshCode/PowerShellPracticeAndStyle diff --git a/README.md b/README.md index d8b30ad56..bcb1cb083 100644 --- a/README.md +++ b/README.md @@ -353,7 +353,7 @@ Contributing to ScriptAnalyzer ============================== You are welcome to contribute to this project. There are many ways to contribute: -1. Submit a bug report via [Issues]( https://github.com/PowerShell/PSScriptAnalyzer/issues). For a guide to submitting good bug reports, please read [Painless Bug Tracking](http://www.joelonsoftware.com/articles/fog0000000029.html). +1. Submit a bug report via [Issues]( https://github.com/PowerShell/PSScriptAnalyzer/issues). For a guide to submitting good bug reports, please read [Painless Bug Tracking](https://www.joelonsoftware.com/articles/fog0000000029.html). 2. Verify fixes for bugs. 3. Submit your fixes for a bug. Before submitting, please make sure you have: * Performed code reviews of your own @@ -366,7 +366,7 @@ You are welcome to contribute to this project. There are many ways to contribute 7. Tell others about the project. 8. Tell the developers how much you appreciate the product! -You might also read these two blog posts about contributing code: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza, and [Don’t “Push” Your Pull Requests](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik. +You might also read these two blog posts about contributing code: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza, and [Don’t “Push” Your Pull Requests](https://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik. Before submitting a feature or substantial code contribution, please discuss it with the Windows PowerShell team via [Issues](https://github.com/PowerShell/PSScriptAnalyzer/issues), and ensure it follows the product roadmap. Note that all code submissions will be rigorously reviewed by the Windows PowerShell Team. Only those that meet a high bar for both quality and roadmap fit will be merged into the source. diff --git a/RuleDocumentation/ProvideCommentHelp.md b/RuleDocumentation/ProvideCommentHelp.md index ddfc914bc..bfd922c63 100644 --- a/RuleDocumentation/ProvideCommentHelp.md +++ b/RuleDocumentation/ProvideCommentHelp.md @@ -6,7 +6,7 @@ Comment based help should be provided for all PowerShell commands. This test only checks for the presence of comment based help and not on the validity or format. -For assistance on comment based help, use the command ```Get-Help about_comment_based_help``` or the article, "How to Write Cmdlet Help" (http://go.microsoft.com/fwlink/?LinkID=123415). +For assistance on comment based help, use the command ```Get-Help about_comment_based_help``` or the article, "How to Write Cmdlet Help" (https://go.microsoft.com/fwlink/?LinkID=123415). ## Configuration diff --git a/Tests/Rules/GoodCmdlet.ps1 b/Tests/Rules/GoodCmdlet.ps1 index c667cb5f1..4f04f5c74 100644 --- a/Tests/Rules/GoodCmdlet.ps1 +++ b/Tests/Rules/GoodCmdlet.ps1 @@ -25,7 +25,7 @@ function Get-File [CmdletBinding(DefaultParameterSetName='Parameter Set 1', SupportsShouldProcess=$true, PositionalBinding=$false, - HelpUri = 'http://www.microsoft.com/', + HelpUri = 'https://www.microsoft.com/', ConfirmImpact='Medium')] [Alias()] [OutputType([String], [System.Double], [Hashtable], "MyCustom.OutputType")] @@ -134,7 +134,7 @@ function Get-Folder [CmdletBinding(DefaultParameterSetName='Parameter Set 1', SupportsShouldProcess, PositionalBinding=$false, - HelpUri = 'http://www.microsoft.com/', + HelpUri = 'https://www.microsoft.com/', ConfirmImpact='Medium')] [Alias()] [OutputType([String], [System.Double], [Hashtable], "MyCustom.OutputType")] From 539e28e92eb78b7849956e1f59fcefb010aa1fa8 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 7 Feb 2018 00:54:04 +0000 Subject: [PATCH 061/120] Adapt release script and documentation due to upgrade to .Net Core 2.0 (#870) * Remove 'dotnet restore' step in New-ReleaseBuild function because this is not needed any more due to the upgrade to .Net Core 2.0 * update readme with update to csproj --- README.md | 2 +- Utils/ReleaseMaker.psm1 | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index bcb1cb083..c8a7e9080 100644 --- a/README.md +++ b/README.md @@ -378,7 +378,7 @@ Creating a Release - Update changelog (`changelog.md`) with the new version number and change set. When updating the changelog please follow the same pattern as that of previous change sets (otherwise this may break the next step). - Import the ReleaseMaker module and execute `New-Release` cmdlet to perform the following actions. - Update module manifest (engine/PSScriptAnalyzer.psd1) with the new version number and change set - - Update the version number in `engine/project.json` and `rules/project.json` + - Update the version number in `Engine/Engine.csproj` and `Rules/Rules.csproj` - Create a release build in `out/` ```powershell diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index 5f38c05b2..aba151ecc 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -93,7 +93,6 @@ function New-ReleaseBuild try { remove-item out/ -recurse -force - dotnet restore .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build .\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build From d432e00c280e2c9e8dfad2466f3fd21afc6e51f9 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 7 Feb 2018 00:57:10 +0000 Subject: [PATCH 062/120] Warn against assignment to read-only automatic variables (#864) * add simple prototype to warn against some automatic variables * test against variables used in parameters as well and apply it to read-only variables * add first tests * parameterise tests * test that setting the variable actually throws an error * add documentation * fix test due to the addition of a new rule * Fix false positive in parameter attributes and add tests for it. * improve and simplify testing for exception * exclude PSEdition from test in wmf 4 * Address PR comments * trivial test fix due to merge with upstream branch --- Engine/Generic/DiagnosticRecordHelper.cs | 13 ++ .../AvoidAssignmentToAutomaticVariable.md | 33 +++++ Rules/AvoidAssignmentToAutomaticVariable.cs | 128 ++++++++++++++++++ Rules/Strings.Designer.cs | 45 ++++++ Rules/Strings.resx | 15 ++ Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 2 +- ...oidAssignmentToAutomaticVariable.tests.ps1 | 74 ++++++++++ 7 files changed, 309 insertions(+), 1 deletion(-) create mode 100644 Engine/Generic/DiagnosticRecordHelper.cs create mode 100644 RuleDocumentation/AvoidAssignmentToAutomaticVariable.md create mode 100644 Rules/AvoidAssignmentToAutomaticVariable.cs create mode 100644 Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 diff --git a/Engine/Generic/DiagnosticRecordHelper.cs b/Engine/Generic/DiagnosticRecordHelper.cs new file mode 100644 index 000000000..9302ec339 --- /dev/null +++ b/Engine/Generic/DiagnosticRecordHelper.cs @@ -0,0 +1,13 @@ +using System; +using System.Globalization; + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic +{ + public static class DiagnosticRecordHelper + { + public static string FormatError(string format, params object[] args) + { + return String.Format(CultureInfo.CurrentCulture, format, args); + } + } +} diff --git a/RuleDocumentation/AvoidAssignmentToAutomaticVariable.md b/RuleDocumentation/AvoidAssignmentToAutomaticVariable.md new file mode 100644 index 000000000..d9616e418 --- /dev/null +++ b/RuleDocumentation/AvoidAssignmentToAutomaticVariable.md @@ -0,0 +1,33 @@ +# AvoidAssignmentToAutomaticVariable + +**Severity Level: Warning** + +## Description + +`PowerShell` exposes some of its built-in variables that are known as automatic variables. Many of them are read-only and PowerShell would throw an error when trying to assign an value on those. Other automatic variables should only be assigned to in certain special cases to achieve a certain effect as a special technique. + +To understand more about automatic variables, see ```Get-Help about_Automatic_Variables```. + +## How + +Use variable names in functions or their parameters that do not conflict with automatic variables. + +## Example + +### Wrong + +The variable `$Error` is an automatic variables that exists in the global scope and should therefore never be used as a variable or parameter name. + +``` PowerShell +function foo($Error){ } +``` + +``` PowerShell +function Get-CustomErrorMessage($ErrorMessage){ $Error = "Error occurred: $ErrorMessage" } +``` + +### Correct + +``` PowerShell +function Get-CustomErrorMessage($ErrorMessage){ $FinalErrorMessage = "Error occurred: $ErrorMessage" } +``` diff --git a/Rules/AvoidAssignmentToAutomaticVariable.cs b/Rules/AvoidAssignmentToAutomaticVariable.cs new file mode 100644 index 000000000..a474b4492 --- /dev/null +++ b/Rules/AvoidAssignmentToAutomaticVariable.cs @@ -0,0 +1,128 @@ +// +// Copyright (c) Microsoft Corporation. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. +// + +using System; +using System.Linq; +using System.Collections.Generic; +using System.Management.Automation.Language; +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; +#if !CORECLR +using System.ComponentModel.Composition; +#endif +using System.Globalization; + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules +{ + /// + /// AvoidAssignmentToAutomaticVariable: + /// +#if !CORECLR +[Export(typeof(IScriptRule))] +#endif + public class AvoidAssignmentToAutomaticVariable : IScriptRule + { + private static readonly IList _readOnlyAutomaticVariables = new List() + { + // Attempting to assign to any of those read-only variable would result in an error at runtime + "?", "true", "false", "Host", "PSCulture", "Error", "ExecutionContext", "Home", "PID", "PSEdition", "PSHome", "PSUICulture", "PSVersionTable", "ShellId" + }; + + /// + /// Checks for assignment to automatic variables. + /// The script's ast + /// The script's file name + /// The diagnostic results of this rule + /// + public IEnumerable AnalyzeScript(Ast ast, string fileName) + { + if (ast == null) throw new ArgumentNullException(Strings.NullAstErrorMessage); + + IEnumerable assignmentStatementAsts = ast.FindAll(testAst => testAst is AssignmentStatementAst, searchNestedScriptBlocks: true); + foreach (var assignmentStatementAst in assignmentStatementAsts) + { + var variableExpressionAst = assignmentStatementAst.Find(testAst => testAst is VariableExpressionAst, searchNestedScriptBlocks: false) as VariableExpressionAst; + var variableName = variableExpressionAst.VariablePath.UserPath; + if (_readOnlyAutomaticVariables.Contains(variableName, StringComparer.OrdinalIgnoreCase)) + { + yield return new DiagnosticRecord(DiagnosticRecordHelper.FormatError(Strings.AvoidAssignmentToReadOnlyAutomaticVariableError, variableName), + variableExpressionAst.Extent, GetName(), DiagnosticSeverity.Error, fileName); + } + } + + IEnumerable parameterAsts = ast.FindAll(testAst => testAst is ParameterAst, searchNestedScriptBlocks: true); + foreach (ParameterAst parameterAst in parameterAsts) + { + var variableExpressionAst = parameterAst.Find(testAst => testAst is VariableExpressionAst, searchNestedScriptBlocks: false) as VariableExpressionAst; + var variableName = variableExpressionAst.VariablePath.UserPath; + // also check the parent to exclude parameter attributes such as '[Parameter(Mandatory=$true)]' where the read-only variable $true appears. + if (_readOnlyAutomaticVariables.Contains(variableName, StringComparer.OrdinalIgnoreCase) && !(variableExpressionAst.Parent is NamedAttributeArgumentAst)) + { + yield return new DiagnosticRecord(DiagnosticRecordHelper.FormatError(Strings.AvoidAssignmentToReadOnlyAutomaticVariableError, variableName), + variableExpressionAst.Extent, GetName(), DiagnosticSeverity.Error, fileName); + } + } + } + + /// + /// GetName: Retrieves the name of this rule. + /// + /// The name of this rule + public string GetName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.NameSpaceFormat, GetSourceName(), Strings.AvoidAssignmentToAutomaticVariableName); + } + + /// + /// GetCommonName: Retrieves the common name of this rule. + /// + /// The common name of this rule + public string GetCommonName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.AvoidAssignmentToReadOnlyAutomaticVariableCommonName); + } + + /// + /// GetDescription: Retrieves the description of this rule. + /// + /// The description of this rule + public string GetDescription() + { + return string.Format(CultureInfo.CurrentCulture, Strings.AvoidAssignmentToReadOnlyAutomaticVariableDescription); + } + + /// + /// GetSourceType: Retrieves the type of the rule: builtin, managed or module. + /// + public SourceType GetSourceType() + { + return SourceType.Builtin; + } + + /// + /// GetSeverity: Retrieves the severity of the rule: error, warning of information. + /// + /// + public RuleSeverity GetSeverity() + { + return RuleSeverity.Warning; + } + + /// + /// GetSourceName: Retrieves the module/assembly name the rule is from. + /// + public string GetSourceName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.SourceName); + } + } + +} diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index 9905be482..565e67629 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -97,6 +97,51 @@ internal static string AlignAssignmentStatementName { } } + /// + /// Looks up a localized string similar to AvoidAssignmentToAutomaticVariable. + /// + internal static string AvoidAssignmentToAutomaticVariableName { + get { + return ResourceManager.GetString("AvoidAssignmentToAutomaticVariableName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use a different variable name. + /// + internal static string AvoidAssignmentToReadOnlyAutomaticVariable { + get { + return ResourceManager.GetString("AvoidAssignmentToReadOnlyAutomaticVariable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Changing automtic variables might have undesired side effects. + /// + internal static string AvoidAssignmentToReadOnlyAutomaticVariableCommonName { + get { + return ResourceManager.GetString("AvoidAssignmentToReadOnlyAutomaticVariableCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This automatic variables is built into PowerShell and readonly.. + /// + internal static string AvoidAssignmentToReadOnlyAutomaticVariableDescription { + get { + return ResourceManager.GetString("AvoidAssignmentToReadOnlyAutomaticVariableDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Variable '{0}' cannot be assigned since it is a readonly automatic variable that is built into PowerShell, please use a different name.. + /// + internal static string AvoidAssignmentToReadOnlyAutomaticVariableError { + get { + return ResourceManager.GetString("AvoidAssignmentToReadOnlyAutomaticVariableError", resourceCulture); + } + } + /// /// Looks up a localized string similar to Avoid Using ComputerName Hardcoded. /// diff --git a/Rules/Strings.resx b/Rules/Strings.resx index 69de3a14f..5e0e1314e 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -990,4 +990,19 @@ PossibleIncorrectUsageOfAssignmentOperator + + Use a different variable name + + + Changing automtic variables might have undesired side effects + + + This automatic variables is built into PowerShell and readonly. + + + The Variable '{0}' cannot be assigned since it is a readonly automatic variable that is built into PowerShell, please use a different name. + + + AvoidAssignmentToAutomaticVariable + \ No newline at end of file diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index 0ca96f243..647301e3c 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -61,7 +61,7 @@ Describe "Test Name parameters" { It "get Rules with no parameters supplied" { $defaultRules = Get-ScriptAnalyzerRule - $expectedNumRules = 53 + $expectedNumRules = 54 if ((Test-PSEditionCoreClr) -or (Test-PSVersionV3) -or (Test-PSVersionV4)) { # for PSv3 PSAvoidGlobalAliases is not shipped because diff --git a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 new file mode 100644 index 000000000..c56ba6f08 --- /dev/null +++ b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 @@ -0,0 +1,74 @@ +Import-Module PSScriptAnalyzer +$ruleName = "PSAvoidAssignmentToAutomaticVariable" + +Describe "AvoidAssignmentToAutomaticVariables" { + Context "ReadOnly Variables" { + + $readOnlyVariableSeverity = "Error" + $testCases_ReadOnlyVariables = @( + @{ VariableName = '?' } + @{ VariableName = 'Error' } + @{ VariableName = 'ExecutionContext' } + @{ VariableName = 'false' } + @{ VariableName = 'Home' } + @{ VariableName = 'Host' } + @{ VariableName = 'PID' } + @{ VariableName = 'PSCulture' } + @{ VariableName = 'PSEdition' } + @{ VariableName = 'PSHome' } + @{ VariableName = 'PSUICulture' } + @{ VariableName = 'PSVersionTable' } + @{ VariableName = 'ShellId' } + @{ VariableName = 'true' } + ) + + It "Variable '' produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { + param ($VariableName) + + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "`$${VariableName} = 'foo'" | Where-Object { $_.RuleName -eq $ruleName } + $warnings.Count | Should Be 1 + $warnings.Severity | Should Be $readOnlyVariableSeverity + } + + It "Using Variable '' as parameter name produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { + param ($VariableName) + + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo{Param(`$$VariableName)}" | Where-Object {$_.RuleName -eq $ruleName } + $warnings.Count | Should Be 1 + $warnings.Severity | Should Be $readOnlyVariableSeverity + } + + It "Using Variable '' as parameter name in param block produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { + param ($VariableName) + + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo(`$$VariableName){}" | Where-Object {$_.RuleName -eq $ruleName } + $warnings.Count | Should Be 1 + $warnings.Severity | Should Be $readOnlyVariableSeverity + } + + It "Does not flag parameter attributes" { + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'function foo{Param([Parameter(Mandatory=$true)]$param1)}' | Where-Object { $_.RuleName -eq $ruleName } + $warnings.Count | Should Be 0 + } + + It "Setting Variable '' throws exception to verify the variables is read-only" -TestCases $testCases_ReadOnlyVariables { + param ($VariableName) + + # Setting the $Error variable has the side effect of the ErrorVariable to contain only the exception message string, therefore exclude this case. + # For the library test in WMF 4, assigning a value $PSEdition does not seem to throw an error, therefore this special case is excluded as well. + if ($VariableName -ne 'Error' -and ($VariableName -ne 'PSEdition' -and $PSVersionTable.PSVersion.Major -ne 4)) + { + try + { + Set-Variable -Name $VariableName -Value 'foo' -ErrorVariable errorVariable -ErrorAction Stop + throw "Expected exception did not occur when assigning value to read-only variable '$VariableName'" + } + catch + { + $_.FullyQualifiedErrorId | Should Be 'VariableNotWritable,Microsoft.PowerShell.Commands.SetVariableCommand' + } + } + } + + } +} \ No newline at end of file From 54c4bf765931f668a8b5dad52f0a4455e2a3b84e Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 9 Feb 2018 23:20:52 +0000 Subject: [PATCH 063/120] Upgrade platyPS from Version 0.5 to 0.9 (#869) * Upgrade to platyPS Version 0.9 * improve check, error message and spelling in build tools (and a PSSA warning about incorrect comparison with $null * fix wrong version number --- .build.ps1 | 6 +++--- README.md | 2 +- appveyor.yml | 2 +- build.ps1 | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.build.ps1 b/.build.ps1 index 4489df2ff..8f0869505 100644 --- a/.build.ps1 +++ b/.build.ps1 @@ -202,10 +202,10 @@ task buildDocs -Inputs $bdInputs -Outputs $bdOutputs { Copy-Item -Path $docsPath\about_PSScriptAnalyzer.help.txt -Destination $outputDocsPath -Force # Build documentation using platyPS - if ((Get-Module PlatyPS -ListAvailable) -eq $null) { - throw "Cannot find PlatyPS. Please install it from https://www.powershellgallery.com." + if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.9 })) { + throw "Cannot find platyPS of version greater or equal to 0.9. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" } - Import-Module PlatyPS + Import-Module platyPS if (-not (Test-Path $markdownDocsPath -Verbose:$verbosity)) { throw "Cannot find markdown documentation folder." } diff --git a/README.md b/README.md index c8a7e9080..69e268659 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Exit ### From Source * [.NET Core 2.1.4 SDK](https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.0.5-download.md) -* [PlatyPS 0.5.0 or greater](https://github.com/PowerShell/platyPS) +* [PlatyPS 0.9.0 or greater](https://github.com/PowerShell/platyPS/releases) * Optionally but recommended for development: [Visual Studio 2017](https://www.visualstudio.com/downloads/) #### Steps diff --git a/appveyor.yml b/appveyor.yml index e5582850a..9b394a26b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,7 @@ cache: # Install Pester install: - - ps: nuget install platyPS -Version 0.5.0 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion + - ps: nuget install platyPS -Version 0.9.0 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion - ps: | $requiredPesterVersion = '3.4.0' $pester = Get-Module Pester -ListAvailable | Where-Object { $_.Version -eq $requiredPesterVersion } diff --git a/build.ps1 b/build.ps1 index 50c914560..71979ae4f 100644 --- a/build.ps1 +++ b/build.ps1 @@ -95,13 +95,13 @@ if ($BuildDocs) Copy-Item -Path $docsPath\about_PSScriptAnalyzer.help.txt -Destination $outputDocsPath -Force -Verbose:$verbosity # Build documentation using platyPS - if ((Get-Module PlatyPS -ListAvailable -Verbose:$verbosity) -eq $null) + if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.5 })) { - throw "Cannot find PlatyPS. Please install it from https://www.powershellgallery.com." + "Cannot find platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" } - if ((Get-Module PlatyPS -Verbose:$verbosity) -eq $null) + if ((Get-Module platyPS -Verbose:$verbosity) -eq $null) { - Import-Module PlatyPS -Verbose:$verbosity + Import-Module platyPS -Verbose:$verbosity } if (-not (Test-Path $markdownDocsPath -Verbose:$verbosity)) { From d424544772b5f203b3ecad3021263e23601c47ab Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 12 Feb 2018 19:31:29 +0000 Subject: [PATCH 064/120] fix GitHub issue template (file ended in .md.txt instead of .md) (#884) --- .github/{ISSUE_TEMPLATE.md.txt => ISSUE_TEMPLATE.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ISSUE_TEMPLATE.md.txt => ISSUE_TEMPLATE.md} (100%) diff --git a/.github/ISSUE_TEMPLATE.md.txt b/.github/ISSUE_TEMPLATE.md similarity index 100% rename from .github/ISSUE_TEMPLATE.md.txt rename to .github/ISSUE_TEMPLATE.md From c54c8fe5a9a02474135228ee275da56c6a0dcbdc Mon Sep 17 00:00:00 2001 From: Tim Curwick Date: Thu, 15 Feb 2018 12:35:18 -0600 Subject: [PATCH 065/120] Fix typo in .Description for Measure-RequiresModules (#888) * Fix typo in comment-based help * Added to typo fix --- .../Engine/CommunityAnalyzerRules/CommunityAnalyzerRules.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Engine/CommunityAnalyzerRules/CommunityAnalyzerRules.psm1 b/Tests/Engine/CommunityAnalyzerRules/CommunityAnalyzerRules.psm1 index 3900dc578..d5b39baca 100644 --- a/Tests/Engine/CommunityAnalyzerRules/CommunityAnalyzerRules.psm1 +++ b/Tests/Engine/CommunityAnalyzerRules/CommunityAnalyzerRules.psm1 @@ -126,7 +126,7 @@ function Measure-RequiresRunAsAdministrator .DESCRIPTION The #Requires statement prevents a script from running unless the Windows PowerShell version, modules, snap-ins, and module and snap-in version prerequisites are met. From Windows PowerShell 3.0, the #Requires statement let script developers specify Windows PowerShell modules that the script requires. - To fix a violation of this rule, please consider to use #Requires -RunAsAdministrator instead of using Import-Module. + To fix a violation of this rule, please consider to use #Requires -Modules { | } instead of using Import-Module. .EXAMPLE Measure-RequiresModules -ScriptBlockAst $ScriptBlockAst .INPUTS @@ -938,4 +938,4 @@ function Measure-HelpNote } } -Export-ModuleMember -Function Measure* \ No newline at end of file +Export-ModuleMember -Function Measure* From de28e4f6033569d35a1133bee2a1796de31b2202 Mon Sep 17 00:00:00 2001 From: "James Truher [MSFT]" Date: Fri, 16 Feb 2018 09:55:56 -0800 Subject: [PATCH 066/120] Changes to allow tests to be run outside of CI (#882) * Change logic for test execution to handle running on Mac Mark some tests as pending that weren't actually doing anything Skip DSC tests on Mac/Linux * Reduce verbosity of build script Update to use Pester version 4.1.1 Change logic in appveyor to invoke pester only once --- README.md | 2 +- Tests/Engine/CustomizedRule.tests.ps1 | 15 +- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 27 +-- .../Engine/ModuleDependencyHandler.tests.ps1 | 179 +++++++++--------- Tests/Engine/ModuleHelp.Tests.ps1 | 6 +- Tests/Engine/RuleSuppression.tests.ps1 | 4 +- Tests/PSScriptAnalyzerTestHelper.psm1 | 8 +- .../Rules/AlignAssignmentStatement.tests.ps1 | 4 +- ...OrMissingRequiredFieldInManifest.tests.ps1 | 2 +- Tests/Rules/AvoidUsingAlias.tests.ps1 | 4 +- ...enticalMandatoryParametersForDSC.tests.ps1 | 6 +- .../UseToExportFieldsInManifest.tests.ps1 | 2 +- appveyor.yml | 18 +- build.ps1 | 4 +- buildCoreClr.ps1 | 21 +- 15 files changed, 148 insertions(+), 154 deletions(-) diff --git a/README.md b/README.md index 69e268659..e1bee75aa 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ For adding/removing resource strings in the `*.resx` files, it is recommended to #### Tests Pester-based ScriptAnalyzer Tests are located in `path/to/PSScriptAnalyzer/Tests` folder. -* Ensure Pester 3.4 is installed on the machine +* Ensure Pester 4.1.1 is installed on the machine * Copy `path/to/PSScriptAnalyzer/out/PSScriptAnalyzer` to a folder in `PSModulePath` * Go the Tests folder in your local repository * Run Engine Tests: diff --git a/Tests/Engine/CustomizedRule.tests.ps1 b/Tests/Engine/CustomizedRule.tests.ps1 index 714c089be..609c8f3ae 100644 --- a/Tests/Engine/CustomizedRule.tests.ps1 +++ b/Tests/Engine/CustomizedRule.tests.ps1 @@ -97,19 +97,16 @@ Describe "Test importing correct customized rules" { $customizedRulePath.Count | Should Be 1 } - It "will show the custom rule when given a rule folder path with trailing backslash" { + It "will show the custom rule when given a rule folder path with trailing backslash" -skip:(!$IsWindows){ # needs fixing for linux - if (-not (Test-PSEditionCoreCLRLinux)) - { - $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory/samplerule/ | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should Be 1 - } + $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory/samplerule/ | Where-Object {$_.RuleName -eq $measure} + $customizedRulePath.Count | Should Be 1 } It "will show the custom rules when given a glob" { # needs fixing for Linux $expectedNumRules = 4 - if (Test-PSEditionCoreCLRLinux) + if (!$IsWindows) { $expectedNumRules = 3 } @@ -125,7 +122,7 @@ Describe "Test importing correct customized rules" { It "will show the custom rules when given glob with recurse switch" { # needs fixing for Linux $expectedNumRules = 5 - if (Test-PSEditionCoreCLRLinux) + if (!$IsWindows) { $expectedNumRules = 4 } @@ -165,7 +162,7 @@ Describe "Test importing correct customized rules" { { It "will show the custom rule in the results when given a rule folder path with trailing backslash" { # needs fixing for Linux - if (-not (Test-PSEditionCoreCLRLinux)) + if ($IsWindows) { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule\ | Where-Object {$_.Message -eq $message} $customizedRulePath.Count | Should Be 1 diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 50f2e8a2f..12fa34d22 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -468,33 +468,34 @@ Describe "Test CustomizedRulePath" { Describe "Test -Fix Switch" { - BeforeEach { - $initialTestScript = Get-Content $directory\TestScriptWithFixableWarnings.ps1 -Raw + BeforeAll { + $scriptName = "TestScriptWithFixableWarnings.ps1" + $testSource = join-path $PSScriptRoot $scriptName + $fixedScript = join-path $PSScriptRoot TestScriptWithFixableWarnings_AfterFix.ps1 + $expectedScriptContent = Get-Content $fixedScript -raw + $testScript = Join-Path $TESTDRIVE $scriptName } - AfterEach { - if ($null -ne $initialTestScript) - { - [System.IO.File]::WriteAllText("$($directory)\TestScriptWithFixableWarnings.ps1", $initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI - } + BeforeEach { + Copy-Item $testSource $TESTDRIVE } It "Fixes warnings" { # we expect the script to contain warnings - $warningsBeforeFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 + $warningsBeforeFix = Invoke-ScriptAnalyzer $testScript $warningsBeforeFix.Count | Should Be 5 # fix the warnings and expect that it should not return the fixed warnings - $warningsWithFixSwitch = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 -Fix + $warningsWithFixSwitch = Invoke-ScriptAnalyzer $testScript -Fix $warningsWithFixSwitch.Count | Should Be 0 # double check that the warnings are really fixed - $warningsAfterFix = Invoke-ScriptAnalyzer $directory\TestScriptWithFixableWarnings.ps1 + $warningsAfterFix = Invoke-ScriptAnalyzer $testScript $warningsAfterFix.Count | Should Be 0 - $expectedScriptContentAfterFix = Get-Content $directory\TestScriptWithFixableWarnings_AfterFix.ps1 -Raw - $actualScriptContentAfterFix = Get-Content $directory\TestScriptWithFixableWarnings.ps1 -Raw - $actualScriptContentAfterFix | Should Be $expectedScriptContentAfterFix + # check content to ensure we have what we expect + $actualScriptContentAfterFix = Get-Content $testScript -Raw + $actualScriptContentAfterFix | Should Be $expectedScriptContent } } diff --git a/Tests/Engine/ModuleDependencyHandler.tests.ps1 b/Tests/Engine/ModuleDependencyHandler.tests.ps1 index 166bd01e4..c8bf52e6c 100644 --- a/Tests/Engine/ModuleDependencyHandler.tests.ps1 +++ b/Tests/Engine/ModuleDependencyHandler.tests.ps1 @@ -1,51 +1,43 @@ -if (!(Get-Module PSScriptAnalyzer) -and !$testingLibraryUsage) -{ - Import-Module PSScriptAnalyzer -} - -if ($testingLibraryUsage) -{ - return -} - -$directory = Split-Path -Parent $MyInvocation.MyCommand.Path -$testRootDirectory = Split-Path -Parent $directory -Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') - -# needs fixing -# right now we do not support module dependency handing on Linux -if ((Test-PSEditionCoreCLRLinux)) -{ - return -} - -# DSC Module saving is not supported in versions less than PSv5 -if (($PSVersionTable.PSVersion -lt [Version]'5.0.0')) -{ - return -} - -$violationFileName = 'MissingDSCResource.ps1' -$violationFilePath = Join-Path $directory $violationFileName - Describe "Resolve DSC Resource Dependency" { + BeforeAll { + $skipTest = $false + if ( -not $IsWindows -or $testingLibararyUsage -or ($PSversionTable.PSVersion -lt [Version]'5.0.0')) + { + $skipTest = $true + return + } + $SavedPSModulePath = $env:PSModulePath + $violationFileName = 'MissingDSCResource.ps1' + $violationFilePath = Join-Path $directory $violationFileName - Function Test-EnvironmentVariables($oldEnv) - { - $newEnv = Get-Item Env:\* | Sort-Object -Property Key - $newEnv.Count | Should Be $oldEnv.Count - foreach ($index in 1..$newEnv.Count) + $directory = Split-Path -Parent $MyInvocation.MyCommand.Path + $testRootDirectory = Split-Path -Parent $directory + Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') + + Function Test-EnvironmentVariables($oldEnv) { - $newEnv[$index].Key | Should Be $oldEnv[$index].Key - $newEnv[$index].Value | Should Be $oldEnv[$index].Value + $newEnv = Get-Item Env:\* | Sort-Object -Property Key + $newEnv.Count | Should Be $oldEnv.Count + foreach ($index in 1..$newEnv.Count) + { + $newEnv[$index].Key | Should Be $oldEnv[$index].Key + $newEnv[$index].Value | Should Be $oldEnv[$index].Value + } } } + AfterAll { + if ( $skipTest ) { return } + $env:PSModulePath = $SavedPSModulePath + } Context "Module handler class" { - $moduleHandlerType = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.ModuleDependencyHandler] - $oldEnvVars = Get-Item Env:\* | Sort-Object -Property Key - $oldPSModulePath = $env:PSModulePath - It "Sets defaults correctly" { + BeforeAll { + if ( $skipTest ) { return } + $moduleHandlerType = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.ModuleDependencyHandler] + $oldEnvVars = Get-Item Env:\* | Sort-Object -Property Key + $oldPSModulePath = $env:PSModulePath + } + It "Sets defaults correctly" -skip:$skipTest { $rsp = [runspacefactory]::CreateRunspace() $rsp.Open() $depHandler = $moduleHandlerType::new($rsp) @@ -69,21 +61,21 @@ Describe "Resolve DSC Resource Dependency" { $rsp.Dispose() } - It "Keeps the environment variables unchanged" { + It "Keeps the environment variables unchanged" -skip:$skipTest { Test-EnvironmentVariables($oldEnvVars) } - It "Throws if runspace is null" { + It "Throws if runspace is null" -skip:$skipTest { {$moduleHandlerType::new($null)} | Should Throw } - It "Throws if runspace is not opened" { + It "Throws if runspace is not opened" -skip:$skipTest { $rsp = [runspacefactory]::CreateRunspace() {$moduleHandlerType::new($rsp)} | Should Throw $rsp.Dispose() } - It "Extracts 1 module name" { + It "Extracts 1 module name" -skip:$skipTest { $sb = @" {Configuration SomeConfiguration { @@ -97,7 +89,7 @@ Describe "Resolve DSC Resource Dependency" { $resultModuleNames[0] | Should Be 'SomeDscModule1' } - It "Extracts more than 1 module names" { + It "Extracts more than 1 module names" -skip:$skipTest { $sb = @" {Configuration SomeConfiguration { @@ -114,7 +106,7 @@ Describe "Resolve DSC Resource Dependency" { } - It "Extracts module names when ModuleName parameter is not the first named parameter" { + It "Extracts module names when ModuleName parameter is not the first named parameter" -skip:$skipTest { $sb = @" {Configuration SomeConfiguration { @@ -130,64 +122,71 @@ Describe "Resolve DSC Resource Dependency" { } Context "Invoke-ScriptAnalyzer without switch" { - It "Has parse errors" { + It "Has parse errors" -skip:$skipTest { $dr = Invoke-ScriptAnalyzer -Path $violationFilePath -ErrorVariable parseErrors -ErrorAction SilentlyContinue $parseErrors.Count | Should Be 1 } } Context "Invoke-ScriptAnalyzer without switch but with module in temp path" { - $oldEnvVars = Get-Item Env:\* | Sort-Object -Property Key - $moduleName = "MyDscResource" - $modulePath = "$(Split-Path $directory)\Rules\DSCResourceModule\DSCResources\$moduleName" - - # Save the current environment variables - $oldLocalAppDataPath = $env:LOCALAPPDATA - $oldTempPath = $env:TEMP - $oldPSModulePath = $env:PSModulePath - - # set the environment variables - $tempPath = Join-Path $oldTempPath ([guid]::NewGUID()).ToString() - $newLocalAppDataPath = Join-Path $tempPath "LocalAppData" - $newTempPath = Join-Path $tempPath "Temp" - $env:LOCALAPPDATA = $newLocalAppDataPath - $env:TEMP = $newTempPath - - # create the temporary directories - New-Item -Type Directory -Path $newLocalAppDataPath - New-Item -Type Directory -Path $newTempPath - - # create and dispose module dependency handler object - # to setup the temporary module - $rsp = [runspacefactory]::CreateRunspace() - $rsp.Open() - $depHandler = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.ModuleDependencyHandler]::new($rsp) - $pssaAppDataPath = $depHandler.PSSAAppDataPath - $tempModulePath = $depHandler.TempModulePath - $rsp.Dispose() - $depHandler.Dispose() - - # copy myresource module to the temporary location - # we could let the module dependency handler download it from psgallery - Copy-Item -Recurse -Path $modulePath -Destination $tempModulePath - - It "Doesn't have parse errors" { + BeforeAll { + if ( $skipTest ) { return } + $oldEnvVars = Get-Item Env:\* | Sort-Object -Property Key + $moduleName = "MyDscResource" + $modulePath = "$(Split-Path $directory)\Rules\DSCResourceModule\DSCResources\$moduleName" + + # Save the current environment variables + $oldLocalAppDataPath = $env:LOCALAPPDATA + $oldTempPath = $env:TEMP + $oldPSModulePath = $env:PSModulePath + + # set the environment variables + $tempPath = Join-Path $oldTempPath ([guid]::NewGUID()).ToString() + $newLocalAppDataPath = Join-Path $tempPath "LocalAppData" + $newTempPath = Join-Path $tempPath "Temp" + $env:LOCALAPPDATA = $newLocalAppDataPath + $env:TEMP = $newTempPath + + # create the temporary directories + New-Item -Type Directory -Path $newLocalAppDataPath + New-Item -Type Directory -Path $newTempPath + + # create and dispose module dependency handler object + # to setup the temporary module + $rsp = [runspacefactory]::CreateRunspace() + $rsp.Open() + $depHandler = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.ModuleDependencyHandler]::new($rsp) + $pssaAppDataPath = $depHandler.PSSAAppDataPath + $tempModulePath = $depHandler.TempModulePath + $rsp.Dispose() + $depHandler.Dispose() + + # copy myresource module to the temporary location + # we could let the module dependency handler download it from psgallery + Copy-Item -Recurse -Path $modulePath -Destination $tempModulePath + } + + AfterAll { + if ( $skipTest ) { return } + #restore environment variables and clean up temporary location + $env:LOCALAPPDATA = $oldLocalAppDataPath + $env:TEMP = $oldTempPath + Remove-Item -Recurse -Path $tempModulePath -Force + Remove-Item -Recurse -Path $tempPath -Force + } + + It "Doesn't have parse errors" -skip:$skipTest { # invoke script analyzer $dr = Invoke-ScriptAnalyzer -Path $violationFilePath -ErrorVariable parseErrors -ErrorAction SilentlyContinue $dr.Count | Should Be 0 } - It "Keeps PSModulePath unchanged before and after invocation" { + It "Keeps PSModulePath unchanged before and after invocation" -skip:$skipTest { $dr = Invoke-ScriptAnalyzer -Path $violationFilePath -ErrorVariable parseErrors -ErrorAction SilentlyContinue $env:PSModulePath | Should Be $oldPSModulePath } - #restore environment variables and clean up temporary location - $env:LOCALAPPDATA = $oldLocalAppDataPath - $env:TEMP = $oldTempPath - Remove-Item -Recurse -Path $tempModulePath -Force - Remove-Item -Recurse -Path $tempPath -Force - It "Keeps the environment variables unchanged" { + It "Keeps the environment variables unchanged" -skip:$skipTest { Test-EnvironmentVariables($oldEnvVars) } } diff --git a/Tests/Engine/ModuleHelp.Tests.ps1 b/Tests/Engine/ModuleHelp.Tests.ps1 index b4dd7e94a..7337193eb 100644 --- a/Tests/Engine/ModuleHelp.Tests.ps1 +++ b/Tests/Engine/ModuleHelp.Tests.ps1 @@ -33,8 +33,8 @@ Enter the version of the module to test. This parameter is optional. If you omit it, the test runs on the latest version of the module in $env:PSModulePath. .EXAMPLE -.\Module.Help.Tests.ps1 -ModuleName Pester -RequiredVersion 3.4.0 -This command runs the tests on the commands in Pester 3.4.0. +.\Module.Help.Tests.ps1 -ModuleName Pester -RequiredVersion 4.1.1 +This command runs the tests on the commands in Pester 4.1.1. .EXAMPLE .\Module.Help.Tests.ps1 -ModuleName Pester @@ -63,7 +63,7 @@ Param $RequiredVersion ) -# #Requires -Module @{ModuleName = 'Pester'; ModuleVersion = '3.4.0'} +# #Requires -Module @{ModuleName = 'Pester'; ModuleVersion = '4.1.1'} <# .SYNOPSIS diff --git a/Tests/Engine/RuleSuppression.tests.ps1 b/Tests/Engine/RuleSuppression.tests.ps1 index ee145826f..3127a3ae5 100644 --- a/Tests/Engine/RuleSuppression.tests.ps1 +++ b/Tests/Engine/RuleSuppression.tests.ps1 @@ -106,7 +106,7 @@ function SuppressPwdParam() } Context "Rule suppression within DSC Configuration definition" { - It "Suppresses rule" -skip:((Test-PSEditionCoreCLRLinux) -or ($PSVersionTable.PSVersion -lt [Version]'5.0.0')) { + It "Suppresses rule" -skip:((!$IsWindows) -or ($PSVersionTable.PSVersion.Major -lt 5)) { $suppressedRule = Invoke-ScriptAnalyzer -ScriptDefinition $ruleSuppressionInConfiguration -SuppressedOnly $suppressedRule.Count | Should Be 1 } @@ -215,4 +215,4 @@ Describe "RuleSuppressionWithScope" { $suppressed.Count | Should Be 1 } } - } \ No newline at end of file + } diff --git a/Tests/PSScriptAnalyzerTestHelper.psm1 b/Tests/PSScriptAnalyzerTestHelper.psm1 index 7dc83713c..81a79cc2f 100644 --- a/Tests/PSScriptAnalyzerTestHelper.psm1 +++ b/Tests/PSScriptAnalyzerTestHelper.psm1 @@ -56,11 +56,6 @@ Function Test-PSEditionCoreCLR [bool]$IsCoreCLR } -Function Test-PSEditionCoreCLRLinux -{ - (Test-PSEditionCoreCLR) -and $IsLinux -} - Function Test-PSVersionV3 { $PSVersionTable.PSVersion.Major -eq 3 @@ -82,7 +77,6 @@ Export-ModuleMember -Function Get-ExtentText Export-ModuleMember -Function Test-CorrectionExtent Export-ModuleMember -Function Test-CorrectionExtentFromContent Export-ModuleMember -Function Test-PSEditionCoreCLR -Export-ModuleMember -Function Test-PSEditionCoreCLRLinux Export-ModuleMember -Function Test-PSVersionV3 Export-ModuleMember -Function Test-PSVersionV4 -Export-ModuleMember -Function Get-Count \ No newline at end of file +Export-ModuleMember -Function Get-Count diff --git a/Tests/Rules/AlignAssignmentStatement.tests.ps1 b/Tests/Rules/AlignAssignmentStatement.tests.ps1 index 6dd22304b..0854045b8 100644 --- a/Tests/Rules/AlignAssignmentStatement.tests.ps1 +++ b/Tests/Rules/AlignAssignmentStatement.tests.ps1 @@ -66,7 +66,7 @@ $x = @{ } } Context "When assignment statements are in DSC Configuration" { - It "Should find violations when assignment statements are not aligned" { + It "Should find violations when assignment statements are not aligned" -skip:(!$IsWindows) { $def = @' Configuration MyDscConfiguration { @@ -91,7 +91,7 @@ Configuration MyDscConfiguration { if ($PSVersionTable.PSVersion.Major -ge 5) { Context "When assignment statements are in DSC Configuration that has parse errors" { - It "Should find violations when assignment statements are not aligned" { + It "Should find violations when assignment statements are not aligned" -skip:($IsLinux -or $IsMacOS) { $def = @' Configuration Sample_ChangeDescriptionAndPermissions { diff --git a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 index 9355f4625..951d9ee7c 100644 --- a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 +++ b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 @@ -34,7 +34,7 @@ Describe "MissingRequiredFieldModuleManifest" { } # On Linux, mismatch in line endings cause this to fail - It "has the right suggested correction" -Skip:(Test-PSEditionCoreCLRLinux) { + It "has the right suggested correction" -Skip:($IsLinux) { $expectedText = @' # Version number of this module. ModuleVersion = '1.0.0.0' diff --git a/Tests/Rules/AvoidUsingAlias.tests.ps1 b/Tests/Rules/AvoidUsingAlias.tests.ps1 index ebdbb0d80..9a8f89dc2 100644 --- a/Tests/Rules/AvoidUsingAlias.tests.ps1 +++ b/Tests/Rules/AvoidUsingAlias.tests.ps1 @@ -43,7 +43,7 @@ gci -Path C:\ $noViolations.Count | Should Be 0 } - It "should return no violation for assignment statement-like command in dsc configuration" { + It "should return no violation for assignment statement-like command in dsc configuration" -skip:($IsLinux -or $IsMacOS) { $target = @' Configuration MyDscConfiguration { Node "NodeA" { @@ -96,4 +96,4 @@ Configuration MyDscConfiguration { $violations.Count | Should Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 b/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 index d815f9467..e8e82a11b 100644 --- a/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 +++ b/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 @@ -14,11 +14,11 @@ Describe "UseIdenticalMandatoryParametersForDSC" { $violations = Invoke-ScriptAnalyzer -Path $badResourceFilepath -IncludeRule $ruleName } - It "Should find a violations" { + It "Should find a violations" -skip:($IsLinux -or $IsMacOS) { $violations.Count | Should Be 5 } - It "Should mark only the function name" { + It "Should mark only the function name" -skip:($IsLinux -or $IsMacOS) { $violations[0].Extent.Text | Should Be 'Get-TargetResource' } } @@ -29,7 +29,7 @@ Describe "UseIdenticalMandatoryParametersForDSC" { } # todo add a test to check one violation per function - It "Should find a violations" { + It "Should find a violations" -pending { $violations.Count | Should Be 0 } } diff --git a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 index 18b285f08..e7a00a770 100644 --- a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 +++ b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 @@ -83,7 +83,7 @@ Describe "UseManifestExportFields" { $results[0].Extent.Text | Should be "'*'" } - It "suggests corrections for AliasesToExport with wildcard" { + It "suggests corrections for AliasesToExport with wildcard" -pending:($IsLinux -or $IsMacOS) { $violations = Run-PSScriptAnalyzerRule $testManifestBadAliasesWildcardPath $violationFilepath = Join-path $testManifestPath $testManifestBadAliasesWildcardPath Test-CorrectionExtent $violationFilepath $violations[0] 1 "'*'" "@('gbar', 'gfoo')" diff --git a/appveyor.yml b/appveyor.yml index 9b394a26b..c28bf8b54 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,12 +19,12 @@ cache: install: - ps: nuget install platyPS -Version 0.9.0 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion - ps: | - $requiredPesterVersion = '3.4.0' + $requiredPesterVersion = '4.1.1' $pester = Get-Module Pester -ListAvailable | Where-Object { $_.Version -eq $requiredPesterVersion } $pester if ($null -eq $pester) # WMF 4 build does not have pester { - cinst -y pester --version $requiredPesterVersion + nuget install Pester -Version 4.1.1 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion } - ps: | # the legacy WMF4 image only has the old preview SDKs of dotnet @@ -57,19 +57,15 @@ branches: test_script: - SET PATH=c:\Program Files\WindowsPowerShell\Modules\;%PATH%; - ps: | - copy "C:\projects\psscriptanalyzer\out\PSScriptAnalyzer" "$Env:ProgramFiles\WindowsPowerShell\Modules\" -Recurse -Force - $engineTestResultsFile = ".\EngineTestResults.xml" + copy-item "C:\projects\psscriptanalyzer\out\PSScriptAnalyzer" "$Env:ProgramFiles\WindowsPowerShell\Modules\" -Recurse -Force + $testResultsFile = ".\TestResults.xml" $ruleTestResultsFile = ".\RuleTestResults.xml" - $engineTestResults = Invoke-Pester -Script "C:\projects\psscriptanalyzer\Tests\Engine" -OutputFormat NUnitXml -OutputFile $engineTestResultsFile -PassThru - (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $engineTestResultsFile)) + $testScripts = "C:\projects\psscriptanalyzer\Tests\Engine","C:\projects\psscriptanalyzer\Tests\Rules" + $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru + (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $testResultsFile)) if ($engineTestResults.FailedCount -gt 0) { throw "$($engineTestResults.FailedCount) tests failed." } - $ruleTestResults = Invoke-Pester -Script "C:\projects\psscriptanalyzer\Tests\Rules" -OutputFormat NUnitXml -OutputFile $ruleTestResultsFile -PassThru - (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $ruleTestResultsFile)) - if ($ruleTestResults.FailedCount -gt 0) { - throw "$($ruleTestResults.FailedCount) tests failed." - } # Upload the project along with TestResults as a zip archive on_finish: diff --git a/build.ps1 b/build.ps1 index 71979ae4f..40e9c02d6 100644 --- a/build.ps1 +++ b/build.ps1 @@ -132,7 +132,7 @@ if ($Install) if ($Test) { - Import-Module -Name Pester -MinimumVersion 3.4.0 -ErrorAction Stop + Import-Module -Name Pester -MinimumVersion 4.1.1 -ErrorAction Stop Function GetTestRunnerScriptContent($testPath) { $x = @" @@ -202,4 +202,4 @@ if ($Test) if ($Uninstall) { Remove-Item -Path $modulePSSAPath -Force -Verbose:$verbosity -Recurse -} \ No newline at end of file +} diff --git a/buildCoreClr.ps1 b/buildCoreClr.ps1 index 86a28a1c5..9daf3f756 100644 --- a/buildCoreClr.ps1 +++ b/buildCoreClr.ps1 @@ -31,6 +31,7 @@ function Invoke-RestoreSolution dotnet restore (Join-Path $PSScriptRoot .\PSScriptAnalyzer.sln) } +Write-Progress "Building ScriptAnalyzer" $solutionDir = Split-Path $MyInvocation.InvocationName if (-not (Test-Path "$solutionDir/global.json")) { @@ -63,6 +64,7 @@ if ($Restore.IsPresent) if ($build) { + Write-Progress "Building Engine" if (-not (Test-DotNetRestore((Join-Path $solutionDir Engine)))) { Invoke-RestoreSolution @@ -76,6 +78,7 @@ if ($build) { Invoke-RestoreSolution } + Write-Progress "Building for framework $Framework, configuration $Configuration" Push-Location Rules\ dotnet build Rules.csproj --framework $Framework --configuration $Configuration Pop-Location @@ -84,23 +87,26 @@ if ($build) { if (-not (Test-Path $destination)) { - New-Item -ItemType Directory $destination -Force + $null = New-Item -ItemType Directory $destination -Force } foreach ($file in $itemsToCopy) { - Copy-Item -Path $file -Destination (Join-Path $destination (Split-Path $file -Leaf)) -Verbose -Force + Copy-Item -Path $file -Destination (Join-Path $destination (Split-Path $file -Leaf)) -Force } } + + + Write-Progress "Copying files to $destinationDir" CopyToDestinationDir $itemsToCopyCommon $destinationDir CopyToDestinationDir $itemsToCopyBinaries $destinationDirBinaries # Copy Settings File - Copy-Item -Path "$solutionDir\Engine\Settings" -Destination $destinationDir -Force -Recurse -Verbose + Copy-Item -Path "$solutionDir\Engine\Settings" -Destination $destinationDir -Force -Recurse # copy newtonsoft dll if net451 framework if ($Framework -eq "net451") { - copy-item -path "$solutionDir\Rules\bin\$Configuration\$Framework\Newtonsoft.Json.dll" -Destination $destinationDirBinaries -Verbose + copy-item -path "$solutionDir\Rules\bin\$Configuration\$Framework\Newtonsoft.Json.dll" -Destination $destinationDirBinaries } } @@ -112,11 +118,12 @@ if ($uninstall) { if ((Test-Path $pssaModulePath)) { - Remove-Item -Recurse $pssaModulePath -Verbose + Remove-Item -Recurse $pssaModulePath } } if ($install) { - Copy-Item -Recurse -Path "$destinationDir" -Destination "$modulePath\." -Verbose -Force -} \ No newline at end of file + Write-Progress "Installing to $modulePath" + Copy-Item -Recurse -Path "$destinationDir" -Destination "$modulePath\." -Force +} From 8f20c9848f94cd4fb55e1ed27dcc8d341130c0fa Mon Sep 17 00:00:00 2001 From: Mark Leach Date: Tue, 20 Feb 2018 18:08:10 +0000 Subject: [PATCH 067/120] Fix Markdown linting warnings so it now renders in GitHub (#898) --- ScriptRuleDocumentation.md | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/ScriptRuleDocumentation.md b/ScriptRuleDocumentation.md index d3338a0e0..f7bdd00db 100644 --- a/ScriptRuleDocumentation.md +++ b/ScriptRuleDocumentation.md @@ -1,12 +1,15 @@ -##Documentation for Customized Rules in PowerShell Scripts -PSScriptAnalyzer uses MEF(Managed Extensibility Framework) to import all rules defined in the assembly. It can also consume rules written in PowerShell scripts. +## Documentation for Customized Rules in PowerShell Scripts + +PSScriptAnalyzer uses MEF(Managed Extensibility Framework) to import all rules defined in the assembly. It can also consume rules written in PowerShell scripts. When calling Invoke-ScriptAnalyzer, users can specify custom rules using the parameter `CustomizedRulePath`. The purpose of this documentation is to server as a basic guide on creating your own customized rules. -###Basics +### Basics + - Functions should have comment-based help. Make sure .DESCRIPTION field is there, as it will be consumed as rule description for the customized rule. + ``` PowerShell <# .SYNOPSIS @@ -21,11 +24,13 @@ The purpose of this documentation is to server as a basic guide on creating your ``` - Output type should be DiagnosticRecord: + ``` PowerShell [OutputType([Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord[]])] ``` - Make sure each function takes either a Token or an Ast as a parameter + ``` PowerShell Param ( @@ -37,6 +42,7 @@ Param ``` - DiagnosticRecord should have four properties: Message, Extent, RuleName and Severity + ``` PowerShell $result = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord[]]@{ "Message" = "This is a sample rule" @@ -47,18 +53,20 @@ $result = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord[ ``` - Make sure you export the function(s) at the end of the script using Export-ModuleMember + ``` PowerShell Export-ModuleMember -Function (FunctionName) ``` -###Example +### Example + ``` PowerShell <# .SYNOPSIS Uses #Requires -RunAsAdministrator instead of your own methods. .DESCRIPTION - The #Requires statement prevents a script from running unless the Windows PowerShell version, modules, snap-ins, and module and snap-in version prerequisites are met. - From Windows PowerShell 4.0, the #Requires statement let script developers require that sessions be run with elevated user rights (run as Administrator). + The #Requires statement prevents a script from running unless the Windows PowerShell version, modules, snap-ins, and module and snap-in version prerequisites are met. + From Windows PowerShell 4.0, the #Requires statement let script developers require that sessions be run with elevated user rights (run as Administrator). Script developers does not need to write their own methods any more. To fix a violation of this rule, please consider to use #Requires -RunAsAdministrator instead of your own methods. .EXAMPLE @@ -123,12 +131,12 @@ function Measure-RequiresRunAsAdministrator } #endregion #region Finds ASTs that match the predicates. - + [System.Management.Automation.Language.Ast[]]$methodAst = $ScriptBlockAst.FindAll($predicate1, $true) [System.Management.Automation.Language.Ast[]]$assignmentAst = $ScriptBlockAst.FindAll($predicate2, $true) if ($null -ne $ScriptBlockAst.ScriptRequirements) { - if ((!$ScriptBlockAst.ScriptRequirements.IsElevationRequired) -and + if ((!$ScriptBlockAst.ScriptRequirements.IsElevationRequired) -and ($methodAst.Count -ne 0) -and ($assignmentAst.Count -ne 0)) { $result = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord]@{ @@ -137,7 +145,7 @@ function Measure-RequiresRunAsAdministrator 'RuleName' = $PSCmdlet.MyInvocation.InvocationName 'Severity' = 'Information' } - $results += $result + $results += $result } } else @@ -150,11 +158,11 @@ function Measure-RequiresRunAsAdministrator 'RuleName' = $PSCmdlet.MyInvocation.InvocationName 'Severity' = 'Information' } - $results += $result - } + $results += $result + } } return $results - #endregion + #endregion } catch { From 22c062c4e0ac6a6e7e6ac51d44ad0795c7dadc09 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 20 Feb 2018 18:10:28 +0000 Subject: [PATCH 068/120] Fix regressions introduced by PR 882 (#891) * Fix regressions introduced by PR 882: - $IsWindows returns false on Windows PowerShell because this automatic variable was only introduced in PowerShell Core - some reverts of test code that did not fail due to the above. * fix wmf4 build with steps to only execute when skip is not true * fix appveyor test upload script (build was not red due to that) --- Tests/Engine/CustomizedRule.tests.ps1 | 8 +++---- .../Engine/ModuleDependencyHandler.tests.ps1 | 23 +++++++++---------- Tests/Engine/RuleSuppression.tests.ps1 | 2 +- .../Rules/AlignAssignmentStatement.tests.ps1 | 2 +- appveyor.yml | 5 ++-- 5 files changed, 19 insertions(+), 21 deletions(-) diff --git a/Tests/Engine/CustomizedRule.tests.ps1 b/Tests/Engine/CustomizedRule.tests.ps1 index 609c8f3ae..0be3cfb80 100644 --- a/Tests/Engine/CustomizedRule.tests.ps1 +++ b/Tests/Engine/CustomizedRule.tests.ps1 @@ -97,7 +97,7 @@ Describe "Test importing correct customized rules" { $customizedRulePath.Count | Should Be 1 } - It "will show the custom rule when given a rule folder path with trailing backslash" -skip:(!$IsWindows){ + It "will show the custom rule when given a rule folder path with trailing backslash" -skip:$($IsLinux -or $IsMacOS) { # needs fixing for linux $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory/samplerule/ | Where-Object {$_.RuleName -eq $measure} $customizedRulePath.Count | Should Be 1 @@ -106,7 +106,7 @@ Describe "Test importing correct customized rules" { It "will show the custom rules when given a glob" { # needs fixing for Linux $expectedNumRules = 4 - if (!$IsWindows) + if ($IsLinux -or $IsMacOS) { $expectedNumRules = 3 } @@ -122,7 +122,7 @@ Describe "Test importing correct customized rules" { It "will show the custom rules when given glob with recurse switch" { # needs fixing for Linux $expectedNumRules = 5 - if (!$IsWindows) + if ($IsLinux -or $IsMacOS) { $expectedNumRules = 4 } @@ -162,7 +162,7 @@ Describe "Test importing correct customized rules" { { It "will show the custom rule in the results when given a rule folder path with trailing backslash" { # needs fixing for Linux - if ($IsWindows) + if (!$IsLinux -and !$IsMacOS) { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule\ | Where-Object {$_.Message -eq $message} $customizedRulePath.Count | Should Be 1 diff --git a/Tests/Engine/ModuleDependencyHandler.tests.ps1 b/Tests/Engine/ModuleDependencyHandler.tests.ps1 index c8bf52e6c..3d73bdbcc 100644 --- a/Tests/Engine/ModuleDependencyHandler.tests.ps1 +++ b/Tests/Engine/ModuleDependencyHandler.tests.ps1 @@ -1,7 +1,9 @@ +$directory = Split-Path -Parent $MyInvocation.MyCommand.Path + Describe "Resolve DSC Resource Dependency" { BeforeAll { $skipTest = $false - if ( -not $IsWindows -or $testingLibararyUsage -or ($PSversionTable.PSVersion -lt [Version]'5.0.0')) + if ($IsLinux -or $IsMacOS -or $testingLibararyUsage -or ($PSversionTable.PSVersion -lt [Version]'5.0.0')) { $skipTest = $true return @@ -9,8 +11,6 @@ Describe "Resolve DSC Resource Dependency" { $SavedPSModulePath = $env:PSModulePath $violationFileName = 'MissingDSCResource.ps1' $violationFilePath = Join-Path $directory $violationFileName - - $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') @@ -166,15 +166,6 @@ Describe "Resolve DSC Resource Dependency" { Copy-Item -Recurse -Path $modulePath -Destination $tempModulePath } - AfterAll { - if ( $skipTest ) { return } - #restore environment variables and clean up temporary location - $env:LOCALAPPDATA = $oldLocalAppDataPath - $env:TEMP = $oldTempPath - Remove-Item -Recurse -Path $tempModulePath -Force - Remove-Item -Recurse -Path $tempPath -Force - } - It "Doesn't have parse errors" -skip:$skipTest { # invoke script analyzer $dr = Invoke-ScriptAnalyzer -Path $violationFilePath -ErrorVariable parseErrors -ErrorAction SilentlyContinue @@ -186,6 +177,14 @@ Describe "Resolve DSC Resource Dependency" { $env:PSModulePath | Should Be $oldPSModulePath } + if (!$skipTest) + { + $env:LOCALAPPDATA = $oldLocalAppDataPath + $env:TEMP = $oldTempPath + Remove-Item -Recurse -Path $tempModulePath -Force + Remove-Item -Recurse -Path $tempPath -Force + } + It "Keeps the environment variables unchanged" -skip:$skipTest { Test-EnvironmentVariables($oldEnvVars) } diff --git a/Tests/Engine/RuleSuppression.tests.ps1 b/Tests/Engine/RuleSuppression.tests.ps1 index 3127a3ae5..7ab02d79e 100644 --- a/Tests/Engine/RuleSuppression.tests.ps1 +++ b/Tests/Engine/RuleSuppression.tests.ps1 @@ -106,7 +106,7 @@ function SuppressPwdParam() } Context "Rule suppression within DSC Configuration definition" { - It "Suppresses rule" -skip:((!$IsWindows) -or ($PSVersionTable.PSVersion.Major -lt 5)) { + It "Suppresses rule" -skip:($IsLinux -or $IsMacOS -or ($PSVersionTable.PSVersion.Major -lt 5)) { $suppressedRule = Invoke-ScriptAnalyzer -ScriptDefinition $ruleSuppressionInConfiguration -SuppressedOnly $suppressedRule.Count | Should Be 1 } diff --git a/Tests/Rules/AlignAssignmentStatement.tests.ps1 b/Tests/Rules/AlignAssignmentStatement.tests.ps1 index 0854045b8..5d076dc95 100644 --- a/Tests/Rules/AlignAssignmentStatement.tests.ps1 +++ b/Tests/Rules/AlignAssignmentStatement.tests.ps1 @@ -66,7 +66,7 @@ $x = @{ } } Context "When assignment statements are in DSC Configuration" { - It "Should find violations when assignment statements are not aligned" -skip:(!$IsWindows) { + It "Should find violations when assignment statements are not aligned" -skip:($IsLinux -or $IsMacOS) { $def = @' Configuration MyDscConfiguration { diff --git a/appveyor.yml b/appveyor.yml index c28bf8b54..55ae23912 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -59,12 +59,11 @@ test_script: - ps: | copy-item "C:\projects\psscriptanalyzer\out\PSScriptAnalyzer" "$Env:ProgramFiles\WindowsPowerShell\Modules\" -Recurse -Force $testResultsFile = ".\TestResults.xml" - $ruleTestResultsFile = ".\RuleTestResults.xml" $testScripts = "C:\projects\psscriptanalyzer\Tests\Engine","C:\projects\psscriptanalyzer\Tests\Rules" $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $testResultsFile)) - if ($engineTestResults.FailedCount -gt 0) { - throw "$($engineTestResults.FailedCount) tests failed." + if ($testResults.FailedCount -gt 0) { + throw "$($testResults.FailedCount) tests failed." } # Upload the project along with TestResults as a zip archive From 5d818d136de4d8a66f504edb1e9287f9e7908922 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 20 Feb 2018 21:06:07 +0000 Subject: [PATCH 069/120] remove unneeded restore tasks because .net core 2 does it automatically (#899) --- .build.ps1 | 10 ---------- buildCoreClr.ps1 | 30 ------------------------------ 2 files changed, 40 deletions(-) diff --git a/.build.ps1 b/.build.ps1 index 8f0869505..99c98a106 100644 --- a/.build.ps1 +++ b/.build.ps1 @@ -78,14 +78,6 @@ function Get-BuildTaskParams($project) { $taskParams } -function Get-RestoreTaskParams($project) { - @{ - Inputs = "$BuildRoot/$project/$project.csproj" - Outputs = "$BuildRoot/$project/$project.csproj" - Jobs = {dotnet restore} - } -} - function Get-CleanTaskParams($project) { @{ Jobs = { @@ -122,13 +114,11 @@ popd $projects = @("engine", "rules") $projects | ForEach-Object { Add-ProjectTask $_ build (Get-BuildTaskParams $_) - Add-ProjectTask $_ restore (Get-RestoreTaskParams $_) Add-ProjectTask $_ clean (Get-CleanTaskParams $_) Add-ProjectTask $_ test (Get-TestTaskParam $_) "$BuildRoot/tests" } task build "engine/build", "rules/build" -task restore "engine/restore", "rules/restore" task clean "engine/clean", "rules/clean" task test "engine/test", "rules/test" diff --git a/buildCoreClr.ps1 b/buildCoreClr.ps1 index 9daf3f756..e9655e24c 100644 --- a/buildCoreClr.ps1 +++ b/buildCoreClr.ps1 @@ -1,8 +1,5 @@ param( - # Automatically performs a 'dotnet restore' when being run the first time [switch]$Build, - # Restore Projects in case NuGet packages have changed - [switch]$Restore, [switch]$Uninstall, [switch]$Install, @@ -18,19 +15,6 @@ if ($Configuration -match "PSv3" -and $Framework -eq "netstandard1.6") throw ("{0} configuration is not applicable to {1} framework" -f $Configuration,$Framework) } -Function Test-DotNetRestore -{ - param( - [string] $projectPath - ) - Test-Path ([System.IO.Path]::Combine($projectPath, 'obj', 'project.assets.json')) -} - -function Invoke-RestoreSolution -{ - dotnet restore (Join-Path $PSScriptRoot .\PSScriptAnalyzer.sln) -} - Write-Progress "Building ScriptAnalyzer" $solutionDir = Split-Path $MyInvocation.InvocationName if (-not (Test-Path "$solutionDir/global.json")) @@ -56,28 +40,14 @@ elseif ($Configuration -match 'PSv3') { $destinationDirBinaries = "$destinationDir\PSv3" } -if ($Restore.IsPresent) -{ - Invoke-RestoreSolution -} - if ($build) { Write-Progress "Building Engine" - if (-not (Test-DotNetRestore((Join-Path $solutionDir Engine)))) - { - Invoke-RestoreSolution - } Push-Location Engine\ dotnet build Engine.csproj --framework $Framework --configuration $Configuration Pop-Location - - if (-not (Test-DotNetRestore((Join-Path $solutionDir Rules)))) - { - Invoke-RestoreSolution - } Write-Progress "Building for framework $Framework, configuration $Configuration" Push-Location Rules\ dotnet build Rules.csproj --framework $Framework --configuration $Configuration From ebc413a09c680be86e0a31cf46a4a3f87b349216 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 20 Feb 2018 21:20:57 +0000 Subject: [PATCH 070/120] Have a single point of reference for the .Net Core SDK version (#885) * Have a single point of reference for the .Net Core SDK version * update syntax for WMF4 due to a breaking change in the integration of Get-Content or ConvertFrom-Json --- appveyor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 55ae23912..6de631f2b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,10 +28,12 @@ install: } - ps: | # the legacy WMF4 image only has the old preview SDKs of dotnet - if (-not ((dotnet --version).StartsWith('2.1.4'))) + $globalDotJson = Get-Content .\global.json -Raw | ConvertFrom-Json + $dotNetCoreSDKVersion = $globalDotJson.sdk.version + if (-not ((dotnet --version).StartsWith($dotNetCoreSDKVersion))) { Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1 - .\dotnet-install.ps1 -Version 2.1.4 + .\dotnet-install.ps1 -Version $dotNetCoreSDKVersion } build_script: From 6aeb4f6567ab174686e56043cdec21777f492fdc Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 20 Feb 2018 22:49:03 +0000 Subject: [PATCH 071/120] Fix Pester v4 installation for `Visual Studio 2017` image and use Pester v4 assertion operator syntax (#892) * Pester 3 -> 4 syntax: 'Should Be' -> 'Should -Be' * Pester 3 -> 4 syntax: 'Should Not' -> 'Should -Not' * Remaining '* -Be*' fixes for Pester v4 * Pester 3 -> 4: Match -> -Match * Pester 3 -> 4: Throw -> -Throw * revert minor mistakes * more minor reverts * final tweaks for a clean diff * add debugging line to figure out why pester v4 does not seem to work in VS2017 image * add another debugging line to figure out which version of pester it uses for invoke-pester * try to install pester v4 in a different way * fix wmf4 build * fix wmf4 syntax * apply PR suggestions * fix test case syntax (missing param block) --- Tests/DisabledRules/AvoidOneChar.tests.ps1 | 6 +- .../AvoidTrapStatements.tests.ps1 | 6 +- .../AvoidUnloadableModule.tests.ps1 | 6 +- .../AvoidUsingClearHost.tests.ps1 | 6 +- .../AvoidUsingFilePath.tests.ps1 | 8 +- .../AvoidUsingInternalURLs.tests.ps1 | 6 +- .../AvoidUsingUninitializedVariable.Tests.ps1 | 6 +- Tests/DisabledRules/CommandNotFound.tests.ps1 | 8 +- .../ProvideVerboseMessage.tests.ps1 | 8 +- Tests/DisabledRules/TypeNotFound.tests.ps1 | 6 +- .../UseTypeAtVariableAssignment.tests.ps1 | 6 +- Tests/Engine/CorrectionExtent.tests.ps1 | 14 +- Tests/Engine/CustomizedRule.tests.ps1 | 52 ++++---- Tests/Engine/EditableText.tests.ps1 | 16 +-- Tests/Engine/Extensions.tests.ps1 | 48 +++---- Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 62 ++++----- Tests/Engine/GlobalSuppression.test.ps1 | 44 +++---- Tests/Engine/Helper.tests.ps1 | 10 +- Tests/Engine/InvokeFormatter.tests.ps1 | 6 +- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 122 +++++++++--------- .../Engine/ModuleDependencyHandler.tests.ps1 | 36 +++--- Tests/Engine/ModuleHelp.Tests.ps1 | 16 +-- Tests/Engine/RuleSuppression.tests.ps1 | 34 ++--- Tests/Engine/RuleSuppressionClass.tests.ps1 | 24 ++-- Tests/Engine/Settings.tests.ps1 | 80 ++++++------ .../SettingsTest/Issue828/Issue828.tests.ps1 | 2 +- Tests/Engine/TextEdit.tests.ps1 | 14 +- Tests/PSScriptAnalyzerTestHelper.psm1 | 6 +- .../Rules/AlignAssignmentStatement.tests.ps1 | 10 +- ...oidAssignmentToAutomaticVariable.tests.ps1 | 16 +-- ...nvertToSecureStringWithPlainText.tests.ps1 | 6 +- ...dDefaultTrueValueSwitchParameter.tests.ps1 | 6 +- ...efaultValueForMandatoryParameter.tests.ps1 | 6 +- Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 | 6 +- Tests/Rules/AvoidGlobalAliases.tests.ps1 | 6 +- Tests/Rules/AvoidGlobalFunctions.tests.ps1 | 6 +- .../AvoidGlobalOrUnitializedVars.tests.ps1 | 16 +-- .../Rules/AvoidInvokingEmptyMembers.tests.ps1 | 6 +- ...dNullOrEmptyHelpMessageAttribute.tests.ps1 | 6 +- .../Rules/AvoidPositionalParameters.tests.ps1 | 8 +- Tests/Rules/AvoidReservedParams.tests.ps1 | 6 +- .../AvoidShouldContinueWithoutForce.tests.ps1 | 6 +- ...OrMissingRequiredFieldInManifest.tests.ps1 | 28 ++-- .../AvoidUserNameAndPasswordParams.tests.ps1 | 10 +- Tests/Rules/AvoidUsingAlias.tests.ps1 | 20 +-- .../AvoidUsingComputerNameHardcoded.tests.ps1 | 6 +- ...oidUsingDeprecatedManifestFields.tests.ps1 | 8 +- .../AvoidUsingInvokeExpression.tests.ps1 | 6 +- .../AvoidUsingPlainTextForPassword.tests.ps1 | 8 +- .../AvoidUsingReservedCharNames.tests.ps1 | 6 +- Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 | 6 +- Tests/Rules/AvoidUsingWriteHost.tests.ps1 | 6 +- Tests/Rules/DscExamplesPresent.tests.ps1 | 12 +- Tests/Rules/DscTestsPresent.tests.ps1 | 12 +- Tests/Rules/MisleadingBacktick.tests.ps1 | 4 +- Tests/Rules/PSCredentialType.tests.ps1 | 8 +- Tests/Rules/PSScriptAnalyzerTestHelper.psm1 | 6 +- Tests/Rules/PlaceCloseBrace.tests.ps1 | 42 +++--- Tests/Rules/PlaceOpenBrace.tests.ps1 | 18 +-- ...sibleIncorrectComparisonWithNull.tests.ps1 | 6 +- ...correctUsageOfAssignmentOperator.tests.ps1 | 22 ++-- Tests/Rules/ProvideCommentHelp.tests.ps1 | 18 +-- ...eturnCorrectTypesForDSCFunctions.tests.ps1 | 12 +- .../UseBOMForUnicodeEncodedFile.tests.ps1 | 12 +- Tests/Rules/UseCmdletCorrectly.tests.ps1 | 6 +- Tests/Rules/UseCompatibleCmdlets.tests.ps1 | 4 +- .../Rules/UseConsistentIndentation.tests.ps1 | 22 ++-- Tests/Rules/UseConsistentWhitespace.tests.ps1 | 30 ++--- Tests/Rules/UseDSCResourceFunctions.tests.ps1 | 12 +- ...eDeclaredVarsMoreThanAssignments.tests.ps1 | 20 +-- ...enticalMandatoryParametersForDSC.tests.ps1 | 6 +- .../Rules/UseIdenticalParametersDSC.tests.ps1 | 8 +- ...seLiteralInitializerForHashtable.tests.ps1 | 12 +- Tests/Rules/UseOutputTypeCorrectly.tests.ps1 | 8 +- .../Rules/UseShouldProcessCorrectly.tests.ps1 | 30 ++--- ...ProcessForStateChangingFunctions.tests.ps1 | 10 +- .../UseSingularNounsReservedVerbs.tests.ps1 | 18 +-- .../Rules/UseSupportsShouldProcess.tests.ps1 | 48 +++---- .../UseToExportFieldsInManifest.tests.ps1 | 32 ++--- .../UseUTF8EncodingForHelpFile.tests.ps1 | 8 +- .../UseVerboseMessageInDSCResource.Tests.ps1 | 6 +- appveyor.yml | 16 ++- 82 files changed, 679 insertions(+), 661 deletions(-) diff --git a/Tests/DisabledRules/AvoidOneChar.tests.ps1 b/Tests/DisabledRules/AvoidOneChar.tests.ps1 index 6c9820fe1..29ff0b7db 100644 --- a/Tests/DisabledRules/AvoidOneChar.tests.ps1 +++ b/Tests/DisabledRules/AvoidOneChar.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "Avoid Using One Char" { Context "When there are violations" { It "has 1 One Char Violation" { - $oneCharViolations.Count | Should Be 1 + $oneCharViolations.Count | Should -Be 1 } It "has the correct description message" { - $oneCharViolations[0].Message | Should Match $oneCharMessage + $oneCharViolations[0].Message | Should -Match $oneCharMessage } } Context "When there are no violations" { It "has no violations" { - $noReservedCharViolations.Count | Should Be 0 + $noReservedCharViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/AvoidTrapStatements.tests.ps1 b/Tests/DisabledRules/AvoidTrapStatements.tests.ps1 index 4b4aa674f..348d13f7c 100644 --- a/Tests/DisabledRules/AvoidTrapStatements.tests.ps1 +++ b/Tests/DisabledRules/AvoidTrapStatements.tests.ps1 @@ -8,18 +8,18 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "AvoidTrapStatement" { Context "When there are violations" { It "has 1 avoid trap violations" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/AvoidUnloadableModule.tests.ps1 b/Tests/DisabledRules/AvoidUnloadableModule.tests.ps1 index a9d5f85cf..283bdc748 100644 --- a/Tests/DisabledRules/AvoidUnloadableModule.tests.ps1 +++ b/Tests/DisabledRules/AvoidUnloadableModule.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\TestGoodModule\TestGoodModule.p Describe "AvoidUnloadableModule" { Context "When there are violations" { It "has 1 unloadable module violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations.Message | Should Match $unloadableMessage + $violations.Message | Should -Match $unloadableMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/AvoidUsingClearHost.tests.ps1 b/Tests/DisabledRules/AvoidUsingClearHost.tests.ps1 index b32fd73db..143ffb3b2 100644 --- a/Tests/DisabledRules/AvoidUsingClearHost.tests.ps1 +++ b/Tests/DisabledRules/AvoidUsingClearHost.tests.ps1 @@ -9,17 +9,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingClearHostNoViolations Describe "AvoidUsingClearHost" { Context "When there are violations" { It "has 3 Clear-Host violations" { - $violations.Count | Should Be 3 + $violations.Count | Should -Be 3 } It "has the correct description message for Clear-Host" { - $violations[0].Message | Should Match $clearHostMessage + $violations[0].Message | Should -Match $clearHostMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/AvoidUsingFilePath.tests.ps1 b/Tests/DisabledRules/AvoidUsingFilePath.tests.ps1 index 50030ee01..bd7f37b5e 100644 --- a/Tests/DisabledRules/AvoidUsingFilePath.tests.ps1 +++ b/Tests/DisabledRules/AvoidUsingFilePath.tests.ps1 @@ -14,21 +14,21 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingFilePathNoViolations. Describe "AvoidUsingFilePath" { Context "When there are violations" { It "has 4 avoid using file path violations" { - $violations.Count | Should Be 4 + $violations.Count | Should -Be 4 } It "has the correct description message with drive name" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } It "has the correct description message (UNC)" { - $violations[2].Message | Should Match $violationUNCMessage + $violations[2].Message | Should -Match $violationUNCMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/AvoidUsingInternalURLs.tests.ps1 b/Tests/DisabledRules/AvoidUsingInternalURLs.tests.ps1 index 94c608805..376f840d0 100644 --- a/Tests/DisabledRules/AvoidUsingInternalURLs.tests.ps1 +++ b/Tests/DisabledRules/AvoidUsingInternalURLs.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingInternalURLsNoViolati Describe "AvoidUsingInternalURLs" { Context "When there are violations" { It "has 3 violations" { - $violations.Count | Should Be 3 + $violations.Count | Should -Be 3 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/AvoidUsingUninitializedVariable.Tests.ps1 b/Tests/DisabledRules/AvoidUsingUninitializedVariable.Tests.ps1 index 4f499ed04..f2922535f 100644 --- a/Tests/DisabledRules/AvoidUsingUninitializedVariable.Tests.ps1 +++ b/Tests/DisabledRules/AvoidUsingUninitializedVariable.Tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingUninitializedVariable Describe "AvoidUsingUninitializedVariable" { Context "Script uses uninitialized variables - Violation" { It "Have 3 rule violations" { - $violations.Count | Should Be 3 + $violations.Count | Should -Be 3 } It "has the correct description message for UninitializedVariable rule violation" { - $violations[0].Message | Should Be $violationMessage + $violations[0].Message | Should -Be $violationMessage } } Context "Script uses initialized variables - No violation" { It "results in no rule violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/CommandNotFound.tests.ps1 b/Tests/DisabledRules/CommandNotFound.tests.ps1 index 968c31cef..e311fdca5 100644 --- a/Tests/DisabledRules/CommandNotFound.tests.ps1 +++ b/Tests/DisabledRules/CommandNotFound.tests.ps1 @@ -9,21 +9,21 @@ $noViolationsDSC = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $director Describe "CommandNotFound" { Context "When there are violations" { It "has 1 Command Not Found violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } It "returns no violations for DSC configuration" { - $noViolationsDSC.Count | Should Be 0 + $noViolationsDSC.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 b/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 index 6f52cc709..290e1ec91 100644 --- a/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 +++ b/Tests/DisabledRules/ProvideVerboseMessage.tests.ps1 @@ -9,21 +9,21 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "ProvideVerboseMessage" { Context "When there are violations" { It "has 1 provide verbose violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } It "Does not count violation in DSC class" { - $dscViolations.Count | Should Be 0 + $dscViolations.Count | Should -Be 0 } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/DisabledRules/TypeNotFound.tests.ps1 b/Tests/DisabledRules/TypeNotFound.tests.ps1 index 72ed21180..48e4261fb 100644 --- a/Tests/DisabledRules/TypeNotFound.tests.ps1 +++ b/Tests/DisabledRules/TypeNotFound.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "TypeNotFound" { Context "When there are violations" { It "has 2 Type Not Found violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/DisabledRules/UseTypeAtVariableAssignment.tests.ps1 b/Tests/DisabledRules/UseTypeAtVariableAssignment.tests.ps1 index 3b2551533..8f6eec23c 100644 --- a/Tests/DisabledRules/UseTypeAtVariableAssignment.tests.ps1 +++ b/Tests/DisabledRules/UseTypeAtVariableAssignment.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "UseTypeAtVariableAssignment" { Context "When there are violations" { It "has 3 Use Type At Variable Assignement violations" { - $violations.Count | Should Be 3 + $violations.Count | Should -Be 3 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Engine/CorrectionExtent.tests.ps1 b/Tests/Engine/CorrectionExtent.tests.ps1 index 7cd651001..b56475f31 100644 --- a/Tests/Engine/CorrectionExtent.tests.ps1 +++ b/Tests/Engine/CorrectionExtent.tests.ps1 @@ -7,13 +7,13 @@ Describe "Correction Extent" { It "creates the object with correct properties" { $correctionExtent = $obj = New-Object -TypeName $type -ArgumentList 1, 1, 1, 3, "get-childitem", "newfile", "cool description" - $correctionExtent.StartLineNumber | Should Be 1 - $correctionExtent.EndLineNumber | Should Be 1 - $correctionExtent.StartColumnNumber | Should Be 1 - $correctionExtent.EndColumnNumber | Should be 3 - $correctionExtent.Text | Should Be "get-childitem" - $correctionExtent.File | Should Be "newfile" - $correctionExtent.Description | Should Be "cool description" + $correctionExtent.StartLineNumber | Should -Be 1 + $correctionExtent.EndLineNumber | Should -Be 1 + $correctionExtent.StartColumnNumber | Should -Be 1 + $correctionExtent.EndColumnNumber | Should -Be 3 + $correctionExtent.Text | Should -Be "get-childitem" + $correctionExtent.File | Should -Be "newfile" + $correctionExtent.Description | Should -Be "cool description" } } } diff --git a/Tests/Engine/CustomizedRule.tests.ps1 b/Tests/Engine/CustomizedRule.tests.ps1 index 0be3cfb80..d2cecd23b 100644 --- a/Tests/Engine/CustomizedRule.tests.ps1 +++ b/Tests/Engine/CustomizedRule.tests.ps1 @@ -35,7 +35,7 @@ Describe "Test importing customized rules with null return results" { Context "Test Get-ScriptAnalyzer with customized rules" { It "will not terminate the engine" { $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\samplerule\SampleRulesWithErrors.psm1 | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } } @@ -43,7 +43,7 @@ Describe "Test importing customized rules with null return results" { Context "Test Invoke-ScriptAnalyzer with customized rules" { It "will not terminate the engine" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule\SampleRulesWithErrors.psm1 | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should Be 0 + $customizedRulePath.Count | Should -Be 0 } } @@ -68,7 +68,7 @@ Describe "Test importing correct customized rules" { } $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule\samplerule.psm1 | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 # Force Get-Help not to prompt for interactive input to download help using Update-Help # By adding this registry key we turn off Get-Help interactivity logic during ScriptRule parsing @@ -89,18 +89,18 @@ Describe "Test importing correct customized rules" { Context "Test Get-ScriptAnalyzer with customized rules" { It "will show the custom rule" { $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\samplerule\samplerule.psm1 | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "will show the custom rule when given a rule folder path" { $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\samplerule | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "will show the custom rule when given a rule folder path with trailing backslash" -skip:$($IsLinux -or $IsMacOS) { # needs fixing for linux $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory/samplerule/ | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "will show the custom rules when given a glob" { @@ -111,12 +111,12 @@ Describe "Test importing correct customized rules" { $expectedNumRules = 3 } $customizedRulePath = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\samplerule\samplerule* | Where-Object {$_.RuleName -match $measure} - $customizedRulePath.Count | Should be $expectedNumRules + $customizedRulePath.Count | Should -Be $expectedNumRules } It "will show the custom rules when given recurse switch" { $customizedRulePath = Get-ScriptAnalyzerRule -RecurseCustomRulePath -CustomizedRulePath "$directory\samplerule", "$directory\samplerule\samplerule2" | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should be 5 + $customizedRulePath.Count | Should -Be 5 } It "will show the custom rules when given glob with recurse switch" { @@ -127,35 +127,35 @@ Describe "Test importing correct customized rules" { $expectedNumRules = 4 } $customizedRulePath = Get-ScriptAnalyzerRule -RecurseCustomRulePath -CustomizedRulePath $directory\samplerule\samplerule* | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should be $expectedNumRules + $customizedRulePath.Count | Should -Be $expectedNumRules } It "will show the custom rules when given glob with recurse switch" { $customizedRulePath = Get-ScriptAnalyzerRule -RecurseCustomRulePath -CustomizedRulePath $directory\samplerule* | Where-Object {$_.RuleName -eq $measure} - $customizedRulePath.Count | Should be 3 + $customizedRulePath.Count | Should -Be 3 } } Context "Test Invoke-ScriptAnalyzer with customized rules" { It "will show the custom rule in the results" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule\samplerule.psm1 | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "will show the custom rule in the results when given a rule folder path" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "will set ScriptName property to the target file name" { $violations = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule - $violations[0].ScriptName | Should Be 'TestScript.ps1' + $violations[0].ScriptName | Should -Be 'TestScript.ps1' } It "will set ScriptPath property to the target file path" { $violations = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule $expectedScriptPath = Join-Path $directory 'TestScript.ps1' - $violations[0].ScriptPath | Should Be $expectedScriptPath + $violations[0].ScriptPath | Should -Be $expectedScriptPath } if (!$testingLibraryUsage) @@ -165,59 +165,59 @@ Describe "Test importing correct customized rules" { if (!$IsLinux -and !$IsMacOS) { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule\ | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } } It "will show the custom rules when given a glob" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule\samplerule* | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should be 3 + $customizedRulePath.Count | Should -Be 3 } It "will show the custom rules when given recurse switch" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -RecurseCustomRulePath -CustomizedRulePath $directory\samplerule | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should be 3 + $customizedRulePath.Count | Should -Be 3 } It "will show the custom rules when given glob with recurse switch" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -RecurseCustomRulePath -CustomizedRulePath $directory\samplerule\samplerule* | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should be 4 + $customizedRulePath.Count | Should -Be 4 } It "will show the custom rules when given glob with recurse switch" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -RecurseCustomRulePath -CustomizedRulePath $directory\samplerule* | Where-Object {$_.Message -eq $message} - $customizedRulePath.Count | Should be 3 + $customizedRulePath.Count | Should -Be 3 } It "Using IncludeDefaultRules Switch with CustomRulePath" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomRulePath $directory\samplerule\samplerule.psm1 -IncludeDefaultRules - $customizedRulePath.Count | Should Be 2 + $customizedRulePath.Count | Should -Be 2 } It "Using IncludeDefaultRules Switch without CustomRulePath" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -IncludeDefaultRules - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "Not Using IncludeDefaultRules Switch and without CustomRulePath" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "loads custom rules that contain version in their path" -Skip:($PSVersionTable.PSVersion -lt [Version]'5.0.0') { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomRulePath $directory\VersionedSampleRule\SampleRuleWithVersion - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 $customizedRulePath = Get-ScriptAnalyzerRule -CustomRulePath $directory\VersionedSampleRule\SampleRuleWithVersion - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "loads custom rules that contain version in their path with the RecurseCustomRule switch" -Skip:($PSVersionTable.PSVersion -lt [Version]'5.0.0') { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomRulePath $directory\VersionedSampleRule -RecurseCustomRulePath - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 $customizedRulePath = Get-ScriptAnalyzerRule -CustomRulePath $directory\VersionedSampleRule -RecurseCustomRulePath - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } } diff --git a/Tests/Engine/EditableText.tests.ps1 b/Tests/Engine/EditableText.tests.ps1 index c6f888f08..bee601a21 100644 --- a/Tests/Engine/EditableText.tests.ps1 +++ b/Tests/Engine/EditableText.tests.ps1 @@ -14,7 +14,7 @@ Describe "EditableText class" { $edit = New-Object -TypeName $textEditType -ArgumentList 1,14,1,22,"one" $editableText = New-Object -TypeName $editableTextType -ArgumentList $def $result = $editableText.ApplyEdit($edit) - $result.ToString() | Should Be "This is just one line." + $result.ToString() | Should -Be "This is just one line." } It "Should replace in a single line string in the start" { @@ -22,7 +22,7 @@ Describe "EditableText class" { $edit = New-Object -TypeName $textEditType -ArgumentList 1,1,1,5,"That" $editableText = New-Object -TypeName $editableTextType -ArgumentList $def $result = $editableText.ApplyEdit($edit) - $result.ToString() | Should Be 'That is just a single line.' + $result.ToString() | Should -Be 'That is just a single line.' } It "Should replace in a single line string in the end" { @@ -30,7 +30,7 @@ Describe "EditableText class" { $edit = New-Object -TypeName $textEditType -ArgumentList 1,23,1,27,"sentence" $editableText = New-Object -TypeName $editableTextType -ArgumentList $def $result = $editableText.ApplyEdit($edit) - $result.ToString() | Should Be 'This is just a single sentence.' + $result.ToString() | Should -Be 'This is just a single sentence.' } It "Should replace in multi-line string" { @@ -51,7 +51,7 @@ three $edit = New-Object -TypeName $textEditType -ArgumentList 2,12,3,5,$newText $editableText = New-Object -TypeName $editableTextType -ArgumentList $def $result = $editableText.ApplyEdit($edit) - $result.ToString() | Should Be $expected + $result.ToString() | Should -Be $expected } It "Should delete in a multi-line string" { @@ -74,7 +74,7 @@ function foo { $edit = New-Object -TypeName $textEditType -ArgumentList 3,23,4,23,$newText $editableText = New-Object -TypeName $editableTextType -ArgumentList $def $result = $editableText.ApplyEdit($edit) - $result.ToString() | Should Be $expected + $result.ToString() | Should -Be $expected } It "Should insert in a multi-line string" { @@ -102,7 +102,7 @@ function foo { $edit = New-Object -TypeName $textEditType -ArgumentList 2,1,2,1,$newText $editableText = New-Object -TypeName $editableTextType -ArgumentList $def $result = $editableText.ApplyEdit($edit) - $result.ToString() | Should Be $expected + $result.ToString() | Should -Be $expected } It "Should return a read-only collection of lines in the text" { @@ -117,7 +117,7 @@ function foo { -TypeName "Microsoft.Windows.PowerShell.ScriptAnalyzer.EditableText" ` -ArgumentList @($def) - {$text.Lines.Add("abc")} | Should Throw + {$text.Lines.Add("abc")} | Should -Throw } It "Should return the correct number of lines in the text" { @@ -135,7 +135,7 @@ property1 = "value" $text = New-Object ` -TypeName "Microsoft.Windows.PowerShell.ScriptAnalyzer.EditableText" ` -ArgumentList @($def) - $text.LineCount | Should Be 9 + $text.LineCount | Should -Be 9 } } } diff --git a/Tests/Engine/Extensions.tests.ps1 b/Tests/Engine/Extensions.tests.ps1 index 469ca583c..d3ff0a15a 100644 --- a/Tests/Engine/Extensions.tests.ps1 +++ b/Tests/Engine/Extensions.tests.ps1 @@ -21,10 +21,10 @@ function Test-Extent { $expectedEndLineNumber, $expectedEndColumnNumber) - $translatedExtent.StartLineNumber | Should Be $expectedStartLineNumber - $translatedExtent.StartColumnNumber | Should Be $expectedStartColumnNumber - $translatedExtent.EndLineNumber | Should Be $expectedEndLineNumber - $translatedExtent.EndColumnNumber | Should Be $expectedEndColumnNumber + $translatedExtent.StartLineNumber | Should -Be $expectedStartLineNumber + $translatedExtent.StartColumnNumber | Should -Be $expectedStartColumnNumber + $translatedExtent.EndLineNumber | Should -Be $expectedEndLineNumber + $translatedExtent.EndColumnNumber | Should -Be $expectedEndColumnNumber } $extNamespace = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions.Extensions] @@ -33,7 +33,7 @@ Describe "String extension methods" { Context "When a text is given to GetLines" { It "Should return only one line if input is a single line." { $def = "This is a single line" - $extNamespace::GetLines($def) | Get-Count | Should Be 1 + $extNamespace::GetLines($def) | Get-Count | Should -Be 1 } It "Should return 2 lines if input string has 2 lines." { @@ -41,7 +41,7 @@ Describe "String extension methods" { This is line one. This is line two. '@ - $extNamespace::GetLines($def) | Get-Count | Should Be 2 + $extNamespace::GetLines($def) | Get-Count | Should -Be 2 } } } @@ -51,10 +51,10 @@ Describe "IScriptExtent extension methods" { $extent = Get-Extent $null 1 2 3 4 $range = $extNamespace::ToRange($extent) - $range.Start.Line | Should Be $extent.StartLineNumber - $range.Start.Column | Should Be $extent.StartColumnNumber - $range.End.Line | Should Be $extent.EndLineNumber - $range.End.Column | Should Be $extent.EndColumnNumber + $range.Start.Line | Should -Be $extent.StartLineNumber + $range.Start.Column | Should -Be $extent.StartColumnNumber + $range.End.Line | Should -Be $extent.EndLineNumber + $range.End.Column | Should -Be $extent.EndColumnNumber } } } @@ -68,11 +68,11 @@ Describe "FunctionDefinitionAst extension methods" { } It "Should return the parameters" { - $parameterAsts | Get-Count | Should Be 2 + $parameterAsts | Get-Count | Should -Be 2 } It "Should set paramBlock to `$null" { - $paramBlock | Should Be $null + $paramBlock | Should -Be $null } } @@ -87,11 +87,11 @@ Describe "FunctionDefinitionAst extension methods" { } It "Should return the parameters" { - $parameterAsts | Get-Count | Should Be 2 + $parameterAsts | Get-Count | Should -Be 2 } It "Should set paramBlock" { - $paramBlockAst | Should Not Be $null + $paramBlockAst | Should -Not -Be $null } } } @@ -104,7 +104,7 @@ Describe "ParamBlockAst extension methods" { [CmdletBinding()] param($param1, $param2) }}.Ast.EndBlock.Statements[0] - $extNamespace::GetCmdletBindingAttributeAst($funcDefnAst.Body.ParamBlock) | Should Not Be $null + $extNamespace::GetCmdletBindingAttributeAst($funcDefnAst.Body.ParamBlock) | Should -Not -Be $null } } } @@ -118,7 +118,7 @@ Describe "AttributeAst extension methods" { param($param1, $param2) }}.Ast.EndBlock.Statements[0] $extNamespace::IsCmdletBindingAttributeAst($funcDefnAst.Body.ParamBlock.Attributes[0]) | - Should Be $true + Should -Be $true } } @@ -130,8 +130,8 @@ Describe "AttributeAst extension methods" { param($param1, $param2) }}.Ast.EndBlock.Statements[0] $attrAst = $extNamespace::GetSupportsShouldProcessAst($funcDefnAst.Body.ParamBlock.Attributes[0]) - $attrAst | Should Not Be $null - $attrAst.Extent.Text | Should Be "SupportsShouldProcess" + $attrAst | Should -Not -Be $null + $attrAst.Extent.Text | Should -Be "SupportsShouldProcess" } } } @@ -145,8 +145,8 @@ Describe "NamedAttributeArgumentAst" { param($param1, $param2) }}.Ast.EndBlock.Statements[0].Body.ParamBlock.Attributes[0].NamedArguments[0] $expressionAst = $null - $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should Be $true - $expressionAst | Should Be $null + $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -Be $true + $expressionAst | Should -Be $null } It "Should return true if argument value is `$true" { @@ -156,8 +156,8 @@ Describe "NamedAttributeArgumentAst" { param($param1, $param2) }}.Ast.EndBlock.Statements[0].Body.ParamBlock.Attributes[0].NamedArguments[0] $expressionAst = $null - $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should Be $true - $expressionAst | Should Not Be $null + $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -Be $true + $expressionAst | Should -Not -Be $null } It "Should return false if argument value is `$false" { @@ -167,8 +167,8 @@ Describe "NamedAttributeArgumentAst" { param($param1, $param2) }}.Ast.EndBlock.Statements[0].Body.ParamBlock.Attributes[0].NamedArguments[0] $expressionAst = $null - $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should Be $false - $expressionAst | Should Not Be $null + $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -Be $false + $expressionAst | Should -Not -Be $null } } diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index 647301e3c..4717f14be 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -14,25 +14,25 @@ Describe "Test available parameters" { $params = $sa.Parameters Context "Name parameter" { It "has a RuleName parameter" { - $params.ContainsKey("Name") | Should Be $true + $params.ContainsKey("Name") | Should -Be $true } It "accepts string" { - $params["Name"].ParameterType.FullName | Should Be "System.String[]" + $params["Name"].ParameterType.FullName | Should -Be "System.String[]" } } Context "RuleExtension parameters" { It "has a RuleExtension parameter" { - $params.ContainsKey("CustomRulePath") | Should Be $true + $params.ContainsKey("CustomRulePath") | Should -Be $true } It "accepts string array" { - $params["CustomRulePath"].ParameterType.FullName | Should Be "System.String[]" + $params["CustomRulePath"].ParameterType.FullName | Should -Be "System.String[]" } It "takes CustomizedRulePath parameter as an alias of CustomRulePath parameter" { - $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should be $true + $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should -Be $true } } @@ -42,21 +42,21 @@ Describe "Test Name parameters" { Context "When used correctly" { It "works with 1 name" { $rule = Get-ScriptAnalyzerRule -Name $cmdletAliases - $rule.Count | Should Be 1 - $rule[0].RuleName | Should Be $cmdletAliases + $rule.Count | Should -Be 1 + $rule[0].RuleName | Should -Be $cmdletAliases } It "works for DSC Rule" { $rule = Get-ScriptAnalyzerRule -Name $dscIdentical - $rule.Count | Should Be 1 - $rule[0].RuleName | Should Be $dscIdentical + $rule.Count | Should -Be 1 + $rule[0].RuleName | Should -Be $dscIdentical } It "works with 2 names" { $rules = Get-ScriptAnalyzerRule -Name $approvedVerbs, $cmdletAliases - $rules.Count | Should Be 2 - ($rules | Where-Object {$_.RuleName -eq $cmdletAliases}).Count | Should Be 1 - ($rules | Where-Object {$_.RuleName -eq $approvedVerbs}).Count | Should Be 1 + $rules.Count | Should -Be 2 + ($rules | Where-Object {$_.RuleName -eq $cmdletAliases}).Count | Should -Be 1 + ($rules | Where-Object {$_.RuleName -eq $approvedVerbs}).Count | Should -Be 1 } It "get Rules with no parameters supplied" { @@ -73,25 +73,25 @@ Describe "Test Name parameters" { $expectedNumRules-- } - $defaultRules.Count | Should be $expectedNumRules + $defaultRules.Count | Should -Be $expectedNumRules } It "is a positional parameter" { $rules = Get-ScriptAnalyzerRule "PSAvoidUsingCmdletAliases" - $rules.Count | Should Be 1 + $rules.Count | Should -Be 1 } } Context "When used incorrectly" { It "1 incorrect name" { $rule = Get-ScriptAnalyzerRule -Name "This is a wrong name" - $rule.Count | Should Be 0 + $rule.Count | Should -Be 0 } It "1 incorrect and 1 correct" { $rule = Get-ScriptAnalyzerRule -Name $cmdletAliases, "This is a wrong name" - $rule.Count | Should Be 1 - $rule[0].RuleName | Should Be $cmdletAliases + $rule.Count | Should -Be 1 + $rule[0].RuleName | Should -Be $cmdletAliases } } } @@ -108,31 +108,31 @@ Describe "Test RuleExtension" { } It "with the module folder path" { $ruleExtension = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\CommunityAnalyzerRules | Where-Object {$_.SourceName -eq $community} - $ruleExtension.Count | Should Be $expectedNumCommunityRules + $ruleExtension.Count | Should -Be $expectedNumCommunityRules } It "with the psd1 path" { $ruleExtension = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psd1 | Where-Object {$_.SourceName -eq $community} - $ruleExtension.Count | Should Be $expectedNumCommunityRules + $ruleExtension.Count | Should -Be $expectedNumCommunityRules } It "with the psm1 path" { $ruleExtension = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psm1 | Where-Object {$_.SourceName -eq $community} - $ruleExtension.Count | Should Be $expectedNumCommunityRules + $ruleExtension.Count | Should -Be $expectedNumCommunityRules } It "with Name of a built-in rules" { $ruleExtension = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psm1 -Name $singularNouns - $ruleExtension.Count | Should Be 0 + $ruleExtension.Count | Should -Be 0 } It "with Names of built-in, DSC and non-built-in rules" { $ruleExtension = Get-ScriptAnalyzerRule -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psm1 -Name $singularNouns, $measureRequired, $dscIdentical - $ruleExtension.Count | Should be 1 - ($ruleExtension | Where-Object {$_.RuleName -eq $measureRequired}).Count | Should Be 1 - ($ruleExtension | Where-Object {$_.RuleName -eq $singularNouns}).Count | Should Be 0 - ($ruleExtension | Where-Object {$_.RuleName -eq $dscIdentical}).Count | Should Be 0 + $ruleExtension.Count | Should -Be 1 + ($ruleExtension | Where-Object {$_.RuleName -eq $measureRequired}).Count | Should -Be 1 + ($ruleExtension | Where-Object {$_.RuleName -eq $singularNouns}).Count | Should -Be 0 + ($ruleExtension | Where-Object {$_.RuleName -eq $dscIdentical}).Count | Should -Be 0 } } @@ -144,7 +144,7 @@ Describe "Test RuleExtension" { } catch { - $Error[0].FullyQualifiedErrorId | should match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.GetScriptAnalyzerRuleCommand" + $Error[0].FullyQualifiedErrorId | Should -Match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.GetScriptAnalyzerRuleCommand" } } @@ -154,28 +154,28 @@ Describe "Test RuleExtension" { Describe "TestSeverity" { It "filters rules based on the specified rule severity" { $rules = Get-ScriptAnalyzerRule -Severity Error - $rules.Count | Should be 6 + $rules.Count | Should -Be 6 } It "filters rules based on multiple severity inputs"{ $rules = Get-ScriptAnalyzerRule -Severity Error,Information - $rules.Count | Should be 15 + $rules.Count | Should -Be 15 } It "takes lower case inputs" { $rules = Get-ScriptAnalyzerRule -Severity error - $rules.Count | Should be 6 + $rules.Count | Should -Be 6 } } Describe "TestWildCard" { It "filters rules based on the -Name wild card input" { $rules = Get-ScriptAnalyzerRule -Name PSDSC* - $rules.Count | Should be 7 + $rules.Count | Should -Be 7 } It "filters rules based on wild card input and severity"{ $rules = Get-ScriptAnalyzerRule -Name PSDSC* -Severity Information - $rules.Count | Should be 4 + $rules.Count | Should -Be 4 } } diff --git a/Tests/Engine/GlobalSuppression.test.ps1 b/Tests/Engine/GlobalSuppression.test.ps1 index 285663ec4..74e23fc48 100644 --- a/Tests/Engine/GlobalSuppression.test.ps1 +++ b/Tests/Engine/GlobalSuppression.test.ps1 @@ -16,90 +16,90 @@ Describe "GlobalSuppression" { Context "Exclude Rule" { It "Raises 1 violation for cmdlet alias" { $withoutProfile = $violations | Where-Object { $_.RuleName -eq "PSAvoidUsingCmdletAliases"} - $withoutProfile.Count | Should Be 1 + $withoutProfile.Count | Should -Be 1 $withoutProfile = $violationsUsingScriptDefinition | Where-Object { $_.RuleName -eq "PSAvoidUsingCmdletAliases"} - $withoutProfile.Count | Should Be 1 + $withoutProfile.Count | Should -Be 1 } It "Does not raise any violations for cmdlet alias with profile" { $withProfile = $suppression | Where-Object { $_.RuleName -eq "PSAvoidUsingCmdletAliases" } - $withProfile.Count | Should be 0 + $withProfile.Count | Should -Be 0 $withProfile = $suppressionUsingScriptDefinition | Where-Object { $_.RuleName -eq "PSAvoidUsingCmdletAliases" } - $withProfile.Count | Should be 0 + $withProfile.Count | Should -Be 0 } It "Does not raise any violation for cmdlet alias using configuration hashtable" { $hashtableConfiguration = Invoke-ScriptAnalyzer "$directory\GlobalSuppression.ps1" -Configuration @{"excluderules" = "PSAvoidUsingCmdletAliases"} | Where-Object { $_.RuleName -eq "PSAvoidUsingCmdletAliases"} - $hashtableConfiguration.Count | Should Be 0 + $hashtableConfiguration.Count | Should -Be 0 $hashtableConfiguration = Invoke-ScriptAnalyzer -ScriptDefinition (Get-Content -Raw "$directory\GlobalSuppression.ps1") -Configuration @{"excluderules" = "PSAvoidUsingCmdletAliases"} | Where-Object { $_.RuleName -eq "PSAvoidUsingCmdletAliases"} - $hashtableConfiguration.Count | Should Be 0 + $hashtableConfiguration.Count | Should -Be 0 } } Context "Include Rule" { It "Raises 1 violation for computername hard-coded" { $withoutProfile = $violations | Where-Object { $_.RuleName -eq "PSAvoidUsingComputerNameHardcoded" } - $withoutProfile.Count | Should Be 1 + $withoutProfile.Count | Should -Be 1 $withoutProfile = $violationsUsingScriptDefinition | Where-Object { $_.RuleName -eq "PSAvoidUsingComputerNameHardcoded" } - $withoutProfile.Count | Should Be 1 + $withoutProfile.Count | Should -Be 1 } It "Does not raise any violations for computername hard-coded" { $withProfile = $suppression | Where-Object { $_.RuleName -eq "PSAvoidUsingComputerNameHardcoded" } - $withProfile.Count | Should be 0 + $withProfile.Count | Should -Be 0 $withProfile = $suppressionUsingScriptDefinition | Where-Object { $_.RuleName -eq "PSAvoidUsingComputerNameHardcoded" } - $withProfile.Count | Should be 0 + $withProfile.Count | Should -Be 0 } It "Does not raise any violation for computername hard-coded using configuration hashtable" { $hashtableConfiguration = Invoke-ScriptAnalyzer "$directory\GlobalSuppression.ps1" -Settings @{"includerules" = @("PSAvoidUsingCmdletAliases", "PSUseOutputTypeCorrectly")} | Where-Object { $_.RuleName -eq "PSAvoidUsingComputerNameHardcoded"} - $hashtableConfiguration.Count | Should Be 0 + $hashtableConfiguration.Count | Should -Be 0 } } Context "Severity" { It "Raises 1 violation for use output type correctly without profile" { $withoutProfile = $violations | Where-Object { $_.RuleName -eq "PSUseOutputTypeCorrectly" } - $withoutProfile.Count | Should Be 1 + $withoutProfile.Count | Should -Be 1 $withoutProfile = $violationsUsingScriptDefinition | Where-Object { $_.RuleName -eq "PSUseOutputTypeCorrectly" } - $withoutProfile.Count | Should Be 1 + $withoutProfile.Count | Should -Be 1 } It "Does not raise any violations for use output type correctly with profile" { $withProfile = $suppression | Where-Object { $_.RuleName -eq "PSUseOutputTypeCorrectly" } - $withProfile.Count | Should be 0 + $withProfile.Count | Should -Be 0 $withProfile = $suppressionUsingScriptDefinition | Where-Object { $_.RuleName -eq "PSUseOutputTypeCorrectly" } - $withProfile.Count | Should be 0 + $withProfile.Count | Should -Be 0 } It "Does not raise any violation for use output type correctly with configuration hashtable" { $hashtableConfiguration = Invoke-ScriptAnalyzer "$directory\GlobalSuppression.ps1" -Settings @{"severity" = "warning"} | Where-Object {$_.RuleName -eq "PSUseOutputTypeCorrectly"} - $hashtableConfiguration.Count | should be 0 + $hashtableConfiguration.Count | Should -Be 0 } } Context "Error Case" { It "Raises Error for file not found" { $invokeWithError = Invoke-ScriptAnalyzer "$directory\GlobalSuppression.ps1" -Settings ".\ThisFileDoesNotExist.ps1" -ErrorAction SilentlyContinue - $invokeWithError.Count | should be 0 - $Error[0].FullyQualifiedErrorId | should match "SettingsFileNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" + $invokeWithError.Count | Should -Be 0 + $Error[0].FullyQualifiedErrorId | Should -Match "SettingsFileNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" } It "Raises Error for file with no hash table" { $invokeWithError = Invoke-ScriptAnalyzer "$directory\GlobalSuppression.ps1" -Settings "$directory\GlobalSuppression.ps1" -ErrorAction SilentlyContinue - $invokeWithError.Count | should be 0 - $Error[0].FullyQualifiedErrorId | should match "SettingsFileHasNoHashTable,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" + $invokeWithError.Count | Should -Be 0 + $Error[0].FullyQualifiedErrorId | Should -Match "SettingsFileHasNoHashTable,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" } It "Raises Error for wrong profile" { $invokeWithError = Invoke-ScriptAnalyzer "$directory\GlobalSuppression.ps1" -Settings "$directory\WrongProfile.ps1" -ErrorAction SilentlyContinue - $invokeWithError.Count | should be 0 - $Error[0].FullyQualifiedErrorId | should match "WrongSettingsKey,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" + $invokeWithError.Count | Should -Be 0 + $Error[0].FullyQualifiedErrorId | Should -Match "WrongSettingsKey,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" } } } \ No newline at end of file diff --git a/Tests/Engine/Helper.tests.ps1 b/Tests/Engine/Helper.tests.ps1 index 31fec12d3..9b85114c1 100644 --- a/Tests/Engine/Helper.tests.ps1 +++ b/Tests/Engine/Helper.tests.ps1 @@ -14,18 +14,18 @@ Describe "Test Directed Graph" { $digraph.AddEdge('v2', 'v4'); It "correctly adds the vertices" { - $digraph.NumVertices | Should Be 5 + $digraph.NumVertices | Should -Be 5 } It "correctly adds the edges" { - $digraph.GetOutDegree('v1') | Should Be 2 + $digraph.GetOutDegree('v1') | Should -Be 2 $neighbors = $digraph.GetNeighbors('v1') - $neighbors -contains 'v2' | Should Be $true - $neighbors -contains 'v5' | Should Be $true + $neighbors -contains 'v2' | Should -Be $true + $neighbors -contains 'v5' | Should -Be $true } It "finds the connection" { - $digraph.IsConnected('v1', 'v4') | Should Be $true + $digraph.IsConnected('v1', 'v4') | Should -Be $true } } } \ No newline at end of file diff --git a/Tests/Engine/InvokeFormatter.tests.ps1 b/Tests/Engine/InvokeFormatter.tests.ps1 index 17b25a598..86543e09c 100644 --- a/Tests/Engine/InvokeFormatter.tests.ps1 +++ b/Tests/Engine/InvokeFormatter.tests.ps1 @@ -28,7 +28,7 @@ function foo { } } - Invoke-Formatter $def $settings | Should Be $expected + Invoke-Formatter $def $settings | Should -Be $expected } } @@ -48,7 +48,7 @@ function foo { } "@ - Invoke-Formatter -ScriptDefinition $def -Range @(3, 1, 4, 1) | Should Be $expected + Invoke-Formatter -ScriptDefinition $def -Range @(3, 1, 4, 1) | Should -Be $expected } } @@ -76,7 +76,7 @@ function foo { } '@ - Invoke-Formatter -ScriptDefinition $def | Should Be $expected + Invoke-Formatter -ScriptDefinition $def | Should -Be $expected } } diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 12fa34d22..2b03bc5e1 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -21,55 +21,55 @@ Describe "Test available parameters" { $params = $sa.Parameters Context "Path parameter" { It "has a Path parameter" { - $params.ContainsKey("Path") | Should Be $true + $params.ContainsKey("Path") | Should -Be $true } It "accepts string" { - $params["Path"].ParameterType.FullName | Should Be "System.String" + $params["Path"].ParameterType.FullName | Should -Be "System.String" } } Context "Path parameter" { It "has a ScriptDefinition parameter" { - $params.ContainsKey("ScriptDefinition") | Should Be $true + $params.ContainsKey("ScriptDefinition") | Should -Be $true } It "accepts string" { - $params["ScriptDefinition"].ParameterType.FullName | Should Be "System.String" + $params["ScriptDefinition"].ParameterType.FullName | Should -Be "System.String" } } Context "CustomRulePath parameters" { It "has a CustomRulePath parameter" { - $params.ContainsKey("CustomRulePath") | Should Be $true + $params.ContainsKey("CustomRulePath") | Should -Be $true } It "accepts a string array" { - $params["CustomRulePath"].ParameterType.FullName | Should Be "System.String[]" + $params["CustomRulePath"].ParameterType.FullName | Should -Be "System.String[]" } It "has a CustomizedRulePath alias"{ - $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should be $true + $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should -Be $true } } Context "IncludeRule parameters" { It "has an IncludeRule parameter" { - $params.ContainsKey("IncludeRule") | Should Be $true + $params.ContainsKey("IncludeRule") | Should -Be $true } It "accepts string array" { - $params["IncludeRule"].ParameterType.FullName | Should Be "System.String[]" + $params["IncludeRule"].ParameterType.FullName | Should -Be "System.String[]" } } Context "Severity parameters" { It "has a severity parameters" { - $params.ContainsKey("Severity") | Should Be $true + $params.ContainsKey("Severity") | Should -Be $true } It "accepts string array" { - $params["Severity"].ParameterType.FullName | Should Be "System.String[]" + $params["Severity"].ParameterType.FullName | Should -Be "System.String[]" } } @@ -77,18 +77,18 @@ Describe "Test available parameters" { { Context "SaveDscDependency parameter" { It "has the parameter" { - $params.ContainsKey("SaveDscDependency") | Should Be $true + $params.ContainsKey("SaveDscDependency") | Should -Be $true } It "is a switch parameter" { - $params["SaveDscDependency"].ParameterType.FullName | Should Be "System.Management.Automation.SwitchParameter" + $params["SaveDscDependency"].ParameterType.FullName | Should -Be "System.Management.Automation.SwitchParameter" } } } Context "It has 2 parameter sets: File and ScriptDefinition" { It "Has 2 parameter sets" { - $sa.ParameterSets.Count | Should Be 2 + $sa.ParameterSets.Count | Should -Be 2 } It "Has File parameter set" { @@ -100,7 +100,7 @@ Describe "Test available parameters" { } } - $hasFile | Should Be $true + $hasFile | Should -Be $true } It "Has ScriptDefinition parameter set" { @@ -112,7 +112,7 @@ Describe "Test available parameters" { } } - $hasFile | Should Be $true + $hasFile | Should -Be $true } } @@ -122,7 +122,7 @@ Describe "Test ScriptDefinition" { Context "When given a script definition" { It "Does not run rules on script with more than 10 parser errors" { $moreThanTenErrors = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue -ScriptDefinition (Get-Content -Raw "$directory\CSharp.ps1") - $moreThanTenErrors.Count | Should Be 0 + $moreThanTenErrors.Count | Should -Be 0 } } } @@ -132,12 +132,12 @@ Describe "Test Path" { It "Has the same effect as without Path parameter" { $withPath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 $withoutPath = Invoke-ScriptAnalyzer -Path $directory\TestScript.ps1 - $withPath.Count -eq $withoutPath.Count | Should Be $true + $withPath.Count -eq $withoutPath.Count | Should -Be $true } It "Does not run rules on script with more than 10 parser errors" { $moreThanTenErrors = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $directory\CSharp.ps1 - $moreThanTenErrors.Count | Should Be 0 + $moreThanTenErrors.Count | Should -Be 0 } } @@ -147,14 +147,14 @@ Describe "Test Path" { $scriptPath = Join-Path $directory $scriptName $expectedScriptPath = Resolve-Path $directory\TestScript.ps1 $diagnosticRecords = Invoke-ScriptAnalyzer $scriptPath -IncludeRule "PSAvoidUsingEmptyCatchBlock" - $diagnosticRecords[0].ScriptPath | Should Be $expectedScriptPath.Path - $diagnosticRecords[0].ScriptName | Should Be $scriptName + $diagnosticRecords[0].ScriptPath | Should -Be $expectedScriptPath.Path + $diagnosticRecords[0].ScriptName | Should -Be $scriptName } It "has empty ScriptPath and ScriptName properties when a script definition is given" { $diagnosticRecords = Invoke-ScriptAnalyzer -ScriptDefinition gci -IncludeRule "PSAvoidUsingCmdletAliases" - $diagnosticRecords[0].ScriptPath | Should Be ([System.String]::Empty) - $diagnosticRecords[0].ScriptName | Should Be ([System.String]::Empty) + $diagnosticRecords[0].ScriptPath | Should -Be ([System.String]::Empty) + $diagnosticRecords[0].ScriptName | Should -Be ([System.String]::Empty) } } @@ -177,7 +177,7 @@ Describe "Test Path" { It "Invokes on all the matching files" { $numFilesResult = (Invoke-ScriptAnalyzer -Path $directory\TestTestPath*.ps1 | Select-Object -Property ScriptName -Unique).Count $numFilesExpected = (Get-ChildItem -Path $directory\TestTestPath*.ps1).Count - $numFilesResult | Should be $numFilesExpected + $numFilesResult | Should -Be $numFilesExpected } } @@ -189,7 +189,7 @@ Describe "Test Path" { $numFilesExpected = (Get-ChildItem -Path $freeDrive\TestTestPath*.ps1).Count $numFilesResult = (Invoke-ScriptAnalyzer -Path $freeDrive\TestTestPath*.ps1 | Select-Object -Property ScriptName -Unique).Count Remove-PSDrive $freeDriveName - $numFilesResult | Should Be $numFilesExpected + $numFilesResult | Should -Be $numFilesExpected } } } @@ -199,7 +199,7 @@ Describe "Test Path" { $withPathWithDirectory = Invoke-ScriptAnalyzer -Recurse -Path $directory\RecursionDirectoryTest It "Has the same count as without Path parameter"{ - $withoutPathWithDirectory.Count -eq $withPathWithDirectory.Count | Should Be $true + $withoutPathWithDirectory.Count -eq $withPathWithDirectory.Count | Should -Be $true } It "Analyzes all the files" { @@ -209,7 +209,7 @@ Describe "Test Path" { Write-Output $globalVarsViolation.Count Write-Output $clearHostViolation.Count Write-Output $writeHostViolation.Count - $globalVarsViolation.Count -eq 1 -and $writeHostViolation.Count -eq 1 | Should Be $true + $globalVarsViolation.Count -eq 1 -and $writeHostViolation.Count -eq 1 | Should -Be $true } } } @@ -218,12 +218,12 @@ Describe "Test ExcludeRule" { Context "When used correctly" { It "excludes 1 rule" { $noViolations = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -ExcludeRule $singularNouns | Where-Object {$_.RuleName -eq $singularNouns} - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } It "excludes 3 rules" { $noViolations = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -ExcludeRule $rules | Where-Object {$rules -contains $_.RuleName} - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } @@ -231,7 +231,7 @@ Describe "Test ExcludeRule" { It "does not exclude any rules" { $noExclude = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 $withExclude = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -ExcludeRule "This is a wrong rule" - $withExclude.Count -eq $noExclude.Count | Should Be $true + $withExclude.Count -eq $noExclude.Count | Should -Be $true } } @@ -247,7 +247,7 @@ Describe "Test IncludeRule" { Context "When used correctly" { It "includes 1 rule" { $violations = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -IncludeRule $approvedVerb | Where-Object {$_.RuleName -eq $approvedVerb} - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "includes the given rules" { @@ -258,21 +258,21 @@ Describe "Test IncludeRule" { $expectedNumViolations = 1 } $violations = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -IncludeRule $rules - $violations.Count | Should Be $expectedNumViolations + $violations.Count | Should -Be $expectedNumViolations } } Context "When used incorrectly" { It "does not include any rules" { $wrongInclude = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -IncludeRule "This is a wrong rule" - $wrongInclude.Count | Should Be 0 + $wrongInclude.Count | Should -Be 0 } } Context "IncludeRule supports wild card" { It "includes 1 wildcard rule"{ $includeWildcard = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -IncludeRule $avoidRules - $includeWildcard.Count | Should be 0 + $includeWildcard.Count | Should -Be 0 } it "includes 2 wildcardrules" { @@ -284,7 +284,7 @@ Describe "Test IncludeRule" { } $includeWildcard = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -IncludeRule $avoidRules $includeWildcard += Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -IncludeRule $useRules - $includeWildcard.Count | Should be $expectedNumViolations + $includeWildcard.Count | Should -Be $expectedNumViolations } } } @@ -292,12 +292,12 @@ Describe "Test IncludeRule" { Describe "Test Exclude And Include" {1 It "Exclude and Include different rules" { $violations = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -IncludeRule "PSAvoidUsingEmptyCatchBlock" -ExcludeRule "PSAvoidUsingPositionalParameters" - $violations.Count | Should be 1 + $violations.Count | Should -Be 1 } It "Exclude and Include the same rule" { $violations = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -IncludeRule "PSAvoidUsingEmptyCatchBlock" -ExcludeRule "PSAvoidUsingEmptyCatchBlock" - $violations.Count | Should be 0 + $violations.Count | Should -Be 0 } } @@ -305,17 +305,17 @@ Describe "Test Severity" { Context "When used correctly" { It "works with one argument" { $errors = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -Severity Information - $errors.Count | Should Be 0 + $errors.Count | Should -Be 0 } It "works with 2 arguments" { $errors = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -Severity Information, Warning - $errors.Count | Should Be 1 + $errors.Count | Should -Be 1 } It "works with lowercase argument"{ $errors = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -Severity information, warning - $errors.Count | Should Be 1 + $errors.Count | Should -Be 1 } It "works for dsc rules" { @@ -331,18 +331,18 @@ Describe "Test Severity" { Invoke-ScriptAnalyzer -Path $testDataPath -Severity Error | ` Where-Object {$_.RuleName -eq "PSDSCUseVerboseMessageInDSCResource"} | ` Get-Count | ` - Should Be 0 + Should -Be 0 Invoke-ScriptAnalyzer -Path $testDataPath -Severity Information | ` Where-Object {$_.RuleName -eq "PSDSCUseVerboseMessageInDSCResource"} | ` Get-Count | ` - Should Be 2 + Should -Be 2 } } Context "When used incorrectly" { It "throws error" { - { Invoke-ScriptAnalyzer -Severity "Wrong" $directory\TestScript.ps1 } | Should Throw + { Invoke-ScriptAnalyzer -Severity "Wrong" $directory\TestScript.ps1 } | Should -Throw } } } @@ -352,33 +352,33 @@ Describe "Test CustomizedRulePath" { Context "When used correctly" { It "with the module folder path" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\CommunityAnalyzerRules | Where-Object {$_.RuleName -eq $measureRequired} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "with the psd1 path" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psd1 | Where-Object {$_.RuleName -eq $measureRequired} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "with the psm1 path" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psm1 | Where-Object {$_.RuleName -eq $measureRequired} - $customizedRulePath.Count | Should Be 1 + $customizedRulePath.Count | Should -Be 1 } It "with IncludeRule" { $customizedRulePathInclude = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psm1 -IncludeRule "Measure-RequiresModules" - $customizedRulePathInclude.Count | Should Be 1 + $customizedRulePathInclude.Count | Should -Be 1 } It "with ExcludeRule" { $customizedRulePathExclude = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\CommunityAnalyzerRules\CommunityAnalyzerRules.psm1 -ExcludeRule "Measure-RequiresModules" | Where-Object {$_.RuleName -eq $measureRequired} - $customizedRulePathExclude.Count | Should be 0 + $customizedRulePathExclude.Count | Should -Be 0 } It "When supplied with a collection of paths" { $customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomRulePath ("$directory\CommunityAnalyzerRules", "$directory\samplerule", "$directory\samplerule\samplerule2") - $customizedRulePath.Count | Should Be 3 + $customizedRulePath.Count | Should -Be 3 } } @@ -393,7 +393,7 @@ Describe "Test CustomizedRulePath" { } $v = Invoke-ScriptAnalyzer -Path $directory\TestScript.ps1 -Settings $settings - $v.Count | Should Be 1 + $v.Count | Should -Be 1 } It "Should use the IncludeDefaultRulePath parameter" { @@ -404,7 +404,7 @@ Describe "Test CustomizedRulePath" { } $v = Invoke-ScriptAnalyzer -Path $directory\TestScript.ps1 -Settings $settings - $v.Count | Should Be 2 + $v.Count | Should -Be 2 } It "Should use the RecurseCustomRulePath parameter" { @@ -415,7 +415,7 @@ Describe "Test CustomizedRulePath" { } $v = Invoke-ScriptAnalyzer -Path $directory\TestScript.ps1 -Settings $settings - $v.Count | Should Be 3 + $v.Count | Should -Be 3 } } @@ -434,17 +434,17 @@ Describe "Test CustomizedRulePath" { It "Should combine CustomRulePaths" { $v = Invoke-ScriptAnalyzer @isaParams -CustomRulePath "$directory\CommunityAnalyzerRules" - $v.Count | Should Be 2 + $v.Count | Should -Be 2 } It "Should override the settings IncludeDefaultRules parameter" { $v = Invoke-ScriptAnalyzer @isaParams -IncludeDefaultRules - $v.Count | Should Be 2 + $v.Count | Should -Be 2 } It "Should override the settings RecurseCustomRulePath parameter" { $v = Invoke-ScriptAnalyzer @isaParams -RecurseCustomRulePath - $v.Count | Should Be 3 + $v.Count | Should -Be 3 } } } @@ -459,7 +459,7 @@ Describe "Test CustomizedRulePath" { { if (-not $testingLibraryUsage) { - $Error[0].FullyQualifiedErrorId | should match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" + $Error[0].FullyQualifiedErrorId | Should -Match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" } } } @@ -483,25 +483,25 @@ Describe "Test -Fix Switch" { It "Fixes warnings" { # we expect the script to contain warnings $warningsBeforeFix = Invoke-ScriptAnalyzer $testScript - $warningsBeforeFix.Count | Should Be 5 + $warningsBeforeFix.Count | Should -Be 5 # fix the warnings and expect that it should not return the fixed warnings $warningsWithFixSwitch = Invoke-ScriptAnalyzer $testScript -Fix - $warningsWithFixSwitch.Count | Should Be 0 + $warningsWithFixSwitch.Count | Should -Be 0 # double check that the warnings are really fixed $warningsAfterFix = Invoke-ScriptAnalyzer $testScript - $warningsAfterFix.Count | Should Be 0 + $warningsAfterFix.Count | Should -Be 0 # check content to ensure we have what we expect $actualScriptContentAfterFix = Get-Content $testScript -Raw - $actualScriptContentAfterFix | Should Be $expectedScriptContent + $actualScriptContentAfterFix | Should -Be $expectedScriptContent } } Describe "Test -EnableExit Switch" { It "Returns exit code equivalent to number of warnings" { powershell -Command 'Import-Module PSScriptAnalyzer; Invoke-ScriptAnalyzer -ScriptDefinition gci -EnableExit' - $LASTEXITCODE | Should Be 1 + $LASTEXITCODE | Should -Be 1 } } diff --git a/Tests/Engine/ModuleDependencyHandler.tests.ps1 b/Tests/Engine/ModuleDependencyHandler.tests.ps1 index 3d73bdbcc..2eb9f219e 100644 --- a/Tests/Engine/ModuleDependencyHandler.tests.ps1 +++ b/Tests/Engine/ModuleDependencyHandler.tests.ps1 @@ -17,11 +17,11 @@ Describe "Resolve DSC Resource Dependency" { Function Test-EnvironmentVariables($oldEnv) { $newEnv = Get-Item Env:\* | Sort-Object -Property Key - $newEnv.Count | Should Be $oldEnv.Count + $newEnv.Count | Should -Be $oldEnv.Count foreach ($index in 1..$newEnv.Count) { - $newEnv[$index].Key | Should Be $oldEnv[$index].Key - $newEnv[$index].Value | Should Be $oldEnv[$index].Value + $newEnv[$index].Key | Should -Be $oldEnv[$index].Key + $newEnv[$index].Value | Should -Be $oldEnv[$index].Value } } } @@ -43,19 +43,19 @@ Describe "Resolve DSC Resource Dependency" { $depHandler = $moduleHandlerType::new($rsp) $expectedPath = [System.IO.Path]::GetTempPath() - $depHandler.TempPath | Should Be $expectedPath + $depHandler.TempPath | Should -Be $expectedPath $expectedLocalAppDataPath = $env:LOCALAPPDATA - $depHandler.LocalAppDataPath | Should Be $expectedLocalAppDataPath + $depHandler.LocalAppDataPath | Should -Be $expectedLocalAppDataPath $expectedModuleRepository = "PSGallery" - $depHandler.ModuleRepository | Should Be $expectedModuleRepository + $depHandler.ModuleRepository | Should -Be $expectedModuleRepository $expectedPssaAppDataPath = Join-Path $depHandler.LocalAppDataPath "PSScriptAnalyzer" - $depHandler.PSSAAppDataPath | Should Be $expectedPssaAppDataPath + $depHandler.PSSAAppDataPath | Should -Be $expectedPssaAppDataPath $expectedPSModulePath = $oldPSModulePath + [System.IO.Path]::PathSeparator + $depHandler.TempModulePath - $env:PSModulePath | Should Be $expectedPSModulePath + $env:PSModulePath | Should -Be $expectedPSModulePath $depHandler.Dispose() $rsp.Dispose() @@ -66,12 +66,12 @@ Describe "Resolve DSC Resource Dependency" { } It "Throws if runspace is null" -skip:$skipTest { - {$moduleHandlerType::new($null)} | Should Throw + {$moduleHandlerType::new($null)} | Should -Throw } It "Throws if runspace is not opened" -skip:$skipTest { $rsp = [runspacefactory]::CreateRunspace() - {$moduleHandlerType::new($rsp)} | Should Throw + {$moduleHandlerType::new($rsp)} | Should -Throw $rsp.Dispose() } @@ -86,7 +86,7 @@ Describe "Resolve DSC Resource Dependency" { $parseError = $null $ast = [System.Management.Automation.Language.Parser]::ParseInput($sb, [ref]$tokens, [ref]$parseError) $resultModuleNames = $moduleHandlerType::GetModuleNameFromErrorExtent($parseError[0], $ast).ToArray() - $resultModuleNames[0] | Should Be 'SomeDscModule1' + $resultModuleNames[0] | Should -Be 'SomeDscModule1' } It "Extracts more than 1 module names" -skip:$skipTest { @@ -100,9 +100,9 @@ Describe "Resolve DSC Resource Dependency" { $parseError = $null $ast = [System.Management.Automation.Language.Parser]::ParseInput($sb, [ref]$tokens, [ref]$parseError) $resultModuleNames = $moduleHandlerType::GetModuleNameFromErrorExtent($parseError[0], $ast).ToArray() - $resultModuleNames[0] | Should Be 'SomeDscModule1' - $resultModuleNames[1] | Should Be 'SomeDscModule2' - $resultModuleNames[2] | Should Be 'SomeDscModule3' + $resultModuleNames[0] | Should -Be 'SomeDscModule1' + $resultModuleNames[1] | Should -Be 'SomeDscModule2' + $resultModuleNames[2] | Should -Be 'SomeDscModule3' } @@ -117,14 +117,14 @@ Describe "Resolve DSC Resource Dependency" { $parseError = $null $ast = [System.Management.Automation.Language.Parser]::ParseInput($sb, [ref]$tokens, [ref]$parseError) $resultModuleNames = $moduleHandlerType::GetModuleNameFromErrorExtent($parseError[0], $ast).ToArray() - $resultModuleNames[0] | Should Be 'SomeDscModule1' + $resultModuleNames[0] | Should -Be 'SomeDscModule1' } } Context "Invoke-ScriptAnalyzer without switch" { It "Has parse errors" -skip:$skipTest { $dr = Invoke-ScriptAnalyzer -Path $violationFilePath -ErrorVariable parseErrors -ErrorAction SilentlyContinue - $parseErrors.Count | Should Be 1 + $parseErrors.Count | Should -Be 1 } } @@ -169,12 +169,12 @@ Describe "Resolve DSC Resource Dependency" { It "Doesn't have parse errors" -skip:$skipTest { # invoke script analyzer $dr = Invoke-ScriptAnalyzer -Path $violationFilePath -ErrorVariable parseErrors -ErrorAction SilentlyContinue - $dr.Count | Should Be 0 + $dr.Count | Should -Be 0 } It "Keeps PSModulePath unchanged before and after invocation" -skip:$skipTest { $dr = Invoke-ScriptAnalyzer -Path $violationFilePath -ErrorVariable parseErrors -ErrorAction SilentlyContinue - $env:PSModulePath | Should Be $oldPSModulePath + $env:PSModulePath | Should -Be $oldPSModulePath } if (!$skipTest) diff --git a/Tests/Engine/ModuleHelp.Tests.ps1 b/Tests/Engine/ModuleHelp.Tests.ps1 index 7337193eb..37b3e8211 100644 --- a/Tests/Engine/ModuleHelp.Tests.ps1 +++ b/Tests/Engine/ModuleHelp.Tests.ps1 @@ -250,17 +250,17 @@ foreach ($command in $commands) { # Should be a description for every function It "gets description for $commandName" { - $Help.Description | Should Not BeNullOrEmpty + $Help.Description | Should -Not -BeNullOrEmpty } # Should be at least one example It "gets example code from $commandName" { - ($Help.Examples.Example | Select-Object -First 1).Code | Should Not BeNullOrEmpty + ($Help.Examples.Example | Select-Object -First 1).Code | Should -Not -BeNullOrEmpty } # Should be at least one example description It "gets example help from $commandName" { - ($Help.Examples.Example.Remarks | Select-Object -First 1).Text | Should Not BeNullOrEmpty + ($Help.Examples.Example.Remarks | Select-Object -First 1).Text | Should -Not -BeNullOrEmpty } Context "Test parameter help for $commandName" { @@ -284,15 +284,15 @@ foreach ($command in $commands) { # Should be a description for every parameter It "gets help for parameter: $parameterName : in $commandName" { - # `$parameterHelp.Description.Text | Should Not BeNullOrEmpty` fails for -Settings paramter + # `$parameterHelp.Description.Text | Should -Not -BeNullOrEmpty` fails for -Settings paramter # without explicit [string] casting on the Text property - [string]::IsNullOrEmpty($parameterHelp.Description.Text) | Should Be $false + $parameterHelp.Description.Text | Should -Not -BeNullOrEmpty } # Required value in Help should match IsMandatory property of parameter It "help for $parameterName parameter in $commandName has correct Mandatory value" { $codeMandatory = $parameter.IsMandatory.toString() - $parameterHelp.Required | Should Be $codeMandatory + $parameterHelp.Required | Should -Be $codeMandatory } # Parameter type in Help should match code @@ -300,7 +300,7 @@ foreach ($command in $commands) { $codeType = $parameter.ParameterType.Name # To avoid calling Trim method on a null object. $helpType = if ($parameterHelp.parameterValue) { $parameterHelp.parameterValue.Trim() } - $helpType | Should be $codeType + $helpType | Should -Be $codeType } } @@ -310,7 +310,7 @@ foreach ($command in $commands) { } # Shouldn't find extra parameters in help. It "finds help parameter in code: $helpParm" { - $helpParm -in $parameterNames | Should Be $true + $helpParm -in $parameterNames | Should -Be $true } } } diff --git a/Tests/Engine/RuleSuppression.tests.ps1 b/Tests/Engine/RuleSuppression.tests.ps1 index 7ab02d79e..84b342f72 100644 --- a/Tests/Engine/RuleSuppression.tests.ps1 +++ b/Tests/Engine/RuleSuppression.tests.ps1 @@ -52,9 +52,9 @@ Describe "RuleSuppressionWithoutScope" { Context "Function" { It "Does not raise violations" { $suppression = $violations | Where-Object { $_.RuleName -eq "PSProvideCommentHelp" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object { $_.RuleName -eq "PSProvideCommentHelp" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } It "Suppresses rule with extent created using ScriptExtent constructor" { @@ -63,7 +63,7 @@ Describe "RuleSuppressionWithoutScope" { -IncludeRule "PSAvoidUsingUserNameAndPassWordParams" ` -OutVariable ruleViolations ` -SuppressedOnly - $ruleViolations.Count | Should Be 1 + $ruleViolations.Count | Should -Be 1 } } @@ -71,18 +71,18 @@ Describe "RuleSuppressionWithoutScope" { Context "Script" { It "Does not raise violations" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSProvideCommentHelp" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSProvideCommentHelp" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } } Context "RuleSuppressionID" { It "Only suppress violations for that ID" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidDefaultValueForMandatoryParameter" } - $suppression.Count | Should Be 1 + $suppression.Count | Should -Be 1 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidDefaultValueForMandatoryParameter" } - $suppression.Count | Should Be 1 + $suppression.Count | Should -Be 1 } It "Suppresses PSAvoidUsingPlainTextForPassword violation for the given ID" { @@ -101,14 +101,14 @@ function SuppressPwdParam() -IncludeRule "PSAvoidUsingPlainTextForPassword" ` -OutVariable ruleViolations ` -SuppressedOnly - $ruleViolations.Count | Should Be 1 + $ruleViolations.Count | Should -Be 1 } } Context "Rule suppression within DSC Configuration definition" { It "Suppresses rule" -skip:($IsLinux -or $IsMacOS -or ($PSVersionTable.PSVersion.Major -lt 5)) { $suppressedRule = Invoke-ScriptAnalyzer -ScriptDefinition $ruleSuppressionInConfiguration -SuppressedOnly - $suppressedRule.Count | Should Be 1 + $suppressedRule.Count | Should -Be 1 } } @@ -117,8 +117,8 @@ function SuppressPwdParam() Context "Bad Rule Suppression" { It "Throws a non-terminating error" { Invoke-ScriptAnalyzer -ScriptDefinition $ruleSuppressionBad -IncludeRule "PSAvoidUsingUserNameAndPassWordParams" -ErrorVariable errorRecord -ErrorAction SilentlyContinue - $errorRecord.Count | Should Be 1 - $errorRecord.FullyQualifiedErrorId | Should match "suppression message attribute error" + $errorRecord.Count | Should -Be 1 + $errorRecord.FullyQualifiedErrorId | Should -Match "suppression message attribute error" } } @@ -134,7 +134,7 @@ Write-Host "write-host" -CustomRulePath (Join-Path $directory "CommunityAnalyzerRules") ` -OutVariable ruleViolations ` -SuppressedOnly - $ruleViolations.Count | Should Be 1 + $ruleViolations.Count | Should -Be 1 } } } @@ -144,9 +144,9 @@ Describe "RuleSuppressionWithScope" { Context "FunctionScope" { It "Does not raise violations" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingPositionalParameters" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingPositionalParameters" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } } @@ -172,7 +172,7 @@ Describe "RuleSuppressionWithScope" { } '@ $suppressed = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule 'PSAvoidUsingWriteHost' -SuppressedOnly - $suppressed.Count | Should Be 2 + $suppressed.Count | Should -Be 2 } It "suppresses objects that match glob pattern with glob in the end" { @@ -192,7 +192,7 @@ Describe "RuleSuppressionWithScope" { } '@ $suppressed = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule 'PSAvoidUsingWriteHost' -SuppressedOnly - $suppressed.Count | Should Be 2 + $suppressed.Count | Should -Be 2 } It "suppresses objects that match glob pattern with glob in the begining" { @@ -212,7 +212,7 @@ Describe "RuleSuppressionWithScope" { } '@ $suppressed = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule 'PSAvoidUsingWriteHost' -SuppressedOnly - $suppressed.Count | Should Be 1 + $suppressed.Count | Should -Be 1 } } } diff --git a/Tests/Engine/RuleSuppressionClass.tests.ps1 b/Tests/Engine/RuleSuppressionClass.tests.ps1 index e45de7e0a..d06f35039 100644 --- a/Tests/Engine/RuleSuppressionClass.tests.ps1 +++ b/Tests/Engine/RuleSuppressionClass.tests.ps1 @@ -17,36 +17,36 @@ Describe "RuleSuppressionWithoutScope" { Context "Class" { It "Does not raise violations" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingInvokeExpression" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingInvokeExpression" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } } Context "FunctionInClass" { It "Does not raise violations" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingCmdletAliases" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingCmdletAliases" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } } Context "Script" { It "Does not raise violations" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSProvideCommentHelp" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSProvideCommentHelp" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } } Context "RuleSuppressionID" { It "Only suppress violations for that ID" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidDefaultValueForMandatoryParameter" } - $suppression.Count | Should Be 1 + $suppression.Count | Should -Be 1 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidDefaultValueForMandatoryParameter" } - $suppression.Count | Should Be 1 + $suppression.Count | Should -Be 1 } } } @@ -55,18 +55,18 @@ Describe "RuleSuppressionWithScope" { Context "FunctionScope" { It "Does not raise violations" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingPositionalParameters" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingPositionalParameters" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } } Context "ClassScope" { It "Does not raise violations" { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingConvertToSecureStringWithPlainText" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingConvertToSecureStringWithPlainText" } - $suppression.Count | Should Be 0 + $suppression.Count | Should -Be 0 } } } diff --git a/Tests/Engine/Settings.tests.ps1 b/Tests/Engine/Settings.tests.ps1 index 3f2825690..433a41994 100644 --- a/Tests/Engine/Settings.tests.ps1 +++ b/Tests/Engine/Settings.tests.ps1 @@ -13,20 +13,20 @@ Describe "Settings Precedence" { It "runs rules from the explicit setting file" { $settingsFilepath = [System.IO.Path]::Combine($project1Root, "ExplicitSettings.psd1") $violations = Invoke-ScriptAnalyzer -Path $project1Root -Settings $settingsFilepath -Recurse - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } } Context "settings file is implicit" { It "runs rules from the implicit setting file" { $violations = Invoke-ScriptAnalyzer -Path $project1Root -Recurse - $violations.Count | Should Be 1 - $violations[0].RuleName | Should Be "PSAvoidUsingCmdletAliases" + $violations.Count | Should -Be 1 + $violations[0].RuleName | Should -Be "PSAvoidUsingCmdletAliases" } It "cannot find file if not named PSScriptAnalyzerSettings.psd1" { $violations = Invoke-ScriptAnalyzer -Path $project2Root -Recurse - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } } } @@ -37,10 +37,15 @@ Describe "Settings Class" { $settings = New-Object -TypeName $settingsTypeName -ArgumentList @{} } - 'IncludeRules', 'ExcludeRules', 'Severity', 'RuleArguments' | ForEach-Object { - It ("Should return empty {0} property" -f $_) { - $settings.${$_}.Count | Should Be 0 - } + It "Should return empty property" -TestCases @( + @{ Name = "IncludeRules" } + @{ Name = "ExcludeRules" } + @{ Name = "Severity" } + @{ Name = "RuleArguments" } + ) { + Param($Name) + + ${settings}.${Name}.Count | Should -Be 0 } } @@ -51,11 +56,11 @@ Describe "Settings Class" { } It "Should return an IncludeRules array with 1 element" { - $settings.IncludeRules.Count | Should Be 1 + $settings.IncludeRules.Count | Should -Be 1 } It "Should return the rule in the IncludeRules array" { - $settings.IncludeRules[0] | Should Be $ruleName + $settings.IncludeRules[0] | Should -Be $ruleName } } @@ -72,15 +77,15 @@ Describe "Settings Class" { } It "Should return the rule arguments" { - $settings.RuleArguments["PSAvoidUsingCmdletAliases"]["WhiteList"].Count | Should Be 2 - $settings.RuleArguments["PSAvoidUsingCmdletAliases"]["WhiteList"][0] | Should Be "cd" - $settings.RuleArguments["PSAvoidUsingCmdletAliases"]["WhiteList"][1] | Should Be "cp" + $settings.RuleArguments["PSAvoidUsingCmdletAliases"]["WhiteList"].Count | Should -Be 2 + $settings.RuleArguments["PSAvoidUsingCmdletAliases"]["WhiteList"][0] | Should -Be "cd" + $settings.RuleArguments["PSAvoidUsingCmdletAliases"]["WhiteList"][1] | Should -Be "cp" } - It "Should be case insensitive" { - $settings.RuleArguments["psAvoidUsingCmdletAliases"]["whiteList"].Count | Should Be 2 - $settings.RuleArguments["psAvoidUsingCmdletAliases"]["whiteList"][0] | Should Be "cd" - $settings.RuleArguments["psAvoidUsingCmdletAliases"]["whiteList"][1] | Should Be "cp" + It "Should Be case insensitive" { + $settings.RuleArguments["psAvoidUsingCmdletAliases"]["whiteList"].Count | Should -Be 2 + $settings.RuleArguments["psAvoidUsingCmdletAliases"]["whiteList"][0] | Should -Be "cd" + $settings.RuleArguments["psAvoidUsingCmdletAliases"]["whiteList"][1] | Should -Be "cp" } } @@ -90,28 +95,31 @@ Describe "Settings Class" { -ArgumentList ([System.IO.Path]::Combine($project1Root, "ExplicitSettings.psd1")) } - It "Should return 2 IncludeRules" { - $settings.IncludeRules.Count | Should Be 3 + $expectedNumberOfIncludeRules = 3 + It "Should return $expectedNumberOfIncludeRules IncludeRules" { + $settings.IncludeRules.Count | Should -Be $expectedNumberOfIncludeRules } - - It "Should return 2 ExcludeRules" { - $settings.ExcludeRules.Count | Should Be 3 + + $expectedNumberOfExcludeRules = 3 + It "Should return $expectedNumberOfExcludeRules ExcludeRules" { + $settings.ExcludeRules.Count | Should -Be $expectedNumberOfExcludeRules } - It "Should return 1 rule argument" { - $settings.RuleArguments.Count | Should Be 3 + $expectedNumberOfRuleArguments = 3 + It "Should return $expectedNumberOfRuleArguments rule argument" { + $settings.RuleArguments.Count | Should -Be 3 } It "Should parse boolean type argument" { - $settings.RuleArguments["PSUseConsistentIndentation"]["Enable"] | Should Be $true + $settings.RuleArguments["PSUseConsistentIndentation"]["Enable"] | Should -Be $true } It "Should parse int type argument" { - $settings.RuleArguments["PSUseConsistentIndentation"]["IndentationSize"] | Should Be 4 + $settings.RuleArguments["PSUseConsistentIndentation"]["IndentationSize"] | Should -Be 4 } It "Should parse string literal" { - $settings.RuleArguments["PSProvideCommentHelp"]["Placement"] | Should Be 'end' + $settings.RuleArguments["PSProvideCommentHelp"]["Placement"] | Should -Be 'end' } } @@ -123,8 +131,8 @@ Describe "Settings Class" { } $settings = New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable - $settings.CustomRulePath.Count | Should Be 1 - $settings.CustomRulePath[0] | Should be $rulePath + $settings.CustomRulePath.Count | Should -Be 1 + $settings.CustomRulePath[0] | Should -Be $rulePath } It "Should return an array of n items when n items are given in a hashtable" { @@ -134,15 +142,15 @@ Describe "Settings Class" { } $settings = New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable - $settings.CustomRulePath.Count | Should Be $rulePaths.Count - 0..($rulePaths.Count - 1) | ForEach-Object { $settings.CustomRulePath[$_] | Should be $rulePaths[$_] } + $settings.CustomRulePath.Count | Should -Be $rulePaths.Count + 0..($rulePaths.Count - 1) | ForEach-Object { $settings.CustomRulePath[$_] | Should -Be $rulePaths[$_] } } It "Should detect the parameter in a settings file" { $settings = New-Object -TypeName $settingsTypeName ` -ArgumentList ([System.IO.Path]::Combine($project1Root, "CustomRulePathSettings.psd1")) - $settings.CustomRulePath.Count | Should Be 2 + $settings.CustomRulePath.Count | Should -Be 2 } } @@ -154,7 +162,7 @@ Describe "Settings Class" { $settingsHashtable.Add($paramName, $true) $settings = New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable - $settings."$paramName" | Should Be $true + $settings."$paramName" | Should -Be $true } It "Should correctly set the value if a boolean is given - false" { @@ -162,20 +170,20 @@ Describe "Settings Class" { $settingsHashtable.Add($paramName, $false) $settings = New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable - $settings."$paramName" | Should Be $false + $settings."$paramName" | Should -Be $false } It "Should throw if a non-boolean value is given" { $settingsHashtable = @{} $settingsHashtable.Add($paramName, "some random string") - { New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable } | Should Throw + { New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable } | Should -Throw } It "Should detect the parameter in a settings file" { $settings = New-Object -TypeName $settingsTypeName ` -ArgumentList ([System.IO.Path]::Combine($project1Root, "CustomRulePathSettings.psd1")) - $settings."$paramName" | Should Be $true + $settings."$paramName" | Should -Be $true } } } diff --git a/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 b/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 index 851256485..8886eca8c 100644 --- a/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 +++ b/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 @@ -22,6 +22,6 @@ Describe "Issue 828: No NullReferenceExceptionin AlignAssignmentStatement rule w Set-Location $initialLocation } - $cmdletThrewError | Should Be $false + $cmdletThrewError | Should -Be $false } } \ No newline at end of file diff --git a/Tests/Engine/TextEdit.tests.ps1 b/Tests/Engine/TextEdit.tests.ps1 index ddcb8e5ee..7927d5645 100644 --- a/Tests/Engine/TextEdit.tests.ps1 +++ b/Tests/Engine/TextEdit.tests.ps1 @@ -6,23 +6,23 @@ Describe "TextEdit Class" { Context "Object construction" { It "creates the object with correct properties" { $correctionExtent = New-Object -TypeName $type -ArgumentList 1, 2, 3, 4, "get-childitem" - $correctionExtent.StartLineNumber | Should Be 1 - $correctionExtent.EndLineNumber | Should Be 3 - $correctionExtent.StartColumnNumber | Should Be 2 - $correctionExtent.EndColumnNumber | Should be 4 - $correctionExtent.Text | Should Be "get-childitem" + $correctionExtent.StartLineNumber | Should -Be 1 + $correctionExtent.EndLineNumber | Should -Be 3 + $correctionExtent.StartColumnNumber | Should -Be 2 + $correctionExtent.EndColumnNumber | Should -Be 4 + $correctionExtent.Text | Should -Be "get-childitem" } It "throws if end line number is less than start line number" { $text = "Get-ChildItem" {New-Object -TypeName $type -ArgumentList @(2, 1, 1, ($text.Length + 1), $text)} | - Should Throw + Should -Throw } It "throws if end column number is less than start column number for same line" { $text = "start-process" {New-Object -TypeName $type -ArgumentList @(1, 2, 1, 1, $text)} | - Should Throw + Should -Throw } } } diff --git a/Tests/PSScriptAnalyzerTestHelper.psm1 b/Tests/PSScriptAnalyzerTestHelper.psm1 index 81a79cc2f..499c3e29d 100644 --- a/Tests/PSScriptAnalyzerTestHelper.psm1 +++ b/Tests/PSScriptAnalyzerTestHelper.psm1 @@ -45,10 +45,10 @@ Function Test-CorrectionExtentFromContent { ) $corrections = $diagnosticRecord.SuggestedCorrections - $corrections.Count | Should Be $correctionsCount - $corrections[0].Text | Should Be $correctionText + $corrections.Count | Should -Be $correctionsCount + $corrections[0].Text | Should -Be $correctionText Get-ExtentTextFromContent $corrections[0] $rawContent | ` - Should Be $violationText + Should -Be $violationText } Function Test-PSEditionCoreCLR diff --git a/Tests/Rules/AlignAssignmentStatement.tests.ps1 b/Tests/Rules/AlignAssignmentStatement.tests.ps1 index 5d076dc95..013d968c8 100644 --- a/Tests/Rules/AlignAssignmentStatement.tests.ps1 +++ b/Tests/Rules/AlignAssignmentStatement.tests.ps1 @@ -33,7 +33,7 @@ $hashtable = @{ # } $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 Test-CorrectionExtentFromContent $def $violations 1 ' ' ' ' } @@ -52,7 +52,7 @@ $hashtable = @{ # } $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 Test-CorrectionExtentFromContent $def $violations 1 ' ' ' ' } @@ -60,7 +60,7 @@ $hashtable = @{ $def = @' $x = @{ } '@ - Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Get-Count | Should Be 0 + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Get-Count | Should -Be 0 } } @@ -85,7 +85,7 @@ Configuration MyDscConfiguration { } } '@ - Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Get-Count | Should Be 2 + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Get-Count | Should -Be 2 } } @@ -118,7 +118,7 @@ Configuration Sample_ChangeDescriptionAndPermissions # SilentlyContinue Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings -ErrorAction SilentlyContinue | Get-Count | - Should Be 4 + Should -Be 4 } } } diff --git a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 index c56ba6f08..dc21ac4dc 100644 --- a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 +++ b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 @@ -26,29 +26,29 @@ Describe "AvoidAssignmentToAutomaticVariables" { param ($VariableName) $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "`$${VariableName} = 'foo'" | Where-Object { $_.RuleName -eq $ruleName } - $warnings.Count | Should Be 1 - $warnings.Severity | Should Be $readOnlyVariableSeverity + $warnings.Count | Should -Be 1 + $warnings.Severity | Should -Be $readOnlyVariableSeverity } It "Using Variable '' as parameter name produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { param ($VariableName) [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo{Param(`$$VariableName)}" | Where-Object {$_.RuleName -eq $ruleName } - $warnings.Count | Should Be 1 - $warnings.Severity | Should Be $readOnlyVariableSeverity + $warnings.Count | Should -Be 1 + $warnings.Severity | Should -Be $readOnlyVariableSeverity } It "Using Variable '' as parameter name in param block produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { param ($VariableName) [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo(`$$VariableName){}" | Where-Object {$_.RuleName -eq $ruleName } - $warnings.Count | Should Be 1 - $warnings.Severity | Should Be $readOnlyVariableSeverity + $warnings.Count | Should -Be 1 + $warnings.Severity | Should -Be $readOnlyVariableSeverity } It "Does not flag parameter attributes" { [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'function foo{Param([Parameter(Mandatory=$true)]$param1)}' | Where-Object { $_.RuleName -eq $ruleName } - $warnings.Count | Should Be 0 + $warnings.Count | Should -Be 0 } It "Setting Variable '' throws exception to verify the variables is read-only" -TestCases $testCases_ReadOnlyVariables { @@ -65,7 +65,7 @@ Describe "AvoidAssignmentToAutomaticVariables" { } catch { - $_.FullyQualifiedErrorId | Should Be 'VariableNotWritable,Microsoft.PowerShell.Commands.SetVariableCommand' + $_.FullyQualifiedErrorId | Should -Be 'VariableNotWritable,Microsoft.PowerShell.Commands.SetVariableCommand' } } } diff --git a/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 b/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 index 2f0febbb2..a5a2cd6bc 100644 --- a/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 +++ b/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 @@ -9,17 +9,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidConvertToSecureStringWithP Describe "AvoidConvertToSecureStringWithPlainText" { Context "When there are violations" { It "has 3 ConvertTo-SecureString violations" { - $violations.Count | Should Be 3 + $violations.Count | Should -Be 3 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 b/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 index a3fda1d5d..3f8f8ce8a 100644 --- a/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 +++ b/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidDefaultTrueValueSwitchPara Describe "AvoidDefaultTrueValueSwitchParameter" { Context "When there are violations" { It "has 2 avoid using switch parameter default to true violation" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 index f29a98699..1f1e205be 100644 --- a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 +++ b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer "$directory\AvoidDefaultValueForMandatoryP Describe "AvoidDefaultValueForMandatoryParameter" { Context "When there are violations" { It "has 1 provide default value for mandatory parameter violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 b/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 index bcd2fb9d5..ff724dd5a 100644 --- a/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 +++ b/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 @@ -8,18 +8,18 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidEmptyCatchBlockNoViolation Describe "UseDeclaredVarsMoreThanAssignments" { Context "When there are violations" { It "has 2 avoid using empty Catch block violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidGlobalAliases.tests.ps1 b/Tests/Rules/AvoidGlobalAliases.tests.ps1 index 343a1e1f2..5274f202d 100644 --- a/Tests/Rules/AvoidGlobalAliases.tests.ps1 +++ b/Tests/Rules/AvoidGlobalAliases.tests.ps1 @@ -12,17 +12,17 @@ $IsV3OrV4 = (Test-PSVersionV3) -or (Test-PSVersionV4) Describe "$violationName " { Context "When there are violations" { It "Has 4 avoid global alias violations" -Skip:$IsV3OrV4 { - $violations.Count | Should Be 4 + $violations.Count | Should -Be 4 } It "Has the correct description message" -Skip:$IsV3OrV4 { - $violations[0].Message | Should Match $AvoidGlobalAliasesError + $violations[0].Message | Should -Match $AvoidGlobalAliasesError } } Context "When there are no violations" { It "Returns no violations" -Skip:$IsV3OrV4 { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/AvoidGlobalFunctions.tests.ps1 b/Tests/Rules/AvoidGlobalFunctions.tests.ps1 index a1475fa07..1cf59e52f 100644 --- a/Tests/Rules/AvoidGlobalFunctions.tests.ps1 +++ b/Tests/Rules/AvoidGlobalFunctions.tests.ps1 @@ -11,18 +11,18 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidGlobalFunctionsNoViolation Describe "$violationName " { Context "When there are violations" { It "Has 1 avoid global function violations" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Has the correct description message" { - $violations[0].Message | Should Match $functionErroMessage + $violations[0].Message | Should -Match $functionErroMessage } } Context "When there are no violations" { It "Returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 b/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 index 92d396412..880ce7d4f 100644 --- a/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 +++ b/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 @@ -26,25 +26,25 @@ $noGlobalViolations = $noViolations | Where-Object {$_.RuleName -eq $globalName} Describe "AvoidGlobalVars" { Context "When there are violations" { It "has 1 avoid using global variable violation" { - $globalViolations.Count | Should Be 1 + $globalViolations.Count | Should -Be 1 } <# # PSAvoidUninitializedVariable rule has been deprecated It "has 4 violations for dsc resources (not counting the variables in parameters)" { - $dscResourceViolations.Count | Should Be 4 + $dscResourceViolations.Count | Should -Be 4 } #> It "has the correct description message" { - $globalViolations[0].Message | Should Match $globalMessage + $globalViolations[0].Message | Should -Match $globalMessage } } Context "When there are no violations" { It "returns no violations" { - $noGlobalViolations.Count | Should Be 0 + $noGlobalViolations.Count | Should -Be 0 } } @@ -57,7 +57,7 @@ if ($global:lastexitcode -ne 0) } '@ $local:violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -IncludeRule $globalName - $local:violations.Count | Should Be 0 + $local:violations.Count | Should -Be 0 } } } @@ -67,17 +67,17 @@ if ($global:lastexitcode -ne 0) Describe "AvoidUnitializedVars" { Context "When there are violations" { It "has 5 avoid using unitialized variable violations" { - $nonInitializedViolations.Count | Should Be 5 + $nonInitializedViolations.Count | Should -Be 5 } It "has the correct description message" { - $nonInitializedViolations[0].Message | Should Match $nonInitializedMessage + $nonInitializedViolations[0].Message | Should -Match $nonInitializedMessage } } Context "When there are no violations" { It "returns no violations" { - $noUninitializedViolations.Count | Should Be 0 + $noUninitializedViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 b/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 index 651efb473..4448fae1d 100644 --- a/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 +++ b/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 @@ -9,17 +9,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidInvokingEmptyMembersNonVio Describe "AvoidInvokingEmptyMembers" { Context "When there are violations" { It "has one InvokeEmptyMember violations" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 b/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 index a6920361f..8c8b3aca5 100644 --- a/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 +++ b/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer "$directory\AvoidNullOrEmptyHelpMessageAtt Describe "AvoidNullOrEmptyHelpMessageAttribute" { Context "When there are violations" { It "detects the violations" { - $violations.Count | Should Be 6 + $violations.Count | Should -Be 6 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidPositionalParameters.tests.ps1 b/Tests/Rules/AvoidPositionalParameters.tests.ps1 index fb7f151ea..9ff360e3e 100644 --- a/Tests/Rules/AvoidPositionalParameters.tests.ps1 +++ b/Tests/Rules/AvoidPositionalParameters.tests.ps1 @@ -9,22 +9,22 @@ $noViolationsDSC = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $director Describe "AvoidPositionalParameters" { Context "When there are violations" { It "has 1 avoid positional parameters violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } It "returns no violations for DSC configuration" { - $noViolationsDSC.Count | Should Be 0 + $noViolationsDSC.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidReservedParams.tests.ps1 b/Tests/Rules/AvoidReservedParams.tests.ps1 index 602af77fd..a4050699b 100644 --- a/Tests/Rules/AvoidReservedParams.tests.ps1 +++ b/Tests/Rules/AvoidReservedParams.tests.ps1 @@ -8,18 +8,18 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "AvoidReservedParams" { Context "When there are violations" { It "has 1 avoid reserved parameters violations" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 b/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 index d6a2c668b..28b963a8b 100644 --- a/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 +++ b/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "AvoidShouldContinueWithoutForce" { Context "When there are violations" { It "has 2 avoid ShouldContinue without boolean Force parameter violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[1].Message | Should Match $violationMessage + $violations[1].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 index 951d9ee7c..ff2322088 100644 --- a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 +++ b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 @@ -21,16 +21,16 @@ Describe "MissingRequiredFieldModuleManifest" { Context "When there are violations" { It "has 1 missing required field module manifest violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations.Message | Should Match $missingMessage + $violations.Message | Should -Match $missingMessage } $numExpectedCorrections = 1 It "has $numExpectedCorrections suggested corrections" { - $violations.SuggestedCorrections.Count | Should Be $numExpectedCorrections + $violations.SuggestedCorrections.Count | Should -Be $numExpectedCorrections } # On Linux, mismatch in line endings cause this to fail @@ -39,52 +39,52 @@ Describe "MissingRequiredFieldModuleManifest" { # Version number of this module. ModuleVersion = '1.0.0.0' '@ - $violations[0].SuggestedCorrections[0].Text | Should Match $expectedText - Get-ExtentText $violations[0].SuggestedCorrections[0] $violationFilepath | Should Match "" + $violations[0].SuggestedCorrections[0].Text | Should -Match $expectedText + Get-ExtentText $violations[0].SuggestedCorrections[0] $violationFilepath | Should -BeNullOrEmpty } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } Context "When an .psd1 file doesn't contain a hashtable" { It "does not throw exception" { - {Invoke-ScriptAnalyzer -Path $noHashtableFilepath -IncludeRule $missingMemberRuleName} | Should Not Throw + {Invoke-ScriptAnalyzer -Path $noHashtableFilepath -IncludeRule $missingMemberRuleName} | Should -Not -Throw } } Context "Validate the contents of a .psd1 file" { It "detects a valid module manifest file" { $filepath = Join-Path $directory "TestManifest/ManifestGood.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -Be $true } It "detects a .psd1 file which is not module manifest" { $filepath = Join-Path $directory "TestManifest/PowerShellDataFile.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should Be $false + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -Be $false } It "detects valid module manifest file for PSv5" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv5.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -Be $true } It "does not validate PSv5 module manifest file for PSv3 check" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv5.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should Be $false + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should -Be $false } It "detects valid module manifest file for PSv4" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv4.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"4.0.0") | Should Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"4.0.0") | Should -Be $true } It "detects valid module manifest file for PSv3" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv3.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should -Be $true } } @@ -94,7 +94,7 @@ ModuleVersion = '1.0.0.0' -Path "$directory/TestManifest/PowerShellDataFile.psd1" ` -IncludeRule "PSMissingModuleManifestField" ` -OutVariable ruleViolation - $ruleViolation.Count | Should Be 0 + $ruleViolation.Count | Should -Be 0 } } } diff --git a/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 b/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 index eaa395606..caaaac1ca 100644 --- a/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 +++ b/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 @@ -9,25 +9,25 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUserNameAndPasswordParamsN Describe "AvoidUserNameAndPasswordParams" { Context "When there are violations" { It "has 1 avoid username and password parameter violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct violation message" { - $violations[0].Message | Should Be $violationMessage + $violations[0].Message | Should -Be $violationMessage } It "has correct extent" { $expectedExtent = '$password, $username' - $violations[0].Extent.Text | Should Be $expectedExtent + $violations[0].Extent.Text | Should -Be $expectedExtent $expectedExtent = '$username, $password' - $violations[1].Extent.Text | Should Be $expectedExtent + $violations[1].Extent.Text | Should -Be $expectedExtent } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/AvoidUsingAlias.tests.ps1 b/Tests/Rules/AvoidUsingAlias.tests.ps1 index 9a8f89dc2..415d20fd9 100644 --- a/Tests/Rules/AvoidUsingAlias.tests.ps1 +++ b/Tests/Rules/AvoidUsingAlias.tests.ps1 @@ -12,19 +12,19 @@ Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") Describe "AvoidUsingAlias" { Context "When there are violations" { It "has 2 Avoid Using Alias Cmdlets violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[1].Message | Should Match $violationMessage + $violations[1].Message | Should -Match $violationMessage } It "suggests correction" { Test-CorrectionExtent $violationFilepath $violations[0] 1 'iex' 'Invoke-Expression' - $violations[0].SuggestedCorrections[0].Description | Should Be 'Replace iex with Invoke-Expression' + $violations[0].SuggestedCorrections[0].Description | Should -Be 'Replace iex with Invoke-Expression' Test-CorrectionExtent $violationFilepath $violations[1] 1 'cls' 'Clear-Host' - $violations[1].SuggestedCorrections[0].Description | Should Be 'Replace cls with Clear-Host' + $violations[1].SuggestedCorrections[0].Description | Should -Be 'Replace cls with Clear-Host' } } @@ -34,13 +34,13 @@ Describe "AvoidUsingAlias" { gci -Path C:\ '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $target -IncludeRule $violationName - $violations[0].Extent.Text | Should Be "gci" + $violations[0].Extent.Text | Should -Be "gci" } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } It "should return no violation for assignment statement-like command in dsc configuration" -skip:($IsLinux -or $IsMacOS) { @@ -56,7 +56,7 @@ Configuration MyDscConfiguration { '@ Invoke-ScriptAnalyzer -ScriptDefinition $target -IncludeRule $violationName | ` Get-Count | ` - Should Be 0 + Should -Be 0 } } @@ -81,19 +81,19 @@ Configuration MyDscConfiguration { } } $violations = Invoke-ScriptAnalyzer -ScriptDefinition $whiteListTestScriptDef -Settings $settings -IncludeRule $violationName - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "honors the whitelist provided through settings file" { # even though join-path returns string, if we do not use tostring, then invoke-scriptanalyzer cannot cast it to string type $settingsFilePath = (Join-Path $directory (Join-Path 'TestSettings' 'AvoidAliasSettings.psd1')).ToString() $violations = Invoke-ScriptAnalyzer -ScriptDefinition $whiteListTestScriptDef -Settings $settingsFilePath -IncludeRule $violationName - $violations.Count | Should be 1 + $violations.Count | Should -Be 1 } It "honors the whitelist in a case-insensitive manner" { $violations = Invoke-ScriptAnalyzer -ScriptDefinition "CD" -Settings $settings -IncludeRule $violationName - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 b/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 index c651d482b..35fa7bad2 100644 --- a/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 +++ b/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 @@ -8,18 +8,18 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingComputerNameHardcoded Describe "AvoidUsingComputerNameHardcoded" { Context "When there are violations" { It "has 2 avoid using ComputerName hardcoded violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 b/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 index 8a749f27e..d5f5fc2ab 100644 --- a/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 +++ b/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 @@ -8,17 +8,17 @@ $noViolations2 = Invoke-ScriptAnalyzer "$directory\TestGoodModule\TestDeprecated Describe "AvoidUsingDeprecatedManifestFields" { Context "When there are violations" { It "has 1 violations" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } } Context "When there are no violations" { It "returns no violations if no deprecated fields are used" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } It "returns no violations if deprecated fields are used but psVersion is less than 3.0" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } @@ -28,7 +28,7 @@ Describe "AvoidUsingDeprecatedManifestFields" { -Path "$directory/TestManifest/PowerShellDataFile.psd1" ` -IncludeRule "PSAvoidUsingDeprecatedManifestFields" ` -OutVariable ruleViolation - $ruleViolation.Count | Should Be 0 + $ruleViolation.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 b/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 index 1ef064714..f9d6390e7 100644 --- a/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 +++ b/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidConvertToSecureStringWithP Describe "AvoidUsingInvokeExpression" { Context "When there are violations" { It "has 2 Avoid Using Invoke-Expression violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 b/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 index 45c90167c..f4642b486 100644 --- a/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 +++ b/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 @@ -11,12 +11,12 @@ Describe "AvoidUsingPlainTextForPassword" { Context "When there are violations" { $expectedNumViolations = 7 It "has $expectedNumViolations violations" { - $violations.Count | Should Be $expectedNumViolations + $violations.Count | Should -Be $expectedNumViolations } It "suggests corrections" { Test-CorrectionExtent $violationFilepath $violations[0] 1 '$passphrases' '[SecureString] $passphrases' - $violations[0].SuggestedCorrections[0].Description | Should Be 'Set $passphrases type to SecureString' + $violations[0].SuggestedCorrections[0].Description | Should -Be 'Set $passphrases type to SecureString' Test-CorrectionExtent $violationFilepath $violations[1] 1 '$passwordparam' '[SecureString] $passwordparam' Test-CorrectionExtent $violationFilepath $violations[2] 1 '$credential' '[SecureString] $credential' @@ -27,13 +27,13 @@ Describe "AvoidUsingPlainTextForPassword" { } It "has the correct violation message" { - $violations[3].Message | Should Match $violationMessage + $violations[3].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 b/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 index 2b5250658..8083a98d5 100644 --- a/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 +++ b/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "Avoid Using Reserved Char" { Context "When there are violations" { It "has 1 Reserved Char Violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $reservedCharMessage + $violations[0].Message | Should -Match $reservedCharMessage } } Context "When there are no violations" { It "has no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 b/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 index b8c7a6e44..d9896cab6 100644 --- a/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 +++ b/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingWMICmdletNoViolations Describe "AvoidUsingWMICmdlet" { Context "Script contains references to WMI cmdlets - Violation" { It "Have 5 WMI cmdlet Violations" { - $violations.Count | Should Be 5 + $violations.Count | Should -Be 5 } It "has the correct description message for WMI rule violation" { - $violations[0].Message | Should Be $violationMessage + $violations[0].Message | Should -Be $violationMessage } } Context "Script contains no calls to WMI cmdlet - No violation" { It "results in no rule violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidUsingWriteHost.tests.ps1 b/Tests/Rules/AvoidUsingWriteHost.tests.ps1 index c959bc501..7008e929b 100644 --- a/Tests/Rules/AvoidUsingWriteHost.tests.ps1 +++ b/Tests/Rules/AvoidUsingWriteHost.tests.ps1 @@ -9,17 +9,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingWriteHostNoViolations Describe "AvoidUsingWriteHost" { Context "When there are violations" { It "has 4 Write-Host violations" { - $violations.Count | Should Be 4 + $violations.Count | Should -Be 4 } It "has the correct description message for Write-Host" { - $violations[0].Message | Should Match $writeHostMessage + $violations[0].Message | Should -Match $writeHostMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/DscExamplesPresent.tests.ps1 b/Tests/Rules/DscExamplesPresent.tests.ps1 index 3d2ff1488..b3c420243 100644 --- a/Tests/Rules/DscExamplesPresent.tests.ps1 +++ b/Tests/Rules/DscExamplesPresent.tests.ps1 @@ -16,11 +16,11 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { $violationMessage = "No examples found for resource 'FileResource'" It "has 1 missing examples violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } @@ -31,7 +31,7 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { $noViolations = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $classResourcePath | Where-Object {$_.RuleName -eq $ruleName} It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } Remove-Item -Path $examplesPath -Recurse -Force @@ -50,11 +50,11 @@ Describe "DscExamplesPresent rule in regular (non-class) based resource" { $violationMessage = "No examples found for resource 'MSFT_WaitForAll'" It "has 1 missing examples violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } @@ -65,7 +65,7 @@ Describe "DscExamplesPresent rule in regular (non-class) based resource" { $noViolations = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $resourcePath | Where-Object {$_.RuleName -eq $ruleName} It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } Remove-Item -Path $examplesPath -Recurse -Force diff --git a/Tests/Rules/DscTestsPresent.tests.ps1 b/Tests/Rules/DscTestsPresent.tests.ps1 index d0d0f5e51..603f94d3d 100644 --- a/Tests/Rules/DscTestsPresent.tests.ps1 +++ b/Tests/Rules/DscTestsPresent.tests.ps1 @@ -16,11 +16,11 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { $violationMessage = "No tests found for resource 'FileResource'" It "has 1 missing test violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Be $violationMessage + $violations[0].Message | Should -Be $violationMessage } } @@ -31,7 +31,7 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { $noViolations = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $classResourcePath | Where-Object {$_.RuleName -eq $ruleName} It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } Remove-Item -Path $testsPath -Recurse -Force @@ -50,11 +50,11 @@ Describe "DscTestsPresent rule in regular (non-class) based resource" { $violationMessage = "No tests found for resource 'MSFT_WaitForAll'" It "has 1 missing tests violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Be $violationMessage + $violations[0].Message | Should -Be $violationMessage } } @@ -65,7 +65,7 @@ Describe "DscTestsPresent rule in regular (non-class) based resource" { $noViolations = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $resourcePath | Where-Object {$_.RuleName -eq $ruleName} It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } Remove-Item -Path $testsPath -Recurse -Force diff --git a/Tests/Rules/MisleadingBacktick.tests.ps1 b/Tests/Rules/MisleadingBacktick.tests.ps1 index 05f674b39..8b2eefb79 100644 --- a/Tests/Rules/MisleadingBacktick.tests.ps1 +++ b/Tests/Rules/MisleadingBacktick.tests.ps1 @@ -9,7 +9,7 @@ Import-Module (Join-Path $directory "PSScriptAnalyzerTestHelper.psm1") Describe "Avoid Misleading Backticks" { Context "When there are violations" { It "has 5 misleading backtick violations" { - $violations.Count | Should Be 5 + $violations.Count | Should -Be 5 } It "suggests correction" { @@ -23,7 +23,7 @@ Describe "Avoid Misleading Backticks" { Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/PSCredentialType.tests.ps1 b/Tests/Rules/PSCredentialType.tests.ps1 index be44ffeb3..237e160c8 100644 --- a/Tests/Rules/PSCredentialType.tests.ps1 +++ b/Tests/Rules/PSCredentialType.tests.ps1 @@ -15,11 +15,11 @@ Describe "PSCredentialType" { $expectedViolations = 2 } It ("has {0} PSCredential type violation" -f $expectedViolations) { - $violations.Count | Should Be $expectedViolations + $violations.Count | Should -Be $expectedViolations } It "has the correct description message" { - $violations[0].Message | Should Be $violationMessage + $violations[0].Message | Should -Be $violationMessage } It "detects attributes on the same line without space" { @@ -33,14 +33,14 @@ function Get-Credential } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule $violationName - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } Context ("When there are no violations") { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/PSScriptAnalyzerTestHelper.psm1 b/Tests/Rules/PSScriptAnalyzerTestHelper.psm1 index 99b7ddc1e..1d3aa8b0a 100644 --- a/Tests/Rules/PSScriptAnalyzerTestHelper.psm1 +++ b/Tests/Rules/PSScriptAnalyzerTestHelper.psm1 @@ -22,10 +22,10 @@ Function Test-CorrectionExtent [string] $correctionText ) $corrections = $diagnosticRecord.SuggestedCorrections - $corrections.Count | Should Be $correctionsCount - $corrections[0].Text | Should Be $correctionText + $corrections.Count | Should -Be $correctionsCount + $corrections[0].Text | Should -Be $correctionText Get-ExtentText $corrections[0] $violationFilepath | ` - Should Be $violationText + Should -Be $violationText } diff --git a/Tests/Rules/PlaceCloseBrace.tests.ps1 b/Tests/Rules/PlaceCloseBrace.tests.ps1 index 88e035e4c..e7b4f43ce 100644 --- a/Tests/Rules/PlaceCloseBrace.tests.ps1 +++ b/Tests/Rules/PlaceCloseBrace.tests.ps1 @@ -32,11 +32,11 @@ function foo { } It "Should find a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Should mark the right extent" { - $violations[0].Extent.Text | Should Be "}" + $violations[0].Extent.Text | Should -Be "}" } } @@ -55,11 +55,11 @@ function foo { } It "Should find a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Should mark the right extent" { - $violations[0].Extent.Text | Should Be "}" + $violations[0].Extent.Text | Should -Be "}" } } @@ -75,7 +75,7 @@ $hashtable = @{a = 1; b = 2} } It "Should not find a violation" { - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -93,7 +93,7 @@ $hashtable = @{ } It "Should find a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } } @@ -107,7 +107,7 @@ Get-Process * | % { "blah" } } It "Should not find a violation" { - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "Should ignore violations for one line if statement" { @@ -116,7 +116,7 @@ $x = if ($true) { "blah" } else { "blah blah" } '@ $ruleConfiguration.'IgnoreOneLineBlock' = $true $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "Should ignore violations for one line if statement even if NewLineAfter is true" { @@ -126,7 +126,7 @@ $x = if ($true) { "blah" } else { "blah blah" } $ruleConfiguration.'IgnoreOneLineBlock' = $true $ruleConfiguration.'NewLineAfter' = $true $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -146,7 +146,7 @@ if (Test-Path "blah") { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 $params = @{ RawContent = $def DiagnosticRecord = $violations[0] @@ -166,7 +166,7 @@ if (Test-Path "blah") { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 $params = @{ RawContent = $def DiagnosticRecord = $violations[0] @@ -187,7 +187,7 @@ try { '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 $params = @{ RawContent = $def DiagnosticRecord = $violations[0] @@ -207,7 +207,7 @@ Some-Command -Param1 @{ } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "Should not find a violation for a close brace followed by parameter in a command expression" { @@ -217,7 +217,7 @@ Some-Command -Param1 @{ } -Param2 '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -238,7 +238,7 @@ else { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Should correct violation by cuddling the else branch statement" { @@ -257,7 +257,7 @@ if ($true) { $false } '@ - Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should Be $expected + Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should -Be $expected } It "Should correct violation if the close brace and following keyword are apart by less than a space" { @@ -275,7 +275,7 @@ if ($true) { $false } '@ - Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should Be $expected + Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should -Be $expected } It "Should correct violation if the close brace and following keyword are apart by more than a space" { @@ -293,7 +293,7 @@ if ($true) { $false } '@ - Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should Be $expected + Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should -Be $expected } It "Should correct violations in an if-else-elseif block" { @@ -319,7 +319,7 @@ if ($x -eq 1) { "3" } '@ - Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should Be $expected + Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should -Be $expected } It "Should correct violations in a try-catch-finally block" { @@ -343,7 +343,7 @@ try { "finally" } '@ - Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should Be $expected + Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should -Be $expected } It "Should not find violations when a script has two close braces in succession" { @@ -357,7 +357,7 @@ if ($true) { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/PlaceOpenBrace.tests.ps1 b/Tests/Rules/PlaceOpenBrace.tests.ps1 index 4b6126c29..e72278b81 100644 --- a/Tests/Rules/PlaceOpenBrace.tests.ps1 +++ b/Tests/Rules/PlaceOpenBrace.tests.ps1 @@ -27,11 +27,11 @@ function foo ($param1) } It "Should find a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Should mark only the open brace" { - $violations[0].Extent.Text | Should Be '{' + $violations[0].Extent.Text | Should -Be '{' } } @@ -49,7 +49,7 @@ switch ($x) { } It "Should not find a violation" { - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -71,15 +71,15 @@ Get-Process | % { "blah" } } It "Should find a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Should mark only the open brace" { - $violations[0].Extent.Text | Should Be '{' + $violations[0].Extent.Text | Should -Be '{' } It "Should ignore violations for a command element" { - $violationsShouldIgnore.Count | Should Be 0 + $violationsShouldIgnore.Count | Should -Be 0 } It "Should ignore violations for one line if statement" { @@ -88,7 +88,7 @@ $x = if ($true) { "blah" } else { "blah blah" } '@ $ruleConfiguration.'IgnoreOneLineBlock' = $true $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -104,11 +104,11 @@ function foo { } } It "Should find a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Should mark only the open brace" { - $violations[0].Extent.Text | Should Be '{' + $violations[0].Extent.Text | Should -Be '{' } } } diff --git a/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 b/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 index bdcb40902..78cf1da4d 100644 --- a/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 +++ b/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\PossibleIncorrectComparisonWith Describe "PossibleIncorrectComparisonWithNull" { Context "When there are violations" { It "has 4 possible incorrect comparison with null violation" { - $violations.Count | Should Be 4 + $violations.Count | Should -Be 4 } It "has the correct description message" { - $violations.Message | Should Match $violationMessage + $violations.Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 index 9c48cb34b..5540b9305 100644 --- a/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 +++ b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 @@ -5,59 +5,59 @@ Describe "PossibleIncorrectUsageOfAssignmentOperator" { Context "When there are violations" { It "assignment inside if statement causes warning" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a=$b){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 1 + $warnings.Count | Should -Be 1 } It "assignment inside if statement causes warning when when wrapped in command expression" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a=($b)){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 1 + $warnings.Count | Should -Be 1 } It "assignment inside if statement causes warning when wrapped in expression" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a="$b"){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 1 + $warnings.Count | Should -Be 1 } It "assignment inside elseif statement causes warning" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -eq $b){}elseif($a = $b){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 1 + $warnings.Count | Should -Be 1 } It "double equals inside if statement causes warning" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a == $b){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 1 + $warnings.Count | Should -Be 1 } It "double equals inside if statement causes warning when wrapping it in command expresion" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a == ($b)){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 1 + $warnings.Count | Should -Be 1 } It "double equals inside if statement causes warning when wrapped in expression" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a == "$b"){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 1 + $warnings.Count | Should -Be 1 } } Context "When there are no violations" { It "returns no violations when there is no equality operator" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -eq $b){$a=$b}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 0 + $warnings.Count | Should -Be 0 } It "returns no violations when there is an evaluation on the RHS" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = Get-ChildItem){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 0 + $warnings.Count | Should -Be 0 } It "returns no violations when there is an evaluation on the RHS wrapped in an expression" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = (Get-ChildItem)){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 0 + $warnings.Count | Should -Be 0 } It "returns no violations when there is an evaluation on the RHS wrapped in an expression and also includes a variable" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = (Get-ChildItem $b)){}' | Where-Object {$_.RuleName -eq $ruleName} - $warnings.Count | Should Be 0 + $warnings.Count | Should -Be 0 } } } diff --git a/Tests/Rules/ProvideCommentHelp.tests.ps1 b/Tests/Rules/ProvideCommentHelp.tests.ps1 index 2a11cf062..58042ab50 100644 --- a/Tests/Rules/ProvideCommentHelp.tests.ps1 +++ b/Tests/Rules/ProvideCommentHelp.tests.ps1 @@ -31,33 +31,33 @@ function Test-Correction { param($scriptDef, $expectedCorrection, $settings) $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 # We split the lines because appveyor checks out files with "\n" endings # on windows, which results in inconsistent line endings between corrections # and result. $resultLines = $violations[0].SuggestedCorrections[0].Text -split "\r?\n" $expectedLines = $expectedCorrection -split "\r?\n" - $resultLines.Count | Should Be $expectedLines.Count + $resultLines.Count | Should -Be $expectedLines.Count for ($i = 0; $i -lt $resultLines.Count; $i++) { $resultLine = $resultLines[$i] $expectedLine = $expectedLines[$i] - $resultLine | Should Be $expectedLine + $resultLine | Should -Be $expectedLine } } Describe "ProvideCommentHelp" { Context "When there are violations" { It "has 2 provide comment help violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[1].Message | Should Match $violationMessage + $violations[1].Message | Should -Match $violationMessage } It "has extent that includes only the function name" { - $violations[1].Extent.Text | Should Be "Comment" + $violations[1].Extent.Text | Should -Be "Comment" } It "should find violations in functions that are not exported" { @@ -66,7 +66,7 @@ function foo { } '@ - Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Get-Count | Should Be 1 + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Get-Count | Should -Be 1 } It "should return a help snippet correction with 0 parameters" { $def = @' @@ -334,14 +334,14 @@ $s$s$s$s if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { It "Does not count violation in DSC class" { - $dscViolations.Count | Should Be 0 + $dscViolations.Count | Should -Be 0 } } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 b/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 index 34b406aa5..47f190410 100644 --- a/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 +++ b/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 @@ -16,17 +16,17 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') Describe "ReturnCorrectTypesForDSCFunctions" { Context "When there are violations" { It "has 5 return correct types for DSC functions violations" { - $violations.Count | Should Be 5 + $violations.Count | Should -Be 5 } It "has the correct description message" { - $violations[2].Message | Should Match $violationMessageDSCResource + $violations[2].Message | Should -Match $violationMessageDSCResource } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } @@ -35,17 +35,17 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { Describe "StandardDSCFunctionsInClass" { Context "When there are violations" { It "has 4 return correct types for DSC functions violations" { - $classViolations.Count | Should Be 4 + $classViolations.Count | Should -Be 4 } It "has the correct description message" { - $classViolations[3].Message | Should Match $violationMessageDSCClass + $classViolations[3].Message | Should -Match $violationMessageDSCClass } } Context "When there are no violations" { It "returns no violations" { - $noClassViolations.Count | Should Be 0 + $noClassViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 b/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 index 192b7ab6b..d58259105 100644 --- a/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 +++ b/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 @@ -11,30 +11,30 @@ $noViolationsTwo = Invoke-ScriptAnalyzer "$directory\TestFiles\BOMAbsent_ASCIIEn Describe "UseBOMForUnicodeEncodedFile" { Context "When there are violations" { It "has 1 rule violation for BOM Absent - UTF16 Encoded file" { - $violationsOne.Count | Should Be 1 + $violationsOne.Count | Should -Be 1 } It "has the correct description message for BOM Absent - UTF16 Encoded file" { - $violationsOne[0].Message | Should Match $violationMessageOne + $violationsOne[0].Message | Should -Match $violationMessageOne } It "has 1 rule violation for BOM Absent - Unknown Encoded file" { - $violationsTwo.Count | Should Be 1 + $violationsTwo.Count | Should -Be 1 } It "has the correct description message for BOM Absent - Unknown Encoded file" { - $violationsTwo[0].Message | Should Match $violationMessageTwo + $violationsTwo[0].Message | Should -Match $violationMessageTwo } } Context "When there are no violations" { It "returns no violations for BOM Present - UTF16 Encoded File" { - $noViolationsOne.Count | Should Be 0 + $noViolationsOne.Count | Should -Be 0 } It "returns no violations for BOM Absent - ASCII Encoded File" { - $noViolationsTwo.Count | Should Be 0 + $noViolationsTwo.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/UseCmdletCorrectly.tests.ps1 b/Tests/Rules/UseCmdletCorrectly.tests.ps1 index 360199c58..7447eceb2 100644 --- a/Tests/Rules/UseCmdletCorrectly.tests.ps1 +++ b/Tests/Rules/UseCmdletCorrectly.tests.ps1 @@ -8,17 +8,17 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "UseCmdletCorrectly" { Context "When there are violations" { It "has 1 Use Cmdlet Correctly violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/UseCompatibleCmdlets.tests.ps1 b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 index cdfa79a8f..c89b0a0d6 100644 --- a/Tests/Rules/UseCompatibleCmdlets.tests.ps1 +++ b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 @@ -12,7 +12,7 @@ Describe "UseCompatibleCmdlets" { $violationFilePath = Join-Path $ruleTestDirectory 'ScriptWithViolation.ps1' $settingsFilePath = [System.IO.Path]::Combine($ruleTestDirectory, 'PSScriptAnalyzerSettings.psd1'); $diagnosticRecords = Invoke-ScriptAnalyzer -Path $violationFilePath -IncludeRule $ruleName -Settings $settingsFilePath - $diagnosticRecords.Count | Should Be 1 + $diagnosticRecords.Count | Should -Be 1 } } @@ -29,7 +29,7 @@ Describe "UseCompatibleCmdlets" { It ("found {0} violations for '{1}'" -f $expectedViolations, $command) { Invoke-ScriptAnalyzer -ScriptDefinition $command -IncludeRule $ruleName -Settings $settings | ` Get-Count | ` - Should Be $expectedViolations + Should -Be $expectedViolations } } } diff --git a/Tests/Rules/UseConsistentIndentation.tests.ps1 b/Tests/Rules/UseConsistentIndentation.tests.ps1 index 89bb6d3f1..2a2b45fad 100644 --- a/Tests/Rules/UseConsistentIndentation.tests.ps1 +++ b/Tests/Rules/UseConsistentIndentation.tests.ps1 @@ -33,7 +33,7 @@ Describe "UseConsistentIndentation" { } It "Should detect a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } } @@ -49,7 +49,7 @@ function foo ($param1) } It "Should find a violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } } @@ -66,7 +66,7 @@ b = 2 } It "Should find violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } } @@ -82,7 +82,7 @@ $array = @( } It "Should find violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } } @@ -103,7 +103,7 @@ $param3 } It "Should find violations" { - $violations.Count | Should Be 4 + $violations.Count | Should -Be 4 } } @@ -119,7 +119,7 @@ function foo { } It "Should not find a violations" { - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -130,7 +130,7 @@ get-process | where-object {$_.Name -match 'powershell'} '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "Should not find a violation if a pipleline element is indented correctly" { @@ -139,7 +139,7 @@ get-process | where-object {$_.Name -match 'powershell'} '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "Should ignore comment in the pipleline" { @@ -150,7 +150,7 @@ select Name,Id | format-list '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 3 + $violations.Count | Should -Be 3 } It "Should indent properly after line continuation (backtick) character" { @@ -159,7 +159,7 @@ $x = "this " + ` "Should be indented properly" '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 $params = @{ RawContent = $def DiagnosticRecord = $violations[0] @@ -200,7 +200,7 @@ ${t}${t}anotherProperty = "another value" ${t}} } "@ - Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should Be $expected + Invoke-Formatter -ScriptDefinition $def -Settings $settings | Should -Be $expected } } } diff --git a/Tests/Rules/UseConsistentWhitespace.tests.ps1 b/Tests/Rules/UseConsistentWhitespace.tests.ps1 index b80a0f947..033b49509 100644 --- a/Tests/Rules/UseConsistentWhitespace.tests.ps1 +++ b/Tests/Rules/UseConsistentWhitespace.tests.ps1 @@ -41,21 +41,21 @@ if ($true){} $def = @' if($true) {} '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find violation if an open brace follows a foreach member invocation" { $def = @' (1..5).foreach{$_} '@ - Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find violation if an open brace follows a where member invocation" { $def = @' (1..5).where{$_} '@ - Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } } @@ -82,7 +82,7 @@ function foo($param1) { } '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find a violation in a param block" { @@ -91,7 +91,7 @@ function foo() { param( ) } '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find a violation in a nested open paren" { @@ -100,14 +100,14 @@ function foo($param) { ((Get-Process)) } '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find a violation on a method call" { $def = @' $x.foo("bar") '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } } @@ -157,21 +157,21 @@ $x = @" "abc" "@ '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find violation if there are whitespaces of size 1 around an assignment operator for here string" { $def = @' $x = 1 '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find violation if there are no whitespaces around DotDot operator" { $def = @' 1..5 '@ - Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find violation if a binary operator is followed by new line" { @@ -179,7 +179,7 @@ $x = 1 $x = $true -and $false '@ - Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } } @@ -204,7 +204,7 @@ $x = @(1,2) $def = @' $x = @(1, 2) '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } } @@ -228,7 +228,7 @@ $x = @{a=1;b=2} $def = @' $x = @{a=1; b=2} '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find a violation if a new-line follows a semi-colon" { @@ -238,14 +238,14 @@ $x = @{ b=2 } '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } It "Should not find a violation if a end of input follows a semi-colon" { $def = @' $x = "abc"; '@ - $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should Be $null + $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null } diff --git a/Tests/Rules/UseDSCResourceFunctions.tests.ps1 b/Tests/Rules/UseDSCResourceFunctions.tests.ps1 index 5bffe1b46..e1fb10600 100644 --- a/Tests/Rules/UseDSCResourceFunctions.tests.ps1 +++ b/Tests/Rules/UseDSCResourceFunctions.tests.ps1 @@ -16,17 +16,17 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') Describe "StandardDSCFunctionsInResource" { Context "When there are violations" { It "has 1 missing standard DSC functions violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } @@ -35,17 +35,17 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { Describe "StandardDSCFunctionsInClass" { Context "When there are violations" { It "has 1 missing standard DSC functions violation" { - $classViolations.Count | Should Be 1 + $classViolations.Count | Should -Be 1 } It "has the correct description message" { - $classViolations[0].Message | Should Match $classViolationMessage + $classViolations[0].Message | Should -Match $classViolationMessage } } Context "When there are no violations" { It "returns no violations" { - $noClassViolations.Count | Should Be 0 + $noClassViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 index f8c664e0f..daa766b06 100644 --- a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 +++ b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 @@ -12,11 +12,11 @@ $noViolations = Invoke-ScriptAnalyzer $directory\UseDeclaredVarsMoreThanAssignme Describe "UseDeclaredVarsMoreThanAssignments" { Context "When there are violations" { It "has 2 use declared vars more than assignments violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[1].Message | Should Match $violationMessage + $violations[1].Message | Should -Match $violationMessage } It "flags the variable in the correct scope" { @@ -35,43 +35,43 @@ function MyFunc2() { '@ Invoke-ScriptAnalyzer -ScriptDefinition $target -IncludeRule $violationName | ` Get-Count | ` - Should Be 1 + Should -Be 1 } It "flags strongly typed variables" { Invoke-ScriptAnalyzer -ScriptDefinition '[string]$s=''mystring''' -IncludeRule $violationName | ` Get-Count | ` - Should Be 1 + Should -Be 1 } It "does not flag `$InformationPreference variable" { Invoke-ScriptAnalyzer -ScriptDefinition '$InformationPreference=Stop' -IncludeRule $violationName | ` Get-Count | ` - Should Be 0 + Should -Be 0 } It "does not flag `$PSModuleAutoLoadingPreference variable" { Invoke-ScriptAnalyzer -ScriptDefinition '$PSModuleAutoLoadingPreference=None' -IncludeRule $violationName | ` Get-Count | ` - Should Be 0 + Should -Be 0 } It "flags a variable that is defined twice but never used" { Invoke-ScriptAnalyzer -ScriptDefinition '$myvar=1;$myvar=2' -IncludeRule $violationName | ` Get-Count | ` - Should Be 1 + Should -Be 1 } It "does not flag a variable that is defined twice but gets assigned to another variable and flags the other variable instead" { $results = Invoke-ScriptAnalyzer -ScriptDefinition '$myvar=1;$myvar=2;$mySecondvar=$myvar' -IncludeRule $violationName - $results | Get-Count | Should Be 1 - $results[0].Extent | Should Be '$mySecondvar' + $results | Get-Count | Should -Be 1 + $results[0].Extent | Should -Be '$mySecondvar' } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 b/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 index e8e82a11b..358ff6d98 100644 --- a/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 +++ b/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 @@ -15,11 +15,11 @@ Describe "UseIdenticalMandatoryParametersForDSC" { } It "Should find a violations" -skip:($IsLinux -or $IsMacOS) { - $violations.Count | Should Be 5 + $violations.Count | Should -Be 5 } It "Should mark only the function name" -skip:($IsLinux -or $IsMacOS) { - $violations[0].Extent.Text | Should Be 'Get-TargetResource' + $violations[0].Extent.Text | Should -Be 'Get-TargetResource' } } @@ -30,7 +30,7 @@ Describe "UseIdenticalMandatoryParametersForDSC" { # todo add a test to check one violation per function It "Should find a violations" -pending { - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 b/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 index 9fbebb645..7c5bf71df 100644 --- a/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 +++ b/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 @@ -14,24 +14,24 @@ if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') Describe "UseIdenticalParametersDSC" { Context "When there are violations" { It "has 1 Use Identical Parameters For DSC violations" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { It "returns no violations for DSC Classes" { - $noClassViolations.Count | Should Be 0 + $noClassViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 b/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 index 97227068e..3cd2e7817 100644 --- a/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 +++ b/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 @@ -11,7 +11,7 @@ Describe "UseLiteralInitlializerForHashtable" { $htable4 = new-object collections.hashtable '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $violationScriptDef -IncludeRule $ruleName - $violations.Count | Should Be 4 + $violations.Count | Should -Be 4 } It "does not detect violation if arguments given to new-object contain ignore case string comparer" { @@ -22,7 +22,7 @@ Describe "UseLiteralInitlializerForHashtable" { $htable4 = new-object -Typename hashtable [system.stringcomparer]::ordinalignorecase '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $violationScriptDef -IncludeRule $ruleName - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "suggests correction" { @@ -30,7 +30,7 @@ Describe "UseLiteralInitlializerForHashtable" { $htable1 = new-object hashtable '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $violationScriptDef -IncludeRule $ruleName - $violations[0].SuggestedCorrections[0].Text | Should Be '@{}' + $violations[0].SuggestedCorrections[0].Text | Should -Be '@{}' } } @@ -43,7 +43,7 @@ Describe "UseLiteralInitlializerForHashtable" { $htable4 = [collections.hashtable]::new() '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $violationScriptDef -IncludeRule $ruleName - $violations.Count | Should Be 4 + $violations.Count | Should -Be 4 } It "does not detect violation if arguments given to [hashtable]::new contain ignore case string comparer" { @@ -52,7 +52,7 @@ Describe "UseLiteralInitlializerForHashtable" { $htable2 = [hashtable]::new(10, [system.stringcomparer]::ordinalignorecase) '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $violationScriptDef -IncludeRule $ruleName - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "suggests correction" { @@ -60,7 +60,7 @@ Describe "UseLiteralInitlializerForHashtable" { $htable1 = [hashtable]::new() '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $violationScriptDef -IncludeRule $ruleName - $violations[0].SuggestedCorrections[0].Text | Should Be '@{}' + $violations[0].SuggestedCorrections[0].Text | Should -Be '@{}' } } diff --git a/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 b/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 index eb7029a57..fabf49698 100644 --- a/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 +++ b/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 @@ -14,23 +14,23 @@ $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object { Describe "UseOutputTypeCorrectly" { Context "When there are violations" { It "has 2 Use OutputType Correctly violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[1].Message | Should Match $violationMessage + $violations[1].Message | Should -Match $violationMessage } if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { It "Does not count violation in DSC class" { - $dscViolations.Count | Should Be 0 + $dscViolations.Count | Should -Be 0 } } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 b/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 index 85a619f09..db68000de 100644 --- a/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 +++ b/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 @@ -13,18 +13,18 @@ $IsV3OrV4 = (Test-PSVersionV3) -or (Test-PSVersionV4) Describe "UseShouldProcessCorrectly" { Context "When there are violations" { It "has 3 should process violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } @@ -57,7 +57,7 @@ function Bar Foo '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "finds violation if downstream function does not declare SupportsShouldProcess" { @@ -85,7 +85,7 @@ function Bar Foo '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "finds violation for 2 level downstream calls" { @@ -118,7 +118,7 @@ function Bar Foo '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } } @@ -143,7 +143,7 @@ function Foo } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -160,7 +160,7 @@ function Remove-Foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "finds no violation when caller does not declare SupportsShouldProcess and callee is a cmdlet with ShouldProcess" { @@ -174,7 +174,7 @@ function Remove-Foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } # Install-Module is present by default only on PSv5 and above @@ -189,7 +189,7 @@ function Install-Foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "finds no violation when caller does not declare SupportsShouldProcess and callee is a function with ShouldProcess" { @@ -202,7 +202,7 @@ function Install-Foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } It "finds no violation for a function with self reference" { @@ -226,7 +226,7 @@ function Install-ModuleWithDeps { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } # Install-Module is present by default only on PSv5 and above @@ -251,7 +251,7 @@ function Install-ModuleWithDeps { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } @@ -265,7 +265,7 @@ function Foo } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations[0].Extent.Text | Should Be 'SupportsShouldProcess' + $violations[0].Extent.Text | Should -Be 'SupportsShouldProcess' } It "should mark only the ShouldProcess call" { @@ -277,7 +277,7 @@ function Foo } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule PSShouldProcess - $violations[0].Extent.Text | Should Be 'ShouldProcess' + $violations[0].Extent.Text | Should -Be 'ShouldProcess' } } } \ No newline at end of file diff --git a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 index 747ef3318..15a5a3af6 100644 --- a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 +++ b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 @@ -16,7 +16,7 @@ Function New-{0} () {{ }} $scriptDef = $scriptDefinitionGeneric -f $verb It ('finds "{0}" verb in function name' -f $verb) { $violations = Invoke-ScriptAnalyzer -ScriptDefinition $scriptDef -IncludeRule $violationName - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } } @@ -26,21 +26,21 @@ Function New-{0} () {{ }} Context "When there are violations" { $numViolations = 5 It ("has {0} violations where ShouldProcess is not supported" -f $numViolations) { - $violations.Count | Should Be $numViolations + $violations.Count | Should -Be $numViolations } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } It "has the correct extent" { - $violations[0].Extent.Text | Should Be "Set-MyObject" + $violations[0].Extent.Text | Should -Be "Set-MyObject" } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 b/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 index df8bdb17b..8a8133d8d 100644 --- a/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 +++ b/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 @@ -20,15 +20,15 @@ if (-not (Test-PSEditionCoreCLR)) Describe "UseSingularNouns" { Context "When there are violations" { It "has a cmdlet singular noun violation" { - $nounViolations.Count | Should Be 1 + $nounViolations.Count | Should -Be 1 } It "has the correct description message" { - $nounViolations[0].Message | Should Match $nounViolationMessage + $nounViolations[0].Message | Should -Match $nounViolationMessage } It "has the correct extent" { - $nounViolations[0].Extent.Text | Should be "Verb-Files" + $nounViolations[0].Extent.Text | Should -Be "Verb-Files" } } @@ -44,13 +44,13 @@ Function Add-SomeData Invoke-ScriptAnalyzer -ScriptDefinition $nounViolationScript ` -IncludeRule "PSUseSingularNouns" ` -OutVariable violations - $violations.Count | Should Be 0 + $violations.Count | Should -Be 0 } } Context "When there are no violations" { It "returns no violations" { - $nounNoViolations.Count | Should Be 0 + $nounNoViolations.Count | Should -Be 0 } } } @@ -59,21 +59,21 @@ Function Add-SomeData Describe "UseApprovedVerbs" { Context "When there are violations" { It "has an approved verb violation" { - $verbViolations.Count | Should Be 1 + $verbViolations.Count | Should -Be 1 } It "has the correct description message" { - $verbViolations[0].Message | Should Match $verbViolationMessage + $verbViolations[0].Message | Should -Match $verbViolationMessage } It "has the correct extent" { - $verbViolations[0].Extent.Text | Should be "Verb-Files" + $verbViolations[0].Extent.Text | Should -Be "Verb-Files" } } Context "When there are no violations" { It "returns no violations" { - $verbNoViolations.Count | Should Be 0 + $verbNoViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/UseSupportsShouldProcess.tests.ps1 b/Tests/Rules/UseSupportsShouldProcess.tests.ps1 index b8736b4be..4606ffd7d 100644 --- a/Tests/Rules/UseSupportsShouldProcess.tests.ps1 +++ b/Tests/Rules/UseSupportsShouldProcess.tests.ps1 @@ -33,8 +33,8 @@ $s$s$s$s$s$s$s$s } "@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Should return valid correction text if whatif is the first parameter" { @@ -56,8 +56,8 @@ function foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Should return valid correction text if whatif is in the middle" { @@ -81,8 +81,8 @@ function foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } @@ -105,8 +105,8 @@ function foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } @@ -130,8 +130,8 @@ $s$s$s$s$s$s$s$s } "@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Should find violation if both Whatif and Confirm are added" { @@ -153,8 +153,8 @@ $s$s$s$s$s$s$s$s } "@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection # TODO Make test-correction extent take more than 1 corrections # or modify the rule such that it outputs only 1 correction. # Test-CorrectionExtentFromContent $def $violation 2 $expectedViolationText '' @@ -180,8 +180,8 @@ $s$s$s$s$s$s$s$s } "@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Suggests adding SupportsShouldProcess attribute, when arguments are present" { @@ -204,8 +204,8 @@ $s$s$s$s$s$s$s$s } "@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Suggests replacing function parameter declaration with a param block" { @@ -224,8 +224,8 @@ function foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Suggests replacing function parameter declaration with whatif and confirm with a param block" { @@ -244,8 +244,8 @@ function foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Suggests replacing function parameter declaration with non-contiguous whatif and confirm with a param block" { @@ -264,8 +264,8 @@ function foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } It "Suggests setting SupportsShouldProcess to `$true" { @@ -283,8 +283,8 @@ function foo { } '@ $violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings - $violations.Count | Should Be 1 - $violations[0].SuggestedCorrections[0].Text | Should Be $expectedCorrection + $violations.Count | Should -Be 1 + $violations[0].SuggestedCorrections[0].Text | Should -Be $expectedCorrection } diff --git a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 index e7a00a770..e8556ef11 100644 --- a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 +++ b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 @@ -31,28 +31,28 @@ Describe "UseManifestExportFields" { Context "Invalid manifest file" { It "does not process the manifest" { $results = Run-PSScriptAnalyzerRule $testManifestInvalidPath - $results | Should BeNullOrEmpty + $results | Should -BeNullOrEmpty } } Context "Manifest contains violations" { It "detects FunctionsToExport with wildcard" { $results = Run-PSScriptAnalyzerRule $testManifestBadFunctionsWildcardPath - $results.Count | Should be 1 - $results[0].Extent.Text | Should be "'*'" + $results.Count | Should -Be 1 + $results[0].Extent.Text | Should -Be "'*'" } It "suggests corrections for FunctionsToExport with wildcard" { $violations = Run-PSScriptAnalyzerRule $testManifestBadFunctionsWildcardPath $violationFilepath = Join-path $testManifestPath $testManifestBadFunctionsWildcardPath Test-CorrectionExtent $violationFilepath $violations[0] 1 "'*'" "@('Get-Bar', 'Get-Foo')" - $violations[0].SuggestedCorrections[0].Description | Should Be "Replace '*' with @('Get-Bar', 'Get-Foo')" + $violations[0].SuggestedCorrections[0].Description | Should -Be "Replace '*' with @('Get-Bar', 'Get-Foo')" } It "detects FunctionsToExport with null" { $results = Run-PSScriptAnalyzerRule $testManifestBadFunctionsNullPath - $results.Count | Should be 1 - $results[0].Extent.Text | Should be '$null' + $results.Count | Should -Be 1 + $results[0].Extent.Text | Should -Be '$null' } It "suggests corrections for FunctionsToExport with null and line wrapping" { @@ -65,22 +65,22 @@ Describe "UseManifestExportFields" { It "detects array element containing wildcard" { # if more than two elements contain wildcard we can show only the first one as of now. $results = Run-PSScriptAnalyzerRule $testManifestBadFunctionsWildcardInArrayPath - $results.Count | Should be 2 - ($results | Where-Object {$_.Message -match "FunctionsToExport"}).Extent.Text | Should be "'Get-*'" - ($results | Where-Object {$_.Message -match "CmdletsToExport"}).Extent.Text | Should be "'Update-*'" + $results.Count | Should -Be 2 + ($results | Where-Object {$_.Message -match "FunctionsToExport"}).Extent.Text | Should -Be "'Get-*'" + ($results | Where-Object {$_.Message -match "CmdletsToExport"}).Extent.Text | Should -Be "'Update-*'" } It "detects CmdletsToExport with wildcard" { $results = Run-PSScriptAnalyzerRule $testManifestBadCmdletsWildcardPath - $results.Count | Should be 1 - $results[0].Extent.Text | Should be "'*'" + $results.Count | Should -Be 1 + $results[0].Extent.Text | Should -Be "'*'" } It "detects AliasesToExport with wildcard" { $results = Run-PSScriptAnalyzerRule $testManifestBadAliasesWildcardPath - $results.Count | Should be 1 - $results[0].Extent.Text | Should be "'*'" + $results.Count | Should -Be 1 + $results[0].Extent.Text | Should -Be "'*'" } It "suggests corrections for AliasesToExport with wildcard" -pending:($IsLinux -or $IsMacOS) { @@ -91,14 +91,14 @@ Describe "UseManifestExportFields" { It "detects all the *ToExport violations" { $results = Run-PSScriptAnalyzerRule $testManifestBadAllPath - $results.Count | Should be 3 + $results.Count | Should -Be 3 } } Context "Manifest contains no violations" { It "detects all the *ToExport fields explicitly stating lists" { $results = Run-PSScriptAnalyzerRule $testManifestGoodPath - $results.Count | Should be 0 + $results.Count | Should -Be 0 } } @@ -108,7 +108,7 @@ Describe "UseManifestExportFields" { -Path "$directory/TestManifest/PowerShellDataFile.psd1" ` -IncludeRule "PSUseToExportFieldsInManifest" ` -OutVariable ruleViolation - $ruleViolation.Count | Should Be 0 + $ruleViolation.Count | Should -Be 0 } } } diff --git a/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 b/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 index d42d57f3b..de4808ba3 100644 --- a/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 +++ b/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 @@ -9,22 +9,22 @@ $notHelpFileViolations = Invoke-ScriptAnalyzer $directory\utf16.txt | Where-Obje Describe "UseUTF8EncodingForHelpFile" { Context "When there are violations" { It "has 1 avoid use utf8 encoding violation" { - $violations.Count | Should Be 1 + $violations.Count | Should -Be 1 } It "has the correct description message" { - $violations[0].Message | Should Match $violationMessage + $violations[0].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations for correct utf8 help file" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } It "returns no violations for utf16 file that is not a help file" { - $notHelpFileViolations.Count | Should Be 0 + $notHelpFileViolations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 b/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 index f78dff5ee..860975ef2 100644 --- a/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 +++ b/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 @@ -10,17 +10,17 @@ $noClassViolations = Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue $direct Describe "UseVerboseMessageInDSCResource" { Context "When there are violations" { It "has 2 Verbose Message violations" { - $violations.Count | Should Be 2 + $violations.Count | Should -Be 2 } It "has the correct description message" { - $violations[1].Message | Should Match $violationMessage + $violations[1].Message | Should -Match $violationMessage } } Context "When there are no violations" { It "returns no violations" { - $noViolations.Count | Should Be 0 + $noViolations.Count | Should -Be 0 } } } diff --git a/appveyor.yml b/appveyor.yml index 6de631f2b..a2f68d4de 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,9 +22,18 @@ install: $requiredPesterVersion = '4.1.1' $pester = Get-Module Pester -ListAvailable | Where-Object { $_.Version -eq $requiredPesterVersion } $pester - if ($null -eq $pester) # WMF 4 build does not have pester + if ($null -eq $pester) { - nuget install Pester -Version 4.1.1 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion + if ($null -eq (Get-Module -ListAvailable PowershellGet)) + { + # WMF 4 image build + nuget install Pester -Version $requiredPesterVersion -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion + } + else + { + # Visual Studio 2017 build (has already Pester v3, therefore a different installation mechanism is needed to make it also use the new version 4) + Install-Module -Name Pester -Force -SkipPublisherCheck -Scope CurrentUser + } } - ps: | # the legacy WMF4 image only has the old preview SDKs of dotnet @@ -39,8 +48,9 @@ install: build_script: - ps: | $PSVersionTable + Write-Verbose "Pester version: $((Get-Command Invoke-Pester).Version)" -Verbose + Write-Verbose ".NET SDK version: $(dotnet --version)" -Verbose Push-Location C:\projects\psscriptanalyzer - dotnet --version # Test build using netstandard to test whether APIs are being called that are not available in .Net Core. Remove output afterwards. .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build git clean -dfx From bdb8707b1bd5277a97b7785a8fbcb07fe5012a8c Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 26 Feb 2018 20:39:09 +0000 Subject: [PATCH 072/120] Update from Pester 4.1.1 to 4.3.1 and use new -BeTrue and -BeFalse operators (#906) * upgrade from pester v 4.1.1 to 4.3.1 and use new -BeTrue and -BeFalse assertions and remove deprecated Should -Not -Throw calls * update pester version in other files as well * Use dash for -BeTrue and -BeFalse operators. --- README.md | 2 +- Tests/Engine/Extensions.tests.ps1 | 8 +++--- Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 6 ++--- Tests/Engine/Helper.tests.ps1 | 6 ++--- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 26 +++++++++---------- Tests/Engine/ModuleHelp.Tests.ps1 | 8 +++--- Tests/Engine/Settings.tests.ps1 | 8 +++--- .../SettingsTest/Issue828/Issue828.tests.ps1 | 2 +- ...OrMissingRequiredFieldInManifest.tests.ps1 | 14 +++++----- appveyor.yml | 2 +- build.ps1 | 2 +- 11 files changed, 42 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index e1bee75aa..a1013730e 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ For adding/removing resource strings in the `*.resx` files, it is recommended to #### Tests Pester-based ScriptAnalyzer Tests are located in `path/to/PSScriptAnalyzer/Tests` folder. -* Ensure Pester 4.1.1 is installed on the machine +* Ensure [Pester 4.3.1](https://www.powershellgallery.com/packages/Pester/4.3.1) is installed * Copy `path/to/PSScriptAnalyzer/out/PSScriptAnalyzer` to a folder in `PSModulePath` * Go the Tests folder in your local repository * Run Engine Tests: diff --git a/Tests/Engine/Extensions.tests.ps1 b/Tests/Engine/Extensions.tests.ps1 index d3ff0a15a..ddb74129f 100644 --- a/Tests/Engine/Extensions.tests.ps1 +++ b/Tests/Engine/Extensions.tests.ps1 @@ -118,7 +118,7 @@ Describe "AttributeAst extension methods" { param($param1, $param2) }}.Ast.EndBlock.Statements[0] $extNamespace::IsCmdletBindingAttributeAst($funcDefnAst.Body.ParamBlock.Attributes[0]) | - Should -Be $true + Should -BeTrue } } @@ -145,7 +145,7 @@ Describe "NamedAttributeArgumentAst" { param($param1, $param2) }}.Ast.EndBlock.Statements[0].Body.ParamBlock.Attributes[0].NamedArguments[0] $expressionAst = $null - $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -Be $true + $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -BeTrue $expressionAst | Should -Be $null } @@ -156,7 +156,7 @@ Describe "NamedAttributeArgumentAst" { param($param1, $param2) }}.Ast.EndBlock.Statements[0].Body.ParamBlock.Attributes[0].NamedArguments[0] $expressionAst = $null - $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -Be $true + $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -BeTrue $expressionAst | Should -Not -Be $null } @@ -167,7 +167,7 @@ Describe "NamedAttributeArgumentAst" { param($param1, $param2) }}.Ast.EndBlock.Statements[0].Body.ParamBlock.Attributes[0].NamedArguments[0] $expressionAst = $null - $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -Be $false + $extNamespace::GetValue($attrAst, [ref]$expressionAst) | Should -BeFalse $expressionAst | Should -Not -Be $null } diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index 4717f14be..4877becdc 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -14,7 +14,7 @@ Describe "Test available parameters" { $params = $sa.Parameters Context "Name parameter" { It "has a RuleName parameter" { - $params.ContainsKey("Name") | Should -Be $true + $params.ContainsKey("Name") | Should -BeTrue } It "accepts string" { @@ -24,7 +24,7 @@ Describe "Test available parameters" { Context "RuleExtension parameters" { It "has a RuleExtension parameter" { - $params.ContainsKey("CustomRulePath") | Should -Be $true + $params.ContainsKey("CustomRulePath") | Should -BeTrue } It "accepts string array" { @@ -32,7 +32,7 @@ Describe "Test available parameters" { } It "takes CustomizedRulePath parameter as an alias of CustomRulePath parameter" { - $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should -Be $true + $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should -BeTrue } } diff --git a/Tests/Engine/Helper.tests.ps1 b/Tests/Engine/Helper.tests.ps1 index 9b85114c1..726b59708 100644 --- a/Tests/Engine/Helper.tests.ps1 +++ b/Tests/Engine/Helper.tests.ps1 @@ -20,12 +20,12 @@ Describe "Test Directed Graph" { It "correctly adds the edges" { $digraph.GetOutDegree('v1') | Should -Be 2 $neighbors = $digraph.GetNeighbors('v1') - $neighbors -contains 'v2' | Should -Be $true - $neighbors -contains 'v5' | Should -Be $true + $neighbors -contains 'v2' | Should -BeTrue + $neighbors -contains 'v5' | Should -BeTrue } It "finds the connection" { - $digraph.IsConnected('v1', 'v4') | Should -Be $true + $digraph.IsConnected('v1', 'v4') | Should -BeTrue } } } \ No newline at end of file diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 2b03bc5e1..a5e6f0690 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -21,7 +21,7 @@ Describe "Test available parameters" { $params = $sa.Parameters Context "Path parameter" { It "has a Path parameter" { - $params.ContainsKey("Path") | Should -Be $true + $params.ContainsKey("Path") | Should -BeTrue } It "accepts string" { @@ -31,7 +31,7 @@ Describe "Test available parameters" { Context "Path parameter" { It "has a ScriptDefinition parameter" { - $params.ContainsKey("ScriptDefinition") | Should -Be $true + $params.ContainsKey("ScriptDefinition") | Should -BeTrue } It "accepts string" { @@ -41,7 +41,7 @@ Describe "Test available parameters" { Context "CustomRulePath parameters" { It "has a CustomRulePath parameter" { - $params.ContainsKey("CustomRulePath") | Should -Be $true + $params.ContainsKey("CustomRulePath") | Should -BeTrue } It "accepts a string array" { @@ -49,13 +49,13 @@ Describe "Test available parameters" { } It "has a CustomizedRulePath alias"{ - $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should -Be $true + $params.CustomRulePath.Aliases.Contains("CustomizedRulePath") | Should -BeTrue } } Context "IncludeRule parameters" { It "has an IncludeRule parameter" { - $params.ContainsKey("IncludeRule") | Should -Be $true + $params.ContainsKey("IncludeRule") | Should -BeTrue } It "accepts string array" { @@ -65,7 +65,7 @@ Describe "Test available parameters" { Context "Severity parameters" { It "has a severity parameters" { - $params.ContainsKey("Severity") | Should -Be $true + $params.ContainsKey("Severity") | Should -BeTrue } It "accepts string array" { @@ -77,7 +77,7 @@ Describe "Test available parameters" { { Context "SaveDscDependency parameter" { It "has the parameter" { - $params.ContainsKey("SaveDscDependency") | Should -Be $true + $params.ContainsKey("SaveDscDependency") | Should -BeTrue } It "is a switch parameter" { @@ -100,7 +100,7 @@ Describe "Test available parameters" { } } - $hasFile | Should -Be $true + $hasFile | Should -BeTrue } It "Has ScriptDefinition parameter set" { @@ -112,7 +112,7 @@ Describe "Test available parameters" { } } - $hasFile | Should -Be $true + $hasFile | Should -BeTrue } } @@ -132,7 +132,7 @@ Describe "Test Path" { It "Has the same effect as without Path parameter" { $withPath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 $withoutPath = Invoke-ScriptAnalyzer -Path $directory\TestScript.ps1 - $withPath.Count -eq $withoutPath.Count | Should -Be $true + $withPath.Count -eq $withoutPath.Count | Should -BeTrue } It "Does not run rules on script with more than 10 parser errors" { @@ -199,7 +199,7 @@ Describe "Test Path" { $withPathWithDirectory = Invoke-ScriptAnalyzer -Recurse -Path $directory\RecursionDirectoryTest It "Has the same count as without Path parameter"{ - $withoutPathWithDirectory.Count -eq $withPathWithDirectory.Count | Should -Be $true + $withoutPathWithDirectory.Count -eq $withPathWithDirectory.Count | Should -BeTrue } It "Analyzes all the files" { @@ -209,7 +209,7 @@ Describe "Test Path" { Write-Output $globalVarsViolation.Count Write-Output $clearHostViolation.Count Write-Output $writeHostViolation.Count - $globalVarsViolation.Count -eq 1 -and $writeHostViolation.Count -eq 1 | Should -Be $true + $globalVarsViolation.Count -eq 1 -and $writeHostViolation.Count -eq 1 | Should -BeTrue } } } @@ -231,7 +231,7 @@ Describe "Test ExcludeRule" { It "does not exclude any rules" { $noExclude = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 $withExclude = Invoke-ScriptAnalyzer $directory\..\Rules\BadCmdlet.ps1 -ExcludeRule "This is a wrong rule" - $withExclude.Count -eq $noExclude.Count | Should -Be $true + $withExclude.Count -eq $noExclude.Count | Should -BeTrue } } diff --git a/Tests/Engine/ModuleHelp.Tests.ps1 b/Tests/Engine/ModuleHelp.Tests.ps1 index 37b3e8211..a38c6b37b 100644 --- a/Tests/Engine/ModuleHelp.Tests.ps1 +++ b/Tests/Engine/ModuleHelp.Tests.ps1 @@ -33,8 +33,8 @@ Enter the version of the module to test. This parameter is optional. If you omit it, the test runs on the latest version of the module in $env:PSModulePath. .EXAMPLE -.\Module.Help.Tests.ps1 -ModuleName Pester -RequiredVersion 4.1.1 -This command runs the tests on the commands in Pester 4.1.1. +.\Module.Help.Tests.ps1 -ModuleName Pester -RequiredVersion 4.3.1 +This command runs the tests on the commands in Pester 4.3.1. .EXAMPLE .\Module.Help.Tests.ps1 -ModuleName Pester @@ -63,7 +63,7 @@ Param $RequiredVersion ) -# #Requires -Module @{ModuleName = 'Pester'; ModuleVersion = '4.1.1'} +# #Requires -Module @{ModuleName = 'Pester'; ModuleVersion = '4.3.1'} <# .SYNOPSIS @@ -310,7 +310,7 @@ foreach ($command in $commands) { } # Shouldn't find extra parameters in help. It "finds help parameter in code: $helpParm" { - $helpParm -in $parameterNames | Should -Be $true + $helpParm -in $parameterNames | Should -BeTrue } } } diff --git a/Tests/Engine/Settings.tests.ps1 b/Tests/Engine/Settings.tests.ps1 index 433a41994..5e6aff7f0 100644 --- a/Tests/Engine/Settings.tests.ps1 +++ b/Tests/Engine/Settings.tests.ps1 @@ -111,7 +111,7 @@ Describe "Settings Class" { } It "Should parse boolean type argument" { - $settings.RuleArguments["PSUseConsistentIndentation"]["Enable"] | Should -Be $true + $settings.RuleArguments["PSUseConsistentIndentation"]["Enable"] | Should -BeTrue } It "Should parse int type argument" { @@ -162,7 +162,7 @@ Describe "Settings Class" { $settingsHashtable.Add($paramName, $true) $settings = New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable - $settings."$paramName" | Should -Be $true + $settings."$paramName" | Should -BeTrue } It "Should correctly set the value if a boolean is given - false" { @@ -170,7 +170,7 @@ Describe "Settings Class" { $settingsHashtable.Add($paramName, $false) $settings = New-Object -TypeName $settingsTypeName -ArgumentList $settingsHashtable - $settings."$paramName" | Should -Be $false + $settings."$paramName" | Should -BeFalse } It "Should throw if a non-boolean value is given" { @@ -183,7 +183,7 @@ Describe "Settings Class" { It "Should detect the parameter in a settings file" { $settings = New-Object -TypeName $settingsTypeName ` -ArgumentList ([System.IO.Path]::Combine($project1Root, "CustomRulePathSettings.psd1")) - $settings."$paramName" | Should -Be $true + $settings."$paramName" | Should -BeTrue } } } diff --git a/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 b/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 index 8886eca8c..f3889faf9 100644 --- a/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 +++ b/Tests/Engine/SettingsTest/Issue828/Issue828.tests.ps1 @@ -22,6 +22,6 @@ Describe "Issue 828: No NullReferenceExceptionin AlignAssignmentStatement rule w Set-Location $initialLocation } - $cmdletThrewError | Should -Be $false + $cmdletThrewError | Should -BeFalse } } \ No newline at end of file diff --git a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 index ff2322088..4e5c1bfbb 100644 --- a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 +++ b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 @@ -52,39 +52,39 @@ ModuleVersion = '1.0.0.0' Context "When an .psd1 file doesn't contain a hashtable" { It "does not throw exception" { - {Invoke-ScriptAnalyzer -Path $noHashtableFilepath -IncludeRule $missingMemberRuleName} | Should -Not -Throw + Invoke-ScriptAnalyzer -Path $noHashtableFilepath -IncludeRule $missingMemberRuleName } } Context "Validate the contents of a .psd1 file" { It "detects a valid module manifest file" { $filepath = Join-Path $directory "TestManifest/ManifestGood.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -BeTrue } It "detects a .psd1 file which is not module manifest" { $filepath = Join-Path $directory "TestManifest/PowerShellDataFile.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -Be $false + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -BeFalse } It "detects valid module manifest file for PSv5" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv5.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"5.0.0") | Should -BeTrue } It "does not validate PSv5 module manifest file for PSv3 check" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv5.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should -Be $false + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should -BeFalse } It "detects valid module manifest file for PSv4" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv4.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"4.0.0") | Should -Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"4.0.0") | Should -BeTrue } It "detects valid module manifest file for PSv3" { $filepath = Join-Path $directory "TestManifest/ManifestGoodPsv3.psd1" - [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should -Be $true + [Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper]::IsModuleManifest($filepath, [version]"3.0.0") | Should -BeTrue } } diff --git a/appveyor.yml b/appveyor.yml index a2f68d4de..9e5302718 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,7 +19,7 @@ cache: install: - ps: nuget install platyPS -Version 0.9.0 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion - ps: | - $requiredPesterVersion = '4.1.1' + $requiredPesterVersion = '4.3.1' $pester = Get-Module Pester -ListAvailable | Where-Object { $_.Version -eq $requiredPesterVersion } $pester if ($null -eq $pester) diff --git a/build.ps1 b/build.ps1 index 40e9c02d6..2dce30396 100644 --- a/build.ps1 +++ b/build.ps1 @@ -132,7 +132,7 @@ if ($Install) if ($Test) { - Import-Module -Name Pester -MinimumVersion 4.1.1 -ErrorAction Stop + Import-Module -Name Pester -MinimumVersion 4.3.1 -ErrorAction Stop Function GetTestRunnerScriptContent($testPath) { $x = @" From 30eb91a2e4bce7fb569fdfbf54bb0344855977ac Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 26 Feb 2018 23:28:49 +0000 Subject: [PATCH 073/120] Fix AvoidDefaultValueForMandatoryParameter documentation, rule and tests (#907) * make AvoidDefaultValueForMandatoryParameter also warn when not using cmdletbinding and fix documentation: TODO: tidy up tests * adapt tests --- .../AvoidDefaultValueForMandatoryParameter.md | 26 +++++++----- .../AvoidDefaultValueForMandatoryParameter.cs | 25 ++--------- ...AvoidDefaultValueForMandatoryParameter.ps1 | 42 ------------------- ...efaultValueForMandatoryParameter.tests.ps1 | 22 +++++----- ...ValueForMandatoryParameterNoViolations.ps1 | 19 --------- 5 files changed, 32 insertions(+), 102 deletions(-) delete mode 100644 Tests/Rules/AvoidDefaultValueForMandatoryParameter.ps1 delete mode 100644 Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 diff --git a/RuleDocumentation/AvoidDefaultValueForMandatoryParameter.md b/RuleDocumentation/AvoidDefaultValueForMandatoryParameter.md index 70f56f783..6b1a3eb57 100644 --- a/RuleDocumentation/AvoidDefaultValueForMandatoryParameter.md +++ b/RuleDocumentation/AvoidDefaultValueForMandatoryParameter.md @@ -4,29 +4,35 @@ ## Description -Just like non-global scoped variables, parameters must have a default value if they are not mandatory, i.e `Mandatory=$false`. -Having optional parameters without default values leads to uninitialized variables leading to potential bugs. - -## How - -Specify a default value for all parameters that are not mandatory. +Mandatory parameters should not have a default values because there is no scenario where the default can be used because `PowerShell` will prompt anyway if the parameter value is not specified when calling the function. ## Example ### Wrong ``` PowerShell -function Test($Param1) +function Test { - $Param1 + + [CmdletBinding()] + Param + ( + [Parameter(Mandatory=$true)] + $Parameter1 = 'default Value' + ) } ``` ### Correct ``` PowerShell -function Test($Param1 = $null) +function Test { - $Param1 + [CmdletBinding()] + Param + ( + [Parameter(Mandatory=$true)] + $Parameter1 + ) } ``` diff --git a/Rules/AvoidDefaultValueForMandatoryParameter.cs b/Rules/AvoidDefaultValueForMandatoryParameter.cs index e3a9d63f4..cb7aa31a4 100644 --- a/Rules/AvoidDefaultValueForMandatoryParameter.cs +++ b/Rules/AvoidDefaultValueForMandatoryParameter.cs @@ -1,19 +1,8 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; -using System.Linq; using System.Collections.Generic; -using System.Management.Automation; using System.Management.Automation.Language; #if !CORECLR using System.ComponentModel.Composition; @@ -24,7 +13,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { /// - /// ProvideDefaultParameterValue: Check if any uninitialized variable is used. + /// AvoidDefaultValueForMandatoryParameter: Check if a mandatory parameter does not have a default value. /// #if !CORECLR [Export(typeof(IScriptRule))] @@ -32,7 +21,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules public class AvoidDefaultValueForMandatoryParameter : IScriptRule { /// - /// AnalyzeScript: Check if any uninitialized variable is used. + /// AnalyzeScript: Check if a mandatory parameter has a default value. /// public IEnumerable AnalyzeScript(Ast ast, string fileName) { @@ -46,12 +35,6 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) if (funcAst.Body != null && funcAst.Body.ParamBlock != null && funcAst.Body.ParamBlock.Attributes != null && funcAst.Body.ParamBlock.Parameters != null) { - // only raise this rule for function with cmdletbinding - if (!funcAst.Body.ParamBlock.Attributes.Any(attr => attr.TypeName.GetReflectionType() == typeof(CmdletBindingAttribute))) - { - continue; - } - foreach (var paramAst in funcAst.Body.ParamBlock.Parameters) { bool mandatory = false; diff --git a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.ps1 b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.ps1 deleted file mode 100644 index d1cccd86b..000000000 --- a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.ps1 +++ /dev/null @@ -1,42 +0,0 @@ -function BadFunc -{ - [CmdletBinding()] - param( - # this one has default value - [Parameter(Mandatory=$true)] - [ValidateNotNullOrEmpty()] - [string] - $Param1="String", - # this parameter has no default value - [Parameter(Mandatory=$false)] - [ValidateNotNullOrEmpty()] - [string] - $Param2 - ) - $Param1 - $Param1 = "test" -} - -function GoodFunc1($Param1) -{ - $Param1 -} - -# same as BadFunc but this one has no cmdletbinding -function GoodFunc2 -{ - param( - # this one has default value - [Parameter(Mandatory=$true)] - [ValidateNotNullOrEmpty()] - [string] - $Param1="String", - # this parameter has no default value - [Parameter(Mandatory=$false)] - [ValidateNotNullOrEmpty()] - [string] - $Param2 - ) - $Param1 - $Param1 = "test" -} \ No newline at end of file diff --git a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 index 1f1e205be..a303083e8 100644 --- a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 +++ b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 @@ -1,24 +1,26 @@ Import-Module PSScriptAnalyzer -$violationName = "PSAvoidDefaultValueForMandatoryParameter" -$violationMessage = "Mandatory Parameter 'Param1' is initialized in the Param block. To fix a violation of this rule, please leave it unintialized." -$directory = Split-Path -Parent $MyInvocation.MyCommand.Path -$violations = Invoke-ScriptAnalyzer "$directory\AvoidDefaultValueForMandatoryParameter.ps1" | Where-Object {$_.RuleName -match $violationName} -$noViolations = Invoke-ScriptAnalyzer "$directory\AvoidDefaultValueForMandatoryParameterNoViolations.ps1" +$ruleName = 'PSAvoidDefaultValueForMandatoryParameter' Describe "AvoidDefaultValueForMandatoryParameter" { Context "When there are violations" { - It "has 1 provide default value for mandatory parameter violation" { + It "has 1 provide default value for mandatory parameter violation with CmdletBinding" { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'Function foo{ [CmdletBinding()]Param([Parameter(Mandatory)]$Param1=''defaultValue'') }' | + Where-Object { $_.RuleName -eq $ruleName } $violations.Count | Should -Be 1 } - It "has the correct description message" { - $violations[0].Message | Should -Match $violationMessage + It "has 1 provide default value for mandatory=$true parameter violation without CmdletBinding" { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'Function foo{ Param([Parameter(Mandatory=$true)]$Param1=''defaultValue'') }' | + Where-Object { $_.RuleName -eq $ruleName } + $violations.Count | Should -Be 1 } } Context "When there are no violations" { - It "returns no violations" { - $noViolations.Count | Should -Be 0 + It "has 1 provide default value for mandatory parameter violation" { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'Function foo{ Param([Parameter(Mandatory=$false)]$Param1=''val1'', [Parameter(Mandatory)]$Param2=''val2'', $Param3=''val3'') }' | + Where-Object { $_.RuleName -eq $ruleName } + $violations.Count | Should -Be 0 } } } \ No newline at end of file diff --git a/Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 b/Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 deleted file mode 100644 index 0215f9252..000000000 --- a/Tests/Rules/AvoidDefaultValueForMandatoryParameterNoViolations.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -function GoodFunc -{ - param( - [Parameter(Mandatory=$true)] - [ValidateNotNullOrEmpty()] - [string] - $Param1, - [Parameter(Mandatory=$false)] - [ValidateNotNullOrEmpty()] - [string] - $Param2=$null - ) - $Param1 -} - -function GoodFunc2($Param1 = $null) -{ - $Param1 -} \ No newline at end of file From cad6f47532efc19927ec6c9dfb69b65fa03d7593 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 27 Feb 2018 20:05:55 +0000 Subject: [PATCH 074/120] Shorten contribution section in ReadMe and make it more friendly (#911) * shorten contribution guide and make it more friendly * tewak * fix table of contents --- README.md | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index a1013730e..b72ea98df 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Table of Contents - [ScriptAnalyzer as a .NET library](#scriptanalyzer-as-a-net-library) - [Violation Correction](#violation-correction) - [Project Management Dashboard](#project-management-dashboard) -- [Contributing to ScriptAnalyzer](#contributing-to-scriptanalyzer) +- [Contributions are welcome](#contributions-are-welcome) - [Creating a Release](#creating-a-release) - [Code of Conduct](#code-of-conduct) @@ -349,26 +349,15 @@ Throughput Graph [Back to ToC](#table-of-contents) -Contributing to ScriptAnalyzer +Contributions are welcome ============================== -You are welcome to contribute to this project. There are many ways to contribute: - -1. Submit a bug report via [Issues]( https://github.com/PowerShell/PSScriptAnalyzer/issues). For a guide to submitting good bug reports, please read [Painless Bug Tracking](https://www.joelonsoftware.com/articles/fog0000000029.html). -2. Verify fixes for bugs. -3. Submit your fixes for a bug. Before submitting, please make sure you have: - * Performed code reviews of your own - * Updated the test cases if needed - * Run the test cases to ensure no feature breaks or test breaks - * Added the test cases for new code -4. Submit a feature request. -5. Help answer questions in the discussions list. -6. Submit test cases. -7. Tell others about the project. -8. Tell the developers how much you appreciate the product! - -You might also read these two blog posts about contributing code: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza, and [Don’t “Push” Your Pull Requests](https://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik. - -Before submitting a feature or substantial code contribution, please discuss it with the Windows PowerShell team via [Issues](https://github.com/PowerShell/PSScriptAnalyzer/issues), and ensure it follows the product roadmap. Note that all code submissions will be rigorously reviewed by the Windows PowerShell Team. Only those that meet a high bar for both quality and roadmap fit will be merged into the source. + +There are many ways to contribute: + +1. Open a new bug report, feature request or just ask a question by opening a new issue [here]( https://github.com/PowerShell/PSScriptAnalyzer/issues/new). +2. Participate in the discussions of [issues](https://github.com/PowerShell/PSScriptAnalyzer/issues), [pull requests](https://github.com/PowerShell/PSScriptAnalyzer/pulls) and verify/test fixes or new features. +3. Submit your own fixes or features as a pull request but please discuss it beforehand in an issue if the change is substantial. +4. Submit test cases. [Back to ToC](#table-of-contents) From d4ba9470fa5677ea95266b8334ebaf8681650b6c Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 28 Feb 2018 18:01:52 +0000 Subject: [PATCH 075/120] Allow relative settings path (#909) * make it possible to use relative path for -Settings switch * add test for using relative settings path * use improved path resolving approach in settings class * tidy up of comments/space --- Engine/Commands/InvokeFormatterCommand.cs | 16 ++-------- .../Commands/InvokeScriptAnalyzerCommand.cs | 29 +++++-------------- Engine/Generic/PathResolver.cs | 19 ++++++++++++ Engine/Settings.cs | 24 +++++++-------- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 12 ++++++++ 5 files changed, 52 insertions(+), 48 deletions(-) create mode 100644 Engine/Generic/PathResolver.cs diff --git a/Engine/Commands/InvokeFormatterCommand.cs b/Engine/Commands/InvokeFormatterCommand.cs index 5d9723df0..23d19284c 100644 --- a/Engine/Commands/InvokeFormatterCommand.cs +++ b/Engine/Commands/InvokeFormatterCommand.cs @@ -1,18 +1,8 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Globalization; -using System.Linq; using System.Management.Automation; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands @@ -91,7 +81,7 @@ protected override void BeginProcessing() this.range = Range == null ? null : new Range(Range[0], Range[1], Range[2], Range[3]); try { - inputSettings = PSSASettings.Create(Settings, this.MyInvocation.PSScriptRoot, this); + inputSettings = PSSASettings.Create(Settings, this.MyInvocation.PSScriptRoot, this, GetResolvedProviderPathFromPSPath); } catch (Exception e) { diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index 7f7a76a41..bef7a7b78 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -1,32 +1,16 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; using System; -using System.ComponentModel; +using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Management.Automation; -using System.Management.Automation.Language; -using System.IO; -using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; -using System.Threading.Tasks; -using System.Collections.Concurrent; -using System.Threading; using System.Management.Automation.Runspaces; -using System.Collections; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands { @@ -296,7 +280,8 @@ protected override void BeginProcessing() var settingsObj = PSSASettings.Create( settings, processedPaths == null || processedPaths.Count == 0 ? null : processedPaths[0], - this); + this, + GetResolvedProviderPathFromPSPath); if (settingsObj != null) { ScriptAnalyzer.Instance.UpdateSettings(settingsObj); diff --git a/Engine/Generic/PathResolver.cs b/Engine/Generic/PathResolver.cs new file mode 100644 index 000000000..86e2b7ab4 --- /dev/null +++ b/Engine/Generic/PathResolver.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic +{ + internal static class PathResolver + { + /// + /// A shim around the GetResolvedProviderPathFromPSPath method from PSCmdlet to resolve relative path including wildcard support. + /// + /// + /// + /// + /// + /// + /// + internal delegate GetResolvedProviderPathFromPSPathDelegate GetResolvedProviderPathFromPSPath(@string input, out ProviderInfo output); + } +} diff --git a/Engine/Settings.cs b/Engine/Settings.cs index c34631183..0947b77d8 100644 --- a/Engine/Settings.cs +++ b/Engine/Settings.cs @@ -1,21 +1,15 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; using System; using System.Collections; using System.Collections.Generic; +using System.Collections.ObjectModel; using System.Globalization; using System.IO; using System.Linq; +using System.Management.Automation; using System.Management.Automation.Language; using System.Reflection; @@ -183,8 +177,10 @@ public static string GetSettingPresetFilePath(string settingPreset) /// An input object of type Hashtable or string. /// The path in which to search for a settings file. /// An output writer. + /// The GetResolvedProviderPathFromPSPath method from PSCmdlet to resolve relative path including wildcard support. /// An object of Settings type. - public static Settings Create(object settingsObj, string cwd, IOutputWriter outputWriter) + internal static Settings Create(object settingsObj, string cwd, IOutputWriter outputWriter, + PathResolver.GetResolvedProviderPathFromPSPath> getResolvedProviderPathFromPSPathDelegate) { object settingsFound; var settingsMode = FindSettingsMode(settingsObj, cwd, out settingsFound); @@ -206,11 +202,13 @@ public static Settings Create(object settingsObj, string cwd, IOutputWriter outp case SettingsMode.Preset: case SettingsMode.File: + var resolvedPath = getResolvedProviderPathFromPSPathDelegate(settingsFound.ToString(), out ProviderInfo providerInfo).Single(); + settingsFound = resolvedPath; outputWriter?.WriteVerbose( String.Format( CultureInfo.CurrentCulture, Strings.SettingsUsingFile, - (string)settingsFound)); + resolvedPath)); break; case SettingsMode.Hashtable: diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index a5e6f0690..e358d42c5 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -385,6 +385,18 @@ Describe "Test CustomizedRulePath" { if (!$testingLibraryUsage) { Context "When used from settings file" { + It "Should process relative settings path" { + try { + $initialLocation = Get-Location + Set-Location $PSScriptRoot + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'gci' -Settings .\SettingsTest\..\SettingsTest\Project1\PSScriptAnalyzerSettings.psd1 + $warnings.Count | Should -Be 1 + } + finally { + Set-Location $initialLocation + } + } + It "Should use the CustomRulePath parameter" { $settings = @{ CustomRulePath = "$directory\CommunityAnalyzerRules" From 304d3006802b24f40ec49e68cc285266d4a178a8 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 2 Mar 2018 20:12:13 +0000 Subject: [PATCH 076/120] Remove old, redundant DNX relict (#912) --- Rules/Rules.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index 40a21d218..ff7d93bec 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -5,7 +5,7 @@ netstandard1.6;net451 Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules Rules - $(PackageTargetFallback);dnxcore50 + $(PackageTargetFallback) 1.0.4 Microsoft.Windows.PowerShell.ScriptAnalyzer From 367384a67182f5bbb6c35fcb4e0beb790e152f86 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 2 Mar 2018 20:13:26 +0000 Subject: [PATCH 077/120] Finalise new -ReportSummary switch (#895) * added -ReportSummary switch to emit an additional single line count of error, warning, and info results * changing ReportSummary to write-host * Add markdown file fix and test library mock for new -ReportSummary switch * tweak reportSummary and add test * convert tabs to spaces for consistency * poke build * update to pester v4 syntax * use built in warning/error methods to get colouring to work in a user setting agnostic way * try using helper class because writeerrorline did not work in CI * make one helper private and add licence header --- .../Commands/InvokeScriptAnalyzerCommand.cs | 52 +++++++++++++++++++ Engine/Generic/ConsoleHostHelper.cs | 46 ++++++++++++++++ Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 12 +++++ Tests/Engine/LibraryUsage.tests.ps1 | 20 ++++++- docs/markdown/Invoke-ScriptAnalyzer.md | 19 ++++++- 5 files changed, 145 insertions(+), 4 deletions(-) create mode 100644 Engine/Generic/ConsoleHostHelper.cs diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index bef7a7b78..723c540b9 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -227,7 +227,19 @@ public SwitchParameter AttachAndDebug set { attachAndDebug = value; } } private bool attachAndDebug = false; + #endif + /// + /// Write a summary of rule violations to the host, which might be undesirable in some cases, therefore this switch is optional. + /// + [Parameter(Mandatory = false)] + public SwitchParameter ReportSummary + { + get { return reportSummary; } + set { reportSummary = value; } + } + private SwitchParameter reportSummary; + #endregion Parameters #region Overrides @@ -409,9 +421,49 @@ private void WriteToOutput(IEnumerable diagnosticRecords) { foreach (ILogger logger in ScriptAnalyzer.Instance.Loggers) { + var errorCount = 0; + var warningCount = 0; + var infoCount = 0; + foreach (DiagnosticRecord diagnostic in diagnosticRecords) { logger.LogObject(diagnostic, this); + switch (diagnostic.Severity) + { + case DiagnosticSeverity.Information: + infoCount++; + break; + case DiagnosticSeverity.Warning: + warningCount++; + break; + case DiagnosticSeverity.Error: + errorCount++; + break; + default: + throw new ArgumentOutOfRangeException(nameof(diagnostic.Severity), $"Severity '{diagnostic.Severity}' is unknown"); + } + } + + if (ReportSummary.IsPresent) + { + var numberOfRuleViolations = infoCount + warningCount + errorCount; + if (numberOfRuleViolations == 0) + { + Host.UI.WriteLine("0 rule violations found."); + } + else + { + var pluralS = numberOfRuleViolations > 1 ? "s" : string.Empty; + var message = $"{numberOfRuleViolations} rule violation{pluralS} found. Severity distribution: {DiagnosticSeverity.Error} = {errorCount}, {DiagnosticSeverity.Warning} = {warningCount}, {DiagnosticSeverity.Information} = {infoCount}"; + if (warningCount + errorCount == 0) + { + ConsoleHostHelper.DisplayMessageUsingSystemProperties(Host, "WarningForegroundColor", "WarningBackgroundColor", message); + } + else + { + ConsoleHostHelper.DisplayMessageUsingSystemProperties(Host, "ErrorForegroundColor", "ErrorBackgroundColor", message); + } + } } } diff --git a/Engine/Generic/ConsoleHostHelper.cs b/Engine/Generic/ConsoleHostHelper.cs new file mode 100644 index 000000000..961962fd2 --- /dev/null +++ b/Engine/Generic/ConsoleHostHelper.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Management.Automation.Host; + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic +{ + internal static class ConsoleHostHelper + { + internal static void DisplayMessageUsingSystemProperties(PSHost psHost, string foregroundColorPropertyName, string backgroundPropertyName, string message) + { + var gotForegroundColor = TryGetPrivateDataConsoleColor(psHost, foregroundColorPropertyName, out ConsoleColor foregroundColor); + var gotBackgroundColor = TryGetPrivateDataConsoleColor(psHost, backgroundPropertyName, out ConsoleColor backgroundColor); + if (gotForegroundColor && gotBackgroundColor) + { + psHost.UI.WriteLine(foregroundColor: foregroundColor, backgroundColor: backgroundColor, value: message); + } + else + { + psHost.UI.WriteLine(message); + } + } + + private static bool TryGetPrivateDataConsoleColor(PSHost psHost, string propertyName, out ConsoleColor consoleColor) + { + consoleColor = default(ConsoleColor); + var property = psHost.PrivateData.Properties[propertyName]; + if (property == null) + { + return false; + } + + try + { + consoleColor = (ConsoleColor)Enum.Parse(typeof(ConsoleColor), property.Value.ToString(), true); + } + catch (InvalidCastException) + { + return false; + } + + return true; + } + } +} diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index e358d42c5..9461ce18a 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -516,4 +516,16 @@ Describe "Test -EnableExit Switch" { powershell -Command 'Import-Module PSScriptAnalyzer; Invoke-ScriptAnalyzer -ScriptDefinition gci -EnableExit' $LASTEXITCODE | Should -Be 1 } + + Describe "-ReportSummary switch" { + $reportSummaryFor1Warning = '*1 rule violation found. Severity distribution: Error = 0, Warning = 1, Information = 0*' + It "prints the correct report summary using the -NoReportSummary switch" { + $result = powershell -command 'Invoke-Scriptanalyzer -ScriptDefinition gci -ReportSummary' + "$result" | Should -BeLike $reportSummaryFor1Warning + } + It "does not print the report summary when not using -NoReportSummary switch" { + $result = powershell -command 'Invoke-Scriptanalyzer -ScriptDefinition gci' + "$result" | Should -Not -BeLike $reportSummaryFor1Warning + } + } } diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index 3bf7890bd..68f3b68ee 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -52,10 +52,13 @@ function Invoke-ScriptAnalyzer { [Parameter(Mandatory = $false)] [switch] $Fix, + + [Parameter(Mandatory = $false)] + [switch] $EnableExit, [Parameter(Mandatory = $false)] - [switch] $EnableExit - ) + [switch] $ReportSummary + ) if ($null -eq $CustomRulePath) { @@ -98,6 +101,19 @@ function Invoke-ScriptAnalyzer { } $results + + if ($ReportSummary.IsPresent) + { + if ($null -ne $results) + { + # This is not the exact message that it would print but close enough + Write-Host "$($results.Count) rule violations found. Severity distribution: Error = 1, Warning = 3, Information = 5" -ForegroundColor Red + } + else + { + Write-Host '0 rule violations found.' -ForegroundColor Green + } + } if ($EnableExit.IsPresent -and $null -ne $results) { diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index c742babe8..85952aafe 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -12,14 +12,14 @@ Evaluates a script or module based on selected best practice rules ### UNNAMED_PARAMETER_SET_1 ``` Invoke-ScriptAnalyzer [-Path] [-CustomRulePath ] [-RecurseCustomRulePath] - [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-Fix] [-EnableExit] + [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-Fix] [-EnableExit] [-ReportSummary] [-Settings ] ``` ### UNNAMED_PARAMETER_SET_2 ``` Invoke-ScriptAnalyzer [-ScriptDefinition] [-CustomRulePath ] [-RecurseCustomRulePath] - [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-EnableExit] + [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-EnableExit] [-ReportSummary] [-Settings ] ``` @@ -432,6 +432,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ReportSummary +Writes a report summary of the found warnings to the host. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Settings File path that contains user profile or hash table for ScriptAnalyzer From 6421cc9c1de5112a03af6fd68bc6f9dab86c619c Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sun, 4 Mar 2018 02:08:29 +0000 Subject: [PATCH 078/120] Remove redundant Readme of RuleDocumentation folder, which is out of date, a maintenance burden and does not provide more useful information other than the severity. Command like Get-ScriptAnalyzerRule are better suited for this (#918) --- RuleDocumentation/README.md | 55 ------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 RuleDocumentation/README.md diff --git a/RuleDocumentation/README.md b/RuleDocumentation/README.md deleted file mode 100644 index 443d5bc26..000000000 --- a/RuleDocumentation/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# PowerShell Script Analyzer Rules - -## Table of Contents - -| Rule | Severity | -|------|----------------------------------| -|[AvoidAlias](./AvoidAlias.md) | Warning | -|[AvoidDefaultTrueValueSwitchParameter](./AvoidDefaultTrueValueSwitchParameter.md) | Warning| -|[AvoidEmptyCatchBlock](./AvoidEmptyCatchBlock.md) | Warning| -|[AvoidGlobalVars](./AvoidGlobalVars.md) | Warning| -|[AvoidInvokingEmptyMembers](./AvoidInvokingEmptyMembers.md) | Warning| -|[AvoidNullOrEmptyHelpMessageAttribute](./AvoidNullOrEmptyHelpMessageAttribute.md) | Warning| -|[AvoidReservedCharInCmdlet](./AvoidReservedCharInCmdlet.md) | Error | -|[AvoidReservedParams](./AvoidReservedParams.md) | Error | -|[AvoidShouldContinueWithoutForce](./AvoidShouldContinueWithoutForce.md) | Warning| -|[AvoidTrapStatement](./AvoidTrapStatement.md) | Warning| -|[AvoidUninitializedVariable](./AvoidUninitializedVariable.md) | Warning| -|[AvoidUsingComputerNameHardcoded](./AvoidUsingComputerNameHardcoded.md) | Error | -|[AvoidUsingConvertToSecureStringWithPlainText](./AvoidUsingConvertToSecureStringWithPlainText.md) | Error | -|[AvoidUsingDeprecatedManifestFields](./AvoidUsingDeprecatedManifestFields.md) | Warning| -|[AvoidUsingFilePath](./AvoidUsingFilePath.md) | Error | -|[AvoidUsingInvokeExpression](./AvoidUsingInvokeExpression.md) | Warning| -|[AvoidUsingPlainTextForPassword](./AvoidUsingPlainTextForPassword.md) | Warning| -|[AvoidUsingPositionalParameters](./AvoidUsingPositionalParameters.md) | Warning| -|[AvoidUsingUsernameAndPasswordParams](./AvoidUsingUsernameAndPasswordParams.md) | Error | -|[AvoidUsingWMICmdlet](./AvoidUsingWMICmdlet.md) | Warning| -|[AvoidUsingWriteHost](./AvoidUsingWriteHost.md) | Warning| -|[DscExamplesPresent](./DscExamplesPresent.md) | Information | -|[DscTestsPresent](./DscTestsPresent.md) | Information | -|[MissingModuleManifestField](./MissingModuleManifestField.md) | Warning| -|[PossibleIncorrectComparisonWithNull](./PossibleIncorrectComparisonWithNull.md) | Warning| -|[ProvideCommentHelp](./ProvideCommentHelp.md) | Information| -|[ProvideDefaultParameterValue](./ProvideDefaultParameterValue.md) | Warning| -|[ProvideVerboseMessage](./ProvideVerboseMessage.md) | Information | -|[ReturnCorrectTypeDSCFunctions](./ReturnCorrectTypeDSCFunctions.md) | Information | -|[UseApprovedVerbs](./UseApprovedVerbs.md) | Warning| -|[UseBOMForUnicodeEncodedFile](./UseBOMForUnicodeEncodedFile.md) | Warning| -|[UseCmdletCorrectly](./UseCmdletCorrectly.md) | Warning| -|[UseDeclaredVarsMoreThanAssignments](./UseDeclaredVarsMoreThanAssignments.md) | Warning| -|[UseIdenticalMandatoryParametersDSC](./UseIdenticalMandatoryParametersDSC.md) | Error | -|[UseIdenticalParametersDSC](./UseIdenticalParametersDSC.md) | Error | -|[UseLiteralInitializerForHashtable](./UseLiteralInitializerForHashtable.md) | Warning | -|[UseOutputTypeCorrectly](./UseOutputTypeCorrectly.md) | Information| -|[UsePSCredentialType](./UsePSCredentialType.md) | Warning| -|[UseShouldProcessCorrectly](./UseShouldProcessCorrectly.md) | Warning| -|[UseShouldProcessForStateChangingFunctions](./UseShouldProcessForStateChangingFunctions.md) | Warning| -|[UseSupportsShouldProcess](./UseSupportsShouldProcess.md) | Warning| -|[UseSingularNouns](./UseSingularNouns.md) | Warning| -|[UseStandardDSCFunctionsInResource](./UseStandardDSCFunctionsInResource.md) | Error | -|[UseToExportFieldsInManifest](./UseToExportFieldsInManifest.md) | Warning| -|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning| -|[PlaceOpenBrace](./PlaceOpenBrace.md) | Warning| -|[PlaceCloseBrace](./PlaceCloseBrace.md) | Warning| -|[UseConsistentIndentation](./UseConsistentIndentation.md) | Warning| -|[UseConsistentWhitespace](./UseConsistentWhitespace.md) | Warning| From bc5b2ddfcefbd40a58481108aa4b925cd581febc Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 5 Mar 2018 20:07:29 +0000 Subject: [PATCH 079/120] Fix parsing the -Settings object as a path when the path object originates from an expression (#915) * Fix parsing the -Settings object as a path when the path is an expression that is not fully evaluated yet. * address PR comments, improve verbose logging and tidy up * Improve check for file type by trying to cast to PSObject and checking its BaseObject property. --- Engine/Settings.cs | 49 ++++++++++++++------- Engine/Strings.Designer.cs | 11 ++++- Engine/Strings.resx | 5 ++- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 16 +++++-- 4 files changed, 60 insertions(+), 21 deletions(-) diff --git a/Engine/Settings.cs b/Engine/Settings.cs index 0947b77d8..35a941781 100644 --- a/Engine/Settings.cs +++ b/Engine/Settings.cs @@ -202,13 +202,25 @@ internal static Settings Create(object settingsObj, string cwd, IOutputWriter ou case SettingsMode.Preset: case SettingsMode.File: - var resolvedPath = getResolvedProviderPathFromPSPathDelegate(settingsFound.ToString(), out ProviderInfo providerInfo).Single(); - settingsFound = resolvedPath; - outputWriter?.WriteVerbose( - String.Format( - CultureInfo.CurrentCulture, - Strings.SettingsUsingFile, - resolvedPath)); + var userProvidedSettingsString = settingsFound.ToString(); + try + { + var resolvedPath = getResolvedProviderPathFromPSPathDelegate(userProvidedSettingsString, out ProviderInfo providerInfo).Single(); + settingsFound = resolvedPath; + outputWriter?.WriteVerbose( + String.Format( + CultureInfo.CurrentCulture, + Strings.SettingsUsingFile, + resolvedPath)); + } + catch + { + outputWriter?.WriteVerbose( + String.Format( + CultureInfo.CurrentCulture, + Strings.SettingsCannotFindFile, + userProvidedSettingsString)); + } break; case SettingsMode.Hashtable: @@ -218,20 +230,15 @@ internal static Settings Create(object settingsObj, string cwd, IOutputWriter ou Strings.SettingsUsingHashtable)); break; - default: // case SettingsMode.None + default: outputWriter?.WriteVerbose( String.Format( CultureInfo.CurrentCulture, - Strings.SettingsCannotFindFile)); - break; - } - - if (settingsMode != SettingsMode.None) - { - return new Settings(settingsFound); + Strings.SettingsObjectCouldNotBResolved)); + return null; } - return null; + return new Settings(settingsFound); } /// @@ -703,6 +710,16 @@ internal static SettingsMode FindSettingsMode(object settings, string path, out { settingsMode = SettingsMode.Hashtable; } + else // if the provided argument is wrapped in an expressions then PowerShell resolves it but it will be of type PSObject and we have to operate then on the BaseObject + { + if (settingsFound is PSObject settingsFoundPSObject) + { + if (settingsFoundPSObject.BaseObject is String) + { + settingsMode = SettingsMode.File; + } + } + } } } diff --git a/Engine/Strings.Designer.cs b/Engine/Strings.Designer.cs index 1f8db8c92..d7234f283 100644 --- a/Engine/Strings.Designer.cs +++ b/Engine/Strings.Designer.cs @@ -458,7 +458,7 @@ internal static string SettingsAutoDiscovered { } /// - /// Looks up a localized string similar to Cannot find a settings file.. + /// Looks up a localized string similar to Cannot resolve settings file path '{0}'.. /// internal static string SettingsCannotFindFile { get { @@ -511,6 +511,15 @@ internal static string SettingsNotProvided { } } + /// + /// Looks up a localized string similar to Settings object could not be resolved.. + /// + internal static string SettingsObjectCouldNotBResolved { + get { + return ResourceManager.GetString("SettingsObjectCouldNotBResolved", resourceCulture); + } + } + /// /// Looks up a localized string similar to Using settings file at {0}.. /// diff --git a/Engine/Strings.resx b/Engine/Strings.resx index 5194830c3..99d90761f 100644 --- a/Engine/Strings.resx +++ b/Engine/Strings.resx @@ -268,7 +268,7 @@ Using settings hashtable. - Cannot find a settings file. + Cannot resolve settings file path '{0}'. Cannot parse settings. Will abort the invocation. @@ -321,4 +321,7 @@ Input position should be less than that of the invoking object. + + Settings object could not be resolved. + \ No newline at end of file diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 9461ce18a..414e24ff9 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -387,13 +387,23 @@ Describe "Test CustomizedRulePath" { Context "When used from settings file" { It "Should process relative settings path" { try { - $initialLocation = Get-Location - Set-Location $PSScriptRoot + Push-Location $PSScriptRoot $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'gci' -Settings .\SettingsTest\..\SettingsTest\Project1\PSScriptAnalyzerSettings.psd1 $warnings.Count | Should -Be 1 } finally { - Set-Location $initialLocation + Pop-Location + } + } + + It "Should process relative settings path even when settings path object is not resolved to a string yet" { + try { + Push-Location $PSScriptRoot + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'gci' -Settings (Join-Path (Get-Location).Path '.\SettingsTest\..\SettingsTest\Project1\PSScriptAnalyzerSettings.psd1') + $warnings.Count | Should -Be 1 + } + finally { + Pop-Location } } From f002c1c9761f20d352d9c562c37f6ae6dd0aa87e Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 6 Mar 2018 18:57:48 +0000 Subject: [PATCH 080/120] Do not trigger UseShouldProcessForStateChangingFunctions rule for workflows (#923) * Workflows do not allow SupportsShouldProcess -> do not trigger UseShouldProcessForStateChangingFunctions * correct typo * Workflows are not supported in PowerShell 6.0 -> do not run test in this case --- ...seShouldProcessForStateChangingFunctions.cs | 18 +++++------------- ...dProcessForStateChangingFunctions.tests.ps1 | 6 ++++++ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/Rules/UseShouldProcessForStateChangingFunctions.cs b/Rules/UseShouldProcessForStateChangingFunctions.cs index 15e578f87..4448e6693 100644 --- a/Rules/UseShouldProcessForStateChangingFunctions.cs +++ b/Rules/UseShouldProcessForStateChangingFunctions.cs @@ -1,26 +1,17 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; #if !CORECLR using System.ComponentModel.Composition; #endif -using System.Management.Automation; using System.Management.Automation.Language; using System.Globalization; -using System.Linq; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules -{ +{ /// /// UseShouldProcessForStateChangingFunctions: Analyzes the ast to check if ShouldProcess is included in Advanced functions if the Verb of the function could change system state. /// @@ -61,7 +52,8 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) private bool IsStateChangingFunctionWithNoShouldProcessAttribute(Ast ast) { var funcDefAst = ast as FunctionDefinitionAst; - if (funcDefAst == null) + // SupportsShouldProcess is not supported in workflows + if (funcDefAst == null || funcDefAst.IsWorkflow) { return false; } diff --git a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 index 15a5a3af6..70cb68193 100644 --- a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 +++ b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 @@ -42,5 +42,11 @@ Function New-{0} () {{ }} It "returns no violations" { $noViolations.Count | Should -Be 0 } + + It "Workflows should not trigger a warning because they do not allow SupportsShouldProcess" -Skip:$IsCoreCLR { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'workflow Set-Something {[CmdletBinding()]Param($Param1)}' | Where-Object { + $_.RuleName -eq 'PSUseShouldProcessForStateChangingFunctions' } + $violations.Count | Should -Be 0 + } } } From 7fa645c3292eb21bef29edbfd842454beb9c91bd Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 12 Mar 2018 21:56:27 +0000 Subject: [PATCH 081/120] update syntax to be the correct one from get-help (#932) --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b72ea98df..fede19da6 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,13 @@ Usage ====================== ``` PowerShell -Get-ScriptAnalyzerRule [-CustomizedRulePath ] [-Name ] [] [-Severity ] +Get-ScriptAnalyzerRule [-CustomRulePath ] [-RecurseCustomRulePath] [-Name ] [-Severity ] [] -Invoke-ScriptAnalyzer [-Path] [-CustomizedRulePath ] [-ExcludeRule ] [-IncludeRule ] [-Severity ] [-Recurse] [-EnableExit] [-Fix] [] +Invoke-ScriptAnalyzer [-Path] [-CustomRulePath ] [-RecurseCustomRulePath] [-ExcludeRule ] [-IncludeDefaultRules] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-Fix] [-EnableExit] [-ReportSummary] [-Settings ] [-SaveDscDependency] [] + +Invoke-ScriptAnalyzer [-ScriptDefinition] [-CustomRulePath ] [-RecurseCustomRulePath] [-ExcludeRule ] [-IncludeDefaultRules] [-IncludeRule ] [-Severity ] [-Recurse] [-SuppressedOnly] [-EnableExit] [-ReportSummary] [-Settings ] [-SaveDscDependency] [] + +Invoke-Formatter [-ScriptDefinition] [[-Settings] ] [[-Range] ] [] ``` [Back to ToC](#table-of-contents) From 79d8b5e7444fe3ff0bf4dd42ea7811a534690f02 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 16 Mar 2018 18:04:23 +0000 Subject: [PATCH 082/120] Update .Net Core SDK from 2.1.4 to 2.1.101 (#936) * Update .Net Core SDK to 2.1.101 * update README.md --- README.md | 2 +- global.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fede19da6..1eb8dedff 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Exit ### From Source -* [.NET Core 2.1.4 SDK](https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.0.5-download.md) +* [.NET Core 2.1.101 SDK](https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.101) or newer * [PlatyPS 0.9.0 or greater](https://github.com/PowerShell/platyPS/releases) * Optionally but recommended for development: [Visual Studio 2017](https://www.visualstudio.com/downloads/) diff --git a/global.json b/global.json index 0b0ba35ab..939380db9 100644 --- a/global.json +++ b/global.json @@ -4,6 +4,6 @@ "Rules" ], "sdk": { - "version": "2.1.4" + "version": "2.1.101" } } From 03ee3c434d25070e558fa2b1aa85f290c650534d Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 16 Mar 2018 18:07:23 +0000 Subject: [PATCH 083/120] Make licence headers consistent across all files by using the recommended header of PsCore (#930) --- Engine/Commands/GetScriptAnalyzerRuleCommand.cs | 13 ++----------- Engine/EditableText.cs | 5 ++++- Engine/Extensions.cs | 5 ++++- Engine/Formatter.cs | 3 +++ Engine/Generic/AvoidCmdletGeneric.cs | 13 ++----------- Engine/Generic/AvoidParameterGeneric.cs | 13 ++----------- Engine/Generic/ConfigurableRule.cs | 11 ++--------- .../Generic/ConfigurableRulePropertyAttribute.cs | 11 ++--------- Engine/Generic/CorrectionExtent.cs | 13 ++----------- Engine/Generic/DiagnosticRecord.cs | 15 ++------------- Engine/Generic/DiagnosticRecordHelper.cs | 5 ++++- Engine/Generic/ExternalRule.cs | 14 ++------------ Engine/Generic/IDSCResourceRule.cs | 13 ++----------- Engine/Generic/IExternalRule.cs | 14 ++------------ Engine/Generic/ILogger.cs | 13 ++----------- Engine/Generic/IRule.cs | 13 ++----------- Engine/Generic/IScriptRule.cs | 13 ++----------- Engine/Generic/ITokenRule.cs | 13 ++----------- Engine/Generic/LoggerInfo.cs | 13 ++----------- Engine/Generic/ModuleDependencyHandler.cs | 5 ++++- Engine/Generic/RuleInfo.cs | 13 ++----------- Engine/Generic/RuleSeverity.cs | 13 ++----------- Engine/Generic/RuleSuppression.cs | 13 ++----------- Engine/Generic/SkipNamedBlock.cs | 13 ++----------- Engine/Generic/SkipTypeDefinition.cs | 13 ++----------- Engine/Generic/SourceType.cs | 13 ++----------- Engine/Generic/SuppressedRecord.cs | 13 ++----------- Engine/Helper.cs | 13 ++----------- Engine/IOutputWriter.cs | 13 ++----------- Engine/Loggers/WriteObjectsLogger.cs | 13 ++----------- Engine/Position.cs | 3 +++ Engine/Range.cs | 3 +++ Engine/ScriptAnalyzer.cs | 14 ++------------ Engine/SpecialVars.cs | 13 ++----------- Engine/TextEdit.cs | 5 ++++- Engine/TextLines.cs | 3 +++ Engine/TokenOperations.cs | 11 ++--------- Engine/VariableAnalysis.cs | 13 ++----------- Engine/VariableAnalysisBase.cs | 13 ++----------- Rules/AlignAssignmentStatement.cs | 11 ++--------- Rules/AvoidAlias.cs | 13 ++----------- Rules/AvoidAssignmentToAutomaticVariable.cs | 13 ++----------- Rules/AvoidDefaultTrueValueSwitchParameter.cs | 13 ++----------- Rules/AvoidEmptyCatchBlock.cs | 13 ++----------- Rules/AvoidGlobalAliases.cs | 5 ++++- Rules/AvoidGlobalFunctions.cs | 5 ++++- Rules/AvoidGlobalVars.cs | 13 ++----------- Rules/AvoidInvokingEmptyMembers.cs | 13 ++----------- Rules/AvoidNullOrEmptyHelpMessageAttribute.cs | 13 ++----------- Rules/AvoidPositionalParameters.cs | 13 ++----------- Rules/AvoidReservedCharInCmdlet.cs | 13 ++----------- Rules/AvoidReservedParams.cs | 13 ++----------- Rules/AvoidShouldContinueWithoutForce.cs | 13 ++----------- Rules/AvoidTrailingWhitespace.cs | 11 ++--------- Rules/AvoidUserNameAndPasswordParams.cs | 13 ++----------- Rules/AvoidUsingComputerNameHardcoded.cs | 13 ++----------- ...voidUsingConvertToSecureStringWithPlainText.cs | 13 ++----------- Rules/AvoidUsingDeprecatedManifestFields.cs | 13 ++----------- Rules/AvoidUsingInvokeExpression.cs | 13 ++----------- Rules/AvoidUsingPlainTextForPassword.cs | 13 ++----------- Rules/AvoidUsingWMICmdlet.cs | 13 ++----------- Rules/AvoidUsingWriteHost.cs | 13 ++----------- Rules/DscExamplesPresent.cs | 13 ++----------- Rules/DscTestsPresent.cs | 13 ++----------- Rules/LoggerInfo.cs | 13 ++----------- Rules/MisleadingBacktick.cs | 13 ++----------- Rules/MissingModuleManifestField.cs | 13 ++----------- Rules/PlaceCloseBrace.cs | 11 ++--------- Rules/PlaceOpenBrace.cs | 11 ++--------- Rules/PossibleIncorrectComparisonWithNull.cs | 13 ++----------- .../PossibleIncorrectUsageOfAssignmentOperator.cs | 13 ++----------- Rules/ProvideCommentHelp.cs | 13 ++----------- Rules/ReturnCorrectTypesForDSCFunctions.cs | 13 ++----------- Rules/UseApprovedVerbs.cs | 13 ++----------- Rules/UseBOMForUnicodeEncodedFile.cs | 13 ++----------- Rules/UseCmdletCorrectly.cs | 13 ++----------- Rules/UseCompatibleCmdlets.cs | 11 ++--------- Rules/UseConsistentIndentation.cs | 11 ++--------- Rules/UseConsistentWhitespace.cs | 11 ++--------- Rules/UseDeclaredVarsMoreThanAssignments.cs | 11 ++--------- Rules/UseIdenticalMandatoryParametersDSC.cs | 13 ++----------- Rules/UseIdenticalParametersDSC.cs | 13 ++----------- Rules/UseLiteralInitializerForHashtable.cs | 11 ++--------- Rules/UseOutputTypeCorrectly.cs | 13 ++----------- Rules/UsePSCredentialType.cs | 13 ++----------- Rules/UseShouldProcessCorrectly.cs | 13 ++----------- Rules/UseStandardDSCFunctionsInResource.cs | 13 ++----------- Rules/UseToExportFieldsInManifest.cs | 13 ++----------- Rules/UseUTF8EncodingForHelpFile.cs | 13 ++----------- Rules/UseVerboseMessageInDSCResource.cs | 13 ++----------- rules/UseSupportsShouldProcess.cs | 11 ++--------- 91 files changed, 200 insertions(+), 866 deletions(-) diff --git a/Engine/Commands/GetScriptAnalyzerRuleCommand.cs b/Engine/Commands/GetScriptAnalyzerRuleCommand.cs index e60ff8500..001876c91 100644 --- a/Engine/Commands/GetScriptAnalyzerRuleCommand.cs +++ b/Engine/Commands/GetScriptAnalyzerRuleCommand.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/EditableText.cs b/Engine/EditableText.cs index 5d77862d2..afcded726 100644 --- a/Engine/EditableText.cs +++ b/Engine/EditableText.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/Engine/Extensions.cs b/Engine/Extensions.cs index a4698e655..5e10b1d78 100644 --- a/Engine/Extensions.cs +++ b/Engine/Extensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; diff --git a/Engine/Formatter.cs b/Engine/Formatter.cs index bcdbc32b8..c07d7c5ef 100644 --- a/Engine/Formatter.cs +++ b/Engine/Formatter.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + using System; using System.Collections; using System.Management.Automation; diff --git a/Engine/Generic/AvoidCmdletGeneric.cs b/Engine/Generic/AvoidCmdletGeneric.cs index 7a54d7331..719a35d7a 100644 --- a/Engine/Generic/AvoidCmdletGeneric.cs +++ b/Engine/Generic/AvoidCmdletGeneric.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/Generic/AvoidParameterGeneric.cs b/Engine/Generic/AvoidParameterGeneric.cs index 039994c1f..5f1725536 100644 --- a/Engine/Generic/AvoidParameterGeneric.cs +++ b/Engine/Generic/AvoidParameterGeneric.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/Generic/ConfigurableRule.cs b/Engine/Generic/ConfigurableRule.cs index 427cf8067..8bbc2b896 100644 --- a/Engine/Generic/ConfigurableRule.cs +++ b/Engine/Generic/ConfigurableRule.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/Generic/ConfigurableRulePropertyAttribute.cs b/Engine/Generic/ConfigurableRulePropertyAttribute.cs index d661aa225..d34667450 100644 --- a/Engine/Generic/ConfigurableRulePropertyAttribute.cs +++ b/Engine/Generic/ConfigurableRulePropertyAttribute.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; diff --git a/Engine/Generic/CorrectionExtent.cs b/Engine/Generic/CorrectionExtent.cs index cab9f1ff6..a9003b8f2 100644 --- a/Engine/Generic/CorrectionExtent.cs +++ b/Engine/Generic/CorrectionExtent.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/Generic/DiagnosticRecord.cs b/Engine/Generic/DiagnosticRecord.cs index 2aedeedf8..c283ae025 100644 --- a/Engine/Generic/DiagnosticRecord.cs +++ b/Engine/Generic/DiagnosticRecord.cs @@ -1,16 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - - +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/Generic/DiagnosticRecordHelper.cs b/Engine/Generic/DiagnosticRecordHelper.cs index 9302ec339..9999b1767 100644 --- a/Engine/Generic/DiagnosticRecordHelper.cs +++ b/Engine/Generic/DiagnosticRecordHelper.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Globalization; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic diff --git a/Engine/Generic/ExternalRule.cs b/Engine/Generic/ExternalRule.cs index b637ce166..57fe11ac4 100644 --- a/Engine/Generic/ExternalRule.cs +++ b/Engine/Generic/ExternalRule.cs @@ -1,15 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Generic/IDSCResourceRule.cs b/Engine/Generic/IDSCResourceRule.cs index c8fb2f969..3ef20cde7 100644 --- a/Engine/Generic/IDSCResourceRule.cs +++ b/Engine/Generic/IDSCResourceRule.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Collections.Generic; using System.Management.Automation.Language; diff --git a/Engine/Generic/IExternalRule.cs b/Engine/Generic/IExternalRule.cs index 935f7fdde..08ac40910 100644 --- a/Engine/Generic/IExternalRule.cs +++ b/Engine/Generic/IExternalRule.cs @@ -1,15 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Generic/ILogger.cs b/Engine/Generic/ILogger.cs index 8b620e018..a59ec85f6 100644 --- a/Engine/Generic/ILogger.cs +++ b/Engine/Generic/ILogger.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands; diff --git a/Engine/Generic/IRule.cs b/Engine/Generic/IRule.cs index 4ba707d7d..c155deb9a 100644 --- a/Engine/Generic/IRule.cs +++ b/Engine/Generic/IRule.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Generic/IScriptRule.cs b/Engine/Generic/IScriptRule.cs index b081296ae..6339f2581 100644 --- a/Engine/Generic/IScriptRule.cs +++ b/Engine/Generic/IScriptRule.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Collections.Generic; using System.Management.Automation.Language; diff --git a/Engine/Generic/ITokenRule.cs b/Engine/Generic/ITokenRule.cs index e4450d9aa..30042a091 100644 --- a/Engine/Generic/ITokenRule.cs +++ b/Engine/Generic/ITokenRule.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Collections.Generic; using System.Management.Automation.Language; diff --git a/Engine/Generic/LoggerInfo.cs b/Engine/Generic/LoggerInfo.cs index c5d32bce8..170aee903 100644 --- a/Engine/Generic/LoggerInfo.cs +++ b/Engine/Generic/LoggerInfo.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Diagnostics.CodeAnalysis; diff --git a/Engine/Generic/ModuleDependencyHandler.cs b/Engine/Generic/ModuleDependencyHandler.cs index b2a2f1590..0d0833aaf 100644 --- a/Engine/Generic/ModuleDependencyHandler.cs +++ b/Engine/Generic/ModuleDependencyHandler.cs @@ -1,4 +1,7 @@ -#if !PSV3 +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if !PSV3 using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/Engine/Generic/RuleInfo.cs b/Engine/Generic/RuleInfo.cs index 2ee645c5f..4f65db1aa 100644 --- a/Engine/Generic/RuleInfo.cs +++ b/Engine/Generic/RuleInfo.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Diagnostics.CodeAnalysis; diff --git a/Engine/Generic/RuleSeverity.cs b/Engine/Generic/RuleSeverity.cs index d975aa239..761d764d2 100644 --- a/Engine/Generic/RuleSeverity.cs +++ b/Engine/Generic/RuleSeverity.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Generic/RuleSuppression.cs b/Engine/Generic/RuleSuppression.cs index 2cfee6311..19a32c267 100644 --- a/Engine/Generic/RuleSuppression.cs +++ b/Engine/Generic/RuleSuppression.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Linq; diff --git a/Engine/Generic/SkipNamedBlock.cs b/Engine/Generic/SkipNamedBlock.cs index 6de4dd094..68bbb5b42 100644 --- a/Engine/Generic/SkipNamedBlock.cs +++ b/Engine/Generic/SkipNamedBlock.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/Generic/SkipTypeDefinition.cs b/Engine/Generic/SkipTypeDefinition.cs index 4f6ad239d..e4dd99622 100644 --- a/Engine/Generic/SkipTypeDefinition.cs +++ b/Engine/Generic/SkipTypeDefinition.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Collections.Generic; using System.Management.Automation.Language; diff --git a/Engine/Generic/SourceType.cs b/Engine/Generic/SourceType.cs index df8e49843..af487565c 100644 --- a/Engine/Generic/SourceType.cs +++ b/Engine/Generic/SourceType.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Generic/SuppressedRecord.cs b/Engine/Generic/SuppressedRecord.cs index 8fc9659a7..ee50ea48b 100644 --- a/Engine/Generic/SuppressedRecord.cs +++ b/Engine/Generic/SuppressedRecord.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Helper.cs b/Engine/Helper.cs index 31120ed99..c7dce3c1b 100644 --- a/Engine/Helper.cs +++ b/Engine/Helper.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/IOutputWriter.cs b/Engine/IOutputWriter.cs index 8e3ee3a3b..676c0bcef 100644 --- a/Engine/IOutputWriter.cs +++ b/Engine/IOutputWriter.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Management.Automation; diff --git a/Engine/Loggers/WriteObjectsLogger.cs b/Engine/Loggers/WriteObjectsLogger.cs index 118280fb9..72e2b72bd 100644 --- a/Engine/Loggers/WriteObjectsLogger.cs +++ b/Engine/Loggers/WriteObjectsLogger.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; diff --git a/Engine/Position.cs b/Engine/Position.cs index 8be30cfd0..437cb441a 100644 --- a/Engine/Position.cs +++ b/Engine/Position.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + using System; using System.Globalization; diff --git a/Engine/Range.cs b/Engine/Range.cs index 7f63caaf6..6053b8d53 100644 --- a/Engine/Range.cs +++ b/Engine/Range.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + using System; using System.Globalization; diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index cdc3884f5..67ff44e73 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1,15 +1,5 @@ - -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Text.RegularExpressions; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; diff --git a/Engine/SpecialVars.cs b/Engine/SpecialVars.cs index 31bf4862c..1e57028cf 100644 --- a/Engine/SpecialVars.cs +++ b/Engine/SpecialVars.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/TextEdit.cs b/Engine/TextEdit.cs index 1d013e9a5..92b44fe32 100644 --- a/Engine/TextEdit.cs +++ b/Engine/TextEdit.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/Engine/TextLines.cs b/Engine/TextLines.cs index 722501303..ce72ca429 100644 --- a/Engine/TextLines.cs +++ b/Engine/TextLines.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + using System; using System.Collections; using System.Collections.Generic; diff --git a/Engine/TokenOperations.cs b/Engine/TokenOperations.cs index b250c1e67..07b8a2621 100644 --- a/Engine/TokenOperations.cs +++ b/Engine/TokenOperations.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/VariableAnalysis.cs b/Engine/VariableAnalysis.cs index 2c988a9c2..f18d05121 100644 --- a/Engine/VariableAnalysis.cs +++ b/Engine/VariableAnalysis.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Engine/VariableAnalysisBase.cs b/Engine/VariableAnalysisBase.cs index 2ace1910e..e66712850 100644 --- a/Engine/VariableAnalysisBase.cs +++ b/Engine/VariableAnalysisBase.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections; diff --git a/Rules/AlignAssignmentStatement.cs b/Rules/AlignAssignmentStatement.cs index a17b4afd6..083b6dcb5 100644 --- a/Rules/AlignAssignmentStatement.cs +++ b/Rules/AlignAssignmentStatement.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidAlias.cs b/Rules/AvoidAlias.cs index 30c0858cf..aa3aff05c 100644 --- a/Rules/AvoidAlias.cs +++ b/Rules/AvoidAlias.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidAssignmentToAutomaticVariable.cs b/Rules/AvoidAssignmentToAutomaticVariable.cs index a474b4492..5f7a859ee 100644 --- a/Rules/AvoidAssignmentToAutomaticVariable.cs +++ b/Rules/AvoidAssignmentToAutomaticVariable.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Linq; diff --git a/Rules/AvoidDefaultTrueValueSwitchParameter.cs b/Rules/AvoidDefaultTrueValueSwitchParameter.cs index a59dae688..3889959c0 100644 --- a/Rules/AvoidDefaultTrueValueSwitchParameter.cs +++ b/Rules/AvoidDefaultTrueValueSwitchParameter.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidEmptyCatchBlock.cs b/Rules/AvoidEmptyCatchBlock.cs index 5001857cd..116102961 100644 --- a/Rules/AvoidEmptyCatchBlock.cs +++ b/Rules/AvoidEmptyCatchBlock.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidGlobalAliases.cs b/Rules/AvoidGlobalAliases.cs index 94f42c943..20fee6285 100644 --- a/Rules/AvoidGlobalAliases.cs +++ b/Rules/AvoidGlobalAliases.cs @@ -1,4 +1,7 @@ -#if !PSV3 +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if !PSV3 using System; using System.Collections.Generic; #if !CORECLR diff --git a/Rules/AvoidGlobalFunctions.cs b/Rules/AvoidGlobalFunctions.cs index 793c7ce13..8488018ac 100644 --- a/Rules/AvoidGlobalFunctions.cs +++ b/Rules/AvoidGlobalFunctions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; #if !CORECLR using System.ComponentModel.Composition; diff --git a/Rules/AvoidGlobalVars.cs b/Rules/AvoidGlobalVars.cs index 4a1aee6e9..9ce1f076a 100644 --- a/Rules/AvoidGlobalVars.cs +++ b/Rules/AvoidGlobalVars.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidInvokingEmptyMembers.cs b/Rules/AvoidInvokingEmptyMembers.cs index 732926c9b..3f625e31c 100644 --- a/Rules/AvoidInvokingEmptyMembers.cs +++ b/Rules/AvoidInvokingEmptyMembers.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs b/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs index 6a43f0e18..756a6f039 100644 --- a/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs +++ b/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidPositionalParameters.cs b/Rules/AvoidPositionalParameters.cs index 15902b6c2..60f5cea8f 100644 --- a/Rules/AvoidPositionalParameters.cs +++ b/Rules/AvoidPositionalParameters.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidReservedCharInCmdlet.cs b/Rules/AvoidReservedCharInCmdlet.cs index 9e64a167a..f5f6a610c 100644 --- a/Rules/AvoidReservedCharInCmdlet.cs +++ b/Rules/AvoidReservedCharInCmdlet.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidReservedParams.cs b/Rules/AvoidReservedParams.cs index b3d619543..7582d4571 100644 --- a/Rules/AvoidReservedParams.cs +++ b/Rules/AvoidReservedParams.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidShouldContinueWithoutForce.cs b/Rules/AvoidShouldContinueWithoutForce.cs index 5f8485115..28a49facd 100644 --- a/Rules/AvoidShouldContinueWithoutForce.cs +++ b/Rules/AvoidShouldContinueWithoutForce.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidTrailingWhitespace.cs b/Rules/AvoidTrailingWhitespace.cs index f9fb86b68..3a3cc169f 100644 --- a/Rules/AvoidTrailingWhitespace.cs +++ b/Rules/AvoidTrailingWhitespace.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidUserNameAndPasswordParams.cs b/Rules/AvoidUserNameAndPasswordParams.cs index b784e3a79..40a128b28 100644 --- a/Rules/AvoidUserNameAndPasswordParams.cs +++ b/Rules/AvoidUserNameAndPasswordParams.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Linq; diff --git a/Rules/AvoidUsingComputerNameHardcoded.cs b/Rules/AvoidUsingComputerNameHardcoded.cs index 2f3ac858a..2d5a9c795 100644 --- a/Rules/AvoidUsingComputerNameHardcoded.cs +++ b/Rules/AvoidUsingComputerNameHardcoded.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Management.Automation.Language; diff --git a/Rules/AvoidUsingConvertToSecureStringWithPlainText.cs b/Rules/AvoidUsingConvertToSecureStringWithPlainText.cs index 3bfe70112..ff7873a5e 100644 --- a/Rules/AvoidUsingConvertToSecureStringWithPlainText.cs +++ b/Rules/AvoidUsingConvertToSecureStringWithPlainText.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidUsingDeprecatedManifestFields.cs b/Rules/AvoidUsingDeprecatedManifestFields.cs index 27f432f0a..c74b3448b 100644 --- a/Rules/AvoidUsingDeprecatedManifestFields.cs +++ b/Rules/AvoidUsingDeprecatedManifestFields.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidUsingInvokeExpression.cs b/Rules/AvoidUsingInvokeExpression.cs index 4a984ede9..19a42f21a 100644 --- a/Rules/AvoidUsingInvokeExpression.cs +++ b/Rules/AvoidUsingInvokeExpression.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; diff --git a/Rules/AvoidUsingPlainTextForPassword.cs b/Rules/AvoidUsingPlainTextForPassword.cs index 918a5b70b..c2a4df5f2 100644 --- a/Rules/AvoidUsingPlainTextForPassword.cs +++ b/Rules/AvoidUsingPlainTextForPassword.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidUsingWMICmdlet.cs b/Rules/AvoidUsingWMICmdlet.cs index 10815c9d1..09fcca7a7 100644 --- a/Rules/AvoidUsingWMICmdlet.cs +++ b/Rules/AvoidUsingWMICmdlet.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/AvoidUsingWriteHost.cs b/Rules/AvoidUsingWriteHost.cs index 85d6c58af..fdd4feafa 100644 --- a/Rules/AvoidUsingWriteHost.cs +++ b/Rules/AvoidUsingWriteHost.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/DscExamplesPresent.cs b/Rules/DscExamplesPresent.cs index 28b008173..9b78b61da 100644 --- a/Rules/DscExamplesPresent.cs +++ b/Rules/DscExamplesPresent.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/DscTestsPresent.cs b/Rules/DscTestsPresent.cs index d3591af03..23d921b46 100644 --- a/Rules/DscTestsPresent.cs +++ b/Rules/DscTestsPresent.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/LoggerInfo.cs b/Rules/LoggerInfo.cs index 8c7cdb1c2..f9255b7d6 100644 --- a/Rules/LoggerInfo.cs +++ b/Rules/LoggerInfo.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/MisleadingBacktick.cs b/Rules/MisleadingBacktick.cs index 9c5281472..ea709b7af 100644 --- a/Rules/MisleadingBacktick.cs +++ b/Rules/MisleadingBacktick.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/MissingModuleManifestField.cs b/Rules/MissingModuleManifestField.cs index 114c7bb94..35fa0f021 100644 --- a/Rules/MissingModuleManifestField.cs +++ b/Rules/MissingModuleManifestField.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/PlaceCloseBrace.cs b/Rules/PlaceCloseBrace.cs index ba66362da..54e19fe6d 100644 --- a/Rules/PlaceCloseBrace.cs +++ b/Rules/PlaceCloseBrace.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/PlaceOpenBrace.cs b/Rules/PlaceOpenBrace.cs index eac527f46..9b687a50c 100644 --- a/Rules/PlaceOpenBrace.cs +++ b/Rules/PlaceOpenBrace.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/PossibleIncorrectComparisonWithNull.cs b/Rules/PossibleIncorrectComparisonWithNull.cs index 272c569ba..1928538fa 100644 --- a/Rules/PossibleIncorrectComparisonWithNull.cs +++ b/Rules/PossibleIncorrectComparisonWithNull.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Linq; diff --git a/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs b/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs index fe34e6d2a..120186947 100644 --- a/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs +++ b/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; using System; diff --git a/Rules/ProvideCommentHelp.cs b/Rules/ProvideCommentHelp.cs index 66aa87cdb..c6f7c3661 100644 --- a/Rules/ProvideCommentHelp.cs +++ b/Rules/ProvideCommentHelp.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/ReturnCorrectTypesForDSCFunctions.cs b/Rules/ReturnCorrectTypesForDSCFunctions.cs index ad856e3b2..93dd50ec8 100644 --- a/Rules/ReturnCorrectTypesForDSCFunctions.cs +++ b/Rules/ReturnCorrectTypesForDSCFunctions.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseApprovedVerbs.cs b/Rules/UseApprovedVerbs.cs index d16a0f9ea..f74aead52 100644 --- a/Rules/UseApprovedVerbs.cs +++ b/Rules/UseApprovedVerbs.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseBOMForUnicodeEncodedFile.cs b/Rules/UseBOMForUnicodeEncodedFile.cs index 12df56f93..e399b6d0a 100644 --- a/Rules/UseBOMForUnicodeEncodedFile.cs +++ b/Rules/UseBOMForUnicodeEncodedFile.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseCmdletCorrectly.cs b/Rules/UseCmdletCorrectly.cs index 6146711dc..37cfa3cdb 100644 --- a/Rules/UseCmdletCorrectly.cs +++ b/Rules/UseCmdletCorrectly.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseCompatibleCmdlets.cs b/Rules/UseCompatibleCmdlets.cs index bd922e074..687cd6fbb 100644 --- a/Rules/UseCompatibleCmdlets.cs +++ b/Rules/UseCompatibleCmdlets.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseConsistentIndentation.cs b/Rules/UseConsistentIndentation.cs index 58880d021..c88e882bd 100644 --- a/Rules/UseConsistentIndentation.cs +++ b/Rules/UseConsistentIndentation.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseConsistentWhitespace.cs b/Rules/UseConsistentWhitespace.cs index f7d8d2024..180bfb798 100644 --- a/Rules/UseConsistentWhitespace.cs +++ b/Rules/UseConsistentWhitespace.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseDeclaredVarsMoreThanAssignments.cs b/Rules/UseDeclaredVarsMoreThanAssignments.cs index 32fb4c153..11d9f9594 100644 --- a/Rules/UseDeclaredVarsMoreThanAssignments.cs +++ b/Rules/UseDeclaredVarsMoreThanAssignments.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseIdenticalMandatoryParametersDSC.cs b/Rules/UseIdenticalMandatoryParametersDSC.cs index c4a71f5d7..928be1ab3 100644 --- a/Rules/UseIdenticalMandatoryParametersDSC.cs +++ b/Rules/UseIdenticalMandatoryParametersDSC.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseIdenticalParametersDSC.cs b/Rules/UseIdenticalParametersDSC.cs index 4698653c9..13758e858 100644 --- a/Rules/UseIdenticalParametersDSC.cs +++ b/Rules/UseIdenticalParametersDSC.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseLiteralInitializerForHashtable.cs b/Rules/UseLiteralInitializerForHashtable.cs index 1d1f5f641..d5426d2fa 100644 --- a/Rules/UseLiteralInitializerForHashtable.cs +++ b/Rules/UseLiteralInitializerForHashtable.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseOutputTypeCorrectly.cs b/Rules/UseOutputTypeCorrectly.cs index 704ea551a..5d3708ac9 100644 --- a/Rules/UseOutputTypeCorrectly.cs +++ b/Rules/UseOutputTypeCorrectly.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UsePSCredentialType.cs b/Rules/UsePSCredentialType.cs index 5e61c9ba5..80eb142e6 100644 --- a/Rules/UsePSCredentialType.cs +++ b/Rules/UsePSCredentialType.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Reflection; diff --git a/Rules/UseShouldProcessCorrectly.cs b/Rules/UseShouldProcessCorrectly.cs index c7cb64296..8f619067d 100644 --- a/Rules/UseShouldProcessCorrectly.cs +++ b/Rules/UseShouldProcessCorrectly.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Linq; diff --git a/Rules/UseStandardDSCFunctionsInResource.cs b/Rules/UseStandardDSCFunctionsInResource.cs index e6938afe3..7499ab828 100644 --- a/Rules/UseStandardDSCFunctionsInResource.cs +++ b/Rules/UseStandardDSCFunctionsInResource.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseToExportFieldsInManifest.cs b/Rules/UseToExportFieldsInManifest.cs index 2641cae62..cfc368244 100644 --- a/Rules/UseToExportFieldsInManifest.cs +++ b/Rules/UseToExportFieldsInManifest.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Linq; diff --git a/Rules/UseUTF8EncodingForHelpFile.cs b/Rules/UseUTF8EncodingForHelpFile.cs index 0c31d2183..d1a3b3fb7 100644 --- a/Rules/UseUTF8EncodingForHelpFile.cs +++ b/Rules/UseUTF8EncodingForHelpFile.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/Rules/UseVerboseMessageInDSCResource.cs b/Rules/UseVerboseMessageInDSCResource.cs index 1e52d5ec5..a393f4910 100644 --- a/Rules/UseVerboseMessageInDSCResource.cs +++ b/Rules/UseVerboseMessageInDSCResource.cs @@ -1,14 +1,5 @@ -// -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Collections.Generic; diff --git a/rules/UseSupportsShouldProcess.cs b/rules/UseSupportsShouldProcess.cs index 06b10b32f..e188abed7 100644 --- a/rules/UseSupportsShouldProcess.cs +++ b/rules/UseSupportsShouldProcess.cs @@ -1,12 +1,5 @@ -// Copyright (c) Microsoft Corporation. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System; using System.Linq; From 3cd291073b940af5678e524ac1d6fe8a05e8a499 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 20 Mar 2018 21:18:59 +0000 Subject: [PATCH 084/120] Update Newtonsoft.Json NuGet package of Rules project from 9.0.1 to 10.0.3 (#937) * Update Newtonsoft.Json NuGet package of Rules project from 9.0.1 to 11.0.1 * update only to v 10.0.3 to be in sync with the current version of PowerShell due to the current problem of loading multiple assembly version in pscore --- Rules/Rules.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index ff7d93bec..43a19ea2e 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -16,7 +16,7 @@ - + From 61465466540071104f341ceeabdc89acb01e0be6 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 20 Mar 2018 22:24:30 +0000 Subject: [PATCH 085/120] Remove unused using statements and sort them (#931) * Remove and sort usings * re-add accidentally removed using --- Engine/Commands/GetScriptAnalyzerRuleCommand.cs | 2 +- Engine/EditableText.cs | 6 +----- Engine/Generic/CorrectionExtent.cs | 5 ----- Engine/Generic/DiagnosticRecord.cs | 1 - Engine/Generic/RuleSuppression.cs | 4 ++-- Engine/Helper.cs | 8 +++----- Engine/VariableAnalysis.cs | 2 +- Engine/VariableAnalysisBase.cs | 6 +++--- Rules/AvoidNullOrEmptyHelpMessageAttribute.cs | 1 - Rules/AvoidReservedCharInCmdlet.cs | 1 - Rules/AvoidTrailingWhitespace.cs | 1 - Rules/AvoidUserNameAndPasswordParams.cs | 1 - Rules/AvoidUsingComputerNameHardcoded.cs | 1 - Rules/AvoidUsingPlainTextForPassword.cs | 2 -- Rules/DscExamplesPresent.cs | 2 +- Rules/DscTestsPresent.cs | 2 +- Rules/LoggerInfo.cs | 5 ----- Rules/MissingModuleManifestField.cs | 1 - Rules/PlaceOpenBrace.cs | 1 - Rules/ProvideCommentHelp.cs | 2 -- Rules/ReturnCorrectTypesForDSCFunctions.cs | 2 +- Rules/UseCompatibleCmdlets.cs | 3 +-- Rules/UseIdenticalParametersDSC.cs | 2 +- Rules/UseLiteralInitializerForHashtable.cs | 3 +-- Rules/UsePSCredentialType.cs | 1 - Rules/UseStandardDSCFunctionsInResource.cs | 2 +- Rules/UseToExportFieldsInManifest.cs | 1 - Rules/UseVerboseMessageInDSCResource.cs | 3 +-- rules/UseSupportsShouldProcess.cs | 1 - 29 files changed, 19 insertions(+), 53 deletions(-) diff --git a/Engine/Commands/GetScriptAnalyzerRuleCommand.cs b/Engine/Commands/GetScriptAnalyzerRuleCommand.cs index 001876c91..254f55cc6 100644 --- a/Engine/Commands/GetScriptAnalyzerRuleCommand.cs +++ b/Engine/Commands/GetScriptAnalyzerRuleCommand.cs @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Management.Automation; -using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands { diff --git a/Engine/EditableText.cs b/Engine/EditableText.cs index afcded726..22e072fd0 100644 --- a/Engine/EditableText.cs +++ b/Engine/EditableText.cs @@ -1,15 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions; using System; -using System.Collections; -using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using System.Linq; -using System.Management.Automation.Language; -using System.Text; -using Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { diff --git a/Engine/Generic/CorrectionExtent.cs b/Engine/Generic/CorrectionExtent.cs index a9003b8f2..caad49cdb 100644 --- a/Engine/Generic/CorrectionExtent.cs +++ b/Engine/Generic/CorrectionExtent.cs @@ -1,13 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Management.Automation.Language; -using System.Text; -using System.Threading.Tasks; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Generic/DiagnosticRecord.cs b/Engine/Generic/DiagnosticRecord.cs index c283ae025..ca3c3c882 100644 --- a/Engine/Generic/DiagnosticRecord.cs +++ b/Engine/Generic/DiagnosticRecord.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Collections.Generic; using System.Management.Automation.Language; diff --git a/Engine/Generic/RuleSuppression.cs b/Engine/Generic/RuleSuppression.cs index 19a32c267..bdf023096 100644 --- a/Engine/Generic/RuleSuppression.cs +++ b/Engine/Generic/RuleSuppression.cs @@ -2,11 +2,11 @@ // Licensed under the MIT License. using System; +using System.Collections.Generic; +using System.Globalization; using System.Linq; using System.Management.Automation.Language; -using System.Collections.Generic; using System.Text.RegularExpressions; -using System.Globalization; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { diff --git a/Engine/Helper.cs b/Engine/Helper.cs index c7dce3c1b..9e74d2b4b 100644 --- a/Engine/Helper.cs +++ b/Engine/Helper.cs @@ -1,18 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; using System; +using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Globalization; using System.IO; using System.Linq; using System.Management.Automation; using System.Management.Automation.Language; -using System.Globalization; -using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; -using System.Management.Automation.Runspaces; -using System.Collections; -using System.Reflection; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { diff --git a/Engine/VariableAnalysis.cs b/Engine/VariableAnalysis.cs index f18d05121..3434a8877 100644 --- a/Engine/VariableAnalysis.cs +++ b/Engine/VariableAnalysis.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.Linq; using System.Management.Automation.Language; -using System.Globalization; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { diff --git a/Engine/VariableAnalysisBase.cs b/Engine/VariableAnalysisBase.cs index e66712850..8e366a952 100644 --- a/Engine/VariableAnalysisBase.cs +++ b/Engine/VariableAnalysisBase.cs @@ -5,11 +5,11 @@ using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Globalization; using System.Linq; -using System.Reflection; -using System.Management.Automation.Language; using System.Management.Automation; -using System.Globalization; +using System.Management.Automation.Language; +using System.Reflection; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { diff --git a/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs b/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs index 756a6f039..3dbe949d9 100644 --- a/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs +++ b/Rules/AvoidNullOrEmptyHelpMessageAttribute.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Management.Automation.Language; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; #if !CORECLR diff --git a/Rules/AvoidReservedCharInCmdlet.cs b/Rules/AvoidReservedCharInCmdlet.cs index f5f6a610c..e4ae3de6e 100644 --- a/Rules/AvoidReservedCharInCmdlet.cs +++ b/Rules/AvoidReservedCharInCmdlet.cs @@ -6,7 +6,6 @@ using System.Linq; using System.Management.Automation.Language; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; -using Microsoft.Windows.PowerShell.ScriptAnalyzer; #if !CORECLR using System.ComponentModel.Composition; #endif diff --git a/Rules/AvoidTrailingWhitespace.cs b/Rules/AvoidTrailingWhitespace.cs index 3a3cc169f..c4afcd01d 100644 --- a/Rules/AvoidTrailingWhitespace.cs +++ b/Rules/AvoidTrailingWhitespace.cs @@ -8,7 +8,6 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Linq; using System.Management.Automation.Language; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; diff --git a/Rules/AvoidUserNameAndPasswordParams.cs b/Rules/AvoidUserNameAndPasswordParams.cs index 40a128b28..9429e2aa4 100644 --- a/Rules/AvoidUserNameAndPasswordParams.cs +++ b/Rules/AvoidUserNameAndPasswordParams.cs @@ -11,7 +11,6 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Reflection; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { diff --git a/Rules/AvoidUsingComputerNameHardcoded.cs b/Rules/AvoidUsingComputerNameHardcoded.cs index 2d5a9c795..2202abe1d 100644 --- a/Rules/AvoidUsingComputerNameHardcoded.cs +++ b/Rules/AvoidUsingComputerNameHardcoded.cs @@ -8,7 +8,6 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Collections.Generic; using System.Linq; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules diff --git a/Rules/AvoidUsingPlainTextForPassword.cs b/Rules/AvoidUsingPlainTextForPassword.cs index c2a4df5f2..f44585afc 100644 --- a/Rules/AvoidUsingPlainTextForPassword.cs +++ b/Rules/AvoidUsingPlainTextForPassword.cs @@ -9,8 +9,6 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Reflection; -using System.Text; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { diff --git a/Rules/DscExamplesPresent.cs b/Rules/DscExamplesPresent.cs index 9b78b61da..331991d02 100644 --- a/Rules/DscExamplesPresent.cs +++ b/Rules/DscExamplesPresent.cs @@ -21,7 +21,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules /// For class based resources it should be present at the same folder level as resource psm1 file. /// Examples folder should contain sample configuration for given resource - file name should contain resource's name. /// - #if !CORECLR +#if !CORECLR [Export(typeof(IDSCResourceRule))] #endif public class DscExamplesPresent : IDSCResourceRule diff --git a/Rules/DscTestsPresent.cs b/Rules/DscTestsPresent.cs index 23d921b46..21dbf10da 100644 --- a/Rules/DscTestsPresent.cs +++ b/Rules/DscTestsPresent.cs @@ -21,7 +21,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules /// For class based resources it should be present at the same folder level as resource psm1 file. /// Tests folder should contain test script for given resource - file name should contain resource's name. /// - #if !CORECLR +#if !CORECLR [Export(typeof(IDSCResourceRule))] #endif public class DscTestsPresent : IDSCResourceRule diff --git a/Rules/LoggerInfo.cs b/Rules/LoggerInfo.cs index f9255b7d6..04ce89cb7 100644 --- a/Rules/LoggerInfo.cs +++ b/Rules/LoggerInfo.cs @@ -1,11 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Diagnostics.CodeAnalysis; namespace Microsoft.Windows.Powershell.ScriptAnalyzer.Generic diff --git a/Rules/MissingModuleManifestField.cs b/Rules/MissingModuleManifestField.cs index 35fa0f021..78deb38ab 100644 --- a/Rules/MissingModuleManifestField.cs +++ b/Rules/MissingModuleManifestField.cs @@ -10,7 +10,6 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Text; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { diff --git a/Rules/PlaceOpenBrace.cs b/Rules/PlaceOpenBrace.cs index 9b687a50c..ea6bab634 100644 --- a/Rules/PlaceOpenBrace.cs +++ b/Rules/PlaceOpenBrace.cs @@ -7,7 +7,6 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Linq; using System.Management.Automation.Language; using System.Text; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; diff --git a/Rules/ProvideCommentHelp.cs b/Rules/ProvideCommentHelp.cs index c6f7c3661..3384debef 100644 --- a/Rules/ProvideCommentHelp.cs +++ b/Rules/ProvideCommentHelp.cs @@ -10,9 +10,7 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Management.Automation; using System.Text; -using System.IO; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { diff --git a/Rules/ReturnCorrectTypesForDSCFunctions.cs b/Rules/ReturnCorrectTypesForDSCFunctions.cs index 93dd50ec8..693b7429f 100644 --- a/Rules/ReturnCorrectTypesForDSCFunctions.cs +++ b/Rules/ReturnCorrectTypesForDSCFunctions.cs @@ -16,7 +16,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules /// /// ReturnCorrectTypeDSCFunctions: Check that DSC functions return the correct type. /// - #if !CORECLR +#if !CORECLR [Export(typeof(IDSCResourceRule))] #endif public class ReturnCorrectTypesForDSCFunctions : IDSCResourceRule diff --git a/Rules/UseCompatibleCmdlets.cs b/Rules/UseCompatibleCmdlets.cs index 687cd6fbb..f74061b76 100644 --- a/Rules/UseCompatibleCmdlets.cs +++ b/Rules/UseCompatibleCmdlets.cs @@ -10,7 +10,6 @@ using System.IO; using System.Linq; using System.Management.Automation.Language; -using System.Reflection; using System.Text.RegularExpressions; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; @@ -21,7 +20,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules /// /// A class to check if a script uses Cmdlets compatible with a given version and edition of PowerShell. /// - #if !CORECLR +#if !CORECLR [Export(typeof(IScriptRule))] #endif public class UseCompatibleCmdlets : AstVisitor, IScriptRule diff --git a/Rules/UseIdenticalParametersDSC.cs b/Rules/UseIdenticalParametersDSC.cs index 13758e858..785db5066 100644 --- a/Rules/UseIdenticalParametersDSC.cs +++ b/Rules/UseIdenticalParametersDSC.cs @@ -17,7 +17,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules /// UseIdenticalParametersDSC: Check that the Test-TargetResource and /// Set-TargetResource have identical parameters. /// - #if !CORECLR +#if !CORECLR [Export(typeof(IDSCResourceRule))] #endif public class UseIdenticalParametersDSC : IDSCResourceRule diff --git a/Rules/UseLiteralInitializerForHashtable.cs b/Rules/UseLiteralInitializerForHashtable.cs index d5426d2fa..260878bbb 100644 --- a/Rules/UseLiteralInitializerForHashtable.cs +++ b/Rules/UseLiteralInitializerForHashtable.cs @@ -9,7 +9,6 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Linq; using System.Management.Automation.Language; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; @@ -18,7 +17,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules /// /// A class to walk an AST to check if hashtable is not initialized using [hashtable]::new or new-object hashtable /// - #if !CORECLR +#if !CORECLR [Export(typeof(IScriptRule))] #endif public class UseLiteralInitializerForHashtable : AstVisitor, IScriptRule diff --git a/Rules/UsePSCredentialType.cs b/Rules/UsePSCredentialType.cs index 80eb142e6..de0b2e5a5 100644 --- a/Rules/UsePSCredentialType.cs +++ b/Rules/UsePSCredentialType.cs @@ -2,7 +2,6 @@ // Licensed under the MIT License. using System; -using System.Reflection; using System.Linq; using System.Collections.Generic; using System.Management.Automation; diff --git a/Rules/UseStandardDSCFunctionsInResource.cs b/Rules/UseStandardDSCFunctionsInResource.cs index 7499ab828..548414b06 100644 --- a/Rules/UseStandardDSCFunctionsInResource.cs +++ b/Rules/UseStandardDSCFunctionsInResource.cs @@ -16,7 +16,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules /// /// UseStandardDSCFunctionsInResource: Checks if the DSC resource uses standard Get/Set/Test TargetResource functions. /// - #if !CORECLR +#if !CORECLR [Export(typeof(IDSCResourceRule))] #endif public class UseStandardDSCFunctionsInResource : IDSCResourceRule diff --git a/Rules/UseToExportFieldsInManifest.cs b/Rules/UseToExportFieldsInManifest.cs index cfc368244..bfd99db9e 100644 --- a/Rules/UseToExportFieldsInManifest.cs +++ b/Rules/UseToExportFieldsInManifest.cs @@ -10,7 +10,6 @@ #if !CORECLR using System.ComponentModel.Composition; #endif -using System.Text.RegularExpressions; using System.Diagnostics; using System.Text; using System.Globalization; diff --git a/Rules/UseVerboseMessageInDSCResource.cs b/Rules/UseVerboseMessageInDSCResource.cs index a393f4910..d6038544f 100644 --- a/Rules/UseVerboseMessageInDSCResource.cs +++ b/Rules/UseVerboseMessageInDSCResource.cs @@ -10,14 +10,13 @@ using System.ComponentModel.Composition; #endif using System.Globalization; -using System.Management.Automation; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { /// /// UseVerboseMessageInDSCResource: Analyzes the ast to check that Write-Verbose is called for DSC Resources. /// - #if !CORECLR +#if !CORECLR [Export(typeof(IDSCResourceRule))] #endif public class UseVerboseMessageInDSCResource : SkipNamedBlock, IDSCResourceRule diff --git a/rules/UseSupportsShouldProcess.cs b/rules/UseSupportsShouldProcess.cs index e188abed7..6d26e55cd 100644 --- a/rules/UseSupportsShouldProcess.cs +++ b/rules/UseSupportsShouldProcess.cs @@ -3,7 +3,6 @@ using System; using System.Linq; -using System.Text; using System.Collections.Generic; #if !CORECLR using System.ComponentModel.Composition; From d6dc0017d2b3a7c51d318a4f23a4f94a8c59c601 Mon Sep 17 00:00:00 2001 From: Mark Leach Date: Wed, 21 Mar 2018 17:05:16 +0000 Subject: [PATCH 086/120] Fix typo (#942) Update script rule function parameters description --- ScriptRuleDocumentation.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ScriptRuleDocumentation.md b/ScriptRuleDocumentation.md index f7bdd00db..dca9151e8 100644 --- a/ScriptRuleDocumentation.md +++ b/ScriptRuleDocumentation.md @@ -4,7 +4,7 @@ PSScriptAnalyzer uses MEF(Managed Extensibility Framework) to import all rules d When calling Invoke-ScriptAnalyzer, users can specify custom rules using the parameter `CustomizedRulePath`. -The purpose of this documentation is to server as a basic guide on creating your own customized rules. +The purpose of this documentation is to serve as a basic guide on creating your own customized rules. ### Basics @@ -29,7 +29,7 @@ The purpose of this documentation is to server as a basic guide on creating your [OutputType([Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord[]])] ``` -- Make sure each function takes either a Token or an Ast as a parameter +- Make sure each function takes either a Token array or an Ast as a parameter. The _Ast_ parameter name must end with 'Ast' and the _Token_ parameter name must end with 'Token' ``` PowerShell Param @@ -41,6 +41,16 @@ Param ) ``` +``` PowerShell +Param +( + [Parameter(Mandatory = $true)] + [ValidateNotNullOrEmpty()] + [System.Management.Automation.Language.Token[]] + $testToken +) +``` + - DiagnosticRecord should have four properties: Message, Extent, RuleName and Severity ``` PowerShell From 021711eae27a2bd00165f30c6c568a78f448870a Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 21 Mar 2018 17:06:27 +0000 Subject: [PATCH 087/120] Add PowerShell Core Build+Test to Appveyor CI (#939) * test using pwsh * fix yaml syntax * install platyps on pwsh * appveyor still uses pwsh 6.0.0 * fix 1 test for pwsh. 1 remaining * make test pending that is failing on pwsh on Windows as well. * re-fix test for pwsh * really fix test and simplify * tweak and optimize appveyor.yml * extract appveyor steps into ps module to eliminate code duplication * fix and simplify test script * fix path problem and put appveyor finish into module as well * pwsh sessions are not being persisted on appveyor. Fix module deployment as well * remove wmf4 image temporarily to run it on the fork again * revert test script to non-module version because some tests failed * try fix yaml syntax * use consistent space and try $ErrorActionPreference = 'Stop' in appveyor module * fix appveyorfinish for pwsh and give test-appveyor function a last try * take out invoke-appveyortest method since it does not work in the appveyor environment * add wmf4 image as it is ready for PW now. * install platyps in a wmf4 friendly way * let's try if we can remove the hard coded checkout path (fingers crossed this works in WMF as well) * let's try if we can rename the PowerShellEdition to something more meaningful (again fingers crossed for the WMF 4 build) * Set DOTNET_SKIP_FIRST_TIME_EXPERIENCE to 1 to speed-up WMF4 builds, which have to install the .net sdk from scratch * make indentation consistent after rename * remove setting PATH for psmodulepath in yaml (not needed for VS 2017 image, let's hope it works for WMF 4 as well) * use OS agnostic file separator and fix case sensitivity as a preparation for a Linux build+test (which already works when adding additional Import-Module calls but has 13 failing tests) --- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 23 +++- .../UseToExportFieldsInManifest.tests.ps1 | 2 +- appveyor.yml | 116 +++++++----------- tools/appveyor.psm1 | 80 ++++++++++++ 4 files changed, 145 insertions(+), 76 deletions(-) create mode 100644 tools/appveyor.psm1 diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 414e24ff9..fc149b95c 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -523,18 +523,35 @@ Describe "Test -Fix Switch" { Describe "Test -EnableExit Switch" { It "Returns exit code equivalent to number of warnings" { - powershell -Command 'Import-Module PSScriptAnalyzer; Invoke-ScriptAnalyzer -ScriptDefinition gci -EnableExit' + if ($IsCoreCLR) { + pwsh -command 'Import-Module PSScriptAnalyzer; Invoke-ScriptAnalyzer -ScriptDefinition gci -EnableExit' + } + else { + powershell -command 'Invoke-ScriptAnalyzer -ScriptDefinition gci -EnableExit' + } $LASTEXITCODE | Should -Be 1 } Describe "-ReportSummary switch" { $reportSummaryFor1Warning = '*1 rule violation found. Severity distribution: Error = 0, Warning = 1, Information = 0*' It "prints the correct report summary using the -NoReportSummary switch" { - $result = powershell -command 'Invoke-Scriptanalyzer -ScriptDefinition gci -ReportSummary' + if ($IsCoreCLR) { + $result = pwsh -command 'Import-Module PSScriptAnalyzer; Invoke-Scriptanalyzer -ScriptDefinition gci -ReportSummary' + } + else { + $result = powershell -command 'Invoke-Scriptanalyzer -ScriptDefinition gci -ReportSummary' + } + "$result" | Should -BeLike $reportSummaryFor1Warning } It "does not print the report summary when not using -NoReportSummary switch" { - $result = powershell -command 'Invoke-Scriptanalyzer -ScriptDefinition gci' + if ($IsCoreCLR) { + $result = pwsh -command 'Import-Module PSScriptAnalyzer; Invoke-Scriptanalyzer -ScriptDefinition gci' + } + else { + $result = powershell -command 'Invoke-Scriptanalyzer -ScriptDefinition gci' + } + "$result" | Should -Not -BeLike $reportSummaryFor1Warning } } diff --git a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 index e8556ef11..667a5f98f 100644 --- a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 +++ b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 @@ -83,7 +83,7 @@ Describe "UseManifestExportFields" { $results[0].Extent.Text | Should -Be "'*'" } - It "suggests corrections for AliasesToExport with wildcard" -pending:($IsLinux -or $IsMacOS) { + It "suggests corrections for AliasesToExport with wildcard" -pending:($IsCoreClr) { $violations = Run-PSScriptAnalyzerRule $testManifestBadAliasesWildcardPath $violationFilepath = Join-path $testManifestPath $testManifestBadAliasesWildcardPath Test-CorrectionExtent $violationFilepath $violations[0] 1 "'*'" "@('gbar', 'gfoo')" diff --git a/appveyor.yml b/appveyor.yml index 9e5302718..ad54f9771 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,91 +1,63 @@ environment: matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - PowerShellEdition: Desktop + PowerShellEdition: PowerShellCore + BuildConfiguration: Release + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + PowerShellEdition: WindowsPowerShell BuildConfiguration: Release - APPVEYOR_BUILD_WORKER_IMAGE: WMF 4 - PowerShellEdition: Desktop + PowerShellEdition: WindowsPowerShell BuildConfiguration: PSv3Release -# clone directory -clone_folder: c:\projects\psscriptanalyzer - # cache Nuget packages and dotnet CLI cache cache: - '%USERPROFILE%\.nuget\packages -> appveyor.yml' - '%LocalAppData%\Microsoft\dotnet -> appveyor.yml' -# Install Pester install: - - ps: nuget install platyPS -Version 0.9.0 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion - - ps: | - $requiredPesterVersion = '4.3.1' - $pester = Get-Module Pester -ListAvailable | Where-Object { $_.Version -eq $requiredPesterVersion } - $pester - if ($null -eq $pester) - { - if ($null -eq (Get-Module -ListAvailable PowershellGet)) - { - # WMF 4 image build - nuget install Pester -Version $requiredPesterVersion -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion - } - else - { - # Visual Studio 2017 build (has already Pester v3, therefore a different installation mechanism is needed to make it also use the new version 4) - Install-Module -Name Pester -Force -SkipPublisherCheck -Scope CurrentUser - } - } - - ps: | - # the legacy WMF4 image only has the old preview SDKs of dotnet - $globalDotJson = Get-Content .\global.json -Raw | ConvertFrom-Json - $dotNetCoreSDKVersion = $globalDotJson.sdk.version - if (-not ((dotnet --version).StartsWith($dotNetCoreSDKVersion))) - { - Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1 - .\dotnet-install.ps1 -Version $dotNetCoreSDKVersion - } + - ps: Import-Module .\tools\appveyor.psm1 + - ps: if ($env:PowerShellEdition -eq 'WindowsPowerShell') { Invoke-AppveyorInstall } + - pwsh: if ($env:PowerShellEdition -eq 'PowerShellCore') { Import-Module .\tools\appveyor.psm1; Invoke-AppveyorInstall } build_script: - - ps: | - $PSVersionTable - Write-Verbose "Pester version: $((Get-Command Invoke-Pester).Version)" -Verbose - Write-Verbose ".NET SDK version: $(dotnet --version)" -Verbose - Push-Location C:\projects\psscriptanalyzer - # Test build using netstandard to test whether APIs are being called that are not available in .Net Core. Remove output afterwards. - .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build - git clean -dfx - C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration $env:BuildConfiguration -Build - C:\projects\psscriptanalyzer\build.ps1 -BuildDocs - Pop-Location - -# branches to build -branches: - # whitelist - only: - - master - - development + - ps: | + if ($env:PowerShellEdition -eq 'WindowsPowerShell') { + Invoke-AppveyorBuild -CheckoutPath $env:APPVEYOR_BUILD_FOLDER -BuildConfiguration $env:BuildConfiguration -BuildType 'FullCLR' + } + - pwsh: | + if ($env:PowerShellEdition -eq 'PowerShellCore') { + Import-Module .\tools\appveyor.psm1 # Appveyor does not persist pwsh sessions like it does for ps + Invoke-AppveyorBuild -CheckoutPath $env:APPVEYOR_BUILD_FOLDER -BuildConfiguration $env:BuildConfiguration -BuildType 'NetStandard' + } -# Run Pester tests and store the results +# Test scripts are not in a module function because the tests behave differently for unknown reasons in AppVeyor test_script: - - SET PATH=c:\Program Files\WindowsPowerShell\Modules\;%PATH%; - - ps: | - copy-item "C:\projects\psscriptanalyzer\out\PSScriptAnalyzer" "$Env:ProgramFiles\WindowsPowerShell\Modules\" -Recurse -Force - $testResultsFile = ".\TestResults.xml" - $testScripts = "C:\projects\psscriptanalyzer\Tests\Engine","C:\projects\psscriptanalyzer\Tests\Rules" - $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru - (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $testResultsFile)) - if ($testResults.FailedCount -gt 0) { - throw "$($testResults.FailedCount) tests failed." - } + - ps: | + if ($env:PowerShellEdition -eq 'WindowsPowerShell') { + $modulePath = $env:PSModulePath.Split([System.IO.Path]::PathSeparator) | Where-Object { Test-Path $_} | Select-Object -First 1 + Copy-Item "${env:APPVEYOR_BUILD_FOLDER}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force + $testResultsFile = ".\TestResults.xml" + $testScripts = "${env:APPVEYOR_BUILD_FOLDER}\Tests\Engine","${env:APPVEYOR_BUILD_FOLDER}\Tests\Rules" + $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru + (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile)) + if ($testResults.FailedCount -gt 0) { + throw "$($testResults.FailedCount) tests failed." + } + } + - pwsh: | + if ($env:PowerShellEdition -eq 'PowerShellCore') { + $modulePath = $env:PSModulePath.Split(';') | Where-Object { Test-Path $_} | Select-Object -First 1 + Copy-Item "${env:APPVEYOR_BUILD_FOLDER}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force + $testResultsFile = ".\TestResults.xml" + $testScripts = "${env:APPVEYOR_BUILD_FOLDER}\Tests\Engine","${env:APPVEYOR_BUILD_FOLDER}\Tests\Rules" + $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru + (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile)) + if ($testResults.FailedCount -gt 0) { + throw "$($testResults.FailedCount) tests failed." + } + } -# Upload the project along with TestResults as a zip archive +# Upload the project along with test results as a zip archive on_finish: - - ps: | - $stagingDirectory = (Resolve-Path ..).Path - $zipFile = Join-Path $stagingDirectory "$(Split-Path $pwd -Leaf).zip" - Add-Type -assemblyname System.IO.Compression.FileSystem - [System.IO.Compression.ZipFile]::CreateFromDirectory($pwd, $zipFile) - @( - # You can add other artifacts here - (ls $zipFile) - ) | % { Push-AppveyorArtifact $_.FullName } + - ps: Invoke-AppveyorFinish diff --git a/tools/appveyor.psm1 b/tools/appveyor.psm1 new file mode 100644 index 000000000..bbac9a0a2 --- /dev/null +++ b/tools/appveyor.psm1 @@ -0,0 +1,80 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +$ErrorActionPreference = 'Stop' + +# Implements the AppVeyor 'install' step and installs the required versions of Pester, platyPS and the .Net Core SDK if needed. +function Invoke-AppVeyorInstall { + $requiredPesterVersion = '4.3.1' + $pester = Get-Module Pester -ListAvailable | Where-Object { $_.Version -eq $requiredPesterVersion } + if ($null -eq $pester) { + if ($null -eq (Get-Module -ListAvailable PowershellGet)) { + # WMF 4 image build + nuget install Pester -Version $requiredPesterVersion -source https://www.powershellgallery.com/api/v2 -outputDirectory "$env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion + } + else { + # Visual Studio 2017 build (has already Pester v3, therefore a different installation mechanism is needed to make it also use the new version 4) + Install-Module -Name Pester -Force -SkipPublisherCheck -Scope CurrentUser + } + } + + if ($null -eq (Get-Module -ListAvailable PowershellGet)) { + # WMF 4 image build + nuget install platyPS -Version 0.9.0 -source https://www.powershellgallery.com/api/v2 -outputDirectory "$Env:ProgramFiles\WindowsPowerShell\Modules\." -ExcludeVersion + } + else { + Install-Module -Name platyPS -Force -Scope CurrentUser -RequiredVersion '0.9.0' + } + + # the legacy WMF4 image only has the old preview SDKs of dotnet + $globalDotJson = Get-Content (Join-Path $PSScriptRoot '..\global.json') -Raw | ConvertFrom-Json + $dotNetCoreSDKVersion = $globalDotJson.sdk.version + if (-not ((dotnet --version).StartsWith($dotNetCoreSDKVersion))) { + Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1 + .\dotnet-install.ps1 -Version $dotNetCoreSDKVersion + Remove-Item .\dotnet-install.ps1 + } +} + +# Implements the AppVeyor 'build_script' step +function Invoke-AppVeyorBuild { + Param( + [Parameter(Mandatory)] + [ValidateSet('FullCLR', 'NetStandard')] + $BuildType, + + [Parameter(Mandatory)] + [ValidateSet('Release', 'PSv3Release')] + $BuildConfiguration, + + [Parameter(Mandatory)] + [ValidateScript( {Test-Path $_})] + $CheckoutPath + ) + + $PSVersionTable + Write-Verbose "Pester version: $((Get-Command Invoke-Pester).Version)" -Verbose + Write-Verbose ".NET SDK version: $(dotnet --version)" -Verbose + Push-Location $CheckoutPath + [Environment]::SetEnvironmentVariable("DOTNET_SKIP_FIRST_TIME_EXPERIENCE", 1) # avoid unneccessary initialization in CI + if ($BuildType -eq 'FullCLR') { + .\buildCoreClr.ps1 -Framework net451 -Configuration $BuildConfiguration -Build + } + elseif ($BuildType -eq 'NetStandard') { + .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build + } + .\build.ps1 -BuildDocs + Pop-Location +} + +# Implements AppVeyor 'on_finish' step +function Invoke-AppveyorFinish { + $stagingDirectory = (Resolve-Path ..).Path + $zipFile = Join-Path $stagingDirectory "$(Split-Path $pwd -Leaf).zip" + Add-Type -AssemblyName 'System.IO.Compression.FileSystem' + [System.IO.Compression.ZipFile]::CreateFromDirectory($pwd, $zipFile) + @( + # You can add other artifacts here + (Get-ChildItem $zipFile) + ) | ForEach-Object { Push-AppveyorArtifact $_.FullName } +} \ No newline at end of file From a7d23f7f4dbf4ee92077f5471e28ca334caef429 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 23 Mar 2018 19:32:52 +0000 Subject: [PATCH 088/120] Fix PlaceOpenBrace rule correction to take comment at the end of line into account (#929) * Fix OpenBrace rule to take comment at the end of line into account * add test case when converting from a brace style where the brace is on the next line to a brace style where the brace is on the same line as suggested in the PR. Added more assertions for an integration test with code formatting styles * fix CI failures by putting the new invoke-formatter in their own context block (they screwed up following tests for some reason). --- Rules/PlaceOpenBrace.cs | 17 +++++++-- Tests/Rules/PlaceOpenBrace.tests.ps1 | 53 ++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 3 deletions(-) diff --git a/Rules/PlaceOpenBrace.cs b/Rules/PlaceOpenBrace.cs index ea6bab634..5a74626d9 100644 --- a/Rules/PlaceOpenBrace.cs +++ b/Rules/PlaceOpenBrace.cs @@ -14,7 +14,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { /// - /// A class to walk an AST to check for violation. + /// A formatting rule about whether braces should start on the same line or not. /// #if !CORECLR [Export(typeof(IScriptRule))] @@ -201,6 +201,15 @@ private IEnumerable FindViolationsForBraceShouldBeOnSameLine( && tokens[k - 1].Kind == TokenKind.NewLine && !tokensToIgnore.Contains(tokens[k])) { + var precedingExpression = tokens[k - 2]; + Token optionalComment = null; + // If a comment is before the open brace, then take the token before the comment + if (precedingExpression.Kind == TokenKind.Comment && k > 2) + { + precedingExpression = tokens[k - 3]; + optionalComment = tokens[k - 2]; + } + yield return new DiagnosticRecord( GetError(Strings.PlaceOpenBraceErrorShouldBeOnSameLine), tokens[k].Extent, @@ -208,7 +217,7 @@ private IEnumerable FindViolationsForBraceShouldBeOnSameLine( GetDiagnosticSeverity(), fileName, null, - GetCorrectionsForBraceShouldBeOnSameLine(tokens[k - 2], tokens[k], fileName)); + GetCorrectionsForBraceShouldBeOnSameLine(precedingExpression, optionalComment, tokens[k], fileName)); } } } @@ -336,17 +345,19 @@ private int GetStartColumnNumberOfTokenLine(Token[] tokens, int refTokenPos) private List GetCorrectionsForBraceShouldBeOnSameLine( Token precedingExpression, + Token optionalCommentOfPrecedingExpression, Token lCurly, string fileName) { var corrections = new List(); + var optionalComment = optionalCommentOfPrecedingExpression != null ? $" {optionalCommentOfPrecedingExpression}" : string.Empty; corrections.Add( new CorrectionExtent( precedingExpression.Extent.StartLineNumber, lCurly.Extent.EndLineNumber, precedingExpression.Extent.StartColumnNumber, lCurly.Extent.EndColumnNumber, - precedingExpression.Text + " " + lCurly.Text, + $"{precedingExpression.Text} {lCurly.Text}{optionalComment}", fileName)); return corrections; } diff --git a/Tests/Rules/PlaceOpenBrace.tests.ps1 b/Tests/Rules/PlaceOpenBrace.tests.ps1 index e72278b81..b1ec42c8d 100644 --- a/Tests/Rules/PlaceOpenBrace.tests.ps1 +++ b/Tests/Rules/PlaceOpenBrace.tests.ps1 @@ -35,6 +35,59 @@ function foo ($param1) } } + Context "Handling of comments when using Invoke-Formatter" { + It "Should correct violation when brace should be on the same line" { + $scriptDefinition = @' +foreach ($x in $y) +{ + Get-Something +} +'@ + $expected = @' +foreach ($x in $y) { + Get-Something +} +'@ + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings $settings | Should -Be $expected + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings 'CodeFormattingStroustrup' | Should -Be $expected + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings 'CodeFormattingOTBS' | Should -Be $expected + } + + It "Should correct violation when brace should be on the same line and take comment into account" { + $scriptDefinition = @' +foreach ($x in $y) # useful comment +{ + Get-Something +} +'@ + $expected = @' +foreach ($x in $y) { # useful comment + Get-Something +} +'@ + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings $settings | Should -Be $expected + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings 'CodeFormattingStroustrup' | Should -Be $expected + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings 'CodeFormattingOTBS' | Should -Be $expected + } + + It "Should correct violation when the brace should be on the next line and take comment into account" { + $scriptDefinition = @' +foreach ($x in $y) # useful comment +{ + Get-Something +} +'@ + $expected = @' +foreach ($x in $y) { # useful comment + Get-Something +} +'@ + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings $settings | Should -Be $expected + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings 'CodeFormattingStroustrup' | Should -Be $expected + Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings 'CodeFormattingOTBS' | Should -Be $expected + } + } + Context "When an open brace must be on the same line in a switch statement" { BeforeAll { $def = @' From 7fd10cd5d16265b7b1da7b812732cb7cd797aebd Mon Sep 17 00:00:00 2001 From: Gavin Eke Date: Tue, 27 Mar 2018 18:32:57 +1100 Subject: [PATCH 089/120] Add macos detection to New-CommandDataFile (#947) * Add macos detection to New-CommandDataFile * Remove old 'elseif ($IsOSX)' since there is no need to support old Beta versions. --- Utils/New-CommandDataFile.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utils/New-CommandDataFile.ps1 b/Utils/New-CommandDataFile.ps1 index 5000e0a2f..4f986ef55 100644 --- a/Utils/New-CommandDataFile.ps1 +++ b/Utils/New-CommandDataFile.ps1 @@ -56,9 +56,9 @@ Function Get-CmdletDataFileName { $os = 'linux' } - elseif ($IsOSX) + elseif ($IsMacOS) { - $os = 'osx' + $os = 'macos' } # else it is windows, which is already set } @@ -112,4 +112,4 @@ Add-Member -InputObject $shortModuleInfo -NotePropertyName 'ExportedAliases' -No $allShortModuleInfos = $shortModuleInfos + $shortModuleInfo $jsonData['Modules'] = $allShortModuleInfos -$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding utf8 \ No newline at end of file +$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding utf8 From a503078d076fc4254c779eee3a2f5f71363a9c57 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 28 Mar 2018 18:18:20 +0100 Subject: [PATCH 090/120] Warn when 'Get-' prefix was omitted as part of the PSAvoidUsingCmdletAliases rule. (#927) * Warn when 'Get-' prefix was omitted. Rename some variables to make the code clearer * update docs * do not warn for get- completion when the command exists natively (e.g. 'date' or service' on Unix systems) * add test that there are no warnings about get- completion when native command takes precedence. Tested on Ubuntu 16.04 LTS * use `date` for test because on some MacOs distros, service is not available * Fix GetCommandInfoInternal method to actually use the CommandTypes argument However, its calling method GetCommandInfo was relying on this bug (or its callers), therefore the method was declared legacy in order to not break existing behaviour * change test syntax as requested in PR --- Engine/Helper.cs | 64 ++++++++++++++++---- RuleDocumentation/AvoidUsingCmdletAliases.md | 2 +- Rules/AvoidAlias.cs | 39 ++++++++---- Rules/AvoidPositionalParameters.cs | 2 +- Rules/Strings.Designer.cs | 13 +++- Rules/Strings.resx | 7 ++- Rules/UseCmdletCorrectly.cs | 2 +- Rules/UseShouldProcessCorrectly.cs | 2 +- Tests/Rules/AvoidUsingAlias.tests.ps1 | 10 +++ 9 files changed, 109 insertions(+), 32 deletions(-) diff --git a/Engine/Helper.cs b/Engine/Helper.cs index 9e74d2b4b..4adf407ad 100644 --- a/Engine/Helper.cs +++ b/Engine/Helper.cs @@ -399,7 +399,7 @@ public HashSet GetExportedFunction(Ast ast) IEnumerable cmdAsts = ast.FindAll(item => item is CommandAst && exportFunctionsCmdlet.Contains((item as CommandAst).GetCommandName(), StringComparer.OrdinalIgnoreCase), true); - CommandInfo exportMM = Helper.Instance.GetCommandInfo("export-modulemember", CommandTypes.Cmdlet); + CommandInfo exportMM = Helper.Instance.GetCommandInfoLegacy("export-modulemember", CommandTypes.Cmdlet); // switch parameters IEnumerable switchParams = (exportMM != null) ? exportMM.Parameters.Values.Where(pm => pm.SwitchParameter) : Enumerable.Empty(); @@ -614,7 +614,7 @@ public bool PositionalParameterUsed(CommandAst cmdAst, bool moreThanThreePositio return false; } - var commandInfo = GetCommandInfo(cmdAst.GetCommandName()); + var commandInfo = GetCommandInfoLegacy(cmdAst.GetCommandName()); if (commandInfo == null || (commandInfo.CommandType != System.Management.Automation.CommandTypes.Cmdlet)) { return false; @@ -694,26 +694,38 @@ public bool PositionalParameterUsed(CommandAst cmdAst, bool moreThanThreePositio /// Get a CommandInfo object of the given command name /// /// Returns null if command does not exists - private CommandInfo GetCommandInfoInternal(string cmdName, CommandTypes? commandType = null) + private CommandInfo GetCommandInfoInternal(string cmdName, CommandTypes? commandType) { using (var ps = System.Management.Automation.PowerShell.Create()) { - var cmdInfo = ps.AddCommand("Get-Command") - .AddArgument(cmdName) - .AddParameter("ErrorAction", "SilentlyContinue") - .Invoke() - .FirstOrDefault(); - return cmdInfo; + var psCommand = ps.AddCommand("Get-Command") + .AddParameter("Name", cmdName) + .AddParameter("ErrorAction", "SilentlyContinue"); + + if(commandType!=null) + { + psCommand.AddParameter("CommandType", commandType); + } + + var commandInfo = psCommand.Invoke() + .FirstOrDefault(); + + return commandInfo; } } /// - /// Given a command's name, checks whether it exists + + /// Legacy method, new callers should use instead. + /// Given a command's name, checks whether it exists. It does not use the passed in CommandTypes parameter, which is a bug. + /// But existing method callers are already depending on this behaviour and therefore this could not be simply fixed. + /// It also populates the commandInfoCache which can have side effects in some cases. /// - /// - /// + /// Command Name. + /// Not being used. /// - public CommandInfo GetCommandInfo(string name, CommandTypes? commandType = null) + [Obsolete] + public CommandInfo GetCommandInfoLegacy(string name, CommandTypes? commandType = null) { if (string.IsNullOrWhiteSpace(name)) { @@ -740,6 +752,32 @@ public CommandInfo GetCommandInfo(string name, CommandTypes? commandType = null) } } + /// + /// Given a command's name, checks whether it exists. + /// + /// + /// + /// + public CommandInfo GetCommandInfo(string name, CommandTypes? commandType = null) + { + if (string.IsNullOrWhiteSpace(name)) + { + return null; + } + + lock (getCommandLock) + { + if (commandInfoCache.ContainsKey(name)) + { + return commandInfoCache[name]; + } + + var commandInfo = GetCommandInfoInternal(name, commandType); + + return commandInfo; + } + } + /// /// Returns the get, set and test targetresource dsc function /// diff --git a/RuleDocumentation/AvoidUsingCmdletAliases.md b/RuleDocumentation/AvoidUsingCmdletAliases.md index 0165b6d90..39d7437d0 100644 --- a/RuleDocumentation/AvoidUsingCmdletAliases.md +++ b/RuleDocumentation/AvoidUsingCmdletAliases.md @@ -5,7 +5,7 @@ ## Description An alias is an alternate name or nickname for a CMDLet or for a command element, such as a function, script, file, or executable file. -You can use the alias instead of the command name in any Windows PowerShell commands. +You can use the alias instead of the command name in any Windows PowerShell commands. There are also implicit aliases: When PowerShell cannot find the cmdlet name, it will try to append `Get-` to the command as a last resort before, therefore e.g. `verb` will excute `Get-Verb`. Every PowerShell author learns the actual command names, but different authors learn and use different aliases. Aliases can make code difficult to read, understand and impact availability. diff --git a/Rules/AvoidAlias.cs b/Rules/AvoidAlias.cs index aa3aff05c..ad35ec4fe 100644 --- a/Rules/AvoidAlias.cs +++ b/Rules/AvoidAlias.cs @@ -10,6 +10,7 @@ #endif using System.Globalization; using System.Linq; +using System.Management.Automation; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { @@ -95,38 +96,54 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) IEnumerable foundAsts = ast.FindAll(testAst => testAst is CommandAst, true); // Iterates all CommandAsts and check the command name. - foreach (Ast foundAst in foundAsts) + foreach (CommandAst cmdAst in foundAsts) { - CommandAst cmdAst = (CommandAst)foundAst; - // Check if the command ast should be ignored if (IgnoreCommandast(cmdAst)) { continue; } - string aliasName = cmdAst.GetCommandName(); + string commandName = cmdAst.GetCommandName(); // Handles the exception caused by commands like, {& $PLINK $args 2> $TempErrorFile}. // You can also review the remark section in following document, // MSDN: CommandAst.GetCommandName Method - if (aliasName == null - || whiteList.Contains(aliasName, StringComparer.OrdinalIgnoreCase)) + if (commandName == null + || whiteList.Contains(commandName, StringComparer.OrdinalIgnoreCase)) { continue; } - string cmdletName = Helper.Instance.GetCmdletNameFromAlias(aliasName); - if (!String.IsNullOrEmpty(cmdletName)) + string cmdletNameIfCommandNameWasAlias = Helper.Instance.GetCmdletNameFromAlias(commandName); + if (!String.IsNullOrEmpty(cmdletNameIfCommandNameWasAlias)) { yield return new DiagnosticRecord( - string.Format(CultureInfo.CurrentCulture, Strings.AvoidUsingCmdletAliasesError, aliasName, cmdletName), + string.Format(CultureInfo.CurrentCulture, Strings.AvoidUsingCmdletAliasesError, commandName, cmdletNameIfCommandNameWasAlias), GetCommandExtent(cmdAst), GetName(), DiagnosticSeverity.Warning, fileName, - aliasName, - suggestedCorrections: GetCorrectionExtent(cmdAst, cmdletName)); + commandName, + suggestedCorrections: GetCorrectionExtent(cmdAst, cmdletNameIfCommandNameWasAlias)); + } + + var isNativeCommand = Helper.Instance.GetCommandInfo(commandName, CommandTypes.Application | CommandTypes.ExternalScript) != null; + if (!isNativeCommand) + { + var commdNameWithGetPrefix = $"Get-{commandName}"; + var cmdletNameIfCommandWasMissingGetPrefix = Helper.Instance.GetCommandInfo($"Get-{commandName}"); + if (cmdletNameIfCommandWasMissingGetPrefix != null) + { + yield return new DiagnosticRecord( + string.Format(CultureInfo.CurrentCulture, Strings.AvoidUsingCmdletAliasesMissingGetPrefixError, commandName, commdNameWithGetPrefix), + GetCommandExtent(cmdAst), + GetName(), + DiagnosticSeverity.Warning, + fileName, + commandName, + suggestedCorrections: GetCorrectionExtent(cmdAst, commdNameWithGetPrefix)); + } } } } diff --git a/Rules/AvoidPositionalParameters.cs b/Rules/AvoidPositionalParameters.cs index 60f5cea8f..de530ab78 100644 --- a/Rules/AvoidPositionalParameters.cs +++ b/Rules/AvoidPositionalParameters.cs @@ -39,7 +39,7 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) // MSDN: CommandAst.GetCommandName Method if (cmdAst.GetCommandName() == null) continue; - if (Helper.Instance.GetCommandInfo(cmdAst.GetCommandName()) != null + if (Helper.Instance.GetCommandInfoLegacy(cmdAst.GetCommandName()) != null && Helper.Instance.PositionalParameterUsed(cmdAst, true)) { PipelineAst parent = cmdAst.Parent as PipelineAst; diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index 565e67629..7c0e53ec3 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -710,7 +710,7 @@ internal static string AvoidUsingClearHostName { } /// - /// Looks up a localized string similar to Avoid Using Cmdlet Aliases. + /// Looks up a localized string similar to Avoid Using Cmdlet Aliases or omitting the 'Get-' prefix.. /// internal static string AvoidUsingCmdletAliasesCommonName { get { @@ -728,7 +728,7 @@ internal static string AvoidUsingCmdletAliasesCorrectionDescription { } /// - /// Looks up a localized string similar to An alias is an alternate name or nickname for a cmdlet or for a command element, such as a function, script, file, or executable file. But when writing scripts that will potentially need to be maintained over time, either by the original author or another Windows PowerShell scripter, please consider using full cmdlet name instead of alias. Aliases can introduce these problems, readability, understandability and availability.. + /// Looks up a localized string similar to An alias is an alternate name or nickname for a cmdlet or for a command element, such as a function, script, file, or executable file. An implicit alias is also the omission of the 'Get-' prefix for commands with this prefix. But when writing scripts that will potentially need to be maintained over time, either by the original author or another Windows PowerShell scripter, please consider using full cmdlet name instead of alias. Aliases can introduce these problems, readability, understandability and availa [rest of string was truncated]";. /// internal static string AvoidUsingCmdletAliasesDescription { get { @@ -745,6 +745,15 @@ internal static string AvoidUsingCmdletAliasesError { } } + /// + /// Looks up a localized string similar to '{0}' is implicitly aliasing '{1}' because it is missing the 'Get-' prefix. This can introduce possible problems and make scripts hard to maintain. Please consider changing command to its full name.. + /// + internal static string AvoidUsingCmdletAliasesMissingGetPrefixError { + get { + return ResourceManager.GetString("AvoidUsingCmdletAliasesMissingGetPrefixError", resourceCulture); + } + } + /// /// Looks up a localized string similar to AvoidUsingCmdletAliases. /// diff --git a/Rules/Strings.resx b/Rules/Strings.resx index 5e0e1314e..352d5ee3f 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -118,10 +118,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - An alias is an alternate name or nickname for a cmdlet or for a command element, such as a function, script, file, or executable file. But when writing scripts that will potentially need to be maintained over time, either by the original author or another Windows PowerShell scripter, please consider using full cmdlet name instead of alias. Aliases can introduce these problems, readability, understandability and availability. + An alias is an alternate name or nickname for a cmdlet or for a command element, such as a function, script, file, or executable file. An implicit alias is also the omission of the 'Get-' prefix for commands with this prefix. But when writing scripts that will potentially need to be maintained over time, either by the original author or another Windows PowerShell scripter, please consider using full cmdlet name instead of alias. Aliases can introduce these problems, readability, understandability and availability. - Avoid Using Cmdlet Aliases + Avoid Using Cmdlet Aliases or omitting the 'Get-' prefix. Empty catch blocks are considered poor design decisions because if an error occurs in the try block, this error is simply swallowed and not acted upon. While this does not inherently lead to bad things. It can and this should be avoided if possible. To fix a violation of this rule, using Write-Error or throw statements in catch blocks. @@ -1005,4 +1005,7 @@ AvoidAssignmentToAutomaticVariable + + '{0}' is implicitly aliasing '{1}' because it is missing the 'Get-' prefix. This can introduce possible problems and make scripts hard to maintain. Please consider changing command to its full name. + \ No newline at end of file diff --git a/Rules/UseCmdletCorrectly.cs b/Rules/UseCmdletCorrectly.cs index 37cfa3cdb..fae21cfad 100644 --- a/Rules/UseCmdletCorrectly.cs +++ b/Rules/UseCmdletCorrectly.cs @@ -79,7 +79,7 @@ private bool MandatoryParameterExists(CommandAst cmdAst) #region Compares parameter list and mandatory parameter list. - cmdInfo = Helper.Instance.GetCommandInfo(cmdAst.GetCommandName()); + cmdInfo = Helper.Instance.GetCommandInfoLegacy(cmdAst.GetCommandName()); if (cmdInfo == null || (cmdInfo.CommandType != System.Management.Automation.CommandTypes.Cmdlet)) { return true; diff --git a/Rules/UseShouldProcessCorrectly.cs b/Rules/UseShouldProcessCorrectly.cs index 8f619067d..6be9db87e 100644 --- a/Rules/UseShouldProcessCorrectly.cs +++ b/Rules/UseShouldProcessCorrectly.cs @@ -299,7 +299,7 @@ private bool SupportsShouldProcess(string cmdName) return false; } - var cmdInfo = Helper.Instance.GetCommandInfo(cmdName); + var cmdInfo = Helper.Instance.GetCommandInfoLegacy(cmdName); if (cmdInfo == null) { return false; diff --git a/Tests/Rules/AvoidUsingAlias.tests.ps1 b/Tests/Rules/AvoidUsingAlias.tests.ps1 index 415d20fd9..e99d8aa47 100644 --- a/Tests/Rules/AvoidUsingAlias.tests.ps1 +++ b/Tests/Rules/AvoidUsingAlias.tests.ps1 @@ -26,6 +26,11 @@ Describe "AvoidUsingAlias" { Test-CorrectionExtent $violationFilepath $violations[1] 1 'cls' 'Clear-Host' $violations[1].SuggestedCorrections[0].Description | Should -Be 'Replace cls with Clear-Host' } + + It "warns when 'Get-' prefix was omitted" { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'verb' | Where-Object { $_.RuleName -eq $violationName } + $violations.Count | Should -Be 1 + } } Context "Violation Extent" { @@ -95,5 +100,10 @@ Configuration MyDscConfiguration { $violations = Invoke-ScriptAnalyzer -ScriptDefinition "CD" -Settings $settings -IncludeRule $violationName $violations.Count | Should -Be 0 } + + It "do not warn when about Get-* completed cmdlets when the command exists natively on Unix platforms" -skip:(-not ($IsLinux -or $IsMacOS)) { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'date' | Where-Object { $_.RuleName -eq $violationName } + $violations.Count | Should -Be 0 + } } } From d1bec749ce8dd60577edcb61dc28d7884d1ba537 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 28 Mar 2018 22:24:28 +0100 Subject: [PATCH 091/120] Allow -Setting parameter to resolve setting presets as well when object is still a PSObject in BeginProcessing (#928) * fix issue 807 by also trying to resolve the settings preset if the object is not resolved to a string yet. Tidy up existing logic. TODO: add test (we do not have test coverage for setting presets) * add test * address PR comment about test syntax --- Engine/Settings.cs | 48 +++++++++++---------- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 7 +++ 2 files changed, 32 insertions(+), 23 deletions(-) diff --git a/Engine/Settings.cs b/Engine/Settings.cs index 35a941781..40e4043ea 100644 --- a/Engine/Settings.cs +++ b/Engine/Settings.cs @@ -690,40 +690,42 @@ internal static SettingsMode FindSettingsMode(object settings, string path, out } else { - var settingsFilePath = settingsFound as String; - if (settingsFilePath != null) - { - if (IsBuiltinSettingPreset(settingsFilePath)) - { - settingsMode = SettingsMode.Preset; - settingsFound = GetSettingPresetFilePath(settingsFilePath); - } - else - { - settingsMode = SettingsMode.File; - settingsFound = settingsFilePath; - } - } - else + if (!TryResolveSettingForStringType(settingsFound, ref settingsMode, ref settingsFound)) { if (settingsFound is Hashtable) { settingsMode = SettingsMode.Hashtable; } - else // if the provided argument is wrapped in an expressions then PowerShell resolves it but it will be of type PSObject and we have to operate then on the BaseObject + // if the provided argument is wrapped in an expressions then PowerShell resolves it but it will be of type PSObject and we have to operate then on the BaseObject + else if (settingsFound is PSObject settingsFoundPSObject) { - if (settingsFound is PSObject settingsFoundPSObject) - { - if (settingsFoundPSObject.BaseObject is String) - { - settingsMode = SettingsMode.File; - } - } + TryResolveSettingForStringType(settingsFoundPSObject.BaseObject, ref settingsMode, ref settingsFound); } } } return settingsMode; } + + // If the settings object is a string determine wheter it is one of the settings preset or a file path and resolve the setting in the former case. + private static bool TryResolveSettingForStringType(object settingsObject, ref SettingsMode settingsMode, ref object resolvedSettingValue) + { + if (settingsObject is string settingsString) + { + if (IsBuiltinSettingPreset(settingsString)) + { + settingsMode = SettingsMode.Preset; + resolvedSettingValue = GetSettingPresetFilePath(settingsString); + } + else + { + settingsMode = SettingsMode.File; + resolvedSettingValue = settingsString; + } + return true; + } + + return false; + } } } diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index fc149b95c..09f39243c 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -406,6 +406,13 @@ Describe "Test CustomizedRulePath" { Pop-Location } } + + It "resolves rule preset when passed in via pipeline" { + $warnings = 'CodeFormattingStroustrup' | ForEach-Object { + Invoke-ScriptAnalyzer -ScriptDefinition 'if ($true){}' -Settings $_} + $warnings.Count | Should -Be 1 + $warnings.RuleName | Should -Be 'PSUseConsistentWhitespace' + } It "Should use the CustomRulePath parameter" { $settings = @{ From 00c47870b67967ef90bb122b1f82e68896686b2e Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 28 Mar 2018 23:08:02 +0100 Subject: [PATCH 092/120] Tweak UseConsistentWhitespace formatting rule to exclude first unary operator when being used in argument (#949) * exclude unary operator form UseConsistentWhitespace rule * fix failing test by being more precise about the use case of the unary operator enhancement * add test and docs * tweak fix to only apply to first argument * Fix accidental space in test expectation --- RuleDocumentation/UseConsistentWhitespace.md | 2 +- Rules/UseConsistentWhitespace.cs | 8 ++++++++ Tests/Engine/InvokeFormatter.tests.ps1 | 9 +++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/RuleDocumentation/UseConsistentWhitespace.md b/RuleDocumentation/UseConsistentWhitespace.md index 6fa553b00..192f7441a 100644 --- a/RuleDocumentation/UseConsistentWhitespace.md +++ b/RuleDocumentation/UseConsistentWhitespace.md @@ -38,7 +38,7 @@ Checks if there is space between a keyword and its corresponding open parenthesi #### CheckOperator: bool (Default value is `$true`) -Checks if a binary operator is surrounded on both sides by a space. E.g. `$x = 1`. +Checks if a binary or unary operator is surrounded on both sides by a space. E.g. `$x = 1`. #### CheckSeparator: bool (Default value is `$true`) diff --git a/Rules/UseConsistentWhitespace.cs b/Rules/UseConsistentWhitespace.cs index 180bfb798..12a47dfbd 100644 --- a/Rules/UseConsistentWhitespace.cs +++ b/Rules/UseConsistentWhitespace.cs @@ -307,6 +307,14 @@ private IEnumerable FindOperatorViolations(TokenOperations tok continue; } + // exclude unary operator for cases like $foo.bar(-$Var) + if (TokenTraits.HasTrait(tokenNode.Value.Kind, TokenFlags.UnaryOperator) && + tokenNode.Previous.Value.Kind == TokenKind.LParen && + tokenNode.Next.Value.Kind == TokenKind.Variable) + { + continue; + } + var hasWhitespaceBefore = IsPreviousTokenOnSameLineAndApartByWhitespace(tokenNode); var hasWhitespaceAfter = tokenNode.Next.Value.Kind == TokenKind.NewLine || IsPreviousTokenOnSameLineAndApartByWhitespace(tokenNode.Next); diff --git a/Tests/Engine/InvokeFormatter.tests.ps1 b/Tests/Engine/InvokeFormatter.tests.ps1 index 86543e09c..5c0e54a88 100644 --- a/Tests/Engine/InvokeFormatter.tests.ps1 +++ b/Tests/Engine/InvokeFormatter.tests.ps1 @@ -30,6 +30,15 @@ function foo { Invoke-Formatter $def $settings | Should -Be $expected } + + It "Should not expand unary operators when being used as a single negative argument" { + $script = '$foo.bar(-$a)' + Invoke-Formatter '$foo.bar(-$a)' -Settings CodeFormatting | Should -Be $script + } + + It "Should expand unary operators when not being used as a single negative argument" { + Invoke-Formatter '$foo.bar(-$a+$b+$c)' -Settings CodeFormatting | Should -Be '$foo.bar(-$a + $b + $c)' + } } Context "When a range is given" { From 24276103cedbf725e4c78b0835111ef7dc2830f9 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 30 Mar 2018 19:32:56 +0100 Subject: [PATCH 093/120] Add Ubuntu Build+Test to Appveyor CI (#940) * test using pwsh * fix yaml syntax * install platyps on pwsh * appveyor still uses pwsh 6.0.0 * fix 1 test for pwsh. 1 remaining * make test pending that is failing on pwsh on Windows as well. * re-fix test for pwsh * really fix test and simplify * tweak and optimize appveyor.yml * extract appveyor steps into ps module to eliminate code duplication * fix and simplify test script * fix path problem and put appveyor finish into module as well * pwsh sessions are not being persisted on appveyor. Fix module deployment as well * remove wmf4 image temporarily to run it on the fork again * revert test script to non-module version because some tests failed * try fix yaml syntax * use consistent space and try $ErrorActionPreference = 'Stop' in appveyor module * fix appveyorfinish for pwsh and give test-appveyor function a last try * take out invoke-appveyortest method since it does not work in the appveyor environment * add wmf4 image as it is ready for PW now. * install platyps in a wmf4 friendly way * let's try if we can remove the hard coded checkout path (fingers crossed this works in WMF as well) * let's try if we can rename the PowerShellEdition to something more meaningful (again fingers crossed for the WMF 4 build) * Set DOTNET_SKIP_FIRST_TIME_EXPERIENCE to 1 to speed-up WMF4 builds, which have to install the .net sdk from scratch * make indentation consistent after rename * remove setting PATH for psmodulepath in yaml (not needed for VS 2017 image, let's hope it works for WMF 4 as well) * try ubuntu image * fix ps edition * fix test for linux * add debugging code * fix case sensitivity problems * re-add other images for PR * git mv rules\UseSupportsShouldProcess.cs Rules\UseSupportsShouldProcess.cs --- {rules => Rules}/UseSupportsShouldProcess.cs | 0 appveyor.yml | 10 ++++++---- 2 files changed, 6 insertions(+), 4 deletions(-) rename {rules => Rules}/UseSupportsShouldProcess.cs (100%) diff --git a/rules/UseSupportsShouldProcess.cs b/Rules/UseSupportsShouldProcess.cs similarity index 100% rename from rules/UseSupportsShouldProcess.cs rename to Rules/UseSupportsShouldProcess.cs diff --git a/appveyor.yml b/appveyor.yml index ad54f9771..ef8d68836 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,9 @@ environment: - APPVEYOR_BUILD_WORKER_IMAGE: WMF 4 PowerShellEdition: WindowsPowerShell BuildConfiguration: PSv3Release + - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu + PowerShellEdition: PowerShellCore + BuildConfiguration: Release # cache Nuget packages and dotnet CLI cache cache: @@ -16,8 +19,7 @@ cache: - '%LocalAppData%\Microsoft\dotnet -> appveyor.yml' install: - - ps: Import-Module .\tools\appveyor.psm1 - - ps: if ($env:PowerShellEdition -eq 'WindowsPowerShell') { Invoke-AppveyorInstall } + - ps: if ($env:PowerShellEdition -eq 'WindowsPowerShell') { Import-Module .\tools\appveyor.psm1; Invoke-AppveyorInstall } - pwsh: if ($env:PowerShellEdition -eq 'PowerShellCore') { Import-Module .\tools\appveyor.psm1; Invoke-AppveyorInstall } build_script: @@ -47,7 +49,7 @@ test_script: } - pwsh: | if ($env:PowerShellEdition -eq 'PowerShellCore') { - $modulePath = $env:PSModulePath.Split(';') | Where-Object { Test-Path $_} | Select-Object -First 1 + $modulePath = $env:PSModulePath.Split([System.IO.Path]::PathSeparator) | Where-Object { Test-Path $_} | Select-Object -First 1 Copy-Item "${env:APPVEYOR_BUILD_FOLDER}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force $testResultsFile = ".\TestResults.xml" $testScripts = "${env:APPVEYOR_BUILD_FOLDER}\Tests\Engine","${env:APPVEYOR_BUILD_FOLDER}\Tests\Rules" @@ -60,4 +62,4 @@ test_script: # Upload the project along with test results as a zip archive on_finish: - - ps: Invoke-AppveyorFinish + - ps: Import-Module .\tools\appveyor.psm1; Invoke-AppveyorFinish From 6a8e8289e8f94622bad33d654657cdb5288309a5 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 30 Mar 2018 19:37:01 +0100 Subject: [PATCH 094/120] Fix PSUseDeclaredVarsMoreThanAssignments to not give false positives when using += operator (#935) * fix false positives such as '$a=@(); $b | foreach-object { $a+=$c}' because the rule misunderstood += as assignment * add test (it turns out a regression happened for 'flags strongly typed variables' * fix regression for strongly typed variables by being more selective about the if/else decision * add additional test case for unassigned variable --- Rules/UseDeclaredVarsMoreThanAssignments.cs | 14 ++++++++++++-- .../UseDeclaredVarsMoreThanAssignments.tests.ps1 | 10 ++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Rules/UseDeclaredVarsMoreThanAssignments.cs b/Rules/UseDeclaredVarsMoreThanAssignments.cs index 11d9f9594..296d79da9 100644 --- a/Rules/UseDeclaredVarsMoreThanAssignments.cs +++ b/Rules/UseDeclaredVarsMoreThanAssignments.cs @@ -173,9 +173,19 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip // Try casting to AssignmentStatementAst to be able to catch case where a variable is assigned more than once (https://github.com/PowerShell/PSScriptAnalyzer/issues/833) var varInAssignmentAsStatementAst = varInAssignment.Parent as AssignmentStatementAst; var varAstAsAssignmentStatementAst = varAst.Parent as AssignmentStatementAst; - if (varInAssignmentAsStatementAst != null && varAstAsAssignmentStatementAst != null) + if (varAstAsAssignmentStatementAst != null) { - inAssignment = varInAssignmentAsStatementAst.Left.Extent.Text.Equals(varAstAsAssignmentStatementAst.Left.Extent.Text, StringComparison.OrdinalIgnoreCase); + if (varAstAsAssignmentStatementAst.Operator == TokenKind.Equals) + { + if (varInAssignmentAsStatementAst != null) + { + inAssignment = varInAssignmentAsStatementAst.Left.Extent.Text.Equals(varAstAsAssignmentStatementAst.Left.Extent.Text, StringComparison.OrdinalIgnoreCase); + } + else + { + inAssignment = varInAssignment.Equals(varAst); + } + } } else { diff --git a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 index daa766b06..4e4f43df7 100644 --- a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 +++ b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 @@ -73,5 +73,15 @@ function MyFunc2() { It "returns no violations" { $noViolations.Count | Should -Be 0 } + + It "Does not flag += operator" { + $results = Invoke-ScriptAnalyzer -ScriptDefinition '$array=@(); $list | ForEach-Object { $array += $c }' | Where-Object { $_.RuleName -eq $violationName } + $results.Count | Should -Be 0 + } + + It "Does not flag += operator when using unassigned variable" { + $results = Invoke-ScriptAnalyzer -ScriptDefinition '$list | ForEach-Object { $array += $c }' | Where-Object { $_.RuleName -eq $violationName } + $results.Count | Should -Be 0 + } } } \ No newline at end of file From 1a8d285ced8fe997ace5c7d60e7fc234afd23907 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 2 Apr 2018 18:31:33 +0100 Subject: [PATCH 095/120] Make UseDeclaredVarsMoreThanAssignments not flag drive qualified variables (#958) * Make UseDeclaredVarsMoreThanAssignments not flag anything for drive qualified variables * fix test syntax --- Rules/UseDeclaredVarsMoreThanAssignments.cs | 4 ++-- Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Rules/UseDeclaredVarsMoreThanAssignments.cs b/Rules/UseDeclaredVarsMoreThanAssignments.cs index 296d79da9..fc72e18ea 100644 --- a/Rules/UseDeclaredVarsMoreThanAssignments.cs +++ b/Rules/UseDeclaredVarsMoreThanAssignments.cs @@ -141,10 +141,10 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip if (assignmentVarAst != null) { - // Ignore if variable is global or environment variable or scope is function + // Ignore if variable is global or environment variable or scope is drive qualified variable if (!Helper.Instance.IsVariableGlobalOrEnvironment(assignmentVarAst, scriptBlockAst) && !assignmentVarAst.VariablePath.IsScript - && !string.Equals(assignmentVarAst.VariablePath.DriveName, "function", StringComparison.OrdinalIgnoreCase)) + && assignmentVarAst.VariablePath.DriveName == null) { string variableName = Helper.Instance.VariableNameWithoutScope(assignmentVarAst.VariablePath); diff --git a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 index 4e4f43df7..d10d77b4c 100644 --- a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 +++ b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 @@ -83,5 +83,10 @@ function MyFunc2() { $results = Invoke-ScriptAnalyzer -ScriptDefinition '$list | ForEach-Object { $array += $c }' | Where-Object { $_.RuleName -eq $violationName } $results.Count | Should -Be 0 } + + It "Does not flag drive qualified variables such as env" { + $results = Invoke-ScriptAnalyzer -ScriptDefinition '$env:foo = 1; function foo(){ $env:bar = 42 }' + $results.Count | Should -Be 0 + } } } \ No newline at end of file From 7304362edde327051276a44499cd4bdf171c87a5 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Thu, 5 Apr 2018 20:04:51 +0100 Subject: [PATCH 096/120] Upgrade 'System.Automation.Management' NuGet package of version 6.0.0-alpha13 to official version 6.0.2 from powershell-core feed, which requires upgrade to netstandard2.0 (#919) * Upgrade system.automation.management to 6.0.1.1 for netstandard, which required upgrade from netstandard 1.6 to netstandard2.0,which included some breaking changes in netstandard2.0 that required some more nuget packges. * use release version of TypeExtensions instead of pre-release * Update System.Management.Automation from 6.0.1.1 to 6.0.2 * run PowerShell Core tests only if image has at least 6.0.2 as required by the new system.management.automation package. * install pwsh for windows if required instead of skipping tests. Thanks for Ilya for the help to get that working * upgrade to net 461 and use in full clr as well * fix other references to net451 with net461 * Revert "fix other references to net451 with net461" This reverts commit d31a55bbe573bb9ceee524a2cab63941abe4088c. * Revert "upgrade to net 461 and use in full clr as well" This reverts commit 52d852151bbf20fa185d0a07d015c70d293a57e4. * use v3/5 reference assemblies * Make UseIdenticalMandatoryParametersDSC rule compilable for v4 by introducing PSV4Release Remove old csproj files that are not needed any more * fix wmf4 build * Use 1.0.0-alpha* of Microsoft.Management.Infrastructure nuget package (i.e. latest instead of specific) --- .build.ps1 | 10 +- Engine/Engine.csproj | 37 ++++- Engine/PSScriptAnalyzer.psm1 | 5 +- Engine/ScriptAnalyzer.cs | 2 +- Engine/ScriptAnalyzerEngine.csproj | 174 -------------------- README.md | 8 +- Rules/Rules.csproj | 45 +++-- Rules/ScriptAnalyzerBuiltinRules.csproj | 174 -------------------- Rules/UseIdenticalMandatoryParametersDSC.cs | 6 +- Utils/ReleaseMaker.psm1 | 2 +- appveyor.yml | 16 +- buildCoreClr.ps1 | 13 +- tools/appveyor.psm1 | 4 +- 13 files changed, 106 insertions(+), 390 deletions(-) delete mode 100644 Engine/ScriptAnalyzerEngine.csproj delete mode 100644 Rules/ScriptAnalyzerBuiltinRules.csproj diff --git a/.build.ps1 b/.build.ps1 index 99c98a106..20fc33578 100644 --- a/.build.ps1 +++ b/.build.ps1 @@ -1,8 +1,8 @@ param( - [ValidateSet("net451", "netstandard1.6")] + [ValidateSet("net451", "netstandard2.0")] [string]$Framework = "net451", - [ValidateSet("Debug", "Release", "PSv3Debug", "PSv3Release")] + [ValidateSet("Debug", "Release", "PSv3Debug", "PSv3Release", "PSv4Release")] [string]$Configuration = "Debug" ) @@ -17,9 +17,9 @@ if ($BuildTask -eq "release") { $buildData = @{ Frameworks = @{ "net451" = @{ - Configuration = @('Release', "PSV3Release") + Configuration = @('Release', "PSV3Release", "PSv4Release") } - "netstandard1.6" = @{ + "netstandard2.0" = @{ Configuration = @('Release') } } @@ -145,7 +145,7 @@ task createModule { $itemsToCopyBinaries = @("$solutionDir\Engine\bin\$Configuration\$Framework\Microsoft.Windows.PowerShell.ScriptAnalyzer.dll", "$solutionDir\Rules\bin\$Configuration\$Framework\Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.dll") - if ($Framework -eq "netstandard1.6") { + if ($Framework -eq "netstandard2.0") { $destinationDirBinaries = "$destinationDir\coreclr" } elseif ($Configuration -match 'PSv3') { diff --git a/Engine/Engine.csproj b/Engine/Engine.csproj index 2981cf2f6..f727116b5 100644 --- a/Engine/Engine.csproj +++ b/Engine/Engine.csproj @@ -2,31 +2,26 @@ 1.16.1 - netstandard1.6;net451 + netstandard2.0;net451 Microsoft.Windows.PowerShell.ScriptAnalyzer Engine Microsoft.Windows.PowerShell.ScriptAnalyzer - - - - - portable - + $(DefineConstants);CORECLR - + @@ -34,6 +29,10 @@ + + + + True @@ -49,8 +48,28 @@ + + + + + + + + + + + + + + + + - $(DefineConstants);PSV3;PSV5 + $(DefineConstants);PSV3 + + + + $(DefineConstants);PSV3;PSV4 diff --git a/Engine/PSScriptAnalyzer.psm1 b/Engine/PSScriptAnalyzer.psm1 index 78a1bbecf..6c88de4e7 100644 --- a/Engine/PSScriptAnalyzer.psm1 +++ b/Engine/PSScriptAnalyzer.psm1 @@ -15,9 +15,12 @@ if (($PSVersionTable.Keys -contains "PSEdition") -and ($PSVersionTable.PSEdition $binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath 'coreclr' } else { - if ($PSVersionTable.PSVersion -lt [Version]'5.0') { + if ($PSVersionTable.PSVersion.Major -eq 3) { $binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath 'PSv3' } + elseif ($PSVersionTable.PSVersion.Major -eq 4) { + $binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath 'PSv4' + } } $binaryModulePath = Join-Path -Path $binaryModuleRoot -ChildPath 'Microsoft.Windows.PowerShell.ScriptAnalyzer.dll' diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index 67ff44e73..6a7a6ea20 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1131,7 +1131,7 @@ private List GetExternalRule(string[] moduleNames) { dynamic description = helpContent[0].Properties["Description"]; - if (null != description && null != description.Value && description.Value.GetType().IsArray) + if (description != null && description.Value != null && description.Value.GetType().IsArray) { desc = description.Value[0].Text; } diff --git a/Engine/ScriptAnalyzerEngine.csproj b/Engine/ScriptAnalyzerEngine.csproj deleted file mode 100644 index 375bcdf5e..000000000 --- a/Engine/ScriptAnalyzerEngine.csproj +++ /dev/null @@ -1,174 +0,0 @@ - - - - Debug - AnyCPU - {F4BDE3D0-3EEF-4157-8A3E-722DF7ADEF60} - Library - false - Microsoft.Windows.PowerShell.ScriptAnalyzer - v4.5 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - Microsoft.Windows.PowerShell.ScriptAnalyzer - - - true - bin\PSV3 Debug\ - TRACE;DEBUG;PSV3 - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - - - bin\PSV3 Release\ - TRACE;PSV3 - true - pdbonly - AnyCPU - prompt - MinimumRecommendedRules.ruleset - - - - - - - - - - False - ..\..\..\..\..\..\fbl_srv2_ci_mgmt.binaries.amd64chk\monad\System.Management.Automation.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - Strings.resx - - - - - - - - - - - - - - - - - - - - - ResXFileCodeGenerator - Strings.Designer.cs - - - - - - - - if "PSV3 Release" == "$(ConfigurationName)" ( - GOTO psv3Release -) else if "PSV3 Debug" == "$(ConfigurationName)" ( - GOTO psv3Debug -) else ( - GOTO default -) - -:psv3Release -:psv3Debug -if not exist "$(SolutionDir)out\$(SolutionName)\PSv3" ( - mkdir "$(SolutionDir)out\$(SolutionName)\PSv3" -) -copy /y "$(TargetPath)" "$(SolutionDir)out\$(SolutionName)\PSv3" -GOTO end - - -:default -if not exist "$(SolutionDir)out\$(SolutionName)" ( - mkdir "$(SolutionDir)out\$(SolutionName)" -) -copy /y "$(TargetPath)" "$(SolutionDir)out\$(SolutionName)" -GOTO end - -:end -copy /y "$(ProjectDir)*.ps1xml" "$(SolutionDir)out\$(SolutionName)" -copy /y "$(ProjectDir)*.psm1" "$(SolutionDir)out\$(SolutionName)" -copy /y "$(ProjectDir)*.psd1" "$(SolutionDir)out\$(SolutionName)" -if not exist "$(SolutionDir)out\$(SolutionName)\Settings" ( - mkdir "$(SolutionDir)out\$(SolutionName)\Settings" -) -copy /y "$(ProjectDir)Settings\*.psd1" "$(SolutionDir)out\$(SolutionName)\Settings" -if not exist "$(SolutionDir)out\$(SolutionName)\en-US" ( - mkdir "$(SolutionDir)out\$(SolutionName)\en-US" -) -copy /y "$(SolutionDir)docs\about_*.help.txt" "$(SolutionDir)out\$(SolutionName)\en-US" - - \ No newline at end of file diff --git a/README.md b/README.md index 1eb8dedff..db30be911 100644 --- a/README.md +++ b/README.md @@ -107,13 +107,17 @@ Exit ```powershell .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build ``` - * Windows PowerShell version 3.0 and 4.0 + * Windows PowerShell version 4.0 + ```powershell + .\buildCoreClr.ps1 -Framework net451 -Configuration PSV4Release -Build + ``` + * Windows PowerShell version 3.0 ```powershell .\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build ``` * PowerShell Core ```powershell - .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build + .\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build ``` * Build documenatation ```powershell diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index 43a19ea2e..ddefe13be 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -2,20 +2,16 @@ 1.16.1 - netstandard1.6;net451 + netstandard2.0;net451 Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules Rules - $(PackageTargetFallback) - 1.0.4 + $(PackageTargetFallback) + 1.0.4 Microsoft.Windows.PowerShell.ScriptAnalyzer - - - - @@ -30,14 +26,10 @@ portable - + $(DefineConstants);CORECLR - - - - True @@ -53,8 +45,35 @@ + + + + + + + + + + + + + + + + + + + + + + + - $(DefineConstants);PSV3;PSV5 + $(DefineConstants);PSV3 + + + + $(DefineConstants);PSV3;PSV4 diff --git a/Rules/ScriptAnalyzerBuiltinRules.csproj b/Rules/ScriptAnalyzerBuiltinRules.csproj deleted file mode 100644 index 007d27da1..000000000 --- a/Rules/ScriptAnalyzerBuiltinRules.csproj +++ /dev/null @@ -1,174 +0,0 @@ - - - - Debug - AnyCPU - {C33B6B9D-E61C-45A3-9103-895FD82A5C1E} - Library - false - Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules - v4.5 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules - - - true - bin\PSV3 Debug\ - TRACE;DEBUG;PSV3 - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - - - bin\PSV3 Release\ - TRACE;PSV3 - true - pdbonly - AnyCPU - prompt - MinimumRecommendedRules.ruleset - - - - - - - - - - - False - ..\..\..\..\..\..\fbl_srv2_ci_mgmt.binaries.amd64chk\monad\System.Management.Automation.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - Strings.resx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {f4bde3d0-3eef-4157-8a3e-722df7adef60} - ScriptAnalyzerEngine - - - - - Designer - ResXFileCodeGenerator - Strings.Designer.cs - - - - - - - - -if "PSV3 Release" == "$(ConfigurationName)" ( - GOTO psv3Release -) else if "PSV3 Debug" == "$(ConfigurationName)" ( - GOTO psv3Debug -) else ( - GOTO default -) - -:psv3Release -:psv3Debug - if not exist "$(SolutionDir)out\$(SolutionName)\PSv3" ( - mkdir "$(SolutionDir)out\$(SolutionName)\PSv3" - ) - copy /y "$(TargetPath)" "$(SolutionDir)out\$(SolutionName)\PSv3" - - GOTO end - -:default - if not exist "$(SolutionDir)out\$(SolutionName)" ( - mkdir "$(SolutionDir)out\$(SolutionName)" - ) - copy /y "$(TargetPath)" "$(SolutionDir)out\$(SolutionName)" - - GOTO end - -:end - - - \ No newline at end of file diff --git a/Rules/UseIdenticalMandatoryParametersDSC.cs b/Rules/UseIdenticalMandatoryParametersDSC.cs index 928be1ab3..73f37645f 100644 --- a/Rules/UseIdenticalMandatoryParametersDSC.cs +++ b/Rules/UseIdenticalMandatoryParametersDSC.cs @@ -1,6 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +// this rule can only compile on v4+ +#if (PSV4 || !PSV3) + using System; using System.Collections.Generic; using System.Collections.ObjectModel; @@ -335,5 +338,4 @@ private FileInfo GetModuleManifest(string fileName) } } - - +#endif diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index aba151ecc..3c0d244b4 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -95,7 +95,7 @@ function New-ReleaseBuild remove-item out/ -recurse -force .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build .\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build - .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build + .\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build .\build.ps1 -BuildDocs } finally diff --git a/appveyor.yml b/appveyor.yml index ef8d68836..5c6fde606 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,7 +8,7 @@ environment: BuildConfiguration: Release - APPVEYOR_BUILD_WORKER_IMAGE: WMF 4 PowerShellEdition: WindowsPowerShell - BuildConfiguration: PSv3Release + BuildConfiguration: PSv4Release - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu PowerShellEdition: PowerShellCore BuildConfiguration: Release @@ -21,10 +21,24 @@ cache: install: - ps: if ($env:PowerShellEdition -eq 'WindowsPowerShell') { Import-Module .\tools\appveyor.psm1; Invoke-AppveyorInstall } - pwsh: if ($env:PowerShellEdition -eq 'PowerShellCore') { Import-Module .\tools\appveyor.psm1; Invoke-AppveyorInstall } + - ps: | + # Windows image still has version 6.0.0 of pwsh but 6.0.2 is required due to System.Management.Automation package https://github.com/appveyor/ci/issues/2230 + if ($env:PowerShellEdition -eq 'PowerShellCore' -and $PSVersionTable.PSVersion -lt [version]'6.0.2' -and $IsWindows) { + $msiPath = "$env:TEMP\PowerShell-6.0.2-win-x64.msi" + (New-Object Net.WebClient).DownloadFile('https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/PowerShell-6.0.2-win-x64.msi', $msiPath) + Write-Verbose 'Installing pwsh 6.0.2' -Verbose + Start-Process 'msiexec.exe' -Wait -ArgumentList "/i $msiPath /quiet" + Remove-Item $msiPath + $env:Path = "$env:ProgramFiles\PowerShell\6.0.2;$env:Path" + } build_script: - ps: | if ($env:PowerShellEdition -eq 'WindowsPowerShell') { + if ($env:BuildConfiguration -eq 'PSv4Release') { + # On WMF$: Also build for v3 to check it builds at least since we do not have a WMF3 image + Invoke-AppveyorBuild -CheckoutPath $env:APPVEYOR_BUILD_FOLDER -BuildConfiguration PSv3Release -BuildType 'FullCLR' + } Invoke-AppveyorBuild -CheckoutPath $env:APPVEYOR_BUILD_FOLDER -BuildConfiguration $env:BuildConfiguration -BuildType 'FullCLR' } - pwsh: | diff --git a/buildCoreClr.ps1 b/buildCoreClr.ps1 index e9655e24c..b8878299e 100644 --- a/buildCoreClr.ps1 +++ b/buildCoreClr.ps1 @@ -3,14 +3,14 @@ [switch]$Uninstall, [switch]$Install, - [ValidateSet("net451", "netstandard1.6")] - [string]$Framework = "netstandard1.6", + [ValidateSet("net451", "netstandard2.0")] + [string]$Framework = "netstandard2.0", - [ValidateSet("Debug", "Release", "PSv3Debug", "PSv3Release")] + [ValidateSet("Debug", "Release", "PSv3Debug", "PSv3Release", "PSv4Release")] [string]$Configuration = "Debug" ) -if ($Configuration -match "PSv3" -and $Framework -eq "netstandard1.6") +if ($Configuration -match "PSv3" -and $Framework -eq "netstandard2.0") { throw ("{0} configuration is not applicable to {1} framework" -f $Configuration,$Framework) } @@ -32,13 +32,16 @@ $itemsToCopyCommon = @("$solutionDir\Engine\PSScriptAnalyzer.psd1", $destinationDir = "$solutionDir\out\PSScriptAnalyzer" $destinationDirBinaries = $destinationDir -if ($Framework -eq "netstandard1.6") +if ($Framework -eq "netstandard2.0") { $destinationDirBinaries = "$destinationDir\coreclr" } elseif ($Configuration -match 'PSv3') { $destinationDirBinaries = "$destinationDir\PSv3" } +elseif ($Configuration -match 'PSv4') { + $destinationDirBinaries = "$destinationDir\PSv4" +} if ($build) { diff --git a/tools/appveyor.psm1 b/tools/appveyor.psm1 index bbac9a0a2..70ee9ec10 100644 --- a/tools/appveyor.psm1 +++ b/tools/appveyor.psm1 @@ -44,7 +44,7 @@ function Invoke-AppVeyorBuild { $BuildType, [Parameter(Mandatory)] - [ValidateSet('Release', 'PSv3Release')] + [ValidateSet('Release', 'PSv4Release', 'PSv4Release')] $BuildConfiguration, [Parameter(Mandatory)] @@ -61,7 +61,7 @@ function Invoke-AppVeyorBuild { .\buildCoreClr.ps1 -Framework net451 -Configuration $BuildConfiguration -Build } elseif ($BuildType -eq 'NetStandard') { - .\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build + .\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build } .\build.ps1 -BuildDocs Pop-Location From 83af8ed724960cd68f3ca873b151fff8687b762b Mon Sep 17 00:00:00 2001 From: "James Truher [MSFT]" Date: Thu, 5 Apr 2018 14:04:45 -0700 Subject: [PATCH 097/120] Remove extraneous import-module commands (#962) Remove extraneous import-module commands in tests --- Tests/Engine/CorrectionExtent.tests.ps1 | 2 -- Tests/Engine/CustomizedRule.tests.ps1 | 11 +------- Tests/Engine/EditableText.tests.ps1 | 1 - Tests/Engine/Extensions.tests.ps1 | 2 -- Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 4 +-- Tests/Engine/Helper.tests.ps1 | 4 +-- Tests/Engine/InvokeFormatter.tests.ps1 | 2 -- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 13 +--------- Tests/Engine/LibraryUsage.tests.ps1 | 3 +-- Tests/Engine/RuleSuppression.tests.ps1 | 10 +------ Tests/Engine/RuleSuppressionClass.tests.ps1 | 26 +++++++------------ Tests/Engine/Settings.tests.ps1 | 4 --- Tests/Engine/TextEdit.tests.ps1 | 2 -- .../Rules/AlignAssignmentStatement.tests.ps1 | 1 - ...oidAssignmentToAutomaticVariable.tests.ps1 | 5 ++-- ...nvertToSecureStringWithPlainText.tests.ps1 | 5 ++-- ...dDefaultTrueValueSwitchParameter.tests.ps1 | 5 ++-- ...efaultValueForMandatoryParameter.tests.ps1 | 5 ++-- Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 | 5 ++-- Tests/Rules/AvoidGlobalAliases.tests.ps1 | 1 - Tests/Rules/AvoidGlobalFunctions.tests.ps1 | 4 +-- .../AvoidGlobalOrUnitializedVars.tests.ps1 | 3 +-- .../Rules/AvoidInvokingEmptyMembers.tests.ps1 | 6 ++--- ...dNullOrEmptyHelpMessageAttribute.tests.ps1 | 3 +-- .../Rules/AvoidPositionalParameters.tests.ps1 | 5 ++-- Tests/Rules/AvoidReservedParams.tests.ps1 | 5 ++-- .../AvoidShouldContinueWithoutForce.tests.ps1 | 3 +-- Tests/Rules/AvoidTrailingWhitespace.tests.ps1 | 1 - ...OrMissingRequiredFieldInManifest.tests.ps1 | 1 - .../AvoidUserNameAndPasswordParams.tests.ps1 | 3 +-- Tests/Rules/AvoidUsingAlias.tests.ps1 | 1 - .../AvoidUsingComputerNameHardcoded.tests.ps1 | 5 ++-- ...oidUsingDeprecatedManifestFields.tests.ps1 | 5 ++-- .../AvoidUsingInvokeExpression.tests.ps1 | 5 ++-- .../AvoidUsingPlainTextForPassword.tests.ps1 | 5 ++-- .../AvoidUsingReservedCharNames.tests.ps1 | 5 ++-- Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 | 5 ++-- Tests/Rules/AvoidUsingWriteHost.tests.ps1 | 5 ++-- Tests/Rules/DscExamplesPresent.tests.ps1 | 2 -- Tests/Rules/DscTestsPresent.tests.ps1 | 2 -- Tests/Rules/MisleadingBacktick.tests.ps1 | 3 +-- Tests/Rules/PSCredentialType.tests.ps1 | 3 +-- Tests/Rules/PlaceCloseBrace.tests.ps1 | 1 - Tests/Rules/PlaceOpenBrace.tests.ps1 | 3 +-- ...sibleIncorrectComparisonWithNull.tests.ps1 | 5 ++-- ...correctUsageOfAssignmentOperator.tests.ps1 | 1 - Tests/Rules/ProvideCommentHelp.tests.ps1 | 1 - ...eturnCorrectTypesForDSCFunctions.tests.ps1 | 4 +-- .../UseBOMForUnicodeEncodedFile.tests.ps1 | 5 ++-- Tests/Rules/UseCmdletCorrectly.tests.ps1 | 5 ++-- Tests/Rules/UseCompatibleCmdlets.tests.ps1 | 1 - .../Rules/UseConsistentIndentation.tests.ps1 | 1 - Tests/Rules/UseConsistentWhitespace.tests.ps1 | 1 - Tests/Rules/UseDSCResourceFunctions.tests.ps1 | 3 +-- ...eDeclaredVarsMoreThanAssignments.tests.ps1 | 3 +-- .../Rules/UseIdenticalParametersDSC.tests.ps1 | 4 +-- ...seLiteralInitializerForHashtable.tests.ps1 | 5 ++-- Tests/Rules/UseOutputTypeCorrectly.tests.ps1 | 3 +-- .../Rules/UseShouldProcessCorrectly.tests.ps1 | 3 +-- ...ProcessForStateChangingFunctions.tests.ps1 | 3 +-- .../UseSingularNounsReservedVerbs.tests.ps1 | 3 +-- .../Rules/UseSupportsShouldProcess.tests.ps1 | 1 - .../UseToExportFieldsInManifest.tests.ps1 | 1 - .../UseUTF8EncodingForHelpFile.tests.ps1 | 5 ++-- .../UseVerboseMessageInDSCResource.Tests.ps1 | 4 +-- 65 files changed, 73 insertions(+), 184 deletions(-) diff --git a/Tests/Engine/CorrectionExtent.tests.ps1 b/Tests/Engine/CorrectionExtent.tests.ps1 index b56475f31..3959088d5 100644 --- a/Tests/Engine/CorrectionExtent.tests.ps1 +++ b/Tests/Engine/CorrectionExtent.tests.ps1 @@ -1,5 +1,3 @@ -Import-Module PSScriptAnalyzer - Describe "Correction Extent" { $type = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.CorrectionExtent] diff --git a/Tests/Engine/CustomizedRule.tests.ps1 b/Tests/Engine/CustomizedRule.tests.ps1 index d2cecd23b..3ad6225ad 100644 --- a/Tests/Engine/CustomizedRule.tests.ps1 +++ b/Tests/Engine/CustomizedRule.tests.ps1 @@ -1,13 +1,4 @@ - -# Check if PSScriptAnalyzer is already loaded so we don't -# overwrite a test version of Invoke-ScriptAnalyzer by -# accident -if (!(Get-Module PSScriptAnalyzer) -and !$testingLibraryUsage) -{ - Import-Module PSScriptAnalyzer -} - -$directory = Split-Path -Parent $MyInvocation.MyCommand.Path +$directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') diff --git a/Tests/Engine/EditableText.tests.ps1 b/Tests/Engine/EditableText.tests.ps1 index bee601a21..4c941b6e8 100644 --- a/Tests/Engine/EditableText.tests.ps1 +++ b/Tests/Engine/EditableText.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $editableTextType = "Microsoft.Windows.PowerShell.ScriptAnalyzer.EditableText" diff --git a/Tests/Engine/Extensions.tests.ps1 b/Tests/Engine/Extensions.tests.ps1 index ddb74129f..72456b402 100644 --- a/Tests/Engine/Extensions.tests.ps1 +++ b/Tests/Engine/Extensions.tests.ps1 @@ -1,7 +1,5 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory - -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") function Get-Extent { diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index 4877becdc..f8d80af43 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -1,6 +1,4 @@ - $directory = Split-Path -Parent $MyInvocation.MyCommand.Path -Import-Module -Verbose PSScriptAnalyzer $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') $sa = Get-Command Get-ScriptAnalyzerRule @@ -175,7 +173,7 @@ Describe "TestWildCard" { } It "filters rules based on wild card input and severity"{ - $rules = Get-ScriptAnalyzerRule -Name PSDSC* -Severity Information + $rules = Get-ScriptAnalyzerRule -Name PSDSC* -Severity Information $rules.Count | Should -Be 4 } } diff --git a/Tests/Engine/Helper.tests.ps1 b/Tests/Engine/Helper.tests.ps1 index 726b59708..cf4c57a7f 100644 --- a/Tests/Engine/Helper.tests.ps1 +++ b/Tests/Engine/Helper.tests.ps1 @@ -1,5 +1,3 @@ -Import-Module PSScriptAnalyzer - Describe "Test Directed Graph" { Context "When a graph is created" { $digraph = New-Object -TypeName 'Microsoft.Windows.PowerShell.ScriptAnalyzer.DiGraph[string]' @@ -28,4 +26,4 @@ Describe "Test Directed Graph" { $digraph.IsConnected('v1', 'v4') | Should -BeTrue } } -} \ No newline at end of file +} diff --git a/Tests/Engine/InvokeFormatter.tests.ps1 b/Tests/Engine/InvokeFormatter.tests.ps1 index 5c0e54a88..a4d841657 100644 --- a/Tests/Engine/InvokeFormatter.tests.ps1 +++ b/Tests/Engine/InvokeFormatter.tests.ps1 @@ -1,7 +1,5 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory - -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") Describe "Invoke-Formatter Cmdlet" { diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 09f39243c..31b3fdecf 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -1,15 +1,4 @@ -# Check if PSScriptAnalyzer is already loaded so we don't -# overwrite a test version of Invoke-ScriptAnalyzer by -# accident -if (!(Get-Module PSScriptAnalyzer) -and !$testingLibraryUsage) -{ - Import-Module PSScriptAnalyzer - $directory = Split-Path -Parent $MyInvocation.MyCommand.Path - $testRootDirectory = Split-Path -Parent $directory - Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') -} - -$sa = Get-Command Invoke-ScriptAnalyzer +$sa = Get-Command Invoke-ScriptAnalyzer $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $singularNouns = "PSUseSingularNouns" $approvedVerb = "PSUseApprovedVerbs" diff --git a/Tests/Engine/LibraryUsage.tests.ps1 b/Tests/Engine/LibraryUsage.tests.ps1 index 68f3b68ee..a33d4fa3f 100644 --- a/Tests/Engine/LibraryUsage.tests.ps1 +++ b/Tests/Engine/LibraryUsage.tests.ps1 @@ -1,9 +1,8 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') -Import-Module PSScriptAnalyzer -# test is meant to verify functionality if chsarp apis are used. Hence not if psedition is CoreCLR +# test is meant to verify functionality if csharp apis are used. Hence not if psedition is CoreCLR if ((Test-PSEditionCoreCLR)) { return diff --git a/Tests/Engine/RuleSuppression.tests.ps1 b/Tests/Engine/RuleSuppression.tests.ps1 index 84b342f72..a3fd9a07b 100644 --- a/Tests/Engine/RuleSuppression.tests.ps1 +++ b/Tests/Engine/RuleSuppression.tests.ps1 @@ -1,12 +1,4 @@ -# Check if PSScriptAnalyzer is already loaded so we don't -# overwrite a test version of Invoke-ScriptAnalyzer by -# accident -if (!(Get-Module PSScriptAnalyzer) -and !$testingLibraryUsage) -{ - Import-Module -Verbose PSScriptAnalyzer -} - -$directory = Split-Path -Parent $MyInvocation.MyCommand.Path +$directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') diff --git a/Tests/Engine/RuleSuppressionClass.tests.ps1 b/Tests/Engine/RuleSuppressionClass.tests.ps1 index d06f35039..94d26057b 100644 --- a/Tests/Engine/RuleSuppressionClass.tests.ps1 +++ b/Tests/Engine/RuleSuppressionClass.tests.ps1 @@ -1,11 +1,6 @@ -if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { - -# Check if PSScriptAnalyzer is already loaded so we don't -# overwrite a test version of Invoke-ScriptAnalyzer by -# accident -if (!(Get-Module PSScriptAnalyzer) -and !$testingLibraryUsage) -{ - Import-Module -Verbose PSScriptAnalyzer +$script:skipForV3V4 = $true +if ($PSVersionTable.PSVersion -ge [Version]'5.0.0') { + $script:skipForV3V4 = $false } $directory = Split-Path -Parent $MyInvocation.MyCommand.Path @@ -15,7 +10,7 @@ $violations = Invoke-ScriptAnalyzer "$directory\RuleSuppression.ps1" Describe "RuleSuppressionWithoutScope" { Context "Class" { - It "Does not raise violations" { + It "Does not raise violations" -skip:$script:skipForV3V4 { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingInvokeExpression" } $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingInvokeExpression" } @@ -24,7 +19,7 @@ Describe "RuleSuppressionWithoutScope" { } Context "FunctionInClass" { - It "Does not raise violations" { + It "Does not raise violations" -skip:$script:skipForV3V4 { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingCmdletAliases" } $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingCmdletAliases" } @@ -33,7 +28,7 @@ Describe "RuleSuppressionWithoutScope" { } Context "Script" { - It "Does not raise violations" { + It "Does not raise violations" -skip:$script:skipForV3V4 { $suppression = $violations | Where-Object {$_.RuleName -eq "PSProvideCommentHelp" } $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSProvideCommentHelp" } @@ -42,7 +37,7 @@ Describe "RuleSuppressionWithoutScope" { } Context "RuleSuppressionID" { - It "Only suppress violations for that ID" { + It "Only suppress violations for that ID" -skip:$script:skipForV3V4 { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidDefaultValueForMandatoryParameter" } $suppression.Count | Should -Be 1 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidDefaultValueForMandatoryParameter" } @@ -53,7 +48,7 @@ Describe "RuleSuppressionWithoutScope" { Describe "RuleSuppressionWithScope" { Context "FunctionScope" { - It "Does not raise violations" { + It "Does not raise violations" -skip:$script:skipForV3V4 { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingPositionalParameters" } $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingPositionalParameters" } @@ -62,12 +57,11 @@ Describe "RuleSuppressionWithScope" { } Context "ClassScope" { - It "Does not raise violations" { + It "Does not raise violations" -skip:$script:skipForV3V4 { $suppression = $violations | Where-Object {$_.RuleName -eq "PSAvoidUsingConvertToSecureStringWithPlainText" } $suppression.Count | Should -Be 0 $suppression = $violationsUsingScriptDefinition | Where-Object {$_.RuleName -eq "PSAvoidUsingConvertToSecureStringWithPlainText" } $suppression.Count | Should -Be 0 } } - } - } \ No newline at end of file +} diff --git a/Tests/Engine/Settings.tests.ps1 b/Tests/Engine/Settings.tests.ps1 index 5e6aff7f0..1b3d00b13 100644 --- a/Tests/Engine/Settings.tests.ps1 +++ b/Tests/Engine/Settings.tests.ps1 @@ -1,7 +1,3 @@ -if (!(Get-Module PSScriptAnalyzer)) { - Import-Module PSScriptAnalyzer -} - $directory = Split-Path $MyInvocation.MyCommand.Path $settingsTestDirectory = [System.IO.Path]::Combine($directory, "SettingsTest") $project1Root = [System.IO.Path]::Combine($settingsTestDirectory, "Project1") diff --git a/Tests/Engine/TextEdit.tests.ps1 b/Tests/Engine/TextEdit.tests.ps1 index 7927d5645..25239d52a 100644 --- a/Tests/Engine/TextEdit.tests.ps1 +++ b/Tests/Engine/TextEdit.tests.ps1 @@ -1,5 +1,3 @@ -Import-Module PSScriptAnalyzer - Describe "TextEdit Class" { $type = [Microsoft.Windows.PowerShell.ScriptAnalyzer.TextEdit] diff --git a/Tests/Rules/AlignAssignmentStatement.tests.ps1 b/Tests/Rules/AlignAssignmentStatement.tests.ps1 index 013d968c8..31bbfa81d 100644 --- a/Tests/Rules/AlignAssignmentStatement.tests.ps1 +++ b/Tests/Rules/AlignAssignmentStatement.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $ruleConfiguration = @{ diff --git a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 index dc21ac4dc..79a161d61 100644 --- a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 +++ b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$ruleName = "PSAvoidAssignmentToAutomaticVariable" +$ruleName = "PSAvoidAssignmentToAutomaticVariable" Describe "AvoidAssignmentToAutomaticVariables" { Context "ReadOnly Variables" { @@ -71,4 +70,4 @@ Describe "AvoidAssignmentToAutomaticVariables" { } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 b/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 index a5a2cd6bc..c2a017771 100644 --- a/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 +++ b/Tests/Rules/AvoidConvertToSecureStringWithPlainText.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -Set-Alias ctss ConvertTo-SecureString +Set-Alias ctss ConvertTo-SecureString $violationMessage = "File 'AvoidConvertToSecureStringWithPlainText.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead." $violationName = "PSAvoidUsingConvertToSecureStringWithPlainText" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path @@ -22,4 +21,4 @@ Describe "AvoidConvertToSecureStringWithPlainText" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 b/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 index 3f8f8ce8a..1950bc2fc 100644 --- a/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 +++ b/Tests/Rules/AvoidDefaultTrueValueSwitchParameter.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "File 'AvoidDefaultTrueValueSwitchParameter.ps1' has a switch parameter default to true." +$violationMessage = "File 'AvoidDefaultTrueValueSwitchParameter.ps1' has a switch parameter default to true." $violationName = "PSAvoidDefaultValueSwitchParameter" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidDefaultTrueValueSwitchParameter.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -21,4 +20,4 @@ Describe "AvoidDefaultTrueValueSwitchParameter" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 index a303083e8..9948a9d13 100644 --- a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 +++ b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$ruleName = 'PSAvoidDefaultValueForMandatoryParameter' +$ruleName = 'PSAvoidDefaultValueForMandatoryParameter' Describe "AvoidDefaultValueForMandatoryParameter" { Context "When there are violations" { @@ -23,4 +22,4 @@ Describe "AvoidDefaultValueForMandatoryParameter" { $violations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 b/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 index ff724dd5a..25215cbef 100644 --- a/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 +++ b/Tests/Rules/AvoidEmptyCatchBlock.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "Empty catch block is used. Please use Write-Error or throw statements in catch blocks." +$violationMessage = "Empty catch block is used. Please use Write-Error or throw statements in catch blocks." $violationName = "PSAvoidUsingEmptyCatchBlock" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidEmptyCatchBlock.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -22,4 +21,4 @@ Describe "UseDeclaredVarsMoreThanAssignments" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidGlobalAliases.tests.ps1 b/Tests/Rules/AvoidGlobalAliases.tests.ps1 index 5274f202d..8d069c9f8 100644 --- a/Tests/Rules/AvoidGlobalAliases.tests.ps1 +++ b/Tests/Rules/AvoidGlobalAliases.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') -Import-Module PSScriptAnalyzer $AvoidGlobalAliasesError = "Avoid creating aliases with a Global scope." $violationName = "PSAvoidGlobalAliases" diff --git a/Tests/Rules/AvoidGlobalFunctions.tests.ps1 b/Tests/Rules/AvoidGlobalFunctions.tests.ps1 index 1cf59e52f..b1a55847f 100644 --- a/Tests/Rules/AvoidGlobalFunctions.tests.ps1 +++ b/Tests/Rules/AvoidGlobalFunctions.tests.ps1 @@ -1,6 +1,4 @@ -Import-Module PSScriptAnalyzer - -$functionErroMessage = "Avoid creating functions with a Global scope." +$functionErroMessage = "Avoid creating functions with a Global scope." $violationName = "PSAvoidGlobalFunctions" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path diff --git a/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 b/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 index 880ce7d4f..d1caa053c 100644 --- a/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 +++ b/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$globalMessage = "Found global variable 'Global:1'." +$globalMessage = "Found global variable 'Global:1'." $globalName = "PSAvoidGlobalVars" # PSAvoidUninitializedVariable rule has been deprecated diff --git a/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 b/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 index 4448fae1d..d9bb76f56 100644 --- a/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 +++ b/Tests/Rules/AvoidInvokingEmptyMembers.tests.ps1 @@ -1,6 +1,4 @@ -Import-Module PSScriptAnalyzer - -$violationMessage = "() has non-constant members. Invoking non-constant members may cause bugs in the script." +$violationMessage = "() has non-constant members. Invoking non-constant members may cause bugs in the script." $violationName = "PSAvoidInvokingEmptyMembers" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidInvokingEmptyMembers.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -22,4 +20,4 @@ Describe "AvoidInvokingEmptyMembers" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 b/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 index 8c8b3aca5..909e34289 100644 --- a/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 +++ b/Tests/Rules/AvoidNullOrEmptyHelpMessageAttribute.tests.ps1 @@ -1,4 +1,3 @@ -Import-Module PSScriptAnalyzer $violationName = "PSAvoidNullOrEmptyHelpMessageAttribute" $violationMessage = "HelpMessage parameter attribute should not be null or empty. To fix a violation of this rule, please set its value to a non-empty string." $directory = Split-Path -Parent $MyInvocation.MyCommand.Path @@ -21,4 +20,4 @@ Describe "AvoidNullOrEmptyHelpMessageAttribute" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidPositionalParameters.tests.ps1 b/Tests/Rules/AvoidPositionalParameters.tests.ps1 index 9ff360e3e..8e95ca008 100644 --- a/Tests/Rules/AvoidPositionalParameters.tests.ps1 +++ b/Tests/Rules/AvoidPositionalParameters.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "Cmdlet 'Get-Command' has positional parameter. Please use named parameters instead of positional parameters when calling a command." +$violationMessage = "Cmdlet 'Get-Command' has positional parameter. Please use named parameters instead of positional parameters when calling a command." $violationName = "PSAvoidUsingPositionalParameters" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidPositionalParameters.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -27,4 +26,4 @@ Describe "AvoidPositionalParameters" { $noViolationsDSC.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidReservedParams.tests.ps1 b/Tests/Rules/AvoidReservedParams.tests.ps1 index a4050699b..358c0e9dd 100644 --- a/Tests/Rules/AvoidReservedParams.tests.ps1 +++ b/Tests/Rules/AvoidReservedParams.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = [regex]::Escape("Verb-Files' defines the reserved common parameter 'Verbose'.") +$violationMessage = [regex]::Escape("Verb-Files' defines the reserved common parameter 'Verbose'.") $violationName = "PSReservedParams" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\BadCmdlet.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -22,4 +21,4 @@ Describe "AvoidReservedParams" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 b/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 index 28b963a8b..0e8e2dfec 100644 --- a/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 +++ b/Tests/Rules/AvoidShouldContinueWithoutForce.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "Function 'Verb-Noun2' in file 'AvoidShouldContinueWithoutForce.ps1' uses ShouldContinue but does not have a boolean force parameter. The force parameter will allow users of the script to bypass ShouldContinue prompt" +$violationMessage = "Function 'Verb-Noun2' in file 'AvoidShouldContinueWithoutForce.ps1' uses ShouldContinue but does not have a boolean force parameter. The force parameter will allow users of the script to bypass ShouldContinue prompt" $violationName = "PSAvoidShouldContinueWithoutForce" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidShouldContinueWithoutForce.ps1 | Where-Object {$_.RuleName -eq $violationName} diff --git a/Tests/Rules/AvoidTrailingWhitespace.tests.ps1 b/Tests/Rules/AvoidTrailingWhitespace.tests.ps1 index 4d7126a49..da722a529 100644 --- a/Tests/Rules/AvoidTrailingWhitespace.tests.ps1 +++ b/Tests/Rules/AvoidTrailingWhitespace.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $ruleName = "PSAvoidTrailingWhitespace" diff --git a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 index 4e5c1bfbb..55d6dc593 100644 --- a/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 +++ b/Tests/Rules/AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 @@ -1,6 +1,5 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') $missingMessage = "The member 'ModuleVersion' is not present in the module manifest." diff --git a/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 b/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 index caaaac1ca..b499205f9 100644 --- a/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 +++ b/Tests/Rules/AvoidUserNameAndPasswordParams.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer - + $violationMessage = "Function 'TestFunction1' has both Username and Password parameters. Either set the type of the Password parameter to SecureString or replace the Username and Password parameters with a Credential parameter of type PSCredential. If using a Credential parameter in PowerShell 4.0 or earlier, please define a credential transformation attribute after the PSCredential type attribute." $violationName = "PSAvoidUsingUserNameAndPasswordParams" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path diff --git a/Tests/Rules/AvoidUsingAlias.tests.ps1 b/Tests/Rules/AvoidUsingAlias.tests.ps1 index e99d8aa47..c92748977 100644 --- a/Tests/Rules/AvoidUsingAlias.tests.ps1 +++ b/Tests/Rules/AvoidUsingAlias.tests.ps1 @@ -6,7 +6,6 @@ $violationFilepath = Join-Path $directory 'AvoidUsingAlias.ps1' $violations = Invoke-ScriptAnalyzer $violationFilepath | Where-Object {$_.RuleName -eq $violationName} $noViolations = Invoke-ScriptAnalyzer $directory\AvoidUsingAliasNoViolations.ps1 | Where-Object {$_.RuleName -eq $violationName} -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") Describe "AvoidUsingAlias" { diff --git a/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 b/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 index 35fa7bad2..1c87a8068 100644 --- a/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 +++ b/Tests/Rules/AvoidUsingComputerNameHardcoded.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = [regex]::Escape("The ComputerName parameter of cmdlet 'Invoke-Command' is hardcoded. This will expose sensitive information about the system if the script is shared.") +$violationMessage = [regex]::Escape("The ComputerName parameter of cmdlet 'Invoke-Command' is hardcoded. This will expose sensitive information about the system if the script is shared.") $violationName = "PSAvoidUsingComputerNameHardcoded" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidUsingComputerNameHardcoded.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -22,4 +21,4 @@ Describe "AvoidUsingComputerNameHardcoded" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 b/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 index d5f5fc2ab..8ecae2af1 100644 --- a/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 +++ b/Tests/Rules/AvoidUsingDeprecatedManifestFields.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationName = "PSAvoidUsingDeprecatedManifestFields" +$violationName = "PSAvoidUsingDeprecatedManifestFields" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer "$directory\TestBadModule\TestDeprecatedManifestFields.psd1" | Where-Object {$_.RuleName -eq $violationName} $noViolations = Invoke-ScriptAnalyzer "$directory\TestGoodModule\TestGoodModule.psd1" | Where-Object {$_.RuleName -eq $violationName} @@ -31,4 +30,4 @@ Describe "AvoidUsingDeprecatedManifestFields" { $ruleViolation.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 b/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 index f9d6390e7..dc7e38644 100644 --- a/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 +++ b/Tests/Rules/AvoidUsingInvokeExpression.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "Invoke-Expression is used. Please remove Invoke-Expression from script and find other options instead." +$violationMessage = "Invoke-Expression is used. Please remove Invoke-Expression from script and find other options instead." $violationName = "PSAvoidUsingInvokeExpression" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidUsingInvokeExpression.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -21,4 +20,4 @@ Describe "AvoidUsingInvokeExpression" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 b/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 index f4642b486..44a83d1a0 100644 --- a/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 +++ b/Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = [regex]::Escape("Parameter '`$password' should use SecureString, otherwise this will expose sensitive information. See ConvertTo-SecureString for more information.") +$violationMessage = [regex]::Escape("Parameter '`$password' should use SecureString, otherwise this will expose sensitive information. See ConvertTo-SecureString for more information.") $violationName = "PSAvoidUsingPlainTextForPassword" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violationFilepath = Join-Path $directory 'AvoidUsingPlainTextForPassword.ps1' @@ -36,4 +35,4 @@ Describe "AvoidUsingPlainTextForPassword" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 b/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 index 8083a98d5..1b6a32b90 100644 --- a/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 +++ b/Tests/Rules/AvoidUsingReservedCharNames.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$reservedCharMessage = "The cmdlet 'Use-#Reserved' uses a reserved char in its name." +$reservedCharMessage = "The cmdlet 'Use-#Reserved' uses a reserved char in its name." $reservedCharName = "PSReservedCmdletChar" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidUsingReservedCharNames.ps1 | Where-Object {$_.RuleName -eq $reservedCharName} @@ -21,4 +20,4 @@ Describe "Avoid Using Reserved Char" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 b/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 index d9896cab6..b367f11fe 100644 --- a/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 +++ b/Tests/Rules/AvoidUsingWMICmdlet.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$WMIRuleName = "PSAvoidUsingWMICmdlet" +$WMIRuleName = "PSAvoidUsingWMICmdlet" $violationMessage = "File 'AvoidUsingWMICmdlet.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets comply with WS-Management (WSMan) standards and with the Common Information Model (CIM) standard, which enables the cmdlets to use the same techniques to manage Windows computers and those running other operating systems." $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\AvoidUsingWMICmdlet.ps1 -IncludeRule $WMIRuleName @@ -21,4 +20,4 @@ Describe "AvoidUsingWMICmdlet" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/AvoidUsingWriteHost.tests.ps1 b/Tests/Rules/AvoidUsingWriteHost.tests.ps1 index 7008e929b..bfb8977d6 100644 --- a/Tests/Rules/AvoidUsingWriteHost.tests.ps1 +++ b/Tests/Rules/AvoidUsingWriteHost.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -Set-Alias ctss ConvertTo-SecureString +Set-Alias ctss ConvertTo-SecureString $writeHostMessage = [Regex]::Escape("File 'AvoidUsingWriteHost.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.") $writeHostName = "PSAvoidUsingWriteHost" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path @@ -22,4 +21,4 @@ Describe "AvoidUsingWriteHost" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/DscExamplesPresent.tests.ps1 b/Tests/Rules/DscExamplesPresent.tests.ps1 index b3c420243..3524a39e7 100644 --- a/Tests/Rules/DscExamplesPresent.tests.ps1 +++ b/Tests/Rules/DscExamplesPresent.tests.ps1 @@ -1,5 +1,3 @@ -Import-Module -Verbose PSScriptAnalyzer - $currentPath = Split-Path -Parent $MyInvocation.MyCommand.Path $ruleName = "PSDSCDscExamplesPresent" diff --git a/Tests/Rules/DscTestsPresent.tests.ps1 b/Tests/Rules/DscTestsPresent.tests.ps1 index 603f94d3d..f4faedf5e 100644 --- a/Tests/Rules/DscTestsPresent.tests.ps1 +++ b/Tests/Rules/DscTestsPresent.tests.ps1 @@ -1,5 +1,3 @@ -Import-Module -Verbose PSScriptAnalyzer - $currentPath = Split-Path -Parent $MyInvocation.MyCommand.Path $ruleName = "PSDSCDscTestsPresent" diff --git a/Tests/Rules/MisleadingBacktick.tests.ps1 b/Tests/Rules/MisleadingBacktick.tests.ps1 index 8b2eefb79..e4cd97195 100644 --- a/Tests/Rules/MisleadingBacktick.tests.ps1 +++ b/Tests/Rules/MisleadingBacktick.tests.ps1 @@ -1,4 +1,3 @@ -Import-Module PSScriptAnalyzer $writeHostName = "PSMisleadingBacktick" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violationFilepath = Join-Path $directory 'MisleadingBacktick.ps1' @@ -26,4 +25,4 @@ Describe "Avoid Misleading Backticks" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/PSCredentialType.tests.ps1 b/Tests/Rules/PSCredentialType.tests.ps1 index 237e160c8..344bfa5fb 100644 --- a/Tests/Rules/PSCredentialType.tests.ps1 +++ b/Tests/Rules/PSCredentialType.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') -Import-Module PSScriptAnalyzer $violationMessage = "The Credential parameter in 'Credential' must be of type PSCredential. For PowerShell 4.0 and earlier, please define a credential transformation attribute, e.g. [System.Management.Automation.Credential()], after the PSCredential type attribute." $violationName = "PSUsePSCredentialType" @@ -43,4 +42,4 @@ function Get-Credential $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/PlaceCloseBrace.tests.ps1 b/Tests/Rules/PlaceCloseBrace.tests.ps1 index e7b4f43ce..d9e6dda0a 100644 --- a/Tests/Rules/PlaceCloseBrace.tests.ps1 +++ b/Tests/Rules/PlaceCloseBrace.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $ruleConfiguration = @{ diff --git a/Tests/Rules/PlaceOpenBrace.tests.ps1 b/Tests/Rules/PlaceOpenBrace.tests.ps1 index b1ec42c8d..1635fd3ae 100644 --- a/Tests/Rules/PlaceOpenBrace.tests.ps1 +++ b/Tests/Rules/PlaceOpenBrace.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$ruleConfiguration = @{ +$ruleConfiguration = @{ Enable = $true OnSameLine = $true NewLineAfter = $true diff --git a/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 b/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 index 78cf1da4d..f00d3129a 100644 --- a/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 +++ b/Tests/Rules/PossibleIncorrectComparisonWithNull.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = [regex]::Escape('$null should be on the left side of equality comparisons.') +$violationMessage = [regex]::Escape('$null should be on the left side of equality comparisons.') $violationName = "PSPossibleIncorrectComparisonWithNull" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\PossibleIncorrectComparisonWithNull.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -21,4 +20,4 @@ Describe "PossibleIncorrectComparisonWithNull" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 index 5540b9305..353a9994f 100644 --- a/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 +++ b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 @@ -1,4 +1,3 @@ -Import-Module PSScriptAnalyzer $ruleName = "PSPossibleIncorrectUsageOfAssignmentOperator" Describe "PossibleIncorrectUsageOfAssignmentOperator" { diff --git a/Tests/Rules/ProvideCommentHelp.tests.ps1 b/Tests/Rules/ProvideCommentHelp.tests.ps1 index 58042ab50..51dd2137f 100644 --- a/Tests/Rules/ProvideCommentHelp.tests.ps1 +++ b/Tests/Rules/ProvideCommentHelp.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $violationMessage = "The cmdlet 'Comment' does not have a help comment." diff --git a/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 b/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 index 47f190410..8d85f81b6 100644 --- a/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 +++ b/Tests/Rules/ReturnCorrectTypesForDSCFunctions.tests.ps1 @@ -1,6 +1,4 @@ -Import-Module -Verbose PSScriptAnalyzer - -$violationMessageDSCResource = "Test-TargetResource function in DSC Resource should return object of type System.Boolean instead of System.Collections.Hashtable" +$violationMessageDSCResource = "Test-TargetResource function in DSC Resource should return object of type System.Boolean instead of System.Collections.Hashtable" $violationMessageDSCClass = "Get function in DSC Class FileResource should return object of type FileResource instead of type System.Collections.Hashtable" $violationName = "PSDSCReturnCorrectTypesForDSCFunctions" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path diff --git a/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 b/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 index d58259105..0aa479ce1 100644 --- a/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 +++ b/Tests/Rules/UseBOMForUnicodeEncodedFile.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessageOne = "Missing BOM encoding for non-ASCII encoded file 'BOMAbsent_UTF16EncodedScript.ps1'" +$violationMessageOne = "Missing BOM encoding for non-ASCII encoded file 'BOMAbsent_UTF16EncodedScript.ps1'" $violationMessageTwo = "Missing BOM encoding for non-ASCII encoded file 'BOMAbsent_UnknownEncodedScript.ps1'" $violationName = "PSUseBOMForUnicodeEncodedFile" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path @@ -37,4 +36,4 @@ Describe "UseBOMForUnicodeEncodedFile" { $noViolationsTwo.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseCmdletCorrectly.tests.ps1 b/Tests/Rules/UseCmdletCorrectly.tests.ps1 index 7447eceb2..1e2ac6633 100644 --- a/Tests/Rules/UseCmdletCorrectly.tests.ps1 +++ b/Tests/Rules/UseCmdletCorrectly.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module -Verbose PSScriptAnalyzer -$violationMessage = "Cmdlet 'Write-Warning' may be used incorrectly. Please check that all mandatory parameters are supplied." +$violationMessage = "Cmdlet 'Write-Warning' may be used incorrectly. Please check that all mandatory parameters are supplied." $violationName = "PSUseCmdletCorrectly" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\UseCmdletCorrectly.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -21,4 +20,4 @@ Describe "UseCmdletCorrectly" { $noViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseCompatibleCmdlets.tests.ps1 b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 index c89b0a0d6..60911ff1a 100644 --- a/Tests/Rules/UseCompatibleCmdlets.tests.ps1 +++ b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 @@ -3,7 +3,6 @@ $directory = Split-Path $MyInvocation.MyCommand.Path -Parent $testRootDirectory = Split-Path -Parent $directory $ruleTestDirectory = Join-Path $directory 'UseCompatibleCmdlets' -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') Describe "UseCompatibleCmdlets" { diff --git a/Tests/Rules/UseConsistentIndentation.tests.ps1 b/Tests/Rules/UseConsistentIndentation.tests.ps1 index 2a2b45fad..0f91b7e3f 100644 --- a/Tests/Rules/UseConsistentIndentation.tests.ps1 +++ b/Tests/Rules/UseConsistentIndentation.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $indentationUnit = ' ' diff --git a/Tests/Rules/UseConsistentWhitespace.tests.ps1 b/Tests/Rules/UseConsistentWhitespace.tests.ps1 index 033b49509..75f620dee 100644 --- a/Tests/Rules/UseConsistentWhitespace.tests.ps1 +++ b/Tests/Rules/UseConsistentWhitespace.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $ruleName = "PSUseConsistentWhitespace" diff --git a/Tests/Rules/UseDSCResourceFunctions.tests.ps1 b/Tests/Rules/UseDSCResourceFunctions.tests.ps1 index e1fb10600..45ebef3d9 100644 --- a/Tests/Rules/UseDSCResourceFunctions.tests.ps1 +++ b/Tests/Rules/UseDSCResourceFunctions.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module -Verbose PSScriptAnalyzer - + $violationMessage = "Missing 'Get-TargetResource' function. DSC Resource must implement Get, Set and Test-TargetResource functions." $classViolationMessage = "Missing 'Set' function. DSC Class must implement Get, Set and Test functions." $violationName = "PSDSCStandardDSCFunctionsInResource" diff --git a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 index d10d77b4c..c35548241 100644 --- a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 +++ b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') $violationMessage = "The variable 'declaredVar2' is assigned but never used." @@ -89,4 +88,4 @@ function MyFunc2() { $results.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 b/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 index 7c5bf71df..55e8e27d4 100644 --- a/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 +++ b/Tests/Rules/UseIdenticalParametersDSC.tests.ps1 @@ -1,6 +1,4 @@ -Import-Module PSScriptAnalyzer - -$violationMessage = "The Test and Set-TargetResource functions of DSC Resource must have the same parameters." +$violationMessage = "The Test and Set-TargetResource functions of DSC Resource must have the same parameters." $violationName = "PSDSCUseIdenticalParametersForDSC" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\DSCResourceModule\DSCResources\MSFT_WaitForAll\MSFT_WaitForAll.psm1 | Where-Object {$_.RuleName -eq $violationName} diff --git a/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 b/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 index 3cd2e7817..24ce1d574 100644 --- a/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 +++ b/Tests/Rules/UseLiteralInitializerForHashtable.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$ruleName = "PSUseLiteralInitializerForHashtable" +$ruleName = "PSUseLiteralInitializerForHashtable" Describe "UseLiteralInitlializerForHashtable" { Context "When new-object hashtable is used to create a hashtable" { @@ -64,4 +63,4 @@ Describe "UseLiteralInitlializerForHashtable" { } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 b/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 index fabf49698..92ab67182 100644 --- a/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 +++ b/Tests/Rules/UseOutputTypeCorrectly.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "The cmdlet 'Verb-Files' returns an object of type 'System.Collections.Hashtable' but this type is not declared in the OutputType attribute." +$violationMessage = "The cmdlet 'Verb-Files' returns an object of type 'System.Collections.Hashtable' but this type is not declared in the OutputType attribute." $violationName = "PSUseOutputTypeCorrectly" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\BadCmdlet.ps1 | Where-Object {$_.RuleName -eq $violationName} diff --git a/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 b/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 index db68000de..cec228f47 100644 --- a/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 +++ b/Tests/Rules/UseShouldProcessCorrectly.tests.ps1 @@ -4,7 +4,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') -Import-Module PSScriptAnalyzer $violations = Invoke-ScriptAnalyzer $directory\BadCmdlet.ps1 | Where-Object {$_.RuleName -eq $violationName} $noViolations = Invoke-ScriptAnalyzer $directory\GoodCmdlet.ps1 | Where-Object {$_.RuleName -eq $violationName} @@ -280,4 +279,4 @@ function Foo $violations[0].Extent.Text | Should -Be 'ShouldProcess' } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 index 70cb68193..8d8ae23e4 100644 --- a/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 +++ b/Tests/Rules/UseShouldProcessForStateChangingFunctions.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "Function 'Set-MyObject' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'" +$violationMessage = "Function 'Set-MyObject' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'" $violationName = "PSUseShouldProcessForStateChangingFunctions" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\UseShouldProcessForStateChangingFunctions.ps1 | Where-Object {$_.RuleName -eq $violationName} diff --git a/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 b/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 index 8a8133d8d..e16ee5cc2 100644 --- a/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 +++ b/Tests/Rules/UseSingularNounsReservedVerbs.tests.ps1 @@ -1,4 +1,3 @@ -Import-Module PSScriptAnalyzer $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') @@ -76,4 +75,4 @@ Describe "UseApprovedVerbs" { $verbNoViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseSupportsShouldProcess.tests.ps1 b/Tests/Rules/UseSupportsShouldProcess.tests.ps1 index 4606ffd7d..91c9865b6 100644 --- a/Tests/Rules/UseSupportsShouldProcess.tests.ps1 +++ b/Tests/Rules/UseSupportsShouldProcess.tests.ps1 @@ -1,7 +1,6 @@ $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory -Import-Module PSScriptAnalyzer Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1") $settings = @{ diff --git a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 index 667a5f98f..5285bd6ac 100644 --- a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 +++ b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 @@ -1,4 +1,3 @@ -Import-Module PSScriptAnalyzer $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $testRootDirectory = Split-Path -Parent $directory Import-Module (Join-Path $testRootDirectory 'PSScriptAnalyzerTestHelper.psm1') diff --git a/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 b/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 index de4808ba3..352702415 100644 --- a/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 +++ b/Tests/Rules/UseUTF8EncodingForHelpFile.tests.ps1 @@ -1,5 +1,4 @@ -Import-Module PSScriptAnalyzer -$violationMessage = "File about_utf16.help.txt has to use UTF8 instead of System.Text.UTF32Encoding encoding because it is a powershell help file." +$violationMessage = "File about_utf16.help.txt has to use UTF8 instead of System.Text.UTF32Encoding encoding because it is a powershell help file." $violationName = "PSUseUTF8EncodingForHelpFile" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\about_utf16.help.txt | Where-Object {$_.RuleName -eq $violationName} @@ -27,4 +26,4 @@ Describe "UseUTF8EncodingForHelpFile" { $notHelpFileViolations.Count | Should -Be 0 } } -} \ No newline at end of file +} diff --git a/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 b/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 index 860975ef2..cb5111ed8 100644 --- a/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 +++ b/Tests/Rules/UseVerboseMessageInDSCResource.Tests.ps1 @@ -1,6 +1,4 @@ -Import-Module PSScriptAnalyzer - -$violationMessage = "There is no call to Write-Verbose in DSC function 'Test-TargetResource'. If you are using Write-Verbose in a helper function, suppress this rule application." +$violationMessage = "There is no call to Write-Verbose in DSC function 'Test-TargetResource'. If you are using Write-Verbose in a helper function, suppress this rule application." $violationName = "PSDSCUseVerboseMessageInDSCResource" $directory = Split-Path -Parent $MyInvocation.MyCommand.Path $violations = Invoke-ScriptAnalyzer $directory\DSCResourceModule\DSCResources\MSFT_WaitForAll\MSFT_WaitForAll.psm1 | Where-Object {$_.RuleName -eq $violationName} From ac707f8506c72493d5f4bbe13302931b6e21a72d Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 9 Apr 2018 18:18:23 +0100 Subject: [PATCH 098/120] Move common test code into AppVeyor module (#961) * move test code of appveyor build into its own function to expose test differences * remove setting erroraction in appveyor module to have the same behaviour as in yaml * fix tests due to scoping bug in PowerShell * fix test due to powershell bug wherby $error is not defined in the local scope when being executed inside a module * another similar test fix (same as before) and restore erroractionpreference in module again --- Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 2 +- Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 2 +- ...oidAssignmentToAutomaticVariable.tests.ps1 | 3 ++- appveyor.yml | 22 +++---------------- tools/appveyor.psm1 | 19 ++++++++++++++++ 5 files changed, 26 insertions(+), 22 deletions(-) diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index f8d80af43..4630cc8ff 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -142,7 +142,7 @@ Describe "Test RuleExtension" { } catch { - $Error[0].FullyQualifiedErrorId | Should -Match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.GetScriptAnalyzerRuleCommand" + $_.FullyQualifiedErrorId | Should -Match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.GetScriptAnalyzerRuleCommand" } } diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index 31b3fdecf..c6e5b9b2a 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -477,7 +477,7 @@ Describe "Test CustomizedRulePath" { { if (-not $testingLibraryUsage) { - $Error[0].FullyQualifiedErrorId | Should -Match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" + $_.FullyQualifiedErrorId | Should -Match "PathNotFound,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand" } } } diff --git a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 index 79a161d61..7f2e5e2ed 100644 --- a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 +++ b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 @@ -59,7 +59,8 @@ Describe "AvoidAssignmentToAutomaticVariables" { { try { - Set-Variable -Name $VariableName -Value 'foo' -ErrorVariable errorVariable -ErrorAction Stop + # Global scope has to be used due to a bug in PS. https://github.com/PowerShell/PowerShell/issues/6378 + Set-Variable -Name $VariableName -Value 'foo' -ErrorVariable errorVariable -ErrorAction Stop -Scope Global throw "Expected exception did not occur when assigning value to read-only variable '$VariableName'" } catch diff --git a/appveyor.yml b/appveyor.yml index 5c6fde606..37beddc7e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -47,31 +47,15 @@ build_script: Invoke-AppveyorBuild -CheckoutPath $env:APPVEYOR_BUILD_FOLDER -BuildConfiguration $env:BuildConfiguration -BuildType 'NetStandard' } -# Test scripts are not in a module function because the tests behave differently for unknown reasons in AppVeyor test_script: - ps: | if ($env:PowerShellEdition -eq 'WindowsPowerShell') { - $modulePath = $env:PSModulePath.Split([System.IO.Path]::PathSeparator) | Where-Object { Test-Path $_} | Select-Object -First 1 - Copy-Item "${env:APPVEYOR_BUILD_FOLDER}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force - $testResultsFile = ".\TestResults.xml" - $testScripts = "${env:APPVEYOR_BUILD_FOLDER}\Tests\Engine","${env:APPVEYOR_BUILD_FOLDER}\Tests\Rules" - $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru - (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile)) - if ($testResults.FailedCount -gt 0) { - throw "$($testResults.FailedCount) tests failed." - } + Invoke-AppveyorTest -CheckoutPath $env:APPVEYOR_BUILD_FOLDER } - pwsh: | if ($env:PowerShellEdition -eq 'PowerShellCore') { - $modulePath = $env:PSModulePath.Split([System.IO.Path]::PathSeparator) | Where-Object { Test-Path $_} | Select-Object -First 1 - Copy-Item "${env:APPVEYOR_BUILD_FOLDER}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force - $testResultsFile = ".\TestResults.xml" - $testScripts = "${env:APPVEYOR_BUILD_FOLDER}\Tests\Engine","${env:APPVEYOR_BUILD_FOLDER}\Tests\Rules" - $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru - (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile)) - if ($testResults.FailedCount -gt 0) { - throw "$($testResults.FailedCount) tests failed." - } + Import-Module .\tools\appveyor.psm1 # Appveyor does not persist pwsh sessions like it does for ps + Invoke-AppveyorTest -CheckoutPath $env:APPVEYOR_BUILD_FOLDER } # Upload the project along with test results as a zip archive diff --git a/tools/appveyor.psm1 b/tools/appveyor.psm1 index 70ee9ec10..fca49b807 100644 --- a/tools/appveyor.psm1 +++ b/tools/appveyor.psm1 @@ -67,6 +67,25 @@ function Invoke-AppVeyorBuild { Pop-Location } +# Implements AppVeyor 'test_script' step +function Invoke-AppveyorTest { + Param( + [Parameter(Mandatory)] + [ValidateScript( {Test-Path $_})] + $CheckoutPath + ) + + $modulePath = $env:PSModulePath.Split([System.IO.Path]::PathSeparator) | Where-Object { Test-Path $_} | Select-Object -First 1 + Copy-Item "${CheckoutPath}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force + $testResultsFile = ".\TestResults.xml" + $testScripts = "${CheckoutPath}\Tests\Engine","${CheckoutPath}\Tests\Rules" + $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru + (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile)) + if ($testResults.FailedCount -gt 0) { + throw "$($testResults.FailedCount) tests failed." + } +} + # Implements AppVeyor 'on_finish' step function Invoke-AppveyorFinish { $stagingDirectory = (Resolve-Path ..).Path From 6e892b962c0c692457c28fab5323a8392cd66a33 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 9 Apr 2018 19:10:15 +0100 Subject: [PATCH 099/120] Warn when using FileRedirection operator inside if/while statements and improve new PossibleIncorrectUsageOfAssignmentOperator rule (#881) * first working prototype that warns against usage of the redirection operator inside if statements. TODO: rename rule, adapt documentation and error message strings * adapt error message strings and add tests * remove old todo comment * remove duplicated test case * syntax fix from last cleanup commits * tweak extents in error message: for equal sign warnings, it will point to the equal sign (instead of the RHS only) and fore file redirections it will be the redirection ast (e.g. '> $b') * Enhance check for assignment by rather checking if assigned variable is used in assignment block to avoid false positives for assignments: check if variable on LHS is used in statement block update documentation and change level to warning since we are now much more certain that a violation. is happening Commits: * prototype of detecting variable usage on LHS to avoid false positives * simplify and reduce nesting * fix regression by continue statements * fix last regression * add simple test case for new improvemeent * finish it off and adapt tests * update docs * minor style update * fix typo * fix test due to warning level change * tweak messages and readme * update to pester v4 syntax * Revert to not check assigned variable usage of RHS but add optional clang suppression, split rule and enhance assignment operator rule to not warn for more special cases on the RHS * Minor fix resource variable naming * uncommented accidental comment out of ipmo pssa in tests * do not exclude BinaryExpressionAst on RHS because this case is the chance that it is by design is much smaller, therefore rather having some false positives is preferred * update test to test against clang suppression * make clang suppression work again * reword warning text to use 'equality operator' instead of 'equals operator' * Always warn when LHS is $null * Enhance PossibleIncorrectUsageOfAssignmentOperator rule to do the same analysis for while and do-while statements as well, which is the exact same use case as if statements * tweak message to be more generic in terms of the conditional statement * Address PR comments --- ...ssibleIncorrectUsageOAssignmentOperator.md | 54 ++++++++++ ...sibleIncorrectUsageOfAssignmentOperator.md | 7 -- ...ibleIncorrectUsageOfRedirectionOperator.md | 29 ++++++ Rules/ClangSuppresion.cs | 24 +++++ ...sibleIncorrectUsageOfAssignmentOperator.cs | 86 +++++++++++----- ...ibleIncorrectUsageOfRedirectionOperator.cs | 99 +++++++++++++++++++ Rules/Strings.Designer.cs | 49 ++++++++- Rules/Strings.resx | 23 ++++- Tests/Engine/GetScriptAnalyzerRule.tests.ps1 | 2 +- ...correctUsageOfAssignmentOperator.tests.ps1 | 58 +++++++++-- ...orrectUsageOfRedirectionOperator.tests.ps1 | 38 +++++++ 11 files changed, 421 insertions(+), 48 deletions(-) create mode 100644 RuleDocumentation/PossibleIncorrectUsageOAssignmentOperator.md delete mode 100644 RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md create mode 100644 RuleDocumentation/PossibleIncorrectUsageOfRedirectionOperator.md create mode 100644 Rules/ClangSuppresion.cs create mode 100644 Rules/PossibleIncorrectUsageOfRedirectionOperator.cs create mode 100644 Tests/Rules/PossibleIncorrectUsageOfRedirectionOperator.tests.ps1 diff --git a/RuleDocumentation/PossibleIncorrectUsageOAssignmentOperator.md b/RuleDocumentation/PossibleIncorrectUsageOAssignmentOperator.md new file mode 100644 index 000000000..5089c103a --- /dev/null +++ b/RuleDocumentation/PossibleIncorrectUsageOAssignmentOperator.md @@ -0,0 +1,54 @@ +# PossibleIncorrectUsageOfAssignmentOperator + +**Severity Level: Information** + +## Description + +In many programming languages, the equality operator is denoted as `==` or `=` in many programming languages, but `PowerShell` uses `-eq`. Therefore it can easily happen that the wrong operator is used unintentionally and this rule catches a few special cases where the likelihood of that is quite high. + +The rule looks for usages of `==` and `=` operators inside `if`, `else if`, `while` and `do-while` statements but it will not warn if any kind of command or expression is used at the right hand side as this is probably by design. + +## Example + +### Wrong + +```` PowerShell +if ($a = $b) +{ + ... +} +```` + +```` PowerShell +if ($a == $b) +{ + +} +```` + +### Correct + +```` PowerShell +if ($a -eq $b) # Compare $a with $b +{ + ... +} +```` + +```` PowerShell +if ($a = Get-Something) # Only execute action if command returns something and assign result to variable +{ + Do-SomethingWith $a +} +```` + +## Implicit suppresion using Clang style + +There are some rare cases where assignment of variable inside an if statement is by design. Instead of suppression the rule, one can also signal that assignment was intentional by wrapping the expression in extra parenthesis. An exception for this is when `$null` is used on the LHS is used because there is no use case for this. + +```` powershell +if (($shortVariableName = $SuperLongVariableName['SpecialItem']['AnotherItem'])) +{ + ... +} +```` \ No newline at end of file diff --git a/RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md b/RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md deleted file mode 100644 index 42ced0406..000000000 --- a/RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md +++ /dev/null @@ -1,7 +0,0 @@ -# PossibleIncorrectUsageOfAssignmentOperator - -**Severity Level: Information** - -## Description - -In many programming languages, the equality operator is denoted as `==` or `=`, but `PowerShell` uses `-eq`. Since assignment inside if statements are very rare, this rule wants to call out this case because it might have been unintentional. diff --git a/RuleDocumentation/PossibleIncorrectUsageOfRedirectionOperator.md b/RuleDocumentation/PossibleIncorrectUsageOfRedirectionOperator.md new file mode 100644 index 000000000..6af16c0a7 --- /dev/null +++ b/RuleDocumentation/PossibleIncorrectUsageOfRedirectionOperator.md @@ -0,0 +1,29 @@ +# PossibleIncorrectUsageOfRedirectionOperator + +**Severity Level: Information** + +## Description + +In many programming languages, the comparison operator for 'greater than' is `>` but `PowerShell` uses `-gt` for it and `-ge` (greater or equal) for `>=`. Therefore it can easily happen that the wrong operator is used unintentionally and this rule catches a few special cases where the likelihood of that is quite high. + +The rule looks for usages of `>` or `>=` operators inside if, elseif, while and do-while statements because this is likely going to be unintentional usage. + +## Example + +### Wrong + +```` PowerShell +if ($a > $b) +{ + ... +} +```` + +### Correct + +```` PowerShell +if ($a -gt $b) +{ + ... +} +```` \ No newline at end of file diff --git a/Rules/ClangSuppresion.cs b/Rules/ClangSuppresion.cs new file mode 100644 index 000000000..d0fcfec99 --- /dev/null +++ b/Rules/ClangSuppresion.cs @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Management.Automation.Language; + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer +{ + /// + /// The idea behind clang suppresion style is to wrap a statement in extra parenthesis to implicitly suppress warnings of its content to signal that the offending operation was deliberate. + /// + internal static class ClangSuppresion + { + /// + /// The community requested an implicit suppression mechanism that follows the clang style where warnings are not issued if the expression is wrapped in extra parenthesis. + /// See here for details: https://github.com/Microsoft/clang/blob/349091162fcf2211a2e55cf81db934978e1c4f0c/test/SemaCXX/warn-assignment-condition.cpp#L15-L18 + /// + /// + /// + internal static bool ScriptExtendIsWrappedInParenthesis(IScriptExtent scriptExtent) + { + return scriptExtent.Text.StartsWith("(") && scriptExtent.Text.EndsWith(")"); + } + } +} diff --git a/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs b/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs index 120186947..e18bf54f9 100644 --- a/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs +++ b/Rules/PossibleIncorrectUsageOfAssignmentOperator.cs @@ -13,7 +13,8 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { /// - /// PossibleIncorrectUsageOfAssignmentOperator: Warn if someone uses the '=' or '==' by accident in an if statement because in most cases that is not the intention. + /// PossibleIncorrectUsageOfAssignmentOperator: Warn if someone uses '>', '=' or '==' operators inside an if, elseif, while and do-while statement because in most cases that is not the intention. + /// The origin of this rule is that people often forget that operators change when switching between different languages such as C# and PowerShell. /// #if !CORECLR [Export(typeof(IScriptRule))] @@ -21,45 +22,80 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules public class PossibleIncorrectUsageOfAssignmentOperator : AstVisitor, IScriptRule { /// - /// The idea is to get all AssignmentStatementAsts and then check if the parent is an IfStatementAst, which includes if, elseif and else statements. + /// The idea is to get all AssignmentStatementAsts and then check if the parent is an IfStatementAst/WhileStatementAst/DoWhileStatementAst, + /// which includes if, elseif, while and do-while statements. /// public IEnumerable AnalyzeScript(Ast ast, string fileName) { if (ast == null) throw new ArgumentNullException(Strings.NullAstErrorMessage); + var whileStatementAsts = ast.FindAll(testAst => testAst is WhileStatementAst || testAst is DoWhileStatementAst, searchNestedScriptBlocks: true); + foreach (LoopStatementAst whileStatementAst in whileStatementAsts) + { + var diagnosticRecord = AnalyzePipelineBaseAst(whileStatementAst.Condition, fileName); + if (diagnosticRecord != null) + { + yield return diagnosticRecord; + } + } + var ifStatementAsts = ast.FindAll(testAst => testAst is IfStatementAst, searchNestedScriptBlocks: true); foreach (IfStatementAst ifStatementAst in ifStatementAsts) { foreach (var clause in ifStatementAst.Clauses) { - var assignmentStatementAst = clause.Item1.Find(testAst => testAst is AssignmentStatementAst, searchNestedScriptBlocks: false) as AssignmentStatementAst; - if (assignmentStatementAst != null) + var diagnosticRecord = AnalyzePipelineBaseAst(clause.Item1, fileName); + if (diagnosticRecord != null) { - // Check if someone used '==', which can easily happen when the person is used to coding a lot in C#. - // In most cases, this will be a runtime error because PowerShell will look for a cmdlet name starting with '=', which is technically possible to define - if (assignmentStatementAst.Right.Extent.Text.StartsWith("=")) - { - yield return new DiagnosticRecord( - Strings.PossibleIncorrectUsageOfAssignmentOperatorError, assignmentStatementAst.Extent, - GetName(), DiagnosticSeverity.Warning, fileName); - } - else - { - // If the right hand side contains a CommandAst at some point, then we do not want to warn - // because this could be intentional in cases like 'if ($a = Get-ChildItem){ }' - var commandAst = assignmentStatementAst.Right.Find(testAst => testAst is CommandAst, searchNestedScriptBlocks: true) as CommandAst; - if (commandAst == null) - { - yield return new DiagnosticRecord( - Strings.PossibleIncorrectUsageOfAssignmentOperatorError, assignmentStatementAst.Extent, - GetName(), DiagnosticSeverity.Information, fileName); - } - } + yield return diagnosticRecord; } } } } + private DiagnosticRecord AnalyzePipelineBaseAst(PipelineBaseAst pipelineBaseAst, string fileName) + { + var assignmentStatementAst = pipelineBaseAst.Find(testAst => testAst is AssignmentStatementAst, searchNestedScriptBlocks: false) as AssignmentStatementAst; + if (assignmentStatementAst == null) + { + return null; + } + + // Check if someone used '==', which can easily happen when the person is used to coding a lot in C#. + // In most cases, this will be a runtime error because PowerShell will look for a cmdlet name starting with '=', which is technically possible to define + if (assignmentStatementAst.Right.Extent.Text.StartsWith("=")) + { + return new DiagnosticRecord( + Strings.PossibleIncorrectUsageOfAssignmentOperatorError, assignmentStatementAst.ErrorPosition, + GetName(), DiagnosticSeverity.Warning, fileName); + } + + // Check if LHS is $null and then always warn + if (assignmentStatementAst.Left is VariableExpressionAst variableExpressionAst) + { + if (variableExpressionAst.VariablePath.UserPath.Equals("null", StringComparison.OrdinalIgnoreCase)) + { + return new DiagnosticRecord( + Strings.PossibleIncorrectUsageOfAssignmentOperatorError, assignmentStatementAst.ErrorPosition, + GetName(), DiagnosticSeverity.Warning, fileName); + } + } + + // If the RHS contains a CommandAst at some point, then we do not want to warn because this could be intentional in cases like 'if ($a = Get-ChildItem){ }' + var commandAst = assignmentStatementAst.Right.Find(testAst => testAst is CommandAst, searchNestedScriptBlocks: true) as CommandAst; + // If the RHS contains an InvokeMemberExpressionAst, then we also do not want to warn because this could e.g. be 'if ($f = [System.IO.Path]::GetTempFileName()){ }' + var invokeMemberExpressionAst = assignmentStatementAst.Right.Find(testAst => testAst is ExpressionAst, searchNestedScriptBlocks: true) as InvokeMemberExpressionAst; + var doNotWarnBecauseImplicitClangStyleSuppressionWasUsed = ClangSuppresion.ScriptExtendIsWrappedInParenthesis(pipelineBaseAst.Extent); + if (commandAst == null && invokeMemberExpressionAst == null && !doNotWarnBecauseImplicitClangStyleSuppressionWasUsed) + { + return new DiagnosticRecord( + Strings.PossibleIncorrectUsageOfAssignmentOperatorError, assignmentStatementAst.ErrorPosition, + GetName(), DiagnosticSeverity.Information, fileName); + } + + return null; + } + /// /// GetName: Retrieves the name of this rule. /// @@ -84,7 +120,7 @@ public string GetCommonName() /// The description of this rule public string GetDescription() { - return string.Format(CultureInfo.CurrentCulture, Strings.AvoidUsingWriteHostDescription); + return string.Format(CultureInfo.CurrentCulture, Strings.PossibleIncorrectUsageOfAssignmentOperatorDescription); } /// diff --git a/Rules/PossibleIncorrectUsageOfRedirectionOperator.cs b/Rules/PossibleIncorrectUsageOfRedirectionOperator.cs new file mode 100644 index 000000000..9e33f19f2 --- /dev/null +++ b/Rules/PossibleIncorrectUsageOfRedirectionOperator.cs @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; +using System; +using System.Collections.Generic; +#if !CORECLR +using System.ComponentModel.Composition; +#endif +using System.Management.Automation.Language; +using System.Globalization; + +namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules +{ + /// + /// PossibleIncorrectUsageOfRedirectionOperator: Warn if someone uses '>' or '>=' inside an if, elseif, while or do-while statement because in most cases that is not the intention. + /// The origin of this rule is that people often forget that operators change when switching between different languages such as C# and PowerShell. + /// +#if !CORECLR +[Export(typeof(IScriptRule))] +#endif + public class PossibleIncorrectUsageOfRedirectionOperator : AstVisitor, IScriptRule + { + /// + /// The idea is to get all FileRedirectionAst inside all IfStatementAst clauses. + /// + public IEnumerable AnalyzeScript(Ast ast, string fileName) + { + if (ast == null) throw new ArgumentNullException(Strings.NullAstErrorMessage); + + var ifStatementAsts = ast.FindAll(testAst => testAst is IfStatementAst, searchNestedScriptBlocks: true); + foreach (IfStatementAst ifStatementAst in ifStatementAsts) + { + foreach (var clause in ifStatementAst.Clauses) + { + var fileRedirectionAst = clause.Item1.Find(testAst => testAst is FileRedirectionAst, searchNestedScriptBlocks: false) as FileRedirectionAst; + if (fileRedirectionAst != null) + { + yield return new DiagnosticRecord( + Strings.PossibleIncorrectUsageOfRedirectionOperatorError, fileRedirectionAst.Extent, + GetName(), DiagnosticSeverity.Warning, fileName); + } + } + } + } + + /// + /// GetName: Retrieves the name of this rule. + /// + /// The name of this rule + public string GetName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.NameSpaceFormat, GetSourceName(), Strings.PossibleIncorrectUsageOfRedirectionOperatorName); + } + + /// + /// GetCommonName: Retrieves the common name of this rule. + /// + /// The common name of this rule + public string GetCommonName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.PossibleIncorrectUsageOfRedirectionOperatorCommonName); + } + + /// + /// GetDescription: Retrieves the description of this rule. + /// + /// The description of this rule + public string GetDescription() + { + return string.Format(CultureInfo.CurrentCulture, Strings.PossibleIncorrectUsageOfRedirectionOperatorDescription); + } + + /// + /// GetSourceType: Retrieves the type of the rule: builtin, managed or module. + /// + public SourceType GetSourceType() + { + return SourceType.Builtin; + } + + /// + /// GetSeverity: Retrieves the severity of the rule: error, warning of information. + /// + /// + public RuleSeverity GetSeverity() + { + return RuleSeverity.Warning; + } + + /// + /// GetSourceName: Retrieves the module/assembly name the rule is from. + /// + public string GetSourceName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.SourceName); + } + } +} diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index 7c0e53ec3..d9b304f8b 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -1592,7 +1592,7 @@ internal static string PossibleIncorrectComparisonWithNullName { } /// - /// Looks up a localized string similar to '=' operator means assignment. Did you mean the equal operator '-eq'?. + /// Looks up a localized string similar to '=' is not an assignment operator. Did you mean the equality operator '-eq'?. /// internal static string PossibleIncorrectUsageOfAssignmentOperatorCommonName { get { @@ -1601,7 +1601,16 @@ internal static string PossibleIncorrectUsageOfAssignmentOperatorCommonName { } /// - /// Looks up a localized string similar to Did you really mean to make an assignment inside an if statement? If you rather meant to check for equality, use the '-eq' operator.. + /// Looks up a localized string similar to '=' or '==' are not comparison operators in the PowerShell language and rarely needed inside conditional statements.. + /// + internal static string PossibleIncorrectUsageOfAssignmentOperatorDescription { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfAssignmentOperatorDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Did you mean to use the assignment operator '='? The equality operator in PowerShell is 'eq'.. /// internal static string PossibleIncorrectUsageOfAssignmentOperatorError { get { @@ -1618,6 +1627,42 @@ internal static string PossibleIncorrectUsageOfAssignmentOperatorName { } } + /// + /// Looks up a localized string similar to '>' is not a comparison operator. Use '-gt' (greater than) or '-ge' (greater or equal).. + /// + internal static string PossibleIncorrectUsageOfRedirectionOperatorCommonName { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfRedirectionOperatorCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to When switching between different languages it is easy to forget that '>' does not mean 'great than' in PowerShell.. + /// + internal static string PossibleIncorrectUsageOfRedirectionOperatorDescription { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfRedirectionOperatorDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Did you mean to use the redirection operator '>'? The comparison operators in PowerShell are '-gt' (greater than) or '-ge' (greater or equal).. + /// + internal static string PossibleIncorrectUsageOfRedirectionOperatorError { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfRedirectionOperatorError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PossibleIncorrectUsageOfRedirectionOperator. + /// + internal static string PossibleIncorrectUsageOfRedirectionOperatorName { + get { + return ResourceManager.GetString("PossibleIncorrectUsageOfRedirectionOperatorName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Basic Comment Help. /// diff --git a/Rules/Strings.resx b/Rules/Strings.resx index 352d5ee3f..55790c930 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -982,10 +982,7 @@ Assignment statements are not aligned - '=' operator means assignment. Did you mean the equal operator '-eq'? - - - Did you really mean to make an assignment inside an if statement? If you rather meant to check for equality, use the '-eq' operator. + '=' is not an assignment operator. Did you mean the equality operator '-eq'? PossibleIncorrectUsageOfAssignmentOperator @@ -1008,4 +1005,22 @@ '{0}' is implicitly aliasing '{1}' because it is missing the 'Get-' prefix. This can introduce possible problems and make scripts hard to maintain. Please consider changing command to its full name. + + '=' or '==' are not comparison operators in the PowerShell language and rarely needed inside conditional statements. + + + Did you mean to use the assignment operator '='? The equality operator in PowerShell is 'eq'. + + + '>' is not a comparison operator. Use '-gt' (greater than) or '-ge' (greater or equal). + + + When switching between different languages it is easy to forget that '>' does not mean 'great than' in PowerShell. + + + Did you mean to use the redirection operator '>'? The comparison operators in PowerShell are '-gt' (greater than) or '-ge' (greater or equal). + + + PossibleIncorrectUsageOfRedirectionOperator + \ No newline at end of file diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index 4630cc8ff..ad0a10898 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -59,7 +59,7 @@ Describe "Test Name parameters" { It "get Rules with no parameters supplied" { $defaultRules = Get-ScriptAnalyzerRule - $expectedNumRules = 54 + $expectedNumRules = 55 if ((Test-PSEditionCoreClr) -or (Test-PSVersionV3) -or (Test-PSVersionV4)) { # for PSv3 PSAvoidGlobalAliases is not shipped because diff --git a/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 index 353a9994f..8d5996965 100644 --- a/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 +++ b/Tests/Rules/PossibleIncorrectUsageOfAssignmentOperator.tests.ps1 @@ -1,12 +1,22 @@ $ruleName = "PSPossibleIncorrectUsageOfAssignmentOperator" -Describe "PossibleIncorrectUsageOfAssignmentOperator" { +Describe "PossibleIncorrectUsageOfComparisonOperator" { Context "When there are violations" { It "assignment inside if statement causes warning" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a=$b){}' | Where-Object {$_.RuleName -eq $ruleName} $warnings.Count | Should -Be 1 } + It "assignment inside while statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'while ($a=$b){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + + It "assignment inside do-while statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'do {} while ($a=$b){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + It "assignment inside if statement causes warning when when wrapped in command expression" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a=($b)){}' | Where-Object {$_.RuleName -eq $ruleName} $warnings.Count | Should -Be 1 @@ -36,26 +46,56 @@ Describe "PossibleIncorrectUsageOfAssignmentOperator" { $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a == "$b"){}' | Where-Object {$_.RuleName -eq $ruleName} $warnings.Count | Should -Be 1 } + + It "using an expression like a Binaryexpressionastast on the RHS causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = $b -match $c){ }' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + + It "always returns a violations when LHS is `$null even when RHS is a command that would normally not make it trigger" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($null = Get-ChildItem){ }' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + + It "always returns a violations when LHS is `$null even when using clang style" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if (($null = $b)){ }' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } } Context "When there are no violations" { - It "returns no violations when there is no equality operator" { - $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -eq $b){$a=$b}' | Where-Object {$_.RuleName -eq $ruleName} + It "returns no violations when correct equality operator is used" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -eq $b){ }' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 0 + } + + It "returns no violations when using implicit clang style suppresion" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ( ($a = $b) ){ }' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 0 + } + + It "returns no violations when using an InvokeMemberExpressionAst like a .net method on the RHS" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = [System.IO.Path]::GetTempFileName()){ }' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 0 + } + + It "returns no violations when there is an InvokeMemberExpressionAst on the RHS that looks like a variable" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = $PSCmdlet.GetVariableValue($foo)){ }' | Where-Object {$_.RuleName -eq $ruleName} $warnings.Count | Should -Be 0 } - It "returns no violations when there is an evaluation on the RHS" { - $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = Get-ChildItem){}' | Where-Object {$_.RuleName -eq $ruleName} + It "returns no violations when there is a command on the RHS" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = Get-ChildItem){ }' | Where-Object {$_.RuleName -eq $ruleName} $warnings.Count | Should -Be 0 } - It "returns no violations when there is an evaluation on the RHS wrapped in an expression" { - $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = (Get-ChildItem)){}' | Where-Object {$_.RuleName -eq $ruleName} + It "returns no violations when there is a command on the RHS wrapped in an expression" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = (Get-ChildItem)){ }' | Where-Object {$_.RuleName -eq $ruleName} $warnings.Count | Should -Be 0 } - It "returns no violations when there is an evaluation on the RHS wrapped in an expression and also includes a variable" { - $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a = (Get-ChildItem $b)){}' | Where-Object {$_.RuleName -eq $ruleName} + It "returns no violations when using for loop" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'for ($i = 0; $ -lt 42; $i++){ }' | Where-Object {$_.RuleName -eq $ruleName} $warnings.Count | Should -Be 0 } } diff --git a/Tests/Rules/PossibleIncorrectUsageOfRedirectionOperator.tests.ps1 b/Tests/Rules/PossibleIncorrectUsageOfRedirectionOperator.tests.ps1 new file mode 100644 index 000000000..3b1a4791d --- /dev/null +++ b/Tests/Rules/PossibleIncorrectUsageOfRedirectionOperator.tests.ps1 @@ -0,0 +1,38 @@ +Import-Module PSScriptAnalyzer +$ruleName = "PSPossibleIncorrectUsageOfRedirectionOperator" + +Describe "PossibleIncorrectUsageOfComparisonOperator" { + Context "When there are violations" { + It "File redirection operator inside if statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a > $b){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + + It "File redirection operator with equals sign inside if statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a >=){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + + It "File redirection operator inside if statement causes warning when wrapped in command expression" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a > ($b)){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + + It "File redirection operator inside if statement causes warning when wrapped in expression" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a > "$b"){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + + It "File redirection operator inside elseif statement causes warning" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -eq $b){}elseif($a > $b){}' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 1 + } + } + + Context "When there are no violations" { + It "returns no violations when using correct greater than operator" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'if ($a -gt $b){ }' | Where-Object {$_.RuleName -eq $ruleName} + $warnings.Count | Should -Be 0 + } + } +} From 2fc39113ccf482df21faadc09f6710299f93e99d Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 9 Apr 2018 20:24:08 +0100 Subject: [PATCH 100/120] Remove outdated about_scriptanalyzer help file (#951) * remove old cmdlet help file that is not needed any more due to help being markdown based. * Remove about_scriptanalyzer copy step from build and links to it in markdown. Also correct version of platyps --- .build.ps1 | 3 - build.ps1 | 4 +- docs/about_PSScriptAnalyzer.help.txt | 251 ------------------------ docs/markdown/Get-ScriptAnalyzerRule.md | 6 +- docs/markdown/Invoke-ScriptAnalyzer.md | 7 +- 5 files changed, 3 insertions(+), 268 deletions(-) delete mode 100644 docs/about_PSScriptAnalyzer.help.txt diff --git a/.build.ps1 b/.build.ps1 index 20fc33578..81821d0e8 100644 --- a/.build.ps1 +++ b/.build.ps1 @@ -188,9 +188,6 @@ task buildDocs -Inputs $bdInputs -Outputs $bdOutputs { $markdownDocsPath = Join-Path $docsPath 'markdown' CreateIfNotExists($outputDocsPath) - # copy the about help file - Copy-Item -Path $docsPath\about_PSScriptAnalyzer.help.txt -Destination $outputDocsPath -Force - # Build documentation using platyPS if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.9 })) { throw "Cannot find platyPS of version greater or equal to 0.9. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" diff --git a/build.ps1 b/build.ps1 index 2dce30396..f34d857f4 100644 --- a/build.ps1 +++ b/build.ps1 @@ -91,11 +91,9 @@ if ($BuildDocs) $outputDocsPath = Join-Path $destinationPath en-US CreateIfNotExists($outputDocsPath) - # copy the about help file - Copy-Item -Path $docsPath\about_PSScriptAnalyzer.help.txt -Destination $outputDocsPath -Force -Verbose:$verbosity # Build documentation using platyPS - if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.5 })) + if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.9 })) { "Cannot find platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" } diff --git a/docs/about_PSScriptAnalyzer.help.txt b/docs/about_PSScriptAnalyzer.help.txt deleted file mode 100644 index 6157029ce..000000000 --- a/docs/about_PSScriptAnalyzer.help.txt +++ /dev/null @@ -1,251 +0,0 @@ -TOPIC - about_PSScriptAnalyzer - -SHORT DESCRIPTION - PSScriptAnalyzer is a static code checker for PowerShell script. - -LONG DESCRIPTION - PSScriptAnalyzer checks the quality of Windows PowerShell script by evaluating - that script against a set of rules. The script can be in the form of a - stand-alone script (.ps1 files), a module (.psm1, .psd1 and .ps1 files) or - a DSC Resource (.psm1, .psd1 and .ps1 files). - - The rules are based on PowerShell best practices identified by the - PowerShell Team and the community. These rules can help you create more - readable, maintainable and reliable scripts. PSScriptAnalyzer generates - DiagnosticResults (errors and warnings) to inform you about potential script - issues, including the reason why there might be an issue, and provide you - with guidance on how to fix the issue. - - PSScriptAnalyzer is shipped with a collection of built-in rules that check - various aspects of PowerShell code such as presence of uninitialized - variables, usage of the PSCredential Type, usage of Invoke-Expression, etc. - - The following additional functionality is also supported: - - * Including and/or excluding specific rules globally - * Suppression of rules within script - * Creation of custom rules - * Creation of loggers - -RUNNING SCRIPT ANALYZER - - There are two commands provided by the PSScriptAnalyzer module, those are: - - Get-ScriptAnalyzerRule [-CustomizedRulePath ] [-Name ] - [-Severity ] - [] - - Invoke-ScriptAnalyzer [-Path] [-CustomizedRulePath ] - [-ExcludeRule ] [-IncludeRule] - [-Severity ] [-Recurse] [-SuppressedOnly] - [] - - To run the script analyzer against a single script file execute: - - PS C:\> Invoke-ScriptAnalyzer -Path myscript.ps1 - - This will analyze your script against every built-in rule. As you may find - if your script is sufficiently large, that could result in a lot of warnings - and/or errors. See the next section on recommendations for running against - an existing script, module or DSC resource. - - To run the script analyzer against a whole directory, specify the folder - containing the script, module and DSC files you want analyzed. Specify - the Recurse parameter if you also want sub-directories searched for files - to analyze. - - PS C:\> Invoke-ScriptAnalyzer -Path . -Recurse - - To see all the built-in rules execute: - - PS C:\> Get-ScriptAnalyzerRule - -RUNNING SCRIPT ANALYZER ON A NEW SCRIPT, MODULE OR DSC RESOURCE - - If you have the luxury of starting a new script, module or DSC resource, it - is in your best interest to run the script analyzer with all the rules - enabled. Be sure to evaluate your script often to address rule violations as - soon as they occur. - - Over time, you may find rules that you don't find value in or have a need to - explicitly violate. Suppress those rules as necessary but try to avoid - "knee jerk" suppression of rules. Analyze the diagnostic output and the part - of your script that violates the rule to be sure you understand the reason for - the warning and that it is indeed OK to suppress the rule. For information on - how to suppress rules see the RULE SUPPRESSION section below. - -RUNNING SCRIPT ANALYZER ON AN EXISTING SCRIPT, MODULE OR DSC RESOURCE - - If you have existing scripts, they are not likely following all of these best - practices, practices that have just found their way into books, web sites, - blog posts and now the PSScriptAnalyer in the past few years. - - For these existing scripts, if you just run the script analyzer without - limiting the set of rules executed, you may get deluged with diagnostics - output in the form of information, warning and error messages. You should - try running the script analyzer with all the rules enabled (the default) and - see if the output is "manageable". If it isn't, then you will want to "ease - into" things by starting with the most serious violations first - errors. - - You may be tempted to use the Invoke-ScriptAnalyzer command's Severity - parameter with the argument Error to do this - don't. This will run every - built-in rule and then filter the results during output. The more rules the - script analyzer runs, the longer it will take to analyze a file. You can - easily get Invoke-ScriptAnalyzer to run just the rules that are of severity - Error like so: - - PS C:\> $errorRules = Get-ScriptAnalyzer -Severity Error - PS C:\> Invoke-ScriptAnalyzer -Path . -IncludeRule $errorRules - - The output should be much shorter (hopefully) and more importantly, these rules - typically indicate serious issues in your script that should be addressed. - - Once you have addressed the errors in the script, you are ready to tackle - warnings. This is likely what generated the most output when you ran the - first time with all the rules enabled. Now not all of the warnings generated - by the script analyzer are of equal importance. For the existing script - scenario, try running error and warning rules included but with a few rules - "excluded": - - PS C:\> $rules = Get-ScriptAnalyzerRule -Severity Error,Warning - PS C:\> Invoke-ScriptAnalyzer -Path . -IncludeRule $rules -ExcludeRule ` - PSAvoidUsingCmdletAliases, PSAvoidUsingPositionalParameters - - The PSAvoidUsingCmdletAliases and PSAvoidUsingPositionalParameters warnings - are likely to generate prodigious amounts of output. While these rules have - their reason for being many existing scripts violate these rules over and - over again. It would be a shame if you let a flood of warnings from these two - rules, keep you from addressing more potentially serious warnings. - - There may be other rules that generate a lot of output that you don't care - about - at least not yet. As you examine the remaining diagnostics output, - it is often helpful to group output by rule. You may decide that the one or - two rules generating 80% of the output are rules you don't care about. You - can get this view of your output easily: - - PS C:\> $rules = Get-ScriptAnalyzerRule -Severity Error,Warning - PS C:\> $res = Invoke-ScriptAnalyzer -Path . -IncludeRule $rules -ExcludeRule ` - PSAvoidUsingPositionalParameters, PSAvoidUsingCmdletAliases - PS C:\> $res | Group RuleName | Sort Count -Desc | Format-Table Count, Name - - This renders output like the following: - - Count Name - ----- ---- - 23 PSAvoidUsingInvokeExpression - 8 PSUseDeclaredVarsMoreThanAssignments - 8 PSProvideDefaultParameterValue - 6 PSAvoidUninitializedVariable - 3 PSPossibleIncorrectComparisonWithNull - 1 PSAvoidUsingComputerNameHardcoded - - You may decide to exclude the PSAvoidUsingInvokeExpression rule for the moment - and focus on the rest, especially the PSUseDeclaredVarsMoreThanAssignments, - PSAvoidUninitializedVariable and PSPossibleIncorrectComparisonWithNull rules. - - As you fix rules, go back and enable more rules as you have time to address - the associated issues. In some cases, you may want to suppress a rule at - the function, script or class scope instead of globally excluding the rule. - See the RULE SUPPRESSION section below. - - While getting a completely clean run through every rule is a noble goal, it - may not always be feasible. You have to weigh the gain of passing the rule - and eliminating a "potential" issue with changing script and possibly - introducing a new problem. In the end, for existing scripts, it is usually - best to have evaluated the rule violations that you deem the most valuable to - address. - -RULE SUPPRESSSION - - Rule suppression allows you to turn off rule verification on a function, - scripts or class definition. This allows you to exclude only specified - scripts or functions from verification of a rule instead of globally - excluding the rule. - - There are several ways to suppress rules. You can suppress a rule globally - by using the ExcludeRule parameter when invoking the script analyzer e.g.: - - PS C:\> Invoke-ScriptAnalyzer -Path . -ExcludeRule ` - PSProvideDefaultParameterValue, PSAvoidUsingWMICmdlet - - Note that the ExcludeRule parameter takes an array of strings i.e. rule names. - - Sometimes you will want to suppress a rule for part of your script but not for - the entire script. PSScriptAnalyzer allows you to suppress rules at the - script, function and class scope. You can use the .NET Framework - System.Diagnoctics.CodeAnalysis.SuppressMesssageAttribute in your script - like so: - - function Commit-Change() { - [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseApprovedVerbs", - "", Scope="Function", - Target="*")] - param() - } - -VIOLATION CORRECTION - -Most violations can be fixed by replacing the violation causing content with the correct alternative. In an attempt to provide the user with the ability to correct the violation we provide a property - `SuggestedCorrections`, in each DiagnosticRecord instance. This property contains the information needed to rectify the violation. For example, consider a script `C:\tmp\test.ps1` with the following content. - -PS> Get-Content C:\tmp\test.ps1 -gci C:\ - -Invoking PSScriptAnalyzer on the file gives the following output. - -PS>$diagnosticRecord = Invoke-ScriptAnalyzer -Path C:\tmp\test.p1 -PS>$diagnosticRecord | select SuggestedCorrections | Format-Custom - -class DiagnosticRecord -{ - SuggestedCorrections = - [ - class CorrectionExtent - { - EndColumnNumber = 4 - EndLineNumber = 1 - File = C:\Users\kabawany\tmp\test3.ps1 - StartColumnNumber = 1 - StartLineNumber = 1 - Text = Get-ChildItem - Description = Replace gci with Get-ChildItem - } - ] - -} - -The *LineNumber and *ColumnNumber properties give the region of the script that can be replaced by the contents of Text property, i.e., replace gci with Get-ChildItem. - -The main motivation behind having SuggestedCorrections is to enable quick-fix like scenarios in editors like VSCode, Sublime, etc. At present, we provide valid SuggestedCorrection only for the following rules, while gradually adding this feature to more rules. - - * AvoidAlias.cs - * AvoidUsingPlainTextForPassword.cs - * MisleadingBacktick.cs - * MissingModuleManifestField.cs - * UseToExportFieldsInManifest.cs - - -EXTENSIBILITY - - PSScriptAnalyzer has been designed to allow you to create your own rules via - a custom .NET assembly or PowerShell module. PSScriptAnalyzer also allows - you to plug in a custom logger (implemented as a .NET assembly). - -CONTRIBUTE - - PSScriptAnalyzer is open source on GitHub: - - https://github.com/PowerShell/PSScriptAnalyzer - - As you run the script analyzer and find what you believe to be are bugs, - please submit them to: - - https://github.com/PowerShell/PSScriptAnalyzer/issues - - Better yet, fix the bug and submit a pull request. - -SEE ALSO - Get-ScriptAnalyzerRule - Invoke-ScriptAnalyzer - Set-StrictMode - about_Pester diff --git a/docs/markdown/Get-ScriptAnalyzerRule.md b/docs/markdown/Get-ScriptAnalyzerRule.md index ee3e04267..285529e73 100644 --- a/docs/markdown/Get-ScriptAnalyzerRule.md +++ b/docs/markdown/Get-ScriptAnalyzerRule.md @@ -23,10 +23,9 @@ Use this cmdlet to create collections of rules to include and exclude when runni To get information about the rules, see the value of the Description property of each rule. The PSScriptAnalyzer module tests the Windows PowerShell code in a script, module, or DSC resource to determine whether, and to what extent, it fulfils best practice standards. -For more information about PSScriptAnalyzer, type: Get-Help about_PSScriptAnalyzer. PSScriptAnalyzer is an open-source project. -To contribute or file an issue, see GitHub.com\PowerShell\PSScriptAnalyzer. +For more information about PSScriptAnalyzer, to contribute or file an issue, see GitHub.com\PowerShell\PSScriptAnalyzer. ## EXAMPLES @@ -166,7 +165,4 @@ The RuleInfo object is a custom object created especially for Script Analyzer. I [Invoke-ScriptAnalyzer]() -[about_PSScriptAnalyzer]() - [PSScriptAnalyzer on GitHub](https://github.com/PowerShell/PSScriptAnalyzer) - diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index 85952aafe..b4e0847a1 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -52,11 +52,9 @@ For usage in CI systems, the -EnableExit exits the shell with an exit code equal The PSScriptAnalyzer module tests the Windows PowerShell code in a script, module, or DSC resource to determine whether, and to what extent, it fulfils best practice standards. -For more information about PSScriptAnalyzer, type: -Get-Help about_PSScriptAnalyzer. PSScriptAnalyzer is an open-source project. -To contribute or file an issue, see GitHub.com\PowerShell\PSScriptAnalyzer. +For more information about PSScriptAnalyzer, to contribute or file an issue, see GitHub.com\PowerShell\PSScriptAnalyzer. ## EXAMPLES @@ -538,7 +536,4 @@ If you use the SuppressedOnly parameter, Invoke-ScriptAnalyzer instead returns a [Get-ScriptAnalyzerRule]() -[about_PSScriptAnalyzer]() - [PSScriptAnalyzer on GitHub](https://github.com/PowerShell/PSScriptAnalyzer) - From 7c1ca74cf6e2bfcad74d752d2fba9e56af47054d Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 9 Apr 2018 20:24:52 +0100 Subject: [PATCH 101/120] Add warnings about read-only automatic variables introduced in PowerShell 6.0 (#917) * Add warnings about readonly variables introduced in PowerShell 6.0 * use custom message for variables that only apply to ps 6.0 * Remove redundant quotes in IT block because Pester adds them now automatically * Make it throw an Error when PSSA is executed on PSCore * address pr comments * exclude PSUseDeclaredVarsMoreThanAssignments rule for tests --- Rules/AvoidAssignmentToAutomaticVariable.cs | 44 ++++++++-- Rules/Strings.Designer.cs | 9 +++ Rules/Strings.resx | 3 + ...oidAssignmentToAutomaticVariable.tests.ps1 | 80 ++++++++++++------- 4 files changed, 101 insertions(+), 35 deletions(-) diff --git a/Rules/AvoidAssignmentToAutomaticVariable.cs b/Rules/AvoidAssignmentToAutomaticVariable.cs index 5f7a859ee..6011300ef 100644 --- a/Rules/AvoidAssignmentToAutomaticVariable.cs +++ b/Rules/AvoidAssignmentToAutomaticVariable.cs @@ -22,10 +22,16 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules public class AvoidAssignmentToAutomaticVariable : IScriptRule { private static readonly IList _readOnlyAutomaticVariables = new List() - { - // Attempting to assign to any of those read-only variable would result in an error at runtime - "?", "true", "false", "Host", "PSCulture", "Error", "ExecutionContext", "Home", "PID", "PSEdition", "PSHome", "PSUICulture", "PSVersionTable", "ShellId" - }; + { + // Attempting to assign to any of those read-only variable would result in an error at runtime + "?", "true", "false", "Host", "PSCulture", "Error", "ExecutionContext", "Home", "PID", "PSEdition", "PSHome", "PSUICulture", "PSVersionTable", "ShellId" + }; + + private static readonly IList _readOnlyAutomaticVariablesIntroducedInVersion6_0 = new List() + { + // Attempting to assign to any of those read-only variable will result in an error at runtime + "IsCoreCLR", "IsLinux", "IsMacOS", "IsWindows" + }; /// /// Checks for assignment to automatic variables. @@ -47,6 +53,13 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) yield return new DiagnosticRecord(DiagnosticRecordHelper.FormatError(Strings.AvoidAssignmentToReadOnlyAutomaticVariableError, variableName), variableExpressionAst.Extent, GetName(), DiagnosticSeverity.Error, fileName); } + + if (_readOnlyAutomaticVariablesIntroducedInVersion6_0.Contains(variableName, StringComparer.OrdinalIgnoreCase)) + { + var severity = IsPowerShellVersion6OrGreater() ? DiagnosticSeverity.Error : DiagnosticSeverity.Warning; + yield return new DiagnosticRecord(DiagnosticRecordHelper.FormatError(Strings.AvoidAssignmentToReadOnlyAutomaticVariableIntroducedInPowerShell6_0Error, variableName), + variableExpressionAst.Extent, GetName(), severity, fileName); + } } IEnumerable parameterAsts = ast.FindAll(testAst => testAst is ParameterAst, searchNestedScriptBlocks: true); @@ -55,12 +68,33 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) var variableExpressionAst = parameterAst.Find(testAst => testAst is VariableExpressionAst, searchNestedScriptBlocks: false) as VariableExpressionAst; var variableName = variableExpressionAst.VariablePath.UserPath; // also check the parent to exclude parameter attributes such as '[Parameter(Mandatory=$true)]' where the read-only variable $true appears. - if (_readOnlyAutomaticVariables.Contains(variableName, StringComparer.OrdinalIgnoreCase) && !(variableExpressionAst.Parent is NamedAttributeArgumentAst)) + if (variableExpressionAst.Parent is NamedAttributeArgumentAst) + { + continue; + } + + if (_readOnlyAutomaticVariables.Contains(variableName, StringComparer.OrdinalIgnoreCase)) { yield return new DiagnosticRecord(DiagnosticRecordHelper.FormatError(Strings.AvoidAssignmentToReadOnlyAutomaticVariableError, variableName), variableExpressionAst.Extent, GetName(), DiagnosticSeverity.Error, fileName); } + if (_readOnlyAutomaticVariablesIntroducedInVersion6_0.Contains(variableName, StringComparer.OrdinalIgnoreCase)) + { + var severity = IsPowerShellVersion6OrGreater() ? DiagnosticSeverity.Error : DiagnosticSeverity.Warning; + yield return new DiagnosticRecord(DiagnosticRecordHelper.FormatError(Strings.AvoidAssignmentToReadOnlyAutomaticVariableIntroducedInPowerShell6_0Error, variableName), + variableExpressionAst.Extent, GetName(), severity, fileName); + } + } + } + + private bool IsPowerShellVersion6OrGreater() + { + var psVersion = Helper.Instance.GetPSVersion(); + if (psVersion.Major >= 6) + { + return true; } + return false; } /// diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index d9b304f8b..45439a104 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -142,6 +142,15 @@ internal static string AvoidAssignmentToReadOnlyAutomaticVariableError { } } + /// + /// Looks up a localized string similar to Starting from PowerShell 6.0, the Variable '{0}' cannot be assigned any more since it is a readonly automatic variable that is built into PowerShell, please use a different name.. + /// + internal static string AvoidAssignmentToReadOnlyAutomaticVariableIntroducedInPowerShell6_0Error { + get { + return ResourceManager.GetString("AvoidAssignmentToReadOnlyAutomaticVariableIntroducedInPowerShell6_0Error", resourceCulture); + } + } + /// /// Looks up a localized string similar to Avoid Using ComputerName Hardcoded. /// diff --git a/Rules/Strings.resx b/Rules/Strings.resx index 55790c930..facd68c2e 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -1002,6 +1002,9 @@ AvoidAssignmentToAutomaticVariable + + Starting from PowerShell 6.0, the Variable '{0}' cannot be assigned any more since it is a readonly automatic variable that is built into PowerShell, please use a different name. + '{0}' is implicitly aliasing '{1}' because it is missing the 'Get-' prefix. This can introduce possible problems and make scripts hard to maintain. Please consider changing command to its full name. diff --git a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 index 7f2e5e2ed..5709244ab 100644 --- a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 +++ b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 @@ -3,55 +3,75 @@ Describe "AvoidAssignmentToAutomaticVariables" { Context "ReadOnly Variables" { - $readOnlyVariableSeverity = "Error" + $excpectedSeverityForAutomaticVariablesInPowerShell6 = 'Warning' + if ($PSVersionTable.PSVersion.Major -ge 6) + { + $excpectedSeverityForAutomaticVariablesInPowerShell6 = 'Error' + } + $testCases_ReadOnlyVariables = @( - @{ VariableName = '?' } - @{ VariableName = 'Error' } - @{ VariableName = 'ExecutionContext' } - @{ VariableName = 'false' } - @{ VariableName = 'Home' } - @{ VariableName = 'Host' } - @{ VariableName = 'PID' } - @{ VariableName = 'PSCulture' } - @{ VariableName = 'PSEdition' } - @{ VariableName = 'PSHome' } - @{ VariableName = 'PSUICulture' } - @{ VariableName = 'PSVersionTable' } - @{ VariableName = 'ShellId' } - @{ VariableName = 'true' } + @{ VariableName = '?'; ExpectedSeverity = 'Error'; } + @{ VariableName = 'Error' ; ExpectedSeverity = 'Error' } + @{ VariableName = 'ExecutionContext'; ExpectedSeverity = 'Error' } + @{ VariableName = 'false'; ExpectedSeverity = 'Error' } + @{ VariableName = 'Home'; ExpectedSeverity = 'Error' } + @{ VariableName = 'Host'; ExpectedSeverity = 'Error' } + @{ VariableName = 'PID'; ExpectedSeverity = 'Error' } + @{ VariableName = 'PSCulture'; ExpectedSeverity = 'Error' } + @{ VariableName = 'PSEdition'; ExpectedSeverity = 'Error' } + @{ VariableName = 'PSHome'; ExpectedSeverity = 'Error' } + @{ VariableName = 'PSUICulture'; ExpectedSeverity = 'Error' } + @{ VariableName = 'PSVersionTable'; ExpectedSeverity = 'Error' } + @{ VariableName = 'ShellId'; ExpectedSeverity = 'Error' } + @{ VariableName = 'true'; ExpectedSeverity = 'Error' } + # Variables introuced only in PowerShell 6.0 have a Severity of Warning only + @{ VariableName = 'IsCoreCLR'; ExpectedSeverity = $excpectedSeverityForAutomaticVariablesInPowerShell6; OnlyPresentInCoreClr = $true } + @{ VariableName = 'IsLinux'; ExpectedSeverity = $excpectedSeverityForAutomaticVariablesInPowerShell6; OnlyPresentInCoreClr = $true } + @{ VariableName = 'IsMacOS'; ExpectedSeverity = $excpectedSeverityForAutomaticVariablesInPowerShell6; OnlyPresentInCoreClr = $true } + @{ VariableName = 'IsWindows'; ExpectedSeverity = $excpectedSeverityForAutomaticVariablesInPowerShell6; OnlyPresentInCoreClr = $true } ) - It "Variable '' produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { - param ($VariableName) + It "Variable produces warning of Severity " -TestCases $testCases_ReadOnlyVariables { + param ($VariableName, $ExpectedSeverity) - $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "`$${VariableName} = 'foo'" | Where-Object { $_.RuleName -eq $ruleName } + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "`$${VariableName} = 'foo'" -ExcludeRule PSUseDeclaredVarsMoreThanAssignments $warnings.Count | Should -Be 1 - $warnings.Severity | Should -Be $readOnlyVariableSeverity + $warnings.Severity | Should -Be $ExpectedSeverity + $warnings.RuleName | Should -Be $ruleName } - It "Using Variable '' as parameter name produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { - param ($VariableName) + It "Using Variable as parameter name produces warning of Severity error" -TestCases $testCases_ReadOnlyVariables { + param ($VariableName, $ExpectedSeverity) - [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo{Param(`$$VariableName)}" | Where-Object {$_.RuleName -eq $ruleName } + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo{Param(`$$VariableName)}" $warnings.Count | Should -Be 1 - $warnings.Severity | Should -Be $readOnlyVariableSeverity + $warnings.Severity | Should -Be $ExpectedSeverity + $warnings.RuleName | Should -Be $ruleName } - It "Using Variable '' as parameter name in param block produces warning of severity error" -TestCases $testCases_ReadOnlyVariables { - param ($VariableName) + It "Using Variable as parameter name in param block produces warning of Severity error" -TestCases $testCases_ReadOnlyVariables { + param ($VariableName, $ExpectedSeverity) - [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo(`$$VariableName){}" | Where-Object {$_.RuleName -eq $ruleName } + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "function foo(`$$VariableName){}" $warnings.Count | Should -Be 1 - $warnings.Severity | Should -Be $readOnlyVariableSeverity + $warnings.Severity | Should -Be $ExpectedSeverity + $warnings.RuleName | Should -Be $ruleName } It "Does not flag parameter attributes" { - [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'function foo{Param([Parameter(Mandatory=$true)]$param1)}' | Where-Object { $_.RuleName -eq $ruleName } + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition 'function foo{Param([Parameter(Mandatory=$true)]$param1)}' $warnings.Count | Should -Be 0 } - It "Setting Variable '' throws exception to verify the variables is read-only" -TestCases $testCases_ReadOnlyVariables { - param ($VariableName) + It "Setting Variable throws exception in applicable PowerShell version to verify the variables is read-only" -TestCases $testCases_ReadOnlyVariables { + param ($VariableName, $ExpectedSeverity, $OnlyPresentInCoreClr) + + if ($OnlyPresentInCoreClr -and !$IsCoreCLR) + { + # In this special case we expect it to not throw + Set-Variable -Name $VariableName -Value 'foo' + continue + } # Setting the $Error variable has the side effect of the ErrorVariable to contain only the exception message string, therefore exclude this case. # For the library test in WMF 4, assigning a value $PSEdition does not seem to throw an error, therefore this special case is excluded as well. From 6966d511fe1a6fdba9d189712238a38fff05128b Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Thu, 12 Apr 2018 22:12:59 +0100 Subject: [PATCH 102/120] Add base changelog for 1.17.0 (#967) * Add base changelog for 1.17.0 * update PR number of this PR, I guessed wrong ;) * tweak CHANGELOG.MD and simplify readme * update release date, which will be delayed by at least 2 weeks to not give people who watch the PR wrong hopes --- CHANGELOG.MD | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++- README.md | 6 +---- 2 files changed, 72 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 2cbe8d9c5..463d584e2 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,74 @@ -## [1.16.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.16.1) - 2017-09-01 +## [1.17.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.17.0) - 2018-04-27 + +### New Parameters + +- Add `-ReportSummary` switch (#895) (Thanks @StingyJack! for the base work that got finalized by @bergmeister) +- Add `-EnableExit` switch to Invoke-ScriptAnalyzer for exit and return exit code for CI purposes (#842) (by @bergmeister) +- Add `-Fix` switch to `-Path` parameter set of `Invoke-ScriptAnalyzer` (#817, #852) (by @bergmeister) + +### New Rules and Warnings + +- Warn when 'Get-' prefix was omitted in `AvoidAlias` rule. (#927) (by @bergmeister) +- `AvoidAssignmentToAutomaticVariable`. NB: Currently only warns against read-only automatic variables (#864, #917) (by @bergmeister) +- `PossibleIncorrectUsageOfRedirectionOperator` and `PossibleIncorrectUsageOfAssignmentOperator`. (#859, #881) (by @bergmeister) +- Add PSAvoidTrailingWhitespace rule (#820) (Thanks @dlwyatt!) + +### Fixes and Improvements + +- Make UseDeclaredVarsMoreThanAssignments not flag drive qualified variables (#958) (by @bergmeister) +- Fix PSUseDeclaredVarsMoreThanAssignments to not give false positives when using += operator (#935) (by @bergmeister) +- Tweak UseConsistentWhiteSpace formatting rule to exclude first unary operator when being used in argument (#949) (by @bergmeister) +- Allow -Setting parameter to resolve setting presets as well when object is still a PSObject in BeginProcessing (#928) (by @bergmeister) +- Add macos detection to New-CommandDataFile (#947) (Thanks @GavinEke!) +- Fix PlaceOpenBrace rule correction to take comment at the end of line into account (#929) (by @bergmeister) +- Do not trigger UseShouldProcessForStateChangingFunctions rule for workflows (#923) (by @bergmeister) +- Fix parsing the -Settings object as a path when the path object originates from an expression (#915) (by @bergmeister) +- Allow relative settings path (#909) (by @bergmeister) +- Fix AvoidDefaultValueForMandatoryParameter documentation, rule and tests (#907) (by @bergmeister) +- Fix NullReferenceException in AlignAssignmentStatement rule when CheckHashtable is enabled (#838) (by @bergmeister) +- Fix FixPSUseDeclaredVarsMoreThanAssignments to also detect variables that are strongly typed (#837) (by @bergmeister) +- Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned more than once to still give a warning (#836) (by @bergmeister) + +### Engine, Building and Testing + +- Move common test code into AppVeyor module (#961) (by @bergmeister) +- Remove extraneous import-module commands in tests (#962) (by @JamesWTruher) +- Upgrade 'System.Automation.Management' NuGet package of version 6.0.0-alpha13 to version 6.0.2 from powershell-core feed, which requires upgrade to netstandard2.0. NB: This highly improved behavior on WMF3 but also means that the latest patched version (6.0.2) of PowerShell Core should be used. (#919) by @bergmeister) +- Add Ubuntu Build+Test to Appveyor CI (#940) (by @bergmeister) +- Add PowerShell Core Build+Test to Appveyor CI (#939) (by @bergmeister) +- Update Newtonsoft.Json NuGet package of Rules project from 9.0.1 to 10.0.3 (#937) (by @bergmeister) +- Fix Pester v4 installation for `Visual Studio 2017` image and use Pester v4 assertion operator syntax (#892) (by @bergmeister) +- Have a single point of reference for the .Net Core SDK version (#885) (by @bergmeister) +- Fix regressions introduced by PR 882 (#891) (by @bergmeister) +- Changes to allow tests to be run outside of CI (#882) (by @JamesWTruher) +- Upgrade platyPS from Version 0.5 to 0.9 (#869) (by @bergmeister) +- Build using .Net Core SDK 2.1.101 targeting `netstandard2.0` and `net451` (#853, #854, #870, #899, #912, #936) (by @bergmeister) +- Add instructions to make a release (#843) (by @kapilmb) + +### Documentation, Error Messages and miscellaneous Improvements + +- Add base changelog for 1.17.0 (#967) (by @bergmeister) +- Remove outdated about_scriptanalyzer help file (#951) (by @bergmeister) +- Fixes a typo and enhances the documentation for the parameters required for script rules (#942) (Thanks @MWL88!) +- Remove unused using statements and sort them (#931) (by @bergmeister) +- Make licence headers consistent across all .cs files by using the recommended header of PsCore (#930) (by @bergmeister) +- Update syntax in ReadMe to be the correct one from get-help (#932) by @bergmeister) +- Remove redundant, out of date Readme of RuleDocumentation folder (#918) (by @bergmeister) +- Shorten contribution section in ReadMe and make it more friendly (#911) (by @bergmeister) +- Update from Pester 4.1.1 to 4.3.1 and use new -BeTrue and -BeFalse operators (#906) (by @bergmeister) +- Fix Markdown in ScriptRuleDocumentation.md so it renders correctly on GitHub web site (#898) (Thanks @MWL88!) +- Fix typo in .Description for Measure-RequiresModules (#888) (Thanks @TimCurwick!) +- Use https links where possible (#873) (by @bergmeister) +- Make documentation of AvoidUsingPositionalParameters match the implementation (#867) (by @bergmeister) +- Fix PSAvoidUsingCmdletAliases warnings of internal build/release scripts in root and Utils folder (#872) (by @bergmeister) +- Add simple GitHub Pull Request template based off the one for PowerShell Core (#866) (by @bergmeister) +- Add a simple GitHub issue template based on the one of PowerShell Core. (#865, #884) (by @bergmeister) +- Fix Example 7 in Invoke-ScriptAnalyzer.md (#862) (Thanks @sethvs!) +- Use the typewriter apostrophe instead the typographic apostrophe (#855) (Thanks @alexandear!) +- Add justification to ReadMe (#848) (Thanks @KevinMarquette!) +- Fix typo in README (#845) (Thanks @misterGF!) + +## [1.16.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.16.1) - 2017-09-01 ### Fixed - (#815) Formatter crashes due to invalid extent comparisons diff --git a/README.md b/README.md index db30be911..a8eca1076 100644 --- a/README.md +++ b/README.md @@ -76,12 +76,8 @@ Exit #### Requirements -##### Windows - Windows PowerShell 3.0 or greater -- PowerShell Core - -##### Linux (*Tested only on Ubuntu 14.04*) -- PowerShell Core +- PowerShell Core on Windows/Linux/macOS ### From Source From 0e7cca6e092afc5464557945ac233cdff1b7c13f Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 24 Apr 2018 00:49:24 +0100 Subject: [PATCH 103/120] Improve documentation, especially about parameter usage and the settings file (#968) * improve documentation * Remove extraneous space character * Address remaining PR comments about improvements of the wording --- docs/markdown/Invoke-Formatter.md | 6 +- docs/markdown/Invoke-ScriptAnalyzer.md | 78 +++++++++++++------------- 2 files changed, 41 insertions(+), 43 deletions(-) diff --git a/docs/markdown/Invoke-Formatter.md b/docs/markdown/Invoke-Formatter.md index 3eb42b1d8..9cf795d3e 100644 --- a/docs/markdown/Invoke-Formatter.md +++ b/docs/markdown/Invoke-Formatter.md @@ -15,7 +15,7 @@ Invoke-Formatter [-ScriptDefinition] [-Settings ] [-Range [-CustomRulePath ] [- ``` ## DESCRIPTION -Invoke-ScriptAnalyzer evaluates a script or module based on a collection of best practice rules and returns objects -that represent rule violations. -In each evaluation, you can run all rules or use the IncludeRule and ExcludeRule -parameters to run only selected rules. -Invoke-ScriptAnalyzer includes special rules to analyze DSC resources. - -Invoke-ScriptAnalyzer evaluates only .ps1 and .psm1 files. -If you specify a path with multiple file types, the .ps1 and -.psm1 files are tested; all other file types are ignored. +Invoke-ScriptAnalyzer evaluates a script or module files (.ps1, .psm1 and .psd1 files) based on a collection of best practice rules and returns objects +that represent rule violations. It also includes special rules to analyze DSC resources. +In each evaluation, you can run either all rules or just a specific set using the -IncludeRule parameter and also exclude rules using the -ExcludeRule parameter. Invoke-ScriptAnalyzer comes with a set of built-in rules, but you can also use customized rules that you write in -Windows PowerShell scripts, or compile in assemblies by using C#. -Just as with the built-in rules, you can add the -ExcludeRule and IncludeRule parameters to your Invoke-ScriptAnalyzer command to exclude or include custom rules. +Windows PowerShell scripts, or compile in assemblies by using C#. This is possible by using the -CustomRulePath parameter and it will then only run those custom rules, if the built-in rules should still be run, then also specify the -IncludeDefaultRules parameter. Custom rules are also supported together with the -IncludeRule and -ExcludeRule parameters. To include multiple custom rules, the -RecurseCustomRulePath parameter can be used. To analyze your script or module, begin by using the Get-ScriptAnalyzerRule cmdlet to examine and select the rules you want to include and/or exclude from the evaluation. You can also include a rule in the analysis, but suppress the output of that rule for selected functions or scripts. This feature should be used only when absolutely necessary. -To get rules that were suppressed, run -Invoke-ScriptAnalyzer with the SuppressedOnly parameter. -For instructions on suppressing a rule, see the description of -the SuppressedOnly parameter. -For usage in CI systems, the -EnableExit exits the shell with an exit code equal to the number of error records. +To get rules that were suppressed, run Invoke-ScriptAnalyzer with the -SuppressedOnly parameter. +For instructions on suppressing a rule, see the description of the SuppressedOnly parameter. -The PSScriptAnalyzer module tests the Windows PowerShell code in a script, module, or DSC resource to determine -whether, and to what extent, it fulfils best practice standards. +For usage in CI systems, the -EnableExit exits the shell with an exit code equal to the number of error records. PSScriptAnalyzer is an open-source project. For more information about PSScriptAnalyzer, to contribute or file an issue, see GitHub.com\PowerShell\PSScriptAnalyzer. @@ -219,7 +207,7 @@ Accept wildcard characters: False ``` ### -CustomRulePath -Adds the custom rules defined in the specified paths to the analysis. +Uses only the custom rules defined in the specified paths to the analysis. To still use the built-in rules, add the -IncludeDefaultRules switch. Enter the path to a file that defines rules or a directory that contains files that define rules. Wildcard characters are supported. @@ -243,7 +231,8 @@ Accept wildcard characters: False ### -RecurseCustomRulePath Adds rules defined in subdirectories of the CustomRulePath location. -By default, Invoke-ScriptAnalyzer adds only the custom rules defined in the specified file or directory. +By default, Invoke-ScriptAnalyzer uses only the custom rules defined in the specified file or directory. +To still use the built-in rules, additionally use the -IncludeDefaultRules switch. ```yaml Type: SwitchParameter @@ -262,16 +251,12 @@ Omits the specified rules from the Script Analyzer test. Wildcard characters are supported. Enter a comma-separated list of rule names, a variable that contains rule names, or a command that gets rule names. -You -can also specify a list of excluded rules in a Script Analyzer profile file. -You can exclude standard rules and rules -in a custom rule path. +You can also specify a list of excluded rules in a Script Analyzer profile file. +You can exclude standard rules and rules in a custom rule path. When you exclude a rule, the rule does not run on any of the files in the path. -To exclude a rule on a particular line, -parameter, function, script, or class, adjust the Path parameter or suppress the rule. -For information about -suppressing a rule, see the examples. +To exclude a rule on a particular line, parameter, function, script, or class, adjust the Path parameter or suppress the rule. +For information about suppressing a rule, see the examples. If a rule is specified in both the ExcludeRule and IncludeRule collections, the rule is excluded. @@ -302,7 +287,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` - ### -IncludeRule Runs only the specified rules in the Script Analyzer test. By default, PSScriptAnalyzer runs all rules. @@ -317,8 +301,7 @@ custom rule paths. If a rule is specified in both the ExcludeRule and IncludeRule collections, the rule is excluded. Also, Severity takes precedence over IncludeRule. -For example, if Severity is Error, you cannot use IncludeRule to -include a Warning rule. +For example, if Severity is Error, you cannot use IncludeRule to include a Warning rule. ```yaml Type: String[] @@ -339,13 +322,11 @@ Valid values are: Error, Warning, and Information. You can specify one ore more severity values. Because this parameter filters the rules only after running with all rules, it is not an efficient filter. -To filter -rules efficiently, use Get-ScriptAnalyzer rule to get the rules you want to run or exclude and then use the ExcludeRule -or IncludeRule parameters. +To filter rules efficiently, use Get-ScriptAnalyzer rule to get the rules you want to run or exclude and +then use the ExcludeRule or IncludeRule parameters. Also, Severity takes precedence over IncludeRule. -For example, if Severity is Error, you cannot use IncludeRule to -include a Warning rule. +For example, if Severity is Error, you cannot use IncludeRule to include a Warning rule. ```yaml Type: String[] @@ -401,7 +382,9 @@ Accept wildcard characters: False ### -Fix Fixes certain warnings which contain a fix in their DiagnosticRecord. -When you used Fix, Invoke-ScriptAnalyzer runs as usual but will apply the fixes before running the analysis. Please make sure that you have a backup of your files when using this switch. It tries to preserve the file encoding but there are still some cases where the encoding can change. +When you used Fix, Invoke-ScriptAnalyzer runs as usual but will apply the fixes before running the analysis. +Please make sure that you have a backup of your files when using this switch. +It tries to preserve the file encoding but there are still some cases where the encoding can change. ```yaml Type: SwitchParameter @@ -450,12 +433,16 @@ File path that contains user profile or hash table for ScriptAnalyzer Runs Invoke-ScriptAnalyzer with the parameters and values specified in a Script Analyzer profile file or hash table -If the path, the file's or hashtable's content are invalid, it is ignored. The parameters and values in the profile take precedence over the same parameter and values specified at the command line. +If the path, the file's or hashtable's content are invalid, it is ignored. +The parameters and values in the profile take precedence over the same parameter and values specified at the command line. A Script Analyzer profile file is a text file that contains a hash table with one or more of the following keys: -- Severity -- IncludeRules -- ExcludeRules +-- Rules +-- CustomRulePath +-- IncludeDefaultRules The keys and values in the profile are interpreted as if they were standard parameters and parameter values of Invoke-ScriptAnalyzer. @@ -469,6 +456,17 @@ For example: @{ Severity = 'Error', 'Warning'} +A more sophisticated example is: + + @{ + CustomRulePath='path\to\CustomRuleModule.psm1' + IncludeDefaultRules=$true + ExcludeRules = @( + 'PSAvoidUsingWriteHost', + 'MyCustomRuleName' + ) + } + ```yaml Type: Object Parameter Sets: (All) @@ -502,7 +500,7 @@ Accept wildcard characters: False ### -SaveDscDependency Resolve DSC resource dependency -Whenever Invoke-ScriptAnalyzer (isa) is run on a script having the dynamic keyword "Import-DSCResource -ModuleName ", if is not present in any of the PSModulePath, isa gives parse error. This error is caused by the powershell parser not being able to find the symbol for . If isa finds the module on PowerShell Gallery (www.powershellgallery.com) then it downloads the missing module to a temp path. The temp path is then added to PSModulePath only for duration of the scan. The temp location can be found in $LOCALAPPDATA/PSScriptAnalyzer/TempModuleDir. +Whenever Invoke-ScriptAnalyzer is run on a script having the dynamic keyword "Import-DSCResource -ModuleName ", if is not present in any of the PSModulePath, Invoke-ScriptAnalyzer gives parse error. This error is caused by the powershell parser not being able to find the symbol for . If Invoke-ScriptAnalyzer finds the module in the PowerShell Gallery (www.powershellgallery.com) then it downloads the missing module to a temp path. The temp path is then added to PSModulePath only for duration of the scan. The temp location can be found in $LOCALAPPDATA/PSScriptAnalyzer/TempModuleDir. ```yaml Type: SwitchParameter From c315bc5f41bb00a118798fe5d3a43d913ad507d9 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Mon, 7 May 2018 21:26:34 +0100 Subject: [PATCH 104/120] Add Docker images that work with PSSA to ReadMe and give examples (#987) * add working docker images with examples * Fix docker scripts (--it should have been -it and Windows/Linux command were the wrong way around) --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a8eca1076..151e32127 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Table of Contents - [Usage](#usage) - [Installation](#installation) + [From PowerShell Gallery](#from-powershell-gallery) - - [Requirements](#requirements) + - [Supported PowerShell Versions and Platforms](#supported-powerShell-versions-and-platforms) * [Windows](#windows) * [Linux (*Tested only on Ubuntu 14.04*)](#linux-tested-only-on-ubuntu-1404) + [From Source](#from-source) @@ -70,14 +70,19 @@ Install-Module -Name PSScriptAnalyzer **Note**: For PowerShell version `5.1.14393.206` or newer, before installing PSScriptAnalyzer, please install the latest Nuget provider by running the following in an elevated PowerShell session. ```powershell -Install-PackageProvider Nuget –force –verbose +Install-PackageProvider Nuget -MinimumVersion 2.8.5.201 –Force Exit ``` -#### Requirements +#### Supported PowerShell Versions and Platforms - Windows PowerShell 3.0 or greater - PowerShell Core on Windows/Linux/macOS +- Docker (tested only using Docker CE on Windows 10 1803): + - [microsoft/windowsservercore](https://hub.docker.com/r/microsoft/windowsservercore/) for Windows. Example: + ```docker run -it microsoft/windowsservercore powershell -command "Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force; Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` + - [microsoft/powershell](https://hub.docker.com/r/microsoft/powershell/) for Linux. Example: + ```docker run -it microsoft/powershell pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` ### From Source From 1479ed659ca0e4e13da3fe20c777dc5aaab6f975 Mon Sep 17 00:00:00 2001 From: "James Truher [MSFT]" Date: Tue, 8 May 2018 16:49:46 -0700 Subject: [PATCH 105/120] Scripts needed to build and sign PSSA via MS VSTS so it can be published in the gallery (#983) * First set of files for vsts build * Added scripts for VSTS build Updated docker file and releasemaker module * Change vsts build script to be able to put built module anywhere based on _DockerVolume_ Remove a comment * Revert "Change vsts build script to be able to put built module anywhere based on _DockerVolume_" This reverts commit 82ebc03d9731f9117869714014db22b7a651dc08. --- Utils/ReleaseMaker.psm1 | 4 +- tools/releaseBuild/Image/DockerFile | 34 ++++++ tools/releaseBuild/Image/buildPSSA.ps1 | 4 + tools/releaseBuild/Image/dockerInstall.psm1 | 114 ++++++++++++++++++++ tools/releaseBuild/build.json | 15 +++ tools/releaseBuild/signing.xml | 30 ++++++ tools/releaseBuild/updateSigning.ps1 | 37 +++++++ tools/releaseBuild/vstsbuild.ps1 | 77 +++++++++++++ 8 files changed, 313 insertions(+), 2 deletions(-) create mode 100644 tools/releaseBuild/Image/DockerFile create mode 100644 tools/releaseBuild/Image/buildPSSA.ps1 create mode 100644 tools/releaseBuild/Image/dockerInstall.psm1 create mode 100644 tools/releaseBuild/build.json create mode 100644 tools/releaseBuild/signing.xml create mode 100644 tools/releaseBuild/updateSigning.ps1 create mode 100644 tools/releaseBuild/vstsbuild.ps1 diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index 3c0d244b4..a5079e454 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -92,7 +92,7 @@ function New-ReleaseBuild Push-Location $solutionPath try { - remove-item out/ -recurse -force + if ( test-path out ) { remove-item out/ -recurse -force } .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build .\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build .\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build @@ -196,4 +196,4 @@ function Set-ContentUtf8NoBom { } Export-ModuleMember -Function New-Release -Export-ModuleMember -Function New-ReleaseBuild \ No newline at end of file +Export-ModuleMember -Function New-ReleaseBuild diff --git a/tools/releaseBuild/Image/DockerFile b/tools/releaseBuild/Image/DockerFile new file mode 100644 index 000000000..a5d59dc2a --- /dev/null +++ b/tools/releaseBuild/Image/DockerFile @@ -0,0 +1,34 @@ +# escape=` +#0.3.6 (no powershell 6) +# FROM microsoft/windowsservercore +FROM microsoft/dotnet-framework:4.7.1 +LABEL maintainer='PowerShell Team ' +LABEL description="This Dockerfile for Windows Server Core with git installed via chocolatey." + +SHELL ["C:\\windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "-command"] +# Install Git, and platyPS +# Git installs to C:\Program Files\Git +# nuget installs to C:\ProgramData\chocolatey\bin\NuGet.exe +COPY dockerInstall.psm1 containerFiles/dockerInstall.psm1 + +RUN Import-Module PackageManagement; ` + Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force; ` + Import-Module ./containerFiles/dockerInstall.psm1; ` + Install-ChocolateyPackage -PackageName git -Executable git.exe; ` + Install-ChocolateyPackage -PackageName nuget.commandline -Executable nuget.exe -Cleanup; ` + Install-Module -Force -Name platyPS; ` + Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.ps1 -outfile C:/dotnet-install.ps1; ` + C:/dotnet-install.ps1 -Channel Release -Version 2.1.4; ` + Add-Path C:/Users/ContainerAdministrator/AppData/Local/Microsoft/dotnet; + +RUN Import-Module ./containerFiles/dockerInstall.psm1; ` +# git clone https://Github.com/PowerShell/PSScriptAnalyzer; ` + Install-ChocolateyPackage -PackageName dotnet4.5; + +RUN Import-Module ./containerFiles/dockerInstall.psm1; ` + Install-ChocolateyPackage -PackageName netfx-4.5.1-devpack; + +COPY buildPSSA.ps1 containerFiles/buildPSSA.ps1 + +ENTRYPOINT ["C:\\windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "-command"] + diff --git a/tools/releaseBuild/Image/buildPSSA.ps1 b/tools/releaseBuild/Image/buildPSSA.ps1 new file mode 100644 index 000000000..bb60eb2b5 --- /dev/null +++ b/tools/releaseBuild/Image/buildPSSA.ps1 @@ -0,0 +1,4 @@ +push-location C:/PSScriptAnalyzer +import-module C:/PSScriptAnalyzer/Utils/ReleaseMaker.psm1 +New-ReleaseBuild +Copy-Item -Recurse C:/PSScriptAnalyzer/out C:/ diff --git a/tools/releaseBuild/Image/dockerInstall.psm1 b/tools/releaseBuild/Image/dockerInstall.psm1 new file mode 100644 index 000000000..24d1235d6 --- /dev/null +++ b/tools/releaseBuild/Image/dockerInstall.psm1 @@ -0,0 +1,114 @@ +function Install-ChocolateyPackage +{ + param( + [Parameter(Mandatory=$true)] + [string] + $PackageName, + + [Parameter(Mandatory=$false)] + [string] + $Executable, + + [string[]] + $ArgumentList, + + [switch] + $Cleanup, + + [int] + $ExecutionTimeout = 2700, + + [string] + $Version + ) + + if(-not(Get-Command -name Choco -ErrorAction SilentlyContinue)) + { + Write-Verbose "Installing Chocolatey provider..." -Verbose + Invoke-WebRequest https://chocolatey.org/install.ps1 -UseBasicParsing | Invoke-Expression + } + + Write-Verbose "Installing $PackageName..." -Verbose + $extraCommand = @() + if($Version) + { + $extraCommand += '--version', $version + } + choco install -y $PackageName --no-progress --execution-timeout=$ExecutionTimeout $ArgumentList $extraCommands + + if($executable) + { + Write-Verbose "Verifing $Executable is in path..." -Verbose + $exeSource = $null + $exeSource = Get-ChildItem -path "$env:ProgramFiles\$Executable" -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName + if(!$exeSource) + { + Write-Verbose "Falling back to x86 program files..." -Verbose + $exeSource = Get-ChildItem -path "${env:ProgramFiles(x86)}\$Executable" -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName + } + + # Don't search the chocolatey program data until more official locations have been searched + if(!$exeSource) + { + Write-Verbose "Falling back to chocolatey..." -Verbose + $exeSource = Get-ChildItem -path "$env:ProgramData\chocolatey\$Executable" -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName + } + + # all obvious locations are exhausted, use brute force and search from the root of the filesystem + if(!$exeSource) + { + Write-Verbose "Falling back to the root of the drive..." -Verbose + $exeSource = Get-ChildItem -path "/$Executable" -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName + } + + if(!$exeSource) + { + throw "$Executable not found" + } + + $exePath = Split-Path -Path $exeSource + Add-Path -path $exePath + } + + if($Cleanup.IsPresent) + { + Remove-Folder -Folder "$env:temp\chocolatey" + } +} + +function Add-Path +{ + param + ( + $path + ) + $machinePathString = [System.Environment]::GetEnvironmentVariable('path',[System.EnvironmentVariableTarget]::Machine) + $machinePath = $machinePathString -split ';' + + if($machinePath -inotcontains $path) + { + $newPath = "$machinePathString;$path" + Write-Verbose "Adding $path to path..." -Verbose + [System.Environment]::SetEnvironmentVariable('path',$newPath,[System.EnvironmentVariableTarget]::Machine) + Write-Verbose "Added $path to path." -Verbose + $env:Path += ";$newPath" + } + else + { + Write-Verbose "$path already in path." -Verbose + } +} + +function Remove-Folder +{ + param( + [string] + $Folder + ) + + Write-Verbose "Cleaning up $Folder..." -Verbose + $filter = Join-Path -Path $Folder -ChildPath * + [int]$measuredCleanupMB = (Get-ChildItem $filter -Recurse | Measure-Object -Property Length -Sum).Sum / 1MB + Remove-Item -recurse -force $filter -ErrorAction SilentlyContinue + Write-Verbose "Cleaned up $measuredCleanupMB MB from $Folder" -Verbose +} diff --git a/tools/releaseBuild/build.json b/tools/releaseBuild/build.json new file mode 100644 index 000000000..8d46f2e33 --- /dev/null +++ b/tools/releaseBuild/build.json @@ -0,0 +1,15 @@ +{ + "Windows": { + "Name": "win7-x64", + "RepoDestinationPath": "C:\\PSScriptAnalyzer", + "BuildCommand": "C:\\containerFiles\\buildPSSA.ps1", + "DockerFile": ".\\tools\\releaseBuild\\Image\\DockerFile", + "DockerImageName": "pssa", + "BinaryBucket": "release", + "PublishAsFolder": true, + "AdditionalContextFiles" : [ + ".\\tools\\releaseBuild\\Image\\buildPSSA.ps1", + ".\\tools\\releaseBuild\\Image\\dockerInstall.psm1" + ] + } +} diff --git a/tools/releaseBuild/signing.xml b/tools/releaseBuild/signing.xml new file mode 100644 index 000000000..6595f3e1e --- /dev/null +++ b/tools/releaseBuild/signing.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/releaseBuild/updateSigning.ps1 b/tools/releaseBuild/updateSigning.ps1 new file mode 100644 index 000000000..62f06c4f5 --- /dev/null +++ b/tools/releaseBuild/updateSigning.ps1 @@ -0,0 +1,37 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +param( + [string] $SigningXmlPath = (Join-Path -Path $PSScriptRoot -ChildPath 'signing.xml') +) +# Script for use in VSTS to update signing.xml + +# Parse the signing xml +$signingXml = [xml](Get-Content $signingXmlPath) + +# Get any variables to updating 'signType' in the XML +# Define a varabile named `SignType' in VSTS to updating that signing type +# Example: $env:AuthenticodeSignType='newvalue' +# will cause all files with the 'Authenticode' signtype to be updated with the 'newvalue' signtype +$signTypes = @{} +Get-ChildItem -Path env:/*SignType | ForEach-Object -Process { + $signType = $_.Name.ToUpperInvariant().Replace('SIGNTYPE','') + Write-Host "Found SigningType $signType with value $($_.value)" + $signTypes[$signType] = $_.Value +} + +# examine each job in the xml +$signingXml.SignConfigXML.job | ForEach-Object -Process { + # examine each file in the job + $_.file | ForEach-Object -Process { + # if the sign type is one of the variables we found, update it to the new value + $signType = $_.SignType.ToUpperInvariant() + if($signTypes.ContainsKey($signType)) + { + $newSignType = $signTypes[$signType] + Write-Host "Updating $($_.src) to $newSignType" + $_.signType = $newSignType + } + } +} + +$signingXml.Save($signingXmlPath) diff --git a/tools/releaseBuild/vstsbuild.ps1 b/tools/releaseBuild/vstsbuild.ps1 new file mode 100644 index 000000000..f7fa8b49b --- /dev/null +++ b/tools/releaseBuild/vstsbuild.ps1 @@ -0,0 +1,77 @@ +[cmdletbinding()] +param( + [Parameter(Mandatory=$true,Position=0)] + [ValidatePattern("^v\d+\.\d+\.\d+(-\w+(\.\d+)?)?$")] + [string]$ReleaseTag +) + +Begin +{ + $ErrorActionPreference = 'Stop' + + $gitBinFullPath = (Get-Command -Name git -CommandType Application).Path | Select-Object -First 1 + if ( ! $gitBinFullPath ) + { + throw "Git is missing! Install from 'https://git-scm.com/download/win'" + } + + # clone the release tools + $releaseToolsDirName = "PSRelease" + $releaseToolsLocation = Join-Path -Path $PSScriptRoot -ChildPath PSRelease + if ( Test-Path $releaseToolsLocation ) + { + Remove-Item -Force -Recurse -Path $releaseToolsLocation + } + & $gitBinFullPath clone -b master --quiet https://github.com/PowerShell/${releaseToolsDirName}.git $releaseToolsLocation + Import-Module "$releaseToolsLocation/vstsBuild" -Force + Import-Module "$releaseToolsLocation/dockerBasedBuild" -Force +} + +End { + + $AdditionalFiles = .{ + Join-Path $PSScriptRoot -child "Image/buildPSSA.ps1" + Join-Path $PSScriptRoot -child "Image/dockerInstall.psm1" + } + $buildPackageName = $null + + # defined if building in VSTS + if($env:BUILD_STAGINGDIRECTORY) + { + # Use artifact staging if running in VSTS + $destFolder = $env:BUILD_STAGINGDIRECTORY + } + else + { + # Use temp as destination if not running in VSTS + $destFolder = $env:temp + } + + $resolvedRepoRoot = (Resolve-Path (Join-Path -Path $PSScriptRoot -ChildPath "../../")).Path + + try + { + Write-Verbose "Starting build at $resolvedRepoRoot ..." -Verbose + Clear-VstsTaskState + + $buildParameters = @{ + ReleaseTag = $ReleaseTag + } + $buildArgs = @{ + RepoPath = $resolvedRepoRoot + BuildJsonPath = './tools/releaseBuild/build.json' + Parameters = $buildParameters + AdditionalFiles = $AdditionalFiles + Name = "win7-x64" + } + Invoke-Build @buildArgs + } + catch + { + Write-VstsError -Error $_ + } + finally{ + Write-VstsTaskState + exit 0 + } +} From 9e38cdb95a429c842b15ef9d77aeb47b0db4a0d1 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 11 May 2018 21:05:24 +0100 Subject: [PATCH 106/120] Fix table of contents (#980) * Fix table of contents * fix ToC reference due to merge --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 151e32127..a768ced0e 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,8 @@ Table of Contents - [Installation](#installation) + [From PowerShell Gallery](#from-powershell-gallery) - [Supported PowerShell Versions and Platforms](#supported-powerShell-versions-and-platforms) - * [Windows](#windows) - * [Linux (*Tested only on Ubuntu 14.04*)](#linux-tested-only-on-ubuntu-1404) + [From Source](#from-source) - - [Requirements](#requirements-1) + - [Requirements](#requirements) - [Steps](#steps) - [Tests](#tests) - [Suppressing Rules](#suppressing-rules) @@ -86,6 +84,8 @@ Exit ### From Source +#### Requirements + * [.NET Core 2.1.101 SDK](https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.101) or newer * [PlatyPS 0.9.0 or greater](https://github.com/PowerShell/platyPS/releases) * Optionally but recommended for development: [Visual Studio 2017](https://www.visualstudio.com/downloads/) From b99ceb2c99cdbb6882f60e6879e069593114beb3 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 11 May 2018 21:05:48 +0100 Subject: [PATCH 107/120] Add NanoServer Docker example and summarize all docker examples better (#990) * Add microsoft/powershell:NanoServer example and simplify all docker examples to use the microsoft/powershell image tags * summarise and unify --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a768ced0e..289036619 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,16 @@ Exit - Windows PowerShell 3.0 or greater - PowerShell Core on Windows/Linux/macOS -- Docker (tested only using Docker CE on Windows 10 1803): - - [microsoft/windowsservercore](https://hub.docker.com/r/microsoft/windowsservercore/) for Windows. Example: - ```docker run -it microsoft/windowsservercore powershell -command "Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force; Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` - - [microsoft/powershell](https://hub.docker.com/r/microsoft/powershell/) for Linux. Example: - ```docker run -it microsoft/powershell pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` +- Docker (tested only using Docker CE on Windows 10 1803 + - PowerShell 6 Windows Image tags using from [microsoft/powershell](https://hub.docker.com/r/microsoft/powershell/): `nanoserver`, `6.0.2-nanoserver`, `6.0.2-nanoserver-1709`, `windowsservercore` and `6.0.2-windowsservercore`. Example (1 warning gets produced by `Save-Module` but can be ignored): + + ```docker run -it microsoft/powershell:nanoserver pwsh -command "Save-Module -Name PSScriptAnalyzer -Path .; Import-Module .\PSScriptAnalyzer; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` + - PowerShell 5.1 (Windows): Only the [microsoft/windowsservercore](https://hub.docker.com/r/microsoft/windowsservercore/) images work but not the [microsoft/nanoserver](https://hub.docker.com/r/microsoft/windowsservercore/) images because they contain a Core version of it. Example: + + ```docker run -it microsoft/windowsservercore powershell -command "Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force; Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` + - Linux tags from [microsoft/powershell](https://hub.docker.com/r/microsoft/powershell/): `latest`, `ubuntu16.04`, `ubuntu14.04` and `centos7`. - Example: + + ```docker run -it microsoft/powershell:latest pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` ### From Source From ac22b0ea749ab332f650e1afc4aea4e3540f65e4 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 11 May 2018 21:07:40 +0100 Subject: [PATCH 108/120] Allow TypeNotFound parser errors (#957) * Trim out TypeNotFoundParseErrors. * Add verbose logging and test * fix test syntax * add test for -path parameter set * use pester test drive * fix tests to not run in library usage session * Address PR comments about additional assertion and xml comment * Remove unused dotnet-core NuGet feed that caused build failure due to downtime * Fix typo and move string into resources * fix compilation error (forgot to check-in file) * fix typo to also build for psv3 * Since the using statement was introduced only inn v5, move to block that runs only on v5+ * fix tests by moving the tests (clearly a smell that something is wrong in this test script * write warning on parse errors instead of verbose output and tweak message * instead of returning a warning, return a diagnostic record with a custom rule name and tweak error message * poke build due to sporadic AppVeyor failure on setup (not a test) -> rename variable --- Engine/ScriptAnalyzer.cs | 56 ++++++++++++++++----- Engine/Strings.Designer.cs | 12 ++++- Engine/Strings.resx | 3 ++ NuGet.Config | 1 - Tests/Engine/InvokeScriptAnalyzer.tests.ps1 | 25 +++++++++ tools/appveyor.psm1 | 2 +- 6 files changed, 83 insertions(+), 16 deletions(-) diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index 6a7a6ea20..1c6a64fff 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1522,16 +1522,18 @@ public IEnumerable AnalyzeScriptDefinition(string scriptDefini return null; } - if (errors != null && errors.Length > 0) + var relevantParseErrors = RemoveTypeNotFoundParseErrors(errors, out List diagnosticRecords); + + if (relevantParseErrors != null && relevantParseErrors.Count > 0) { - foreach (ParseError error in errors) + foreach (var parseError in relevantParseErrors) { - string parseErrorMessage = String.Format(CultureInfo.CurrentCulture, Strings.ParseErrorFormatForScriptDefinition, error.Message.TrimEnd('.'), error.Extent.StartLineNumber, error.Extent.StartColumnNumber); - this.outputWriter.WriteError(new ErrorRecord(new ParseException(parseErrorMessage), parseErrorMessage, ErrorCategory.ParserError, error.ErrorId)); + string parseErrorMessage = String.Format(CultureInfo.CurrentCulture, Strings.ParseErrorFormatForScriptDefinition, parseError.Message.TrimEnd('.'), parseError.Extent.StartLineNumber, parseError.Extent.StartColumnNumber); + this.outputWriter.WriteError(new ErrorRecord(new ParseException(parseErrorMessage), parseErrorMessage, ErrorCategory.ParserError, parseError.ErrorId)); } } - if (errors != null && errors.Length > 10) + if (relevantParseErrors != null && relevantParseErrors.Count > 10) { string manyParseErrorMessage = String.Format(CultureInfo.CurrentCulture, Strings.ParserErrorMessageForScriptDefinition); this.outputWriter.WriteError(new ErrorRecord(new ParseException(manyParseErrorMessage), manyParseErrorMessage, ErrorCategory.ParserError, scriptDefinition)); @@ -1539,7 +1541,7 @@ public IEnumerable AnalyzeScriptDefinition(string scriptDefini return new List(); } - return this.AnalyzeSyntaxTree(scriptAst, scriptTokens, String.Empty); + return diagnosticRecords.Concat(this.AnalyzeSyntaxTree(scriptAst, scriptTokens, String.Empty)); } /// @@ -1644,6 +1646,33 @@ private static Encoding GetFileEncoding(string path) } } + /// + /// Inspects Parse errors and removes TypeNotFound errors that can be ignored since some types are not known yet (e.g. due to 'using' statements). + /// + /// + /// List of relevant parse errors. + private List RemoveTypeNotFoundParseErrors(ParseError[] parseErrors, out List diagnosticRecords) + { + var relevantParseErrors = new List(); + diagnosticRecords = new List(); + + foreach (var parseError in parseErrors) + { + // If types are not known due them not being imported yet, the parser throws an error that can be ignored + if (parseError.ErrorId != "TypeNotFound") + { + relevantParseErrors.Add(parseError); + } + else + { + diagnosticRecords.Add(new DiagnosticRecord( + string.Format(Strings.TypeNotFoundParseErrorFound, parseError.Extent), parseError.Extent, "TypeNotFound", DiagnosticSeverity.Information, parseError.Extent.File)); + } + } + + return relevantParseErrors; + } + private static Range SnapToEdges(EditableText text, Range range) { // todo add TextLines.Validate(range) and TextLines.Validate(position) @@ -1806,6 +1835,7 @@ private IEnumerable AnalyzeFile(string filePath) ParseError[] errors = null; this.outputWriter.WriteVerbose(string.Format(CultureInfo.CurrentCulture, Strings.VerboseFileMessage, filePath)); + var diagnosticRecords = new List(); //Parse the file if (File.Exists(filePath)) @@ -1829,17 +1859,19 @@ private IEnumerable AnalyzeFile(string filePath) scriptAst = Parser.ParseFile(filePath, out scriptTokens, out errors); } #endif //!PSV3 + var relevantParseErrors = RemoveTypeNotFoundParseErrors(errors, out diagnosticRecords); + //Runspace.DefaultRunspace = oldDefault; - if (errors != null && errors.Length > 0) + if (relevantParseErrors != null && relevantParseErrors.Count > 0) { - foreach (ParseError error in errors) + foreach (var parseError in relevantParseErrors) { - string parseErrorMessage = String.Format(CultureInfo.CurrentCulture, Strings.ParserErrorFormat, error.Extent.File, error.Message.TrimEnd('.'), error.Extent.StartLineNumber, error.Extent.StartColumnNumber); - this.outputWriter.WriteError(new ErrorRecord(new ParseException(parseErrorMessage), parseErrorMessage, ErrorCategory.ParserError, error.ErrorId)); + string parseErrorMessage = String.Format(CultureInfo.CurrentCulture, Strings.ParserErrorFormat, parseError.Extent.File, parseError.Message.TrimEnd('.'), parseError.Extent.StartLineNumber, parseError.Extent.StartColumnNumber); + this.outputWriter.WriteError(new ErrorRecord(new ParseException(parseErrorMessage), parseErrorMessage, ErrorCategory.ParserError, parseError.ErrorId)); } } - if (errors != null && errors.Length > 10) + if (relevantParseErrors != null && relevantParseErrors.Count > 10) { string manyParseErrorMessage = String.Format(CultureInfo.CurrentCulture, Strings.ParserErrorMessage, System.IO.Path.GetFileName(filePath)); this.outputWriter.WriteError(new ErrorRecord(new ParseException(manyParseErrorMessage), manyParseErrorMessage, ErrorCategory.ParserError, filePath)); @@ -1856,7 +1888,7 @@ private IEnumerable AnalyzeFile(string filePath) return null; } - return this.AnalyzeSyntaxTree(scriptAst, scriptTokens, filePath); + return diagnosticRecords.Concat(this.AnalyzeSyntaxTree(scriptAst, scriptTokens, filePath)); } private bool IsModuleNotFoundError(ParseError error) diff --git a/Engine/Strings.Designer.cs b/Engine/Strings.Designer.cs index d7234f283..077b3a591 100644 --- a/Engine/Strings.Designer.cs +++ b/Engine/Strings.Designer.cs @@ -10,7 +10,6 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { using System; - using System.Reflection; /// @@ -40,7 +39,7 @@ internal Strings() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Windows.PowerShell.ScriptAnalyzer.Strings", typeof(Strings).GetTypeInfo().Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Windows.PowerShell.ScriptAnalyzer.Strings", typeof(Strings).Assembly); resourceMan = temp; } return resourceMan; @@ -592,6 +591,15 @@ internal static string TextLinesNoNullItem { } } + /// + /// Looks up a localized string similar to Ignoring 'TypeNotFound' parse error on type '{0}'. Check if the specified type is correct. This can also be due the type not being known at parse time due to types imported by 'using' statements.. + /// + internal static string TypeNotFoundParseErrorFound { + get { + return ResourceManager.GetString("TypeNotFoundParseErrorFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to Analyzing file: {0}. /// diff --git a/Engine/Strings.resx b/Engine/Strings.resx index 99d90761f..743c3ccad 100644 --- a/Engine/Strings.resx +++ b/Engine/Strings.resx @@ -324,4 +324,7 @@ Settings object could not be resolved. + + Ignoring 'TypeNotFound' parse error on type '{0}'. Check if the specified type is correct. This can also be due the type not being known at parse time due to types imported by 'using' statements. + \ No newline at end of file diff --git a/NuGet.Config b/NuGet.Config index d9071f66f..acba4478b 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -3,7 +3,6 @@ - diff --git a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 index c6e5b9b2a..049b0f682 100644 --- a/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 +++ b/Tests/Engine/InvokeScriptAnalyzer.tests.ps1 @@ -551,4 +551,29 @@ Describe "Test -EnableExit Switch" { "$result" | Should -Not -BeLike $reportSummaryFor1Warning } } + + # using statements are only supported in v5+ + if (!$testingLibraryUsage -and ($PSVersionTable.PSVersion -ge [Version]'5.0.0')) { + Describe "Handles parse errors due to unknown types" { + $script = @' + using namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels + using namespace Microsoft.Azure.Commands.Common.Authentication.Abstractions + Import-Module "AzureRm" + class MyClass { [IStorageContext]$StorageContext } # This will result in a parser error due to [IStorageContext] type that comes from the using statement but is not known at parse time +'@ + It "does not throw and detect one expected warning after the parse error has occured when using -ScriptDefintion parameter set" { + $warnings = Invoke-ScriptAnalyzer -ScriptDefinition $script + $warnings.Count | Should -Be 1 + $warnings.RuleName | Should -Be 'TypeNotFound' + } + + $testFilePath = "TestDrive:\testfile.ps1" + Set-Content $testFilePath -value $script + It "does not throw and detect one expected warning after the parse error has occured when using -Path parameter set" { + $warnings = Invoke-ScriptAnalyzer -Path $testFilePath + $warnings.Count | Should -Be 1 + $warnings.RuleName | Should -Be 'TypeNotFound' + } + } + } } diff --git a/tools/appveyor.psm1 b/tools/appveyor.psm1 index fca49b807..0625dea33 100644 --- a/tools/appveyor.psm1 +++ b/tools/appveyor.psm1 @@ -44,7 +44,7 @@ function Invoke-AppVeyorBuild { $BuildType, [Parameter(Mandatory)] - [ValidateSet('Release', 'PSv4Release', 'PSv4Release')] + [ValidateSet('Release', 'PSv3Release', 'PSv4Release')] $BuildConfiguration, [Parameter(Mandatory)] From f02b392bba6bccc1e1d0aa6ec93412e9cbde5209 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 11 May 2018 21:09:32 +0100 Subject: [PATCH 109/120] Use multiple GitHub issue templates for bugs, feature requests and support questions (#986) * add more details * Use multiple issue templates for bugs, features requests and support questions. --- .github/ISSUE_TEMPLATE.md | 32 --------------- .github/ISSUE_TEMPLATE/Bug_report.md | 45 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/Feature_request.md | 18 +++++++++ .github/ISSUE_TEMPLATE/Support_Question.md | 9 +++++ 4 files changed, 72 insertions(+), 32 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/Bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/Feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/Support_Question.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 9aac57600..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,32 +0,0 @@ -Steps to reproduce ------------------- - -```powershell - -``` - -Expected behavior ------------------ - -```none - -``` - -Actual behavior ---------------- - -```none - -``` - -Environment data ----------------- - - - -```powershell -> $PSVersionTable - -> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() } - -``` diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md new file mode 100644 index 000000000..3627f89eb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -0,0 +1,45 @@ +--- +name: Bug report 🐛 +about: Report errors or unexpected behavior 🤔 + +--- + +Before submitting a bug report: + +- Make sure you are able to repro it on the latest released version +- Perform a quick search for existing issues to check if this bug has already been reported + +Steps to reproduce +------------------ + +```PowerShell + +``` + +Expected behavior +----------------- + +```none + +``` + +Actual behavior +--------------- + +```none + +``` + +If an unexpected error was thrown then please report the full error details using e.g. `$error[0] | Select-Object *` + +Environment data +---------------- + + + +```PowerShell +> $PSVersionTable + +> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() } + +``` diff --git a/.github/ISSUE_TEMPLATE/Feature_request.md b/.github/ISSUE_TEMPLATE/Feature_request.md new file mode 100644 index 000000000..1f2f67683 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Feature_request.md @@ -0,0 +1,18 @@ +--- +name: Feature request/idea 🚀 +about: Suggest a new feature or improvement (this does not mean you have to implement it) + +--- + +**Summary of the new feature** + +A clear and concise description of what the problem is that the new feature would solve. +Try formulating it in user story style (if applicable): +'As a user I want X so that Y.' with X being the being the action and Y being the value of the action. + +**Proposed technical implementation details (optional)** + +A clear and concise description of what you want to happen. + +**What is the latest version of PSScriptAnalyzer at the point of writing** + diff --git a/.github/ISSUE_TEMPLATE/Support_Question.md b/.github/ISSUE_TEMPLATE/Support_Question.md new file mode 100644 index 000000000..655e3ce3e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Support_Question.md @@ -0,0 +1,9 @@ +--- +name: Support Question ❓ +about: If you have a question, you can try asking in the scriptanalyzer channel of the international PowerShell Slack channel first. + +--- + +* Slack Community Chat: https://powershell.slack.com (you can sign-up at http://slack.poshcode.org/ for an invite) +* Also have a look at the `RoleDocumentation` folder for more information on each rule: +https://github.com/PowerShell/PSScriptAnalyzer/tree/development/RuleDocumentation \ No newline at end of file From 703ebe423d18fb5cd1a5560f8133625a00693c19 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Fri, 11 May 2018 21:14:21 +0100 Subject: [PATCH 110/120] Do not trigger UseDeclaredVarsMoreThanAssignment for variables being used via Get-Variable (#925) * Do not trigger UseDeclaredVarsMoreThanAssignment when using Get-Variable * update licence text * address PR comments --- Rules/UseDeclaredVarsMoreThanAssignments.cs | 37 ++++++++++++++----- ...eDeclaredVarsMoreThanAssignments.tests.ps1 | 5 +++ 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/Rules/UseDeclaredVarsMoreThanAssignments.cs b/Rules/UseDeclaredVarsMoreThanAssignments.cs index fc72e18ea..6d0f29fdf 100644 --- a/Rules/UseDeclaredVarsMoreThanAssignments.cs +++ b/Rules/UseDeclaredVarsMoreThanAssignments.cs @@ -9,6 +9,7 @@ #endif using System.Globalization; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; +using System.Linq; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules { @@ -113,7 +114,7 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip IEnumerable varAsts = scriptBlockAst.FindAll(testAst => testAst is VariableExpressionAst, true); IEnumerable varsInAssignment; - Dictionary assignments = new Dictionary(StringComparer.OrdinalIgnoreCase); + Dictionary assignmentsDictionary_OrdinalIgnoreCase = new Dictionary(StringComparer.OrdinalIgnoreCase); string varKey; bool inAssignment; @@ -148,9 +149,9 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip { string variableName = Helper.Instance.VariableNameWithoutScope(assignmentVarAst.VariablePath); - if (!assignments.ContainsKey(variableName)) + if (!assignmentsDictionary_OrdinalIgnoreCase.ContainsKey(variableName)) { - assignments.Add(variableName, assignmentAst); + assignmentsDictionary_OrdinalIgnoreCase.Add(variableName, assignmentAst); } } } @@ -163,9 +164,9 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip varKey = Helper.Instance.VariableNameWithoutScope(varAst.VariablePath); inAssignment = false; - if (assignments.ContainsKey(varKey)) + if (assignmentsDictionary_OrdinalIgnoreCase.ContainsKey(varKey)) { - varsInAssignment = assignments[varKey].Left.FindAll(testAst => testAst is VariableExpressionAst, true); + varsInAssignment = assignmentsDictionary_OrdinalIgnoreCase[varKey].Left.FindAll(testAst => testAst is VariableExpressionAst, true); // Checks if this variableAst is part of the logged assignment foreach (VariableExpressionAst varInAssignment in varsInAssignment) @@ -195,23 +196,41 @@ private IEnumerable AnalyzeScriptBlockAst(ScriptBlockAst scrip if (!inAssignment) { - assignments.Remove(varKey); + assignmentsDictionary_OrdinalIgnoreCase.Remove(varKey); } // Check if variable belongs to PowerShell built-in variables if (Helper.Instance.HasSpecialVars(varKey)) { - assignments.Remove(varKey); + assignmentsDictionary_OrdinalIgnoreCase.Remove(varKey); } } } } - foreach (string key in assignments.Keys) + // Detect usages of Get-Variable + var getVariableCmdletNamesAndAliases = Helper.Instance.CmdletNameAndAliases("Get-Variable"); + IEnumerable getVariableCommandAsts = scriptBlockAst.FindAll(testAst => testAst is CommandAst commandAst && + getVariableCmdletNamesAndAliases.Contains(commandAst.GetCommandName(), StringComparer.OrdinalIgnoreCase), true); + foreach (CommandAst getVariableCommandAst in getVariableCommandAsts) + { + var commandElements = getVariableCommandAst.CommandElements.ToList(); + // The following extracts the variable name only in the simplest possibe case 'Get-Variable variableName' + if (commandElements.Count == 2 && commandElements[1] is StringConstantExpressionAst constantExpressionAst) + { + var variableName = constantExpressionAst.Value; + if (assignmentsDictionary_OrdinalIgnoreCase.ContainsKey(variableName)) + { + assignmentsDictionary_OrdinalIgnoreCase.Remove(variableName); + } + } + } + + foreach (string key in assignmentsDictionary_OrdinalIgnoreCase.Keys) { yield return new DiagnosticRecord( string.Format(CultureInfo.CurrentCulture, Strings.UseDeclaredVarsMoreThanAssignmentsError, key), - assignments[key].Left.Extent, + assignmentsDictionary_OrdinalIgnoreCase[key].Left.Extent, GetName(), DiagnosticSeverity.Warning, fileName, diff --git a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 index c35548241..972c5cf82 100644 --- a/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 +++ b/Tests/Rules/UseDeclaredVarsMoreThanAssignments.tests.ps1 @@ -87,5 +87,10 @@ function MyFunc2() { $results = Invoke-ScriptAnalyzer -ScriptDefinition '$env:foo = 1; function foo(){ $env:bar = 42 }' $results.Count | Should -Be 0 } + + It "Using a variable via 'Get-Variable' does not trigger a warning" { + $noViolations = Invoke-ScriptAnalyzer -ScriptDefinition '$a=4; get-variable a' + $noViolations.Count | Should -Be 0 + } } } From a0354918b6c7afa411692de9387e720d83f33f77 Mon Sep 17 00:00:00 2001 From: Klaudia Algiz Date: Fri, 11 May 2018 14:42:02 -0700 Subject: [PATCH 111/120] AvoidDefaultValueForMandatoryParameter triggers when the field has specification: Mandatory=value and value!=0 (#969) * AvoidDefaultValueForMandatoryParameter triggers when the field has specification: Mandatory=value and value!=0 * Add tests for AvoidDefaultValueForMandatoryParameter rule. * Code cleanup for AvoidDefaultValueForMandatoryParameter rule fix. --- Rules/AvoidDefaultValueForMandatoryParameter.cs | 6 ++++-- .../AvoidDefaultValueForMandatoryParameter.tests.ps1 | 12 ++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Rules/AvoidDefaultValueForMandatoryParameter.cs b/Rules/AvoidDefaultValueForMandatoryParameter.cs index cb7aa31a4..f3d66d973 100644 --- a/Rules/AvoidDefaultValueForMandatoryParameter.cs +++ b/Rules/AvoidDefaultValueForMandatoryParameter.cs @@ -51,8 +51,10 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) { if (String.Equals(namedArgument.ArgumentName, "mandatory", StringComparison.OrdinalIgnoreCase)) { - // 2 cases: [Parameter(Mandatory)] and [Parameter(Mandatory=$true)] - if (namedArgument.ExpressionOmitted || (!namedArgument.ExpressionOmitted && String.Equals(namedArgument.Argument.Extent.Text, "$true", StringComparison.OrdinalIgnoreCase))) + // 3 cases: [Parameter(Mandatory)], [Parameter(Mandatory=$true)] and [Parameter(Mandatory=value)] where value is not equal to 0. + if (namedArgument.ExpressionOmitted + || (String.Equals(namedArgument.Argument.Extent.Text, "$true", StringComparison.OrdinalIgnoreCase)) + || (int.TryParse(namedArgument.Argument.Extent.Text, out int mandatoryValue) && mandatoryValue != 0)) { mandatory = true; break; diff --git a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 index 9948a9d13..c4fa2258d 100644 --- a/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 +++ b/Tests/Rules/AvoidDefaultValueForMandatoryParameter.tests.ps1 @@ -13,6 +13,12 @@ Describe "AvoidDefaultValueForMandatoryParameter" { Where-Object { $_.RuleName -eq $ruleName } $violations.Count | Should -Be 1 } + + It "returns violations when the parameter is specified as mandatory=1 and has a default value" { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'Function foo{ Param([Parameter(Mandatory=1)]$Param1=''defaultValue'') }' | + Where-Object { $_.RuleName -eq $ruleName } + $violations.Count | Should -Be 1 + } } Context "When there are no violations" { @@ -21,5 +27,11 @@ Describe "AvoidDefaultValueForMandatoryParameter" { Where-Object { $_.RuleName -eq $ruleName } $violations.Count | Should -Be 0 } + + It "returns no violations when the parameter is specified as mandatory=0 and has a default value" { + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'Function foo{ Param([Parameter(Mandatory=0)]$Param1=''val1'') }' | + Where-Object { $_.RuleName -eq $ruleName } + $violations.Count | Should -Be 0 + } } } From 7408fe2ab4948ce1895ef1254015d54b4d9ee7fb Mon Sep 17 00:00:00 2001 From: Paul Broadwith Date: Mon, 14 May 2018 22:10:02 +0100 Subject: [PATCH 112/120] Added Chocolatey Install help (#999) * Added Chocolatey Install help * Fixed typo * Added clarification on community package support --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 289036619..19feea818 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,19 @@ Exit ```docker run -it microsoft/powershell:latest pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` +### From Chocolatey + +If you prefer to manage PSScriptAnalyzer as a Windows package, you can use [Chocolatey](https://chocolatey.org) to install it. + +If you don't have Chocolatey, you can install it from the [Chocolately Install page](https://chocolatey.org/install). +With Chocolatey installed, execute the following command to install PSScriptAnalyzer: + +```powershell +choco install psscriptanalyzer +``` + +Note: the PSScriptAnalyzer Chocolatey package is provided and supported by the community. + ### From Source #### Requirements From 606c9eb1dc1ba279cab38925c9c28df3690d0da8 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Thu, 17 May 2018 18:51:50 +0100 Subject: [PATCH 113/120] fix release script by building also for v3 and misc. improvements (#996) --- Utils/ReleaseMaker.psm1 | 3 ++- build.ps1 | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index a5079e454..68868664a 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -93,8 +93,9 @@ function New-ReleaseBuild try { if ( test-path out ) { remove-item out/ -recurse -force } - .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build .\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build + .\buildCoreClr.ps1 -Framework net451 -Configuration PSV4Release -Build + .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build .\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build .\build.ps1 -BuildDocs } diff --git a/build.ps1 b/build.ps1 index f34d857f4..46aa3a9c6 100644 --- a/build.ps1 +++ b/build.ps1 @@ -93,9 +93,10 @@ if ($BuildDocs) CreateIfNotExists($outputDocsPath) # Build documentation using platyPS - if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.9 })) + $requiredVersionOfplatyPS = 0.9 + if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge $requiredVersionOfplatyPS })) { - "Cannot find platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" + "Cannot find required minimum version $requiredVersionOfplatyPS of platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" } if ((Get-Module platyPS -Verbose:$verbosity) -eq $null) { From c632ea1b43a49acd66ee60f48975d40ec791d6f1 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Thu, 17 May 2018 19:22:17 +0100 Subject: [PATCH 114/120] If no path is found or when using the -ScriptDefinition parameter set, default to the current location for the directory search of the implicit settings file (#979) * If no path is found or when using the -ScriptDefinition parameter set, default to the current location for the directory search of the implicit settings file * add test case * fix test so that it would actually fail if the bug got re-introduced --- Engine/Commands/InvokeScriptAnalyzerCommand.cs | 2 +- Tests/Engine/Settings.tests.ps1 | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Engine/Commands/InvokeScriptAnalyzerCommand.cs b/Engine/Commands/InvokeScriptAnalyzerCommand.cs index 723c540b9..ae2e0858e 100644 --- a/Engine/Commands/InvokeScriptAnalyzerCommand.cs +++ b/Engine/Commands/InvokeScriptAnalyzerCommand.cs @@ -291,7 +291,7 @@ protected override void BeginProcessing() { var settingsObj = PSSASettings.Create( settings, - processedPaths == null || processedPaths.Count == 0 ? null : processedPaths[0], + processedPaths == null || processedPaths.Count == 0 ? CurrentProviderLocation("FileSystem").ProviderPath : processedPaths[0], this, GetResolvedProviderPathFromPSPath); if (settingsObj != null) diff --git a/Tests/Engine/Settings.tests.ps1 b/Tests/Engine/Settings.tests.ps1 index 1b3d00b13..23bdf1196 100644 --- a/Tests/Engine/Settings.tests.ps1 +++ b/Tests/Engine/Settings.tests.ps1 @@ -14,12 +14,21 @@ Describe "Settings Precedence" { } Context "settings file is implicit" { - It "runs rules from the implicit setting file" { + It "runs rules from the implicit setting file using the -Path parameter set" { $violations = Invoke-ScriptAnalyzer -Path $project1Root -Recurse $violations.Count | Should -Be 1 $violations[0].RuleName | Should -Be "PSAvoidUsingCmdletAliases" } + It "runs rules from the implicit setting file using the -ScriptDefinition parameter set" { + Push-Location $project1Root + $violations = Invoke-ScriptAnalyzer -ScriptDefinition 'gci; Write-Host' -Recurse + Pop-Location + $violations.Count | Should -Be 1 + $violations[0].RuleName | Should -Be "PSAvoidUsingCmdletAliases" ` + -Because 'the implicit settings file should have run only the PSAvoidUsingCmdletAliases rule but not PSAvoidUsingWriteHost' + } + It "cannot find file if not named PSScriptAnalyzerSettings.psd1" { $violations = Invoke-ScriptAnalyzer -Path $project2Root -Recurse $violations.Count | Should -Be 2 From f1222efb583977248813dcf1a45e0164adefbcc4 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Thu, 17 May 2018 19:23:04 +0100 Subject: [PATCH 115/120] Add CommandData files of PowerShell Core 6.0.2 for Windows/Linux/macOS and WMF3/4 that are used by UseCompatibleCmdlets rule (#954) * add typedate for pwsh 6.0.2 on Windows 10.0.16299.251 and for Linux from Ubuntu 16 (LTS) * update docs and remove old alpha versions for windows/linux * add v3 command data file from Tyler. And add v5.1 to docs as well * add wmf4 command data file produced on new vanilla winserver2012r2 azure machine * add mac command data file from James and correct it from osx to macOs --- Engine/Settings/core-6.0.0-alpha-linux.json | 1821 ----- Engine/Settings/core-6.0.0-alpha-osx.json | 1821 ----- Engine/Settings/core-6.0.0-alpha-windows.json | 2238 ------ Engine/Settings/core-6.0.2-linux.json | 1648 ++++ Engine/Settings/core-6.0.2-macos.json | 1648 ++++ Engine/Settings/core-6.0.2-windows.json | 2075 +++++ Engine/Settings/desktop-3.0-windows.json | 6268 +++++++++++++++ Engine/Settings/desktop-4.0-windows.json | 7133 +++++++++++++++++ RuleDocumentation/UseCompatibleCmdlets.md | 7 +- Rules/UseCompatibleCmdlets.cs | 2 +- Tests/Rules/UseCompatibleCmdlets.tests.ps1 | 2 +- .../PSScriptAnalyzerSettings.psd1 | 2 +- Utils/New-CommandDataFile.ps1 | 2 +- 13 files changed, 18780 insertions(+), 5887 deletions(-) delete mode 100644 Engine/Settings/core-6.0.0-alpha-linux.json delete mode 100644 Engine/Settings/core-6.0.0-alpha-osx.json delete mode 100644 Engine/Settings/core-6.0.0-alpha-windows.json create mode 100644 Engine/Settings/core-6.0.2-linux.json create mode 100644 Engine/Settings/core-6.0.2-macos.json create mode 100644 Engine/Settings/core-6.0.2-windows.json create mode 100644 Engine/Settings/desktop-3.0-windows.json create mode 100644 Engine/Settings/desktop-4.0-windows.json diff --git a/Engine/Settings/core-6.0.0-alpha-linux.json b/Engine/Settings/core-6.0.0-alpha-linux.json deleted file mode 100644 index 974ef8387..000000000 --- a/Engine/Settings/core-6.0.0-alpha-linux.json +++ /dev/null @@ -1,1821 +0,0 @@ -{ - "Modules": [ - { - "Name": "Microsoft.PowerShell.Archive", - "Version": "1.0.1.0", - "ExportedCommands": [ - { - "Name": "Compress-Archive", - "CommandType": "Function", - "ParameterSets": "[-Path] [-DestinationPath] [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Update [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Force [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Update [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Force [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath [-CompressionLevel ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Expand-Archive", - "CommandType": "Function", - "ParameterSets": "[-Path] [[-DestinationPath] ] [-Force] [-WhatIf] [-Confirm] [] [[-DestinationPath] ] -LiteralPath [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Host", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "Start-Transcript", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-LiteralPath] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-OutputDirectory] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Stop-Transcript", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Management", - "Version": "3.1.0.0", - "ExportedCommands": [ - { - "Name": "Add-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Clear-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" - }, - { - "Name": "Clear-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Clear-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Convert-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [] -LiteralPath []" - }, - { - "Name": "Copy-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Destination] ] [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] [] [[-Destination] ] -LiteralPath [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] []" - }, - { - "Name": "Copy-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Debug-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InputObject [-WhatIf] [-Confirm] []" - }, - { - "Name": "Get-ChildItem", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Filter] ] [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [] [[-Filter] ] -LiteralPath [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] []" - }, - { - "Name": "Get-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-Stream ] [] -LiteralPath [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Get-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] []" - }, - { - "Name": "Get-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Name] ] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [[-Name] ] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" - }, - { - "Name": "Get-ItemPropertyValue", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-Name] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [-Name] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" - }, - { - "Name": "Get-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[-PSProvider ] [-PSDrive ] [] [-Stack] [-StackName ] []" - }, - { - "Name": "Get-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ComputerName ] [-Module] [-FileVersionInfo] [] [[-Name] ] -IncludeUserName [] -Id -IncludeUserName [] -Id [-ComputerName ] [-Module] [-FileVersionInfo] [] -InputObject -IncludeUserName [] -InputObject [-ComputerName ] [-Module] [-FileVersionInfo] []" - }, - { - "Name": "Get-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Scope ] [-PSProvider ] [] [-LiteralName] [-Scope ] [-PSProvider ] []" - }, - { - "Name": "Get-PSProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-PSProvider] ] []" - }, - { - "Name": "Invoke-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Join-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ChildPath] [[-AdditionalChildPath] ] [-Resolve] [-Credential ] []" - }, - { - "Name": "Move-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Destination] ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [[-Destination] ] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Move-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-PSProvider] [-Root] [-Description ] [-Scope ] [-Persist] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Pop-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[-PassThru] [-StackName ] []" - }, - { - "Name": "Push-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-PassThru] [-StackName ] [] [-LiteralPath ] [-PassThru] [-StackName ] []" - }, - { - "Name": "Remove-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" - }, - { - "Name": "Remove-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] [-LiteralName] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-NewName] [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [-NewName] -LiteralPath [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-NewName] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-NewName] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Resolve-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Relative] [-Credential ] [] -LiteralPath [-Relative] [-Credential ] []" - }, - { - "Name": "Set-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Set-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-Value] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Path] -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-Value] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-PassThru] [] -LiteralPath [-PassThru] [] [-PassThru] [-StackName ] []" - }, - { - "Name": "Split-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Parent] [-Resolve] [-Credential ] [] [-Path] [-Leaf] [-Resolve] [-Credential ] [] [-Path] [-Qualifier] [-Resolve] [-Credential ] [] [-Path] [-NoQualifier] [-Resolve] [-Credential ] [] [-Path] [-Resolve] [-IsAbsolute] [-Credential ] [] -LiteralPath [-Resolve] [-Credential ] []" - }, - { - "Name": "Start-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [[-ArgumentList] ] [-Credential ] [-WorkingDirectory ] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError ] [-RedirectStandardInput ] [-RedirectStandardOutput ] [-Wait] [-UseNewEnvironment] [] [-FilePath] [[-ArgumentList] ] [-WorkingDirectory ] [-PassThru] [-Verb ] [-Wait] []" - }, - { - "Name": "Stop-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Test-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] []" - }, - { - "Name": "Wait-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Timeout] ] [] [-Id] [[-Timeout] ] [] [[-Timeout] ] -InputObject []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Security", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "ConvertFrom-SecureString", - "CommandType": "Cmdlet", - "ParameterSets": "[-SecureString] [[-SecureKey] ] [] [-SecureString] [-Key ] []" - }, - { - "Name": "ConvertTo-SecureString", - "CommandType": "Cmdlet", - "ParameterSets": "[-String] [[-SecureKey] ] [] [-String] [-AsPlainText] [-Force] [] [-String] [-Key ] []" - }, - { - "Name": "Get-Credential", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Credential] ] [] [[-UserName] ] [-Message ] [-Title ] []" - }, - { - "Name": "Get-ExecutionPolicy", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Scope] ] [-List] []" - }, - { - "Name": "Set-ExecutionPolicy", - "CommandType": "Cmdlet", - "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Utility", - "Version": "3.1.0.0", - "ExportedCommands": [ - { - "Name": "Format-Hex", - "CommandType": "Function", - "ParameterSets": "[-Path] [] -LiteralPath [] -InputObject [-Encoding ] [-Raw] []" - }, - { - "Name": "Get-FileHash", - "CommandType": "Function", - "ParameterSets": "[-Path] [-Algorithm ] [] -LiteralPath [-Algorithm ] [] -InputStream [-Algorithm ] []" - }, - { - "Name": "Import-PowerShellDataFile", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [] [-LiteralPath ] []" - }, - { - "Name": "New-Guid", - "CommandType": "Function", - "ParameterSets": "[]" - }, - { - "Name": "New-TemporaryFile", - "CommandType": "Function", - "ParameterSets": "[-WhatIf] [-Confirm] []" - }, - { - "Name": "Add-Member", - "CommandType": "Cmdlet", - "ParameterSets": "-InputObject -TypeName [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyMembers] -InputObject [-TypeName ] [-Force] [-PassThru] []" - }, - { - "Name": "Add-Type", - "CommandType": "Cmdlet", - "ParameterSets": "[-TypeDefinition] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Name] [-MemberDefinition] [-Namespace ] [-UsingNamespace ] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Path] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -LiteralPath [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -AssemblyName [-PassThru] [-IgnoreWarnings] []" - }, - { - "Name": "Clear-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Compare-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-ReferenceObject] [-DifferenceObject] [-SyncWindow ] [-Property ] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "ConvertFrom-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [[-Delimiter] ] [-Header ] [] [-InputObject] -UseCulture [-Header ] []" - }, - { - "Name": "ConvertFrom-Json", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] []" - }, - { - "Name": "ConvertFrom-StringData", - "CommandType": "Cmdlet", - "ParameterSets": "[-StringData] []" - }, - { - "Name": "ConvertTo-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [[-Delimiter] ] [-NoTypeInformation] [] [-InputObject] [-UseCulture] [-NoTypeInformation] []" - }, - { - "Name": "ConvertTo-Html", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [[-Head] ] [[-Title] ] [[-Body] ] [-InputObject ] [-As ] [-CssUri ] [-PostContent ] [-PreContent ] [] [[-Property] ] [-InputObject ] [-As ] [-Fragment] [-PostContent ] [-PreContent ] []" - }, - { - "Name": "ConvertTo-Json", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Depth ] [-Compress] []" - }, - { - "Name": "ConvertTo-Xml", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Depth ] [-NoTypeInformation] [-As ] []" - }, - { - "Name": "Debug-Runspace", - "CommandType": "Cmdlet", - "ParameterSets": "[-Runspace] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] [] [-Id] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Enable-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enable-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [-BreakAll] [] [-Runspace] [-BreakAll] [] [-RunspaceId] [-BreakAll] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Export-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Name] ] [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] [] [[-Name] ] -LiteralPath [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-Clixml", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Delimiter] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-NoTypeInformation] [-WhatIf] [-Confirm] [] [[-Path] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-UseCulture] [-NoTypeInformation] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "-InputObject -Path [-Force] [-NoClobber] [-IncludeScriptBlock] [] -InputObject -LiteralPath [-Force] [-NoClobber] [-IncludeScriptBlock] []" - }, - { - "Name": "Format-Custom", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-Depth ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-List", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-Table", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-Wide", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-AutoSize] [-Column ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Get-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Exclude ] [-Scope ] [] [-Exclude ] [-Scope ] [-Definition ] []" - }, - { - "Name": "Get-Culture", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Date", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-Format ] [] [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-UFormat ] []" - }, - { - "Name": "Get-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [] [-EventIdentifier] []" - }, - { - "Name": "Get-EventSubscriber", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [-Force] [] [-SubscriptionId] [-Force] []" - }, - { - "Name": "Get-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-TypeName] ] [-PowerShellVersion ] []" - }, - { - "Name": "Get-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Member", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-InputObject ] [-MemberType ] [-View ] [-Static] [-Force] []" - }, - { - "Name": "Get-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Script] ] [] -Variable [-Script ] [] -Command [-Script ] [] [-Type] [-Script ] [] [-Id] []" - }, - { - "Name": "Get-PSCallStack", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Random", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Maximum] ] [-SetSeed ] [-Minimum ] [] [-InputObject] [-SetSeed ] [-Count ] []" - }, - { - "Name": "Get-Runspace", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [-Id] [] [-InstanceId] []" - }, - { - "Name": "Get-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Get-TraceSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "Get-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-TypeName] ] []" - }, - { - "Name": "Get-UICulture", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Unique", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject ] [-AsString] [] [-InputObject ] [-OnType] []" - }, - { - "Name": "Get-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] [-Scope ] []" - }, - { - "Name": "Group-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-NoElement] [-AsHashTable] [-AsString] [-InputObject ] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "Import-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Import-Clixml", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-IncludeTotalCount] [-Skip ] [-First ] [] -LiteralPath [-IncludeTotalCount] [-Skip ] [-First ] []" - }, - { - "Name": "Import-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Delimiter] ] [-LiteralPath ] [-Header ] [-Encoding ] [] [[-Path] ] -UseCulture [-LiteralPath ] [-Header ] [-Encoding ] []" - }, - { - "Name": "Import-LocalizedData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-BindingVariable] ] [[-UICulture] ] [-BaseDirectory ] [-FileName ] [-SupportedCommand ] []" - }, - { - "Name": "Invoke-Expression", - "CommandType": "Cmdlet", - "ParameterSets": "[-Command] []" - }, - { - "Name": "Invoke-RestMethod", - "CommandType": "Cmdlet", - "ParameterSets": "[-Uri] [-Method ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] []" - }, - { - "Name": "Invoke-WebRequest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Uri] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] []" - }, - { - "Name": "Measure-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-Expression] [-InputObject ] []" - }, - { - "Name": "Measure-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-InputObject ] [-Sum] [-Average] [-Maximum] [-Minimum] [] [[-Property] ] [-InputObject ] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] []" - }, - { - "Name": "New-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [[-Sender] ] [[-EventArguments] ] [[-MessageData] ] []" - }, - { - "Name": "New-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-TypeName] [[-ArgumentList] ] [-Property ] [] [-ComObject] [-Strict] [-Property ] []" - }, - { - "Name": "New-TimeSpan", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Start] ] [[-End] ] [] [-Days ] [-Hours ] [-Minutes ] [-Seconds ] []" - }, - { - "Name": "New-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Value] ] [-Description ] [-Option ] [-Visibility ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Out-File", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [[-Encoding] ] [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] [[-Encoding] ] -LiteralPath [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Out-String", - "CommandType": "Cmdlet", - "ParameterSets": "[-Stream] [-Width ] [-InputObject ] []" - }, - { - "Name": "Read-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Prompt] ] [-AsSecureString] []" - }, - { - "Name": "Register-EngineEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" - }, - { - "Name": "Register-ObjectEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-EventName] [[-SourceIdentifier] ] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" - }, - { - "Name": "Remove-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [-WhatIf] [-Confirm] [] [-EventIdentifier] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Breakpoint] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "-TypeData [-WhatIf] [-Confirm] [] [-TypeName] [-WhatIf] [-Confirm] [] -Path [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Select-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-Last ] [-First ] [-Skip ] [-Wait] [] [[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-SkipLast ] [] [-InputObject ] [-Unique] [-Wait] [-Index ] []" - }, - { - "Name": "Select-String", - "CommandType": "Cmdlet", - "ParameterSets": "[-Pattern] [-Path] [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -InputObject [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -LiteralPath [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] []" - }, - { - "Name": "Select-Xml", - "CommandType": "Cmdlet", - "ParameterSets": "[-XPath] [-Xml] [-Namespace ] [] [-XPath] [-Path] [-Namespace ] [] [-XPath] -LiteralPath [-Namespace ] [] [-XPath] -Content [-Namespace ] []" - }, - { - "Name": "Set-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Date", - "CommandType": "Cmdlet", - "ParameterSets": "[-Date] [-DisplayHint ] [-WhatIf] [-Confirm] [] [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Script] [-Line] [[-Column] ] [-Action ] [] [[-Script] ] -Command [-Action ] [] [[-Script] ] -Variable [-Action ] [-Mode ] []" - }, - { - "Name": "Set-TraceSource", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Option] ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [-PassThru] [] [-Name] [-RemoveListener ] [] [-Name] [-RemoveFileListener ] []" - }, - { - "Name": "Set-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Value] ] [-Include ] [-Exclude ] [-Description ] [-Option ] [-Force] [-Visibility ] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Sort-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-Descending] [-Unique] [-InputObject ] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "Start-Sleep", - "CommandType": "Cmdlet", - "ParameterSets": "[-Seconds] [] -Milliseconds []" - }, - { - "Name": "Tee-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [-InputObject ] [-Append] [] -LiteralPath [-InputObject ] [] -Variable [-InputObject ] []" - }, - { - "Name": "Trace-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Expression] [[-Option] ] [-InputObject ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [] [-Name] [-Command] [[-Option] ] [-InputObject ] [-ArgumentList ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] []" - }, - { - "Name": "Unregister-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] [] [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] [] -TypeName [-MemberType ] [-MemberName ] [-Value ] [-SecondValue ] [-TypeConverter ] [-TypeAdapter ] [-SerializationMethod ] [-TargetTypeForDeserialization ] [-SerializationDepth ] [-DefaultDisplayProperty ] [-InheritPropertySerializationSet ] [-StringSerializationSource ] [-DefaultDisplayPropertySet ] [-DefaultKeyPropertySet ] [-PropertySerializationSet ] [-Force] [-WhatIf] [-Confirm] [] [-TypeData] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Wait-Debugger", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Wait-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [-Timeout ] []" - }, - { - "Name": "Write-Debug", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - }, - { - "Name": "Write-Error", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -Exception [-Message ] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -ErrorRecord [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] []" - }, - { - "Name": "Write-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Object] ] [-NoNewline] [-Separator ] [-ForegroundColor ] [-BackgroundColor ] []" - }, - { - "Name": "Write-Information", - "CommandType": "Cmdlet", - "ParameterSets": "[-MessageData] [[-Tags] ] []" - }, - { - "Name": "Write-Output", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-NoEnumerate] []" - }, - { - "Name": "Write-Progress", - "CommandType": "Cmdlet", - "ParameterSets": "[-Activity] [[-Status] ] [[-Id] ] [-PercentComplete ] [-SecondsRemaining ] [-CurrentOperation ] [-ParentId ] [-Completed] [-SourceId ] []" - }, - { - "Name": "Write-Verbose", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - }, - { - "Name": "Write-Warning", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - } - ], - "ExportedAliases": [ - "fhx" - ] - }, - { - "Name": "PackageManagement", - "Version": "1.0.0.1", - "ExportedCommands": [ - { - "Name": "Find-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] []" - }, - { - "Name": "Find-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-AllVersions] [-Source ] [-IncludeDependencies] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Get-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Destination ] [-ExcludeVersion] [-Scope ] [] [[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Get-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ListAvailable] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Get-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Import-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Install-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-InputObject] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Install-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Credential ] [-Scope ] [-Source ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Save-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] []" - }, - { - "Name": "Set-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Location ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Uninstall-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Unregister-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Source] ] [-Location ] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Pester", - "Version": "3.3.9", - "ExportedCommands": [ - { - "Name": "AfterAll", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "AfterEach", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Assert-MockCalled", - "CommandType": "Function", - "ParameterSets": "[-CommandName] [[-Times] ] [[-ParameterFilter] ] [[-ModuleName] ] [[-Scope] ] [-Exactly] [] [-CommandName] [[-Times] ] [[-ModuleName] ] [[-Scope] ] -ExclusiveFilter [-Exactly] []" - }, - { - "Name": "Assert-VerifiableMocks", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "BeforeAll", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "BeforeEach", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Context", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-Fixture] ] []" - }, - { - "Name": "Describe", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-Fixture] ] [-Tags ] []" - }, - { - "Name": "Get-MockDynamicParameters", - "CommandType": "Function", - "ParameterSets": "-CmdletName [-Parameters ] [-Cmdlet ] [] -FunctionName [-ModuleName ] [-Parameters ] [-Cmdlet ] []" - }, - { - "Name": "Get-TestDriveItem", - "CommandType": "Function", - "ParameterSets": "[[-Path] ]" - }, - { - "Name": "In", - "CommandType": "Function", - "ParameterSets": "[[-path] ] [[-execute] ]" - }, - { - "Name": "InModuleScope", - "CommandType": "Function", - "ParameterSets": "[-ModuleName] [-ScriptBlock] []" - }, - { - "Name": "Invoke-Mock", - "CommandType": "Function", - "ParameterSets": "[-CommandName] [[-ModuleName] ] [[-BoundParameters] ] [[-ArgumentList] ] [[-CallerSessionState] ] []" - }, - { - "Name": "Invoke-Pester", - "CommandType": "Function", - "ParameterSets": "[[-Script] ] [[-TestName] ] [-EnableExit] [[-OutputXml] ] [[-Tag] ] [-ExcludeTag ] [-PassThru] [-CodeCoverage ] [-Strict] [-Quiet] [] [[-Script] ] [[-TestName] ] [-EnableExit] [[-Tag] ] -OutputFile -OutputFormat [-ExcludeTag ] [-PassThru] [-CodeCoverage ] [-Strict] [-Quiet] []" - }, - { - "Name": "It", - "CommandType": "Function", - "ParameterSets": "[-name] [[-test] ] [-TestCases ] [] [-name] [[-test] ] [-TestCases ] [-Pending] [] [-name] [[-test] ] [-TestCases ] [-Skip] []" - }, - { - "Name": "Mock", - "CommandType": "Function", - "ParameterSets": "[[-CommandName] ] [[-MockWith] ] [[-ParameterFilter] ] [[-ModuleName] ] [-Verifiable]" - }, - { - "Name": "New-Fixture", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [-Name] []" - }, - { - "Name": "Set-DynamicParameterVariables", - "CommandType": "Function", - "ParameterSets": "[-SessionState] [[-Parameters] ] [[-Metadata] ] []" - }, - { - "Name": "Setup", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [[-Content] ] [-Dir] [-File] [-PassThru]" - }, - { - "Name": "Should", - "CommandType": "Function", - "ParameterSets": "" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "PowerShellGet", - "Version": "1.1.0.0", - "ExportedCommands": [ - { - "Name": "Find-Command", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-DscResource", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-Module", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] []" - }, - { - "Name": "Find-RoleCapability", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-Script", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] []" - }, - { - "Name": "Get-InstalledModule", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] []" - }, - { - "Name": "Get-InstalledScript", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] []" - }, - { - "Name": "Get-PSRepository", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "Install-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Install-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] -Description [-Version ] [-Author ] [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Publish-Module", - "CommandType": "Function", - "ParameterSets": "-Name [-RequiredVersion ] [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] [] -Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Publish-Script", - "CommandType": "Function", - "ParameterSets": "-Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] [-SourceLocation] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] [] -Default [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] []" - }, - { - "Name": "Save-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Save-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-SourceLocation] ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] []" - }, - { - "Name": "Test-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[-Path] [] -LiteralPath []" - }, - { - "Name": "Uninstall-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Uninstall-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Unregister-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] []" - }, - { - "Name": "Update-Module", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-ModuleManifest", - "CommandType": "Function", - "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] [-PackageManagementProviders ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-Script", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[-Path] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-LiteralPath] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - "inmo", - "fimo", - "upmo", - "pumo" - ] - }, - { - "Name": "PSDesiredStateConfiguration", - "Version": "0.0", - "ExportedCommands": [ - { - "Name": "Add-NodeKeys", - "CommandType": "Function", - "ParameterSets": "[-ResourceKey] [-keywordName] []" - }, - { - "Name": "AddDscResourceProperty", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "AddDscResourcePropertyFromMetadata", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "CheckResourceFound", - "CommandType": "Function", - "ParameterSets": "[[-names] ] [[-Resources] ]" - }, - { - "Name": "Configuration", - "CommandType": "Function", - "ParameterSets": "[[-ResourceModuleTuplesToImport] ] [[-OutputPath] ] [[-Name] ] [[-Body] ] [[-ArgsToBody] ] [[-ConfigurationData] ] [[-InstanceName] ] []" - }, - { - "Name": "ConvertTo-MOFInstance", - "CommandType": "Function", - "ParameterSets": "[-Type] [-Properties] []" - }, - { - "Name": "Generate-VersionInfo", - "CommandType": "Function", - "ParameterSets": "[-KeywordData] [-Value] []" - }, - { - "Name": "Get-CompatibleVersionAddtionaPropertiesStr", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-ComplexResourceQualifier", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-ConfigurationErrorCount", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-DscResource", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [[-Module] ] [-Syntax] []" - }, - { - "Name": "Get-DSCResourceModules", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-EncryptedPassword", - "CommandType": "Function", - "ParameterSets": "[[-Value] ] []" - }, - { - "Name": "Get-InnerMostErrorRecord", - "CommandType": "Function", - "ParameterSets": "[-ErrorRecord] []" - }, - { - "Name": "Get-MofInstanceName", - "CommandType": "Function", - "ParameterSets": "[[-mofInstance] ]" - }, - { - "Name": "Get-MofInstanceText", - "CommandType": "Function", - "ParameterSets": "[-aliasId] []" - }, - { - "Name": "Get-PositionInfo", - "CommandType": "Function", - "ParameterSets": "[[-sourceMetadata] ]" - }, - { - "Name": "Get-PSCurrentConfigurationNode", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSDefaultConfigurationDocument", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSMetaConfigDocumentInstVersionInfo", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSMetaConfigurationProcessed", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSTopConfigurationName", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PublicKeyFromFile", - "CommandType": "Function", - "ParameterSets": "[-certificatefile] []" - }, - { - "Name": "Get-PublicKeyFromStore", - "CommandType": "Function", - "ParameterSets": "[-certificateid] []" - }, - { - "Name": "GetCompositeResource", - "CommandType": "Function", - "ParameterSets": "[[-patterns] ] [-configInfo] [[-ignoreParameters] ] [-modules] []" - }, - { - "Name": "GetImplementingModulePath", - "CommandType": "Function", - "ParameterSets": "[-schemaFileName] []" - }, - { - "Name": "GetModule", - "CommandType": "Function", - "ParameterSets": "[-modules] [-schemaFileName] []" - }, - { - "Name": "GetPatterns", - "CommandType": "Function", - "ParameterSets": "[[-names] ]" - }, - { - "Name": "GetResourceFromKeyword", - "CommandType": "Function", - "ParameterSets": "[-keyword] [[-patterns] ] [-modules] []" - }, - { - "Name": "GetSyntax", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "ImportCimAndScriptKeywordsFromModule", - "CommandType": "Function", - "ParameterSets": "[-Module] [-resource] [[-functionsToDefine] ] []" - }, - { - "Name": "ImportClassResourcesFromModule", - "CommandType": "Function", - "ParameterSets": "[-Module] [-Resources] [[-functionsToDefine] ] []" - }, - { - "Name": "Initialize-ConfigurationRuntimeState", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] []" - }, - { - "Name": "IsHiddenResource", - "CommandType": "Function", - "ParameterSets": "[-ResourceName] []" - }, - { - "Name": "IsPatternMatched", - "CommandType": "Function", - "ParameterSets": "[[-patterns] ] [-Name] []" - }, - { - "Name": "New-DscChecksum", - "CommandType": "Function", - "ParameterSets": "[-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Node", - "CommandType": "Function", - "ParameterSets": "[-KeywordData] [[-Name] ] [-Value] [-sourceMetadata] []" - }, - { - "Name": "ReadEnvironmentFile", - "CommandType": "Function", - "ParameterSets": "[-FilePath] []" - }, - { - "Name": "Set-NodeExclusiveResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-exclusiveResource] []" - }, - { - "Name": "Set-NodeManager", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-referencedManagers] []" - }, - { - "Name": "Set-NodeResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-requiredResourceList] []" - }, - { - "Name": "Set-NodeResourceSource", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-referencedResourceSources] []" - }, - { - "Name": "Set-PSCurrentConfigurationNode", - "CommandType": "Function", - "ParameterSets": "[[-nodeName] ] []" - }, - { - "Name": "Set-PSDefaultConfigurationDocument", - "CommandType": "Function", - "ParameterSets": "[[-documentText] ] []" - }, - { - "Name": "Set-PSMetaConfigDocInsProcessedBeforeMeta", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Set-PSMetaConfigVersionInfoV2", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Set-PSTopConfigurationName", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "StrongConnect", - "CommandType": "Function", - "ParameterSets": "[[-resourceId] ]" - }, - { - "Name": "Test-ConflictingResources", - "CommandType": "Function", - "ParameterSets": "[[-keyword] ] [-properties] [-keywordData] []" - }, - { - "Name": "Test-ModuleReloadRequired", - "CommandType": "Function", - "ParameterSets": "[-SchemaFilePath] []" - }, - { - "Name": "Test-MofInstanceText", - "CommandType": "Function", - "ParameterSets": "[-instanceText] []" - }, - { - "Name": "Test-NodeManager", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "Test-NodeResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "Test-NodeResourceSource", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "ThrowError", - "CommandType": "Function", - "ParameterSets": "[-ExceptionName] [-ExceptionMessage] [[-ExceptionObject] ] [-errorId] [-errorCategory] []" - }, - { - "Name": "Update-ConfigurationDocumentRef", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] [-ConfigurationName] []" - }, - { - "Name": "Update-ConfigurationErrorCount", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Update-DependsOn", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" - }, - { - "Name": "Update-LocalConfigManager", - "CommandType": "Function", - "ParameterSets": "[[-localConfigManager] ] [[-resourceManagers] ] [[-reportManagers] ] [[-downloadManagers] ] [[-partialConfigurations] ]" - }, - { - "Name": "Update-ModuleVersion", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" - }, - { - "Name": "ValidateNoCircleInNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeExclusiveResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeManager", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeResourceSource", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNoNameNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateUpdate-ConfigurationData", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationData] ] []" - }, - { - "Name": "Write-Log", - "CommandType": "Function", - "ParameterSets": "[-message] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Write-MetaConfigFile", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" - }, - { - "Name": "Write-NodeMOFFile", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" - }, - { - "Name": "WriteFile", - "CommandType": "Function", - "ParameterSets": "[-Value] [-Path] []" - } - ], - "ExportedAliases": [ - "glcm", - "slcm", - "rtcfg", - "gcfgs", - "sacfg", - "upcfg", - "ulcm", - "tcfg", - "gcfg", - "pbcfg" - ] - }, - { - "Name": "PSReadLine", - "Version": "1.2", - "ExportedCommands": [ - { - "Name": "PSConsoleHostReadline", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Bound] [-Unbound] []" - }, - { - "Name": "Get-PSReadlineOption", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Remove-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Chord] [-ViMode ] []" - }, - { - "Name": "Set-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Chord] [-ScriptBlock] [-BriefDescription ] [-Description ] [-ViMode ] [] [-Chord] [-Function] [-ViMode ] []" - }, - { - "Name": "Set-PSReadlineOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-EditMode ] [-ContinuationPrompt ] [-ContinuationPromptForegroundColor ] [-ContinuationPromptBackgroundColor ] [-EmphasisForegroundColor ] [-EmphasisBackgroundColor ] [-ErrorForegroundColor ] [-ErrorBackgroundColor ] [-HistoryNoDuplicates] [-AddToHistoryHandler ] [-CommandValidationHandler ] [-HistorySearchCursorMovesToEnd] [-MaximumHistoryCount ] [-MaximumKillRingCount ] [-ResetTokenColors] [-ShowToolTips] [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] [-BellStyle ] [-CompletionQueryItems ] [-WordDelimiters ] [-HistorySearchCaseSensitive] [-HistorySaveStyle ] [-HistorySavePath ] [-ViModeIndicator ] [] [-TokenKind] [[-ForegroundColor] ] [[-BackgroundColor] ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Version": "6.0.0", - "Name": "Microsoft.PowerShell.Core", - "ExportedCommands": [ - { - "Name": "Add-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-InputObject] ] [-Passthru] []" - }, - { - "Name": "Clear-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] [[-Count] ] [-CommandLine ] [-Newest] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Connect-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "-Name [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Session] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -ComputerName -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Debug-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Job] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disconnect-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Session] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -Name [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enable-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] [-SecurityDescriptorSddl ] [-SkipNetworkProfileCheck] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enter-PSHostProcess", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [[-AppDomainName] ] [] [-Process] [[-AppDomainName] ] [] [-Name] [[-AppDomainName] ] [] [-HostProcessInfo] [[-AppDomainName] ] []" - }, - { - "Name": "Enter-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-ComputerName] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [[-Session] ] [] [[-ConnectionUri] ] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-InstanceId ] [] [[-Id] ] [] [-Name ] [] [-VMId] [-Credential] [-ConfigurationName ] [] [-VMName] [-Credential] [-ConfigurationName ] [] [-ContainerId] [-ConfigurationName ] [-RunAsAdministrator] [] -HostName -UserName [-KeyFilePath ] []" - }, - { - "Name": "Exit-PSHostProcess", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Exit-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Export-ModuleMember", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Function] ] [-Cmdlet ] [-Variable ] [-Alias ] []" - }, - { - "Name": "ForEach-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-Process] [-InputObject ] [-Begin ] [-End ] [-RemainingScripts ] [-WhatIf] [-Confirm] [] [-MemberName] [-InputObject ] [-ArgumentList ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Get-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ArgumentList] ] [-Verb ] [-Noun ] [-Module ] [-FullyQualifiedModule ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] [] [[-Name] ] [[-ArgumentList] ] [-Module ] [-FullyQualifiedModule ] [-CommandType ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] []" - }, - { - "Name": "Get-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [-Full] [] [[-Name] ] -Detailed [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Examples [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Parameter [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Online [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -ShowWindow [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] []" - }, - { - "Name": "Get-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [[-Count] ] []" - }, - { - "Name": "Get-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [-Command ] [] [-InstanceId] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-Name] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-State] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-Filter] []" - }, - { - "Name": "Get-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-FullyQualifiedName ] [-All] [] [[-Name] ] -ListAvailable [-FullyQualifiedName ] [-All] [-PSEdition ] [-Refresh] [] [[-Name] ] -PSSession [-FullyQualifiedName ] [-ListAvailable] [-PSEdition ] [-Refresh] [] [[-Name] ] -CimSession [-FullyQualifiedName ] [-ListAvailable] [-Refresh] [-CimResourceUri ] [-CimNamespace ] []" - }, - { - "Name": "Get-PSHostProcessInfo", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [-Process] [] [-Id] []" - }, - { - "Name": "Get-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name ] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] -VMId [-ConfigurationName ] [-Name ] [-State ] [] -ContainerId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -ContainerId [-ConfigurationName ] [-State ] [] -InstanceId -VMId [-ConfigurationName ] [-State ] [] -VMName [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMName [-ConfigurationName ] [-State ] [] [-InstanceId ] [] [-Id] []" - }, - { - "Name": "Get-PSSessionCapability", - "CommandType": "Cmdlet", - "ParameterSets": "[-ConfigurationName] [-Username] [-Full] []" - }, - { - "Name": "Get-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] []" - }, - { - "Name": "Import-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -CimSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [-CimResourceUri ] [-CimNamespace ] [] [-FullyQualifiedName] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-FullyQualifiedName] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Assembly] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-ModuleInfo] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] []" - }, - { - "Name": "Invoke-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [-NoNewScope] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-FilePath] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-ScriptBlock] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-InputObject ] [-ArgumentList ] [] [[-ComputerName] ] [-ScriptBlock] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ComputerName] ] [-FilePath] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [] [[-ConnectionUri] ] [-ScriptBlock] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ConnectionUri] ] [-FilePath] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [] [-VMId] [-ScriptBlock] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-VMId] [-FilePath] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-FilePath] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-InputObject ] [-ArgumentList ] [] [-FilePath] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-InputObject ] [-ArgumentList ] [] [-HostName] [-ScriptBlock] -UserName [-AsJob] [-HideComputerName] [-KeyFilePath ] [-InputObject ] [-ArgumentList ] [] [-HostName] [-FilePath] -UserName [-AsJob] [-HideComputerName] [-KeyFilePath ] [-InputObject ] [-ArgumentList ] []" - }, - { - "Name": "Invoke-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] [] [-Name] [-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] []" - }, - { - "Name": "New-ModuleManifest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-CompatiblePSEditions ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-PSRoleCapabilityFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-ScriptsToProcess ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] []" - }, - { - "Name": "New-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-ThrottleLimit ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-ConnectionUri] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-ThrottleLimit ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-VMId] -Credential [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] -Credential -VMName [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [[-Session] ] [-Name ] [-EnableNetworkAccess] [-ThrottleLimit ] [] -ContainerId [-Name ] [-ConfigurationName ] [-RunAsAdministrator] [-ThrottleLimit ] [] -HostName -UserName [-Name ] [-KeyFilePath ] []" - }, - { - "Name": "New-PSSessionConfigurationFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-SchemaVersion ] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-SessionType ] [-TranscriptDirectory ] [-RunAsVirtualAccount] [-RunAsVirtualAccountGroups ] [-MountUserDrive] [-UserDriveMaximumSize ] [-GroupManagedServiceAccount ] [-ScriptsToProcess ] [-RoleDefinitions ] [-RequiredGroups ] [-LanguageMode ] [-ExecutionPolicy ] [-PowerShellVersion ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] [-Full] []" - }, - { - "Name": "New-PSSessionOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-MaximumRedirection ] [-NoCompression] [-NoMachineProfile] [-Culture ] [-UICulture ] [-MaximumReceivedDataSizePerCommand ] [-MaximumReceivedObjectSize ] [-OutputBufferingMode ] [-MaxConnectionRetryCount ] [-ApplicationArguments ] [-OpenTimeout ] [-CancelTimeout ] [-IdleTimeout ] [-ProxyAccessType ] [-ProxyAuthentication ] [-ProxyCredential ] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-OperationTimeout ] [-NoEncryption] [-UseUTF16] [-IncludePortInSPN] []" - }, - { - "Name": "New-PSTransportOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-MaxIdleTimeoutSec ] [-ProcessIdleTimeoutSec ] [-MaxSessions ] [-MaxConcurrentCommandsPerSession ] [-MaxSessionsPerUser ] [-MaxMemoryPerSessionMB ] [-MaxProcessesPerSession ] [-MaxConcurrentUsers ] [-IdleTimeoutSec ] [-OutputBufferingMode ] []" - }, - { - "Name": "Out-Default", - "CommandType": "Cmdlet", - "ParameterSets": "[-Transcript] [-InputObject ] []" - }, - { - "Name": "Out-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[-Paging] [-InputObject ] []" - }, - { - "Name": "Out-Null", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject ] []" - }, - { - "Name": "Receive-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Job] [[-Location] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-ComputerName] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-Session] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Name] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-InstanceId] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Id] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] []" - }, - { - "Name": "Receive-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Session] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Id] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ComputerName] -Name [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -Name [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-InstanceId] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Name] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-ArgumentCompleter", - "CommandType": "Cmdlet", - "ParameterSets": "-CommandName -ScriptBlock [-Native] [] -ParameterName -ScriptBlock [-CommandName ] []" - }, - { - "Name": "Register-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-ProcessorArchitecture ] [-SessionType ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ProcessorArchitecture ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-ProcessorArchitecture ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-Force] [-WhatIf] [-Confirm] [] [-Job] [-Force] [-WhatIf] [-Confirm] [] [-InstanceId] [-Force] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-WhatIf] [-Confirm] [] [-Filter] [-Force] [-WhatIf] [-Confirm] [] [-State] [-WhatIf] [-Confirm] [] [-Command ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Force] [-WhatIf] [-Confirm] [] [-FullyQualifiedName] [-Force] [-WhatIf] [-Confirm] [] [-ModuleInfo] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-WhatIf] [-Confirm] [] [-Session] [-WhatIf] [-Confirm] [] -ContainerId [-WhatIf] [-Confirm] [] -VMId [-WhatIf] [-Confirm] [] -VMName [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Save-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[-DestinationPath] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] [] [[-Module] ] [[-UICulture] ] -LiteralPath [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] []" - }, - { - "Name": "Set-PSDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[-Trace ] [-Step] [-Strict] [] [-Off] []" - }, - { - "Name": "Set-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-StrictMode", - "CommandType": "Cmdlet", - "ParameterSets": "-Version [] -Off []" - }, - { - "Name": "Start-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-DefinitionName] [[-DefinitionPath] ] [[-Type] ] [] [[-InitializationScript] ] -LiteralPath [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-FilePath] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] -HostName -UserName [-KeyFilePath ] []" - }, - { - "Name": "Stop-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Job] [-PassThru] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-WhatIf] [-Confirm] [] [-InstanceId] [-PassThru] [-WhatIf] [-Confirm] [] [-State] [-PassThru] [-WhatIf] [-Confirm] [] [-Filter] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Test-ModuleManifest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] []" - }, - { - "Name": "Test-PSSessionConfigurationFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] []" - }, - { - "Name": "Unregister-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Module] ] [[-SourcePath] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] [] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-LiteralPath ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Wait-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-Any] [-Timeout ] [-Force] [] [-Job] [-Any] [-Timeout ] [-Force] [] [-Name] [-Any] [-Timeout ] [-Force] [] [-InstanceId] [-Any] [-Timeout ] [-Force] [] [-State] [-Any] [-Timeout ] [-Force] [] [-Filter] [-Any] [-Timeout ] [-Force] []" - }, - { - "Name": "Where-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-Property] [[-Value] ] [-InputObject ] [-EQ] [] [-FilterScript] [-InputObject ] [] [-Property] [[-Value] ] -CGE [-InputObject ] [] [-Property] [[-Value] ] -CEQ [-InputObject ] [] [-Property] [[-Value] ] -NE [-InputObject ] [] [-Property] [[-Value] ] -CNE [-InputObject ] [] [-Property] [[-Value] ] -GT [-InputObject ] [] [-Property] [[-Value] ] -CGT [-InputObject ] [] [-Property] [[-Value] ] -LT [-InputObject ] [] [-Property] [[-Value] ] -CLT [-InputObject ] [] [-Property] [[-Value] ] -GE [-InputObject ] [] [-Property] [[-Value] ] -LE [-InputObject ] [] [-Property] [[-Value] ] -CLE [-InputObject ] [] [-Property] [[-Value] ] -Like [-InputObject ] [] [-Property] [[-Value] ] -CLike [-InputObject ] [] [-Property] [[-Value] ] -NotLike [-InputObject ] [] [-Property] [[-Value] ] -CNotLike [-InputObject ] [] [-Property] [[-Value] ] -Match [-InputObject ] [] [-Property] [[-Value] ] -CMatch [-InputObject ] [] [-Property] [[-Value] ] -NotMatch [-InputObject ] [] [-Property] [[-Value] ] -CNotMatch [-InputObject ] [] [-Property] [[-Value] ] -Contains [-InputObject ] [] [-Property] [[-Value] ] -CContains [-InputObject ] [] [-Property] [[-Value] ] -NotContains [-InputObject ] [] [-Property] [[-Value] ] -CNotContains [-InputObject ] [] [-Property] [[-Value] ] -In [-InputObject ] [] [-Property] [[-Value] ] -CIn [-InputObject ] [] [-Property] [[-Value] ] -NotIn [-InputObject ] [] [-Property] [[-Value] ] -CNotIn [-InputObject ] [] [-Property] [[-Value] ] -Is [-InputObject ] [] [-Property] [[-Value] ] -IsNot [-InputObject ] []" - } - ], - "ExportedAliases": [ - "?", - "%", - "clhy", - "cnsn", - "dnsn", - "etsn", - "exsn", - "foreach", - "gcm", - "ghy", - "gjb", - "gmo", - "gsn", - "h", - "history", - "icm", - "ihy", - "ipmo", - "nmo", - "nsn", - "oh", - "r", - "rcjb", - "rcsn", - "rjb", - "rmo", - "rsn", - "sajb", - "spjb", - "where", - "wjb" - ] - } - ], - "SchemaVersion": "0.0.1" -} diff --git a/Engine/Settings/core-6.0.0-alpha-osx.json b/Engine/Settings/core-6.0.0-alpha-osx.json deleted file mode 100644 index a868a30b9..000000000 --- a/Engine/Settings/core-6.0.0-alpha-osx.json +++ /dev/null @@ -1,1821 +0,0 @@ -{ - "Modules": [ - { - "Name": "Microsoft.PowerShell.Archive", - "Version": "1.0.1.0", - "ExportedCommands": [ - { - "Name": "Compress-Archive", - "CommandType": "Function", - "ParameterSets": "[-Path] [-DestinationPath] [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Update [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Force [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Update [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Force [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath [-CompressionLevel ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Expand-Archive", - "CommandType": "Function", - "ParameterSets": "[-Path] [[-DestinationPath] ] [-Force] [-WhatIf] [-Confirm] [] [[-DestinationPath] ] -LiteralPath [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Host", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "Start-Transcript", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-LiteralPath] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-OutputDirectory] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Stop-Transcript", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Management", - "Version": "3.1.0.0", - "ExportedCommands": [ - { - "Name": "Add-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Clear-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" - }, - { - "Name": "Clear-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Clear-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Convert-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [] -LiteralPath []" - }, - { - "Name": "Copy-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Destination] ] [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] [] [[-Destination] ] -LiteralPath [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] []" - }, - { - "Name": "Copy-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Debug-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InputObject [-WhatIf] [-Confirm] []" - }, - { - "Name": "Get-ChildItem", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Filter] ] [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [] [[-Filter] ] -LiteralPath [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] []" - }, - { - "Name": "Get-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-Stream ] [] -LiteralPath [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Get-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] []" - }, - { - "Name": "Get-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Name] ] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [[-Name] ] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" - }, - { - "Name": "Get-ItemPropertyValue", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-Name] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [-Name] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" - }, - { - "Name": "Get-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[-PSProvider ] [-PSDrive ] [] [-Stack] [-StackName ] []" - }, - { - "Name": "Get-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ComputerName ] [-Module] [-FileVersionInfo] [] [[-Name] ] -IncludeUserName [] -Id [-ComputerName ] [-Module] [-FileVersionInfo] [] -Id -IncludeUserName [] -InputObject [-ComputerName ] [-Module] [-FileVersionInfo] [] -InputObject -IncludeUserName []" - }, - { - "Name": "Get-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Scope ] [-PSProvider ] [] [-LiteralName] [-Scope ] [-PSProvider ] []" - }, - { - "Name": "Get-PSProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-PSProvider] ] []" - }, - { - "Name": "Invoke-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Join-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ChildPath] [[-AdditionalChildPath] ] [-Resolve] [-Credential ] []" - }, - { - "Name": "Move-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Destination] ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [[-Destination] ] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Move-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-PSProvider] [-Root] [-Description ] [-Scope ] [-Persist] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Pop-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[-PassThru] [-StackName ] []" - }, - { - "Name": "Push-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-PassThru] [-StackName ] [] [-LiteralPath ] [-PassThru] [-StackName ] []" - }, - { - "Name": "Remove-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" - }, - { - "Name": "Remove-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] [-LiteralName] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-NewName] [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [-NewName] -LiteralPath [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-NewName] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-NewName] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Resolve-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Relative] [-Credential ] [] -LiteralPath [-Relative] [-Credential ] []" - }, - { - "Name": "Set-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Set-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-Value] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Path] -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-Value] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-PassThru] [] -LiteralPath [-PassThru] [] [-PassThru] [-StackName ] []" - }, - { - "Name": "Split-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Parent] [-Resolve] [-Credential ] [] [-Path] [-Leaf] [-Resolve] [-Credential ] [] [-Path] [-Qualifier] [-Resolve] [-Credential ] [] [-Path] [-NoQualifier] [-Resolve] [-Credential ] [] [-Path] [-Resolve] [-IsAbsolute] [-Credential ] [] -LiteralPath [-Resolve] [-Credential ] []" - }, - { - "Name": "Start-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [[-ArgumentList] ] [-Credential ] [-WorkingDirectory ] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError ] [-RedirectStandardInput ] [-RedirectStandardOutput ] [-Wait] [-UseNewEnvironment] [] [-FilePath] [[-ArgumentList] ] [-WorkingDirectory ] [-PassThru] [-Verb ] [-Wait] []" - }, - { - "Name": "Stop-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Test-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] []" - }, - { - "Name": "Wait-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Timeout] ] [] [-Id] [[-Timeout] ] [] [[-Timeout] ] -InputObject []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Security", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "ConvertFrom-SecureString", - "CommandType": "Cmdlet", - "ParameterSets": "[-SecureString] [[-SecureKey] ] [] [-SecureString] [-Key ] []" - }, - { - "Name": "ConvertTo-SecureString", - "CommandType": "Cmdlet", - "ParameterSets": "[-String] [[-SecureKey] ] [] [-String] [-AsPlainText] [-Force] [] [-String] [-Key ] []" - }, - { - "Name": "Get-Credential", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Credential] ] [] [[-UserName] ] [-Message ] [-Title ] []" - }, - { - "Name": "Get-ExecutionPolicy", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Scope] ] [-List] []" - }, - { - "Name": "Set-ExecutionPolicy", - "CommandType": "Cmdlet", - "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Utility", - "Version": "3.1.0.0", - "ExportedCommands": [ - { - "Name": "Format-Hex", - "CommandType": "Function", - "ParameterSets": "[-Path] [] -LiteralPath [] -InputObject [-Encoding ] [-Raw] []" - }, - { - "Name": "Get-FileHash", - "CommandType": "Function", - "ParameterSets": "[-Path] [-Algorithm ] [] -LiteralPath [-Algorithm ] [] -InputStream [-Algorithm ] []" - }, - { - "Name": "Import-PowerShellDataFile", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [] [-LiteralPath ] []" - }, - { - "Name": "New-Guid", - "CommandType": "Function", - "ParameterSets": "[]" - }, - { - "Name": "New-TemporaryFile", - "CommandType": "Function", - "ParameterSets": "[-WhatIf] [-Confirm] []" - }, - { - "Name": "Add-Member", - "CommandType": "Cmdlet", - "ParameterSets": "-InputObject -TypeName [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyMembers] -InputObject [-TypeName ] [-Force] [-PassThru] []" - }, - { - "Name": "Add-Type", - "CommandType": "Cmdlet", - "ParameterSets": "[-TypeDefinition] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Name] [-MemberDefinition] [-Namespace ] [-UsingNamespace ] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Path] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -LiteralPath [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -AssemblyName [-PassThru] [-IgnoreWarnings] []" - }, - { - "Name": "Clear-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Compare-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-ReferenceObject] [-DifferenceObject] [-SyncWindow ] [-Property ] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "ConvertFrom-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [[-Delimiter] ] [-Header ] [] [-InputObject] -UseCulture [-Header ] []" - }, - { - "Name": "ConvertFrom-Json", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] []" - }, - { - "Name": "ConvertFrom-StringData", - "CommandType": "Cmdlet", - "ParameterSets": "[-StringData] []" - }, - { - "Name": "ConvertTo-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [[-Delimiter] ] [-NoTypeInformation] [] [-InputObject] [-UseCulture] [-NoTypeInformation] []" - }, - { - "Name": "ConvertTo-Html", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [[-Head] ] [[-Title] ] [[-Body] ] [-InputObject ] [-As ] [-CssUri ] [-PostContent ] [-PreContent ] [] [[-Property] ] [-InputObject ] [-As ] [-Fragment] [-PostContent ] [-PreContent ] []" - }, - { - "Name": "ConvertTo-Json", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Depth ] [-Compress] []" - }, - { - "Name": "ConvertTo-Xml", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Depth ] [-NoTypeInformation] [-As ] []" - }, - { - "Name": "Debug-Runspace", - "CommandType": "Cmdlet", - "ParameterSets": "[-Runspace] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] [] [-Id] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Enable-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enable-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [-BreakAll] [] [-Runspace] [-BreakAll] [] [-RunspaceId] [-BreakAll] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Export-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Name] ] [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] [] [[-Name] ] -LiteralPath [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-Clixml", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Delimiter] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-NoTypeInformation] [-WhatIf] [-Confirm] [] [[-Path] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-UseCulture] [-NoTypeInformation] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "-InputObject -Path [-Force] [-NoClobber] [-IncludeScriptBlock] [] -InputObject -LiteralPath [-Force] [-NoClobber] [-IncludeScriptBlock] []" - }, - { - "Name": "Format-Custom", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-Depth ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-List", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-Table", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-Wide", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-AutoSize] [-Column ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Get-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Exclude ] [-Scope ] [] [-Exclude ] [-Scope ] [-Definition ] []" - }, - { - "Name": "Get-Culture", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Date", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-Format ] [] [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-UFormat ] []" - }, - { - "Name": "Get-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [] [-EventIdentifier] []" - }, - { - "Name": "Get-EventSubscriber", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [-Force] [] [-SubscriptionId] [-Force] []" - }, - { - "Name": "Get-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-TypeName] ] [-PowerShellVersion ] []" - }, - { - "Name": "Get-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Member", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-InputObject ] [-MemberType ] [-View ] [-Static] [-Force] []" - }, - { - "Name": "Get-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Script] ] [] -Variable [-Script ] [] -Command [-Script ] [] [-Type] [-Script ] [] [-Id] []" - }, - { - "Name": "Get-PSCallStack", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Random", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Maximum] ] [-SetSeed ] [-Minimum ] [] [-InputObject] [-SetSeed ] [-Count ] []" - }, - { - "Name": "Get-Runspace", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [-Id] [] [-InstanceId] []" - }, - { - "Name": "Get-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Get-TraceSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "Get-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-TypeName] ] []" - }, - { - "Name": "Get-UICulture", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Unique", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject ] [-AsString] [] [-InputObject ] [-OnType] []" - }, - { - "Name": "Get-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] [-Scope ] []" - }, - { - "Name": "Group-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-NoElement] [-AsHashTable] [-AsString] [-InputObject ] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "Import-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Import-Clixml", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-IncludeTotalCount] [-Skip ] [-First ] [] -LiteralPath [-IncludeTotalCount] [-Skip ] [-First ] []" - }, - { - "Name": "Import-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Delimiter] ] [-LiteralPath ] [-Header ] [-Encoding ] [] [[-Path] ] -UseCulture [-LiteralPath ] [-Header ] [-Encoding ] []" - }, - { - "Name": "Import-LocalizedData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-BindingVariable] ] [[-UICulture] ] [-BaseDirectory ] [-FileName ] [-SupportedCommand ] []" - }, - { - "Name": "Invoke-Expression", - "CommandType": "Cmdlet", - "ParameterSets": "[-Command] []" - }, - { - "Name": "Invoke-RestMethod", - "CommandType": "Cmdlet", - "ParameterSets": "[-Uri] [-Method ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] []" - }, - { - "Name": "Invoke-WebRequest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Uri] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] []" - }, - { - "Name": "Measure-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-Expression] [-InputObject ] []" - }, - { - "Name": "Measure-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-InputObject ] [-Sum] [-Average] [-Maximum] [-Minimum] [] [[-Property] ] [-InputObject ] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] []" - }, - { - "Name": "New-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [[-Sender] ] [[-EventArguments] ] [[-MessageData] ] []" - }, - { - "Name": "New-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-TypeName] [[-ArgumentList] ] [-Property ] [] [-ComObject] [-Strict] [-Property ] []" - }, - { - "Name": "New-TimeSpan", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Start] ] [[-End] ] [] [-Days ] [-Hours ] [-Minutes ] [-Seconds ] []" - }, - { - "Name": "New-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Value] ] [-Description ] [-Option ] [-Visibility ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Out-File", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [[-Encoding] ] [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] [[-Encoding] ] -LiteralPath [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Out-String", - "CommandType": "Cmdlet", - "ParameterSets": "[-Stream] [-Width ] [-InputObject ] []" - }, - { - "Name": "Read-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Prompt] ] [-AsSecureString] []" - }, - { - "Name": "Register-EngineEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" - }, - { - "Name": "Register-ObjectEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-EventName] [[-SourceIdentifier] ] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" - }, - { - "Name": "Remove-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [-WhatIf] [-Confirm] [] [-EventIdentifier] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Breakpoint] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "-TypeData [-WhatIf] [-Confirm] [] [-TypeName] [-WhatIf] [-Confirm] [] -Path [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Select-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-Last ] [-First ] [-Skip ] [-Wait] [] [[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-SkipLast ] [] [-InputObject ] [-Unique] [-Wait] [-Index ] []" - }, - { - "Name": "Select-String", - "CommandType": "Cmdlet", - "ParameterSets": "[-Pattern] [-Path] [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -InputObject [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -LiteralPath [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] []" - }, - { - "Name": "Select-Xml", - "CommandType": "Cmdlet", - "ParameterSets": "[-XPath] [-Xml] [-Namespace ] [] [-XPath] [-Path] [-Namespace ] [] [-XPath] -LiteralPath [-Namespace ] [] [-XPath] -Content [-Namespace ] []" - }, - { - "Name": "Set-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Date", - "CommandType": "Cmdlet", - "ParameterSets": "[-Date] [-DisplayHint ] [-WhatIf] [-Confirm] [] [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Script] [-Line] [[-Column] ] [-Action ] [] [[-Script] ] -Command [-Action ] [] [[-Script] ] -Variable [-Action ] [-Mode ] []" - }, - { - "Name": "Set-TraceSource", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Option] ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [-PassThru] [] [-Name] [-RemoveListener ] [] [-Name] [-RemoveFileListener ] []" - }, - { - "Name": "Set-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Value] ] [-Include ] [-Exclude ] [-Description ] [-Option ] [-Force] [-Visibility ] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Sort-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-Descending] [-Unique] [-InputObject ] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "Start-Sleep", - "CommandType": "Cmdlet", - "ParameterSets": "[-Seconds] [] -Milliseconds []" - }, - { - "Name": "Tee-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [-InputObject ] [-Append] [] -LiteralPath [-InputObject ] [] -Variable [-InputObject ] []" - }, - { - "Name": "Trace-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Expression] [[-Option] ] [-InputObject ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [] [-Name] [-Command] [[-Option] ] [-InputObject ] [-ArgumentList ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] []" - }, - { - "Name": "Unregister-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] [] [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] [] -TypeName [-MemberType ] [-MemberName ] [-Value ] [-SecondValue ] [-TypeConverter ] [-TypeAdapter ] [-SerializationMethod ] [-TargetTypeForDeserialization ] [-SerializationDepth ] [-DefaultDisplayProperty ] [-InheritPropertySerializationSet ] [-StringSerializationSource ] [-DefaultDisplayPropertySet ] [-DefaultKeyPropertySet ] [-PropertySerializationSet ] [-Force] [-WhatIf] [-Confirm] [] [-TypeData] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Wait-Debugger", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Wait-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [-Timeout ] []" - }, - { - "Name": "Write-Debug", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - }, - { - "Name": "Write-Error", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -Exception [-Message ] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -ErrorRecord [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] []" - }, - { - "Name": "Write-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Object] ] [-NoNewline] [-Separator ] [-ForegroundColor ] [-BackgroundColor ] []" - }, - { - "Name": "Write-Information", - "CommandType": "Cmdlet", - "ParameterSets": "[-MessageData] [[-Tags] ] []" - }, - { - "Name": "Write-Output", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-NoEnumerate] []" - }, - { - "Name": "Write-Progress", - "CommandType": "Cmdlet", - "ParameterSets": "[-Activity] [[-Status] ] [[-Id] ] [-PercentComplete ] [-SecondsRemaining ] [-CurrentOperation ] [-ParentId ] [-Completed] [-SourceId ] []" - }, - { - "Name": "Write-Verbose", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - }, - { - "Name": "Write-Warning", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - } - ], - "ExportedAliases": [ - "fhx" - ] - }, - { - "Name": "PackageManagement", - "Version": "1.0.0.1", - "ExportedCommands": [ - { - "Name": "Find-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] []" - }, - { - "Name": "Find-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-AllVersions] [-Source ] [-IncludeDependencies] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Get-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Destination ] [-ExcludeVersion] [-Scope ] [] [[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Get-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ListAvailable] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Get-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Import-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Install-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-InputObject] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Install-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Credential ] [-Scope ] [-Source ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Save-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] []" - }, - { - "Name": "Set-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Location ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Uninstall-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Unregister-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Source] ] [-Location ] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Pester", - "Version": "3.3.9", - "ExportedCommands": [ - { - "Name": "AfterAll", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "AfterEach", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Assert-MockCalled", - "CommandType": "Function", - "ParameterSets": "[-CommandName] [[-Times] ] [[-ParameterFilter] ] [[-ModuleName] ] [[-Scope] ] [-Exactly] [] [-CommandName] [[-Times] ] [[-ModuleName] ] [[-Scope] ] -ExclusiveFilter [-Exactly] []" - }, - { - "Name": "Assert-VerifiableMocks", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "BeforeAll", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "BeforeEach", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Context", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-Fixture] ] []" - }, - { - "Name": "Describe", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-Fixture] ] [-Tags ] []" - }, - { - "Name": "Get-MockDynamicParameters", - "CommandType": "Function", - "ParameterSets": "-CmdletName [-Parameters ] [-Cmdlet ] [] -FunctionName [-ModuleName ] [-Parameters ] [-Cmdlet ] []" - }, - { - "Name": "Get-TestDriveItem", - "CommandType": "Function", - "ParameterSets": "[[-Path] ]" - }, - { - "Name": "In", - "CommandType": "Function", - "ParameterSets": "[[-path] ] [[-execute] ]" - }, - { - "Name": "InModuleScope", - "CommandType": "Function", - "ParameterSets": "[-ModuleName] [-ScriptBlock] []" - }, - { - "Name": "Invoke-Mock", - "CommandType": "Function", - "ParameterSets": "[-CommandName] [[-ModuleName] ] [[-BoundParameters] ] [[-ArgumentList] ] [[-CallerSessionState] ] []" - }, - { - "Name": "Invoke-Pester", - "CommandType": "Function", - "ParameterSets": "[[-Script] ] [[-TestName] ] [-EnableExit] [[-OutputXml] ] [[-Tag] ] [-ExcludeTag ] [-PassThru] [-CodeCoverage ] [-Strict] [-Quiet] [] [[-Script] ] [[-TestName] ] [-EnableExit] [[-Tag] ] -OutputFile -OutputFormat [-ExcludeTag ] [-PassThru] [-CodeCoverage ] [-Strict] [-Quiet] []" - }, - { - "Name": "It", - "CommandType": "Function", - "ParameterSets": "[-name] [[-test] ] [-TestCases ] [] [-name] [[-test] ] [-TestCases ] [-Pending] [] [-name] [[-test] ] [-TestCases ] [-Skip] []" - }, - { - "Name": "Mock", - "CommandType": "Function", - "ParameterSets": "[[-CommandName] ] [[-MockWith] ] [[-ParameterFilter] ] [[-ModuleName] ] [-Verifiable]" - }, - { - "Name": "New-Fixture", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [-Name] []" - }, - { - "Name": "Set-DynamicParameterVariables", - "CommandType": "Function", - "ParameterSets": "[-SessionState] [[-Parameters] ] [[-Metadata] ] []" - }, - { - "Name": "Setup", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [[-Content] ] [-Dir] [-File] [-PassThru]" - }, - { - "Name": "Should", - "CommandType": "Function", - "ParameterSets": "" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "PowerShellGet", - "Version": "1.1.0.0", - "ExportedCommands": [ - { - "Name": "Find-Command", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-DscResource", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-Module", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] []" - }, - { - "Name": "Find-RoleCapability", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-Script", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] []" - }, - { - "Name": "Get-InstalledModule", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] []" - }, - { - "Name": "Get-InstalledScript", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] []" - }, - { - "Name": "Get-PSRepository", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "Install-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Install-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] -Description [-Version ] [-Author ] [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Publish-Module", - "CommandType": "Function", - "ParameterSets": "-Name [-RequiredVersion ] [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] [] -Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Publish-Script", - "CommandType": "Function", - "ParameterSets": "-Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] [-SourceLocation] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] [] -Default [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] []" - }, - { - "Name": "Save-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Save-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-SourceLocation] ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] []" - }, - { - "Name": "Test-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[-Path] [] -LiteralPath []" - }, - { - "Name": "Uninstall-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Uninstall-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Unregister-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] []" - }, - { - "Name": "Update-Module", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-ModuleManifest", - "CommandType": "Function", - "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] [-PackageManagementProviders ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-Script", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[-Path] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-LiteralPath] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - "inmo", - "fimo", - "upmo", - "pumo" - ] - }, - { - "Name": "PSDesiredStateConfiguration", - "Version": "0.0", - "ExportedCommands": [ - { - "Name": "Add-NodeKeys", - "CommandType": "Function", - "ParameterSets": "[-ResourceKey] [-keywordName] []" - }, - { - "Name": "AddDscResourceProperty", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "AddDscResourcePropertyFromMetadata", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "CheckResourceFound", - "CommandType": "Function", - "ParameterSets": "[[-names] ] [[-Resources] ]" - }, - { - "Name": "Configuration", - "CommandType": "Function", - "ParameterSets": "[[-ResourceModuleTuplesToImport] ] [[-OutputPath] ] [[-Name] ] [[-Body] ] [[-ArgsToBody] ] [[-ConfigurationData] ] [[-InstanceName] ] []" - }, - { - "Name": "ConvertTo-MOFInstance", - "CommandType": "Function", - "ParameterSets": "[-Type] [-Properties] []" - }, - { - "Name": "Generate-VersionInfo", - "CommandType": "Function", - "ParameterSets": "[-KeywordData] [-Value] []" - }, - { - "Name": "Get-CompatibleVersionAddtionaPropertiesStr", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-ComplexResourceQualifier", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-ConfigurationErrorCount", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-DscResource", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [[-Module] ] [-Syntax] []" - }, - { - "Name": "Get-DSCResourceModules", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-EncryptedPassword", - "CommandType": "Function", - "ParameterSets": "[[-Value] ] []" - }, - { - "Name": "Get-InnerMostErrorRecord", - "CommandType": "Function", - "ParameterSets": "[-ErrorRecord] []" - }, - { - "Name": "Get-MofInstanceName", - "CommandType": "Function", - "ParameterSets": "[[-mofInstance] ]" - }, - { - "Name": "Get-MofInstanceText", - "CommandType": "Function", - "ParameterSets": "[-aliasId] []" - }, - { - "Name": "Get-PositionInfo", - "CommandType": "Function", - "ParameterSets": "[[-sourceMetadata] ]" - }, - { - "Name": "Get-PSCurrentConfigurationNode", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSDefaultConfigurationDocument", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSMetaConfigDocumentInstVersionInfo", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSMetaConfigurationProcessed", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSTopConfigurationName", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PublicKeyFromFile", - "CommandType": "Function", - "ParameterSets": "[-certificatefile] []" - }, - { - "Name": "Get-PublicKeyFromStore", - "CommandType": "Function", - "ParameterSets": "[-certificateid] []" - }, - { - "Name": "GetCompositeResource", - "CommandType": "Function", - "ParameterSets": "[[-patterns] ] [-configInfo] [[-ignoreParameters] ] [-modules] []" - }, - { - "Name": "GetImplementingModulePath", - "CommandType": "Function", - "ParameterSets": "[-schemaFileName] []" - }, - { - "Name": "GetModule", - "CommandType": "Function", - "ParameterSets": "[-modules] [-schemaFileName] []" - }, - { - "Name": "GetPatterns", - "CommandType": "Function", - "ParameterSets": "[[-names] ]" - }, - { - "Name": "GetResourceFromKeyword", - "CommandType": "Function", - "ParameterSets": "[-keyword] [[-patterns] ] [-modules] []" - }, - { - "Name": "GetSyntax", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "ImportCimAndScriptKeywordsFromModule", - "CommandType": "Function", - "ParameterSets": "[-Module] [-resource] [[-functionsToDefine] ] []" - }, - { - "Name": "ImportClassResourcesFromModule", - "CommandType": "Function", - "ParameterSets": "[-Module] [-Resources] [[-functionsToDefine] ] []" - }, - { - "Name": "Initialize-ConfigurationRuntimeState", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] []" - }, - { - "Name": "IsHiddenResource", - "CommandType": "Function", - "ParameterSets": "[-ResourceName] []" - }, - { - "Name": "IsPatternMatched", - "CommandType": "Function", - "ParameterSets": "[[-patterns] ] [-Name] []" - }, - { - "Name": "New-DscChecksum", - "CommandType": "Function", - "ParameterSets": "[-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Node", - "CommandType": "Function", - "ParameterSets": "[-KeywordData] [[-Name] ] [-Value] [-sourceMetadata] []" - }, - { - "Name": "ReadEnvironmentFile", - "CommandType": "Function", - "ParameterSets": "[-FilePath] []" - }, - { - "Name": "Set-NodeExclusiveResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-exclusiveResource] []" - }, - { - "Name": "Set-NodeManager", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-referencedManagers] []" - }, - { - "Name": "Set-NodeResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-requiredResourceList] []" - }, - { - "Name": "Set-NodeResourceSource", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-referencedResourceSources] []" - }, - { - "Name": "Set-PSCurrentConfigurationNode", - "CommandType": "Function", - "ParameterSets": "[[-nodeName] ] []" - }, - { - "Name": "Set-PSDefaultConfigurationDocument", - "CommandType": "Function", - "ParameterSets": "[[-documentText] ] []" - }, - { - "Name": "Set-PSMetaConfigDocInsProcessedBeforeMeta", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Set-PSMetaConfigVersionInfoV2", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Set-PSTopConfigurationName", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "StrongConnect", - "CommandType": "Function", - "ParameterSets": "[[-resourceId] ]" - }, - { - "Name": "Test-ConflictingResources", - "CommandType": "Function", - "ParameterSets": "[[-keyword] ] [-properties] [-keywordData] []" - }, - { - "Name": "Test-ModuleReloadRequired", - "CommandType": "Function", - "ParameterSets": "[-SchemaFilePath] []" - }, - { - "Name": "Test-MofInstanceText", - "CommandType": "Function", - "ParameterSets": "[-instanceText] []" - }, - { - "Name": "Test-NodeManager", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "Test-NodeResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "Test-NodeResourceSource", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "ThrowError", - "CommandType": "Function", - "ParameterSets": "[-ExceptionName] [-ExceptionMessage] [[-ExceptionObject] ] [-errorId] [-errorCategory] []" - }, - { - "Name": "Update-ConfigurationDocumentRef", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] [-ConfigurationName] []" - }, - { - "Name": "Update-ConfigurationErrorCount", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Update-DependsOn", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" - }, - { - "Name": "Update-LocalConfigManager", - "CommandType": "Function", - "ParameterSets": "[[-localConfigManager] ] [[-resourceManagers] ] [[-reportManagers] ] [[-downloadManagers] ] [[-partialConfigurations] ]" - }, - { - "Name": "Update-ModuleVersion", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" - }, - { - "Name": "ValidateNoCircleInNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeExclusiveResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeManager", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeResourceSource", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNoNameNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateUpdate-ConfigurationData", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationData] ] []" - }, - { - "Name": "Write-Log", - "CommandType": "Function", - "ParameterSets": "[-message] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Write-MetaConfigFile", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" - }, - { - "Name": "Write-NodeMOFFile", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" - }, - { - "Name": "WriteFile", - "CommandType": "Function", - "ParameterSets": "[-Value] [-Path] []" - } - ], - "ExportedAliases": [ - "glcm", - "slcm", - "rtcfg", - "gcfgs", - "sacfg", - "upcfg", - "ulcm", - "tcfg", - "gcfg", - "pbcfg" - ] - }, - { - "Name": "PSReadLine", - "Version": "1.2", - "ExportedCommands": [ - { - "Name": "PSConsoleHostReadline", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Bound] [-Unbound] []" - }, - { - "Name": "Get-PSReadlineOption", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Remove-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Chord] [-ViMode ] []" - }, - { - "Name": "Set-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Chord] [-ScriptBlock] [-BriefDescription ] [-Description ] [-ViMode ] [] [-Chord] [-Function] [-ViMode ] []" - }, - { - "Name": "Set-PSReadlineOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-EditMode ] [-ContinuationPrompt ] [-ContinuationPromptForegroundColor ] [-ContinuationPromptBackgroundColor ] [-EmphasisForegroundColor ] [-EmphasisBackgroundColor ] [-ErrorForegroundColor ] [-ErrorBackgroundColor ] [-HistoryNoDuplicates] [-AddToHistoryHandler ] [-CommandValidationHandler ] [-HistorySearchCursorMovesToEnd] [-MaximumHistoryCount ] [-MaximumKillRingCount ] [-ResetTokenColors] [-ShowToolTips] [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] [-BellStyle ] [-CompletionQueryItems ] [-WordDelimiters ] [-HistorySearchCaseSensitive] [-HistorySaveStyle ] [-HistorySavePath ] [-ViModeIndicator ] [] [-TokenKind] [[-ForegroundColor] ] [[-BackgroundColor] ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Version": "6.0.0", - "Name": "Microsoft.PowerShell.Core", - "ExportedCommands": [ - { - "Name": "Add-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-InputObject] ] [-Passthru] []" - }, - { - "Name": "Clear-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] [[-Count] ] [-CommandLine ] [-Newest] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Connect-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "-Name [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Session] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -ComputerName -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Debug-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Job] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disconnect-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Session] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -Name [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enable-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] [-SecurityDescriptorSddl ] [-SkipNetworkProfileCheck] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enter-PSHostProcess", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [[-AppDomainName] ] [] [-Process] [[-AppDomainName] ] [] [-Name] [[-AppDomainName] ] [] [-HostProcessInfo] [[-AppDomainName] ] []" - }, - { - "Name": "Enter-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-ComputerName] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [[-Session] ] [] [[-ConnectionUri] ] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-InstanceId ] [] [[-Id] ] [] [-Name ] [] [-VMId] [-Credential] [-ConfigurationName ] [] [-VMName] [-Credential] [-ConfigurationName ] [] [-ContainerId] [-ConfigurationName ] [-RunAsAdministrator] [] -HostName -UserName [-KeyFilePath ] []" - }, - { - "Name": "Exit-PSHostProcess", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Exit-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Export-ModuleMember", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Function] ] [-Cmdlet ] [-Variable ] [-Alias ] []" - }, - { - "Name": "ForEach-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-Process] [-InputObject ] [-Begin ] [-End ] [-RemainingScripts ] [-WhatIf] [-Confirm] [] [-MemberName] [-InputObject ] [-ArgumentList ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Get-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ArgumentList] ] [-Verb ] [-Noun ] [-Module ] [-FullyQualifiedModule ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] [] [[-Name] ] [[-ArgumentList] ] [-Module ] [-FullyQualifiedModule ] [-CommandType ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] []" - }, - { - "Name": "Get-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [-Full] [] [[-Name] ] -Detailed [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Examples [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Parameter [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Online [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -ShowWindow [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] []" - }, - { - "Name": "Get-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [[-Count] ] []" - }, - { - "Name": "Get-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-InstanceId] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-Name] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-State] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [-Command ] [] [-Filter] []" - }, - { - "Name": "Get-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-FullyQualifiedName ] [-All] [] [[-Name] ] -ListAvailable [-FullyQualifiedName ] [-All] [-PSEdition ] [-Refresh] [] [[-Name] ] -PSSession [-FullyQualifiedName ] [-ListAvailable] [-PSEdition ] [-Refresh] [] [[-Name] ] -CimSession [-FullyQualifiedName ] [-ListAvailable] [-Refresh] [-CimResourceUri ] [-CimNamespace ] []" - }, - { - "Name": "Get-PSHostProcessInfo", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [-Process] [] [-Id] []" - }, - { - "Name": "Get-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name ] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] -ContainerId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -ContainerId [-ConfigurationName ] [-State ] [] -VMId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMId [-ConfigurationName ] [-State ] [] -VMName [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMName [-ConfigurationName ] [-State ] [] [-InstanceId ] [] [-Id] []" - }, - { - "Name": "Get-PSSessionCapability", - "CommandType": "Cmdlet", - "ParameterSets": "[-ConfigurationName] [-Username] [-Full] []" - }, - { - "Name": "Get-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] []" - }, - { - "Name": "Import-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -CimSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [-CimResourceUri ] [-CimNamespace ] [] [-FullyQualifiedName] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-FullyQualifiedName] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Assembly] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-ModuleInfo] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] []" - }, - { - "Name": "Invoke-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [-NoNewScope] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-FilePath] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-ScriptBlock] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-InputObject ] [-ArgumentList ] [] [[-ComputerName] ] [-ScriptBlock] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ComputerName] ] [-FilePath] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [] [-VMId] [-ScriptBlock] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [[-ConnectionUri] ] [-ScriptBlock] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ConnectionUri] ] [-FilePath] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-VMId] [-FilePath] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-FilePath] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-InputObject ] [-ArgumentList ] [] [-FilePath] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-InputObject ] [-ArgumentList ] [] [-HostName] [-ScriptBlock] -UserName [-AsJob] [-HideComputerName] [-KeyFilePath ] [-InputObject ] [-ArgumentList ] [] [-HostName] [-FilePath] -UserName [-AsJob] [-HideComputerName] [-KeyFilePath ] [-InputObject ] [-ArgumentList ] []" - }, - { - "Name": "Invoke-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] [] [-Name] [-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] []" - }, - { - "Name": "New-ModuleManifest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-CompatiblePSEditions ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-PSRoleCapabilityFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-ScriptsToProcess ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] []" - }, - { - "Name": "New-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-ThrottleLimit ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-ConnectionUri] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-ThrottleLimit ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-VMId] -Credential [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] -Credential -VMName [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [[-Session] ] [-Name ] [-EnableNetworkAccess] [-ThrottleLimit ] [] -ContainerId [-Name ] [-ConfigurationName ] [-RunAsAdministrator] [-ThrottleLimit ] [] -HostName -UserName [-Name ] [-KeyFilePath ] []" - }, - { - "Name": "New-PSSessionConfigurationFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-SchemaVersion ] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-SessionType ] [-TranscriptDirectory ] [-RunAsVirtualAccount] [-RunAsVirtualAccountGroups ] [-MountUserDrive] [-UserDriveMaximumSize ] [-GroupManagedServiceAccount ] [-ScriptsToProcess ] [-RoleDefinitions ] [-RequiredGroups ] [-LanguageMode ] [-ExecutionPolicy ] [-PowerShellVersion ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] [-Full] []" - }, - { - "Name": "New-PSSessionOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-MaximumRedirection ] [-NoCompression] [-NoMachineProfile] [-Culture ] [-UICulture ] [-MaximumReceivedDataSizePerCommand ] [-MaximumReceivedObjectSize ] [-OutputBufferingMode ] [-MaxConnectionRetryCount ] [-ApplicationArguments ] [-OpenTimeout ] [-CancelTimeout ] [-IdleTimeout ] [-ProxyAccessType ] [-ProxyAuthentication ] [-ProxyCredential ] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-OperationTimeout ] [-NoEncryption] [-UseUTF16] [-IncludePortInSPN] []" - }, - { - "Name": "New-PSTransportOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-MaxIdleTimeoutSec ] [-ProcessIdleTimeoutSec ] [-MaxSessions ] [-MaxConcurrentCommandsPerSession ] [-MaxSessionsPerUser ] [-MaxMemoryPerSessionMB ] [-MaxProcessesPerSession ] [-MaxConcurrentUsers ] [-IdleTimeoutSec ] [-OutputBufferingMode ] []" - }, - { - "Name": "Out-Default", - "CommandType": "Cmdlet", - "ParameterSets": "[-Transcript] [-InputObject ] []" - }, - { - "Name": "Out-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[-Paging] [-InputObject ] []" - }, - { - "Name": "Out-Null", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject ] []" - }, - { - "Name": "Receive-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Job] [[-Location] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-ComputerName] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-Session] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Name] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-InstanceId] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Id] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] []" - }, - { - "Name": "Receive-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Session] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Id] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ComputerName] -Name [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -Name [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-InstanceId] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Name] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-ArgumentCompleter", - "CommandType": "Cmdlet", - "ParameterSets": "-CommandName -ScriptBlock [-Native] [] -ParameterName -ScriptBlock [-CommandName ] []" - }, - { - "Name": "Register-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-ProcessorArchitecture ] [-SessionType ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ProcessorArchitecture ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-ProcessorArchitecture ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-Force] [-WhatIf] [-Confirm] [] [-Job] [-Force] [-WhatIf] [-Confirm] [] [-InstanceId] [-Force] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-WhatIf] [-Confirm] [] [-Filter] [-Force] [-WhatIf] [-Confirm] [] [-State] [-WhatIf] [-Confirm] [] [-Command ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Force] [-WhatIf] [-Confirm] [] [-FullyQualifiedName] [-Force] [-WhatIf] [-Confirm] [] [-ModuleInfo] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-WhatIf] [-Confirm] [] [-Session] [-WhatIf] [-Confirm] [] -ContainerId [-WhatIf] [-Confirm] [] -VMId [-WhatIf] [-Confirm] [] -VMName [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Save-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[-DestinationPath] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] [] [[-Module] ] [[-UICulture] ] -LiteralPath [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] []" - }, - { - "Name": "Set-PSDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[-Trace ] [-Step] [-Strict] [] [-Off] []" - }, - { - "Name": "Set-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-StrictMode", - "CommandType": "Cmdlet", - "ParameterSets": "-Version [] -Off []" - }, - { - "Name": "Start-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-DefinitionName] [[-DefinitionPath] ] [[-Type] ] [] [-FilePath] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [[-InitializationScript] ] -LiteralPath [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] -HostName -UserName [-KeyFilePath ] []" - }, - { - "Name": "Stop-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Job] [-PassThru] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-WhatIf] [-Confirm] [] [-InstanceId] [-PassThru] [-WhatIf] [-Confirm] [] [-State] [-PassThru] [-WhatIf] [-Confirm] [] [-Filter] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Test-ModuleManifest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] []" - }, - { - "Name": "Test-PSSessionConfigurationFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] []" - }, - { - "Name": "Unregister-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Module] ] [[-SourcePath] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] [] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-LiteralPath ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Wait-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-Any] [-Timeout ] [-Force] [] [-Job] [-Any] [-Timeout ] [-Force] [] [-Name] [-Any] [-Timeout ] [-Force] [] [-InstanceId] [-Any] [-Timeout ] [-Force] [] [-State] [-Any] [-Timeout ] [-Force] [] [-Filter] [-Any] [-Timeout ] [-Force] []" - }, - { - "Name": "Where-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-Property] [[-Value] ] [-InputObject ] [-EQ] [] [-FilterScript] [-InputObject ] [] [-Property] [[-Value] ] -GE [-InputObject ] [] [-Property] [[-Value] ] -CEQ [-InputObject ] [] [-Property] [[-Value] ] -NE [-InputObject ] [] [-Property] [[-Value] ] -CNE [-InputObject ] [] [-Property] [[-Value] ] -GT [-InputObject ] [] [-Property] [[-Value] ] -CGT [-InputObject ] [] [-Property] [[-Value] ] -LT [-InputObject ] [] [-Property] [[-Value] ] -CLT [-InputObject ] [] [-Property] [[-Value] ] -CGE [-InputObject ] [] [-Property] [[-Value] ] -LE [-InputObject ] [] [-Property] [[-Value] ] -CLE [-InputObject ] [] [-Property] [[-Value] ] -Like [-InputObject ] [] [-Property] [[-Value] ] -CLike [-InputObject ] [] [-Property] [[-Value] ] -NotLike [-InputObject ] [] [-Property] [[-Value] ] -CNotLike [-InputObject ] [] [-Property] [[-Value] ] -Match [-InputObject ] [] [-Property] [[-Value] ] -CMatch [-InputObject ] [] [-Property] [[-Value] ] -NotMatch [-InputObject ] [] [-Property] [[-Value] ] -CNotMatch [-InputObject ] [] [-Property] [[-Value] ] -Contains [-InputObject ] [] [-Property] [[-Value] ] -CContains [-InputObject ] [] [-Property] [[-Value] ] -NotContains [-InputObject ] [] [-Property] [[-Value] ] -CNotContains [-InputObject ] [] [-Property] [[-Value] ] -In [-InputObject ] [] [-Property] [[-Value] ] -CIn [-InputObject ] [] [-Property] [[-Value] ] -NotIn [-InputObject ] [] [-Property] [[-Value] ] -CNotIn [-InputObject ] [] [-Property] [[-Value] ] -Is [-InputObject ] [] [-Property] [[-Value] ] -IsNot [-InputObject ] []" - } - ], - "ExportedAliases": [ - "?", - "%", - "clhy", - "cnsn", - "dnsn", - "etsn", - "exsn", - "foreach", - "gcm", - "ghy", - "gjb", - "gmo", - "gsn", - "h", - "history", - "icm", - "ihy", - "ipmo", - "nmo", - "nsn", - "oh", - "r", - "rcjb", - "rcsn", - "rjb", - "rmo", - "rsn", - "sajb", - "spjb", - "where", - "wjb" - ] - } - ], - "SchemaVersion": "0.0.1" -} diff --git a/Engine/Settings/core-6.0.0-alpha-windows.json b/Engine/Settings/core-6.0.0-alpha-windows.json deleted file mode 100644 index c8f06148d..000000000 --- a/Engine/Settings/core-6.0.0-alpha-windows.json +++ /dev/null @@ -1,2238 +0,0 @@ -{ - "Modules": [ - { - "Name": "CimCmdlets", - "Version": "1.0.0.0", - "ExportedCommands": [ - { - "Name": "Get-CimAssociatedInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [[-Association] ] [-ResultClassName ] [-Namespace ] [-OperationTimeoutSec ] [-ResourceUri ] [-ComputerName ] [-KeyOnly] [] [-InputObject] [[-Association] ] -CimSession [-ResultClassName ] [-Namespace ] [-OperationTimeoutSec ] [-ResourceUri ] [-KeyOnly] []" - }, - { - "Name": "Get-CimClass", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ClassName] ] [[-Namespace] ] [-OperationTimeoutSec ] [-ComputerName ] [-MethodName ] [-PropertyName ] [-QualifierName ] [] [[-ClassName] ] [[-Namespace] ] -CimSession [-OperationTimeoutSec ] [-MethodName ] [-PropertyName ] [-QualifierName ] []" - }, - { - "Name": "Get-CimInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-ClassName] [-ComputerName ] [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] [-Filter ] [-Property ] [] -CimSession -Query [-ResourceUri ] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] [] [-InputObject] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [] [-ClassName] -CimSession [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] [-Filter ] [-Property ] [] -CimSession -ResourceUri [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-Shallow] [-Filter ] [-Property ] [] -ResourceUri [-ComputerName ] [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-Shallow] [-Filter ] [-Property ] [] [-InputObject] [-ResourceUri ] [-ComputerName ] [-OperationTimeoutSec ] [] -Query [-ResourceUri ] [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] []" - }, - { - "Name": "Get-CimSession", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [] [-Id] [] -InstanceId [] -Name []" - }, - { - "Name": "Invoke-CimMethod", - "CommandType": "Cmdlet", - "ParameterSets": "[-ClassName] [[-Arguments] ] [-MethodName] [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-ClassName] [[-Arguments] ] [-MethodName] -CimSession [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-InputObject] [[-Arguments] ] [-MethodName] [-ResourceUri ] [-ComputerName ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-InputObject] [[-Arguments] ] [-MethodName] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -ResourceUri [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -ResourceUri -CimSession [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-CimClass] [[-Arguments] ] [-MethodName] [-ComputerName ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-CimClass] [[-Arguments] ] [-MethodName] -CimSession [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -Query [-QueryDialect ] [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -Query -CimSession [-QueryDialect ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-CimInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-ClassName] [[-Property] ] [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-ComputerName ] [-ClientOnly] [-WhatIf] [-Confirm] [] [-ClassName] [[-Property] ] -CimSession [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-ClientOnly] [-WhatIf] [-Confirm] [] [[-Property] ] -ResourceUri [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-ComputerName ] [-WhatIf] [-Confirm] [] [[-Property] ] -ResourceUri -CimSession [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-CimClass] [[-Property] ] -CimSession [-OperationTimeoutSec ] [-ClientOnly] [-WhatIf] [-Confirm] [] [-CimClass] [[-Property] ] [-OperationTimeoutSec ] [-ComputerName ] [-ClientOnly] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-CimSession", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [[-Credential] ] [-Authentication ] [-Name ] [-OperationTimeoutSec ] [-SkipTestConnection] [-Port ] [-SessionOption ] [] [[-ComputerName] ] [-CertificateThumbprint ] [-Name ] [-OperationTimeoutSec ] [-SkipTestConnection] [-Port ] [-SessionOption ] []" - }, - { - "Name": "New-CimSessionOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-Protocol] [-UICulture ] [-Culture ] [] [-NoEncryption] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-EncodePortInServicePrincipalName] [-Encoding ] [-HttpPrefix ] [-MaxEnvelopeSizeKB ] [-ProxyAuthentication ] [-ProxyCertificateThumbprint ] [-ProxyCredential ] [-ProxyType ] [-UseSsl] [-UICulture ] [-Culture ] [] [-Impersonation ] [-PacketIntegrity] [-PacketPrivacy] [-UICulture ] [-Culture ] []" - }, - { - "Name": "Register-CimIndicationEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-ClassName] [[-SourceIdentifier] ] [[-Action] ] [-Namespace ] [-OperationTimeoutSec ] [-ComputerName ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] [] [-ClassName] [[-SourceIdentifier] ] [[-Action] ] -CimSession [-Namespace ] [-OperationTimeoutSec ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] [] [-Query] [[-SourceIdentifier] ] [[-Action] ] -CimSession [-Namespace ] [-QueryDialect ] [-OperationTimeoutSec ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] [] [-Query] [[-SourceIdentifier] ] [[-Action] ] [-Namespace ] [-QueryDialect ] [-OperationTimeoutSec ] [-ComputerName ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" - }, - { - "Name": "Remove-CimInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-ResourceUri ] [-ComputerName ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-InputObject] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-Query] [[-Namespace] ] -CimSession [-OperationTimeoutSec ] [-QueryDialect ] [-WhatIf] [-Confirm] [] [-Query] [[-Namespace] ] [-ComputerName ] [-OperationTimeoutSec ] [-QueryDialect ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-CimSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-CimSession] [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-CimInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-ComputerName ] [-ResourceUri ] [-OperationTimeoutSec ] [-Property ] [-PassThru] [-WhatIf] [-Confirm] [] [-InputObject] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [-Property ] [-PassThru] [-WhatIf] [-Confirm] [] [-Query] -CimSession -Property [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-PassThru] [-WhatIf] [-Confirm] [] [-Query] -Property [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-PassThru] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - "gcim", - "scim", - "ncim", - "rcim", - "icim", - "gcai", - "rcie", - "ncms", - "rcms", - "gcms", - "ncso", - "gcls" - ] - }, - { - "Name": "Microsoft.PowerShell.Archive", - "Version": "1.0.1.0", - "ExportedCommands": [ - { - "Name": "Compress-Archive", - "CommandType": "Function", - "ParameterSets": "[-Path] [-DestinationPath] [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Update [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Force [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Update [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Force [-CompressionLevel ] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath [-CompressionLevel ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Expand-Archive", - "CommandType": "Function", - "ParameterSets": "[-Path] [[-DestinationPath] ] [-Force] [-WhatIf] [-Confirm] [] [[-DestinationPath] ] -LiteralPath [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Diagnostics", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "Get-WinEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[[-LogName] ] [-MaxEvents ] [-ComputerName ] [-Credential ] [-FilterXPath ] [-Force] [-Oldest] [] [-ListLog] [-ComputerName ] [-Credential ] [-Force] [] [-ListProvider] [-ComputerName ] [-Credential ] [] [-ProviderName] [-MaxEvents ] [-ComputerName ] [-Credential ] [-FilterXPath ] [-Force] [-Oldest] [] [-Path] [-MaxEvents ] [-Credential ] [-FilterXPath ] [-Oldest] [] [-FilterHashtable] [-MaxEvents ] [-ComputerName ] [-Credential ] [-Force] [-Oldest] [] [-FilterXml] [-MaxEvents ] [-ComputerName ] [-Credential ] [-Oldest] []" - }, - { - "Name": "New-WinEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-ProviderName] [-Id] [[-Payload] ] [-Version ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Host", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "Start-Transcript", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-LiteralPath] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-OutputDirectory] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Stop-Transcript", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.LocalAccounts", - "Version": "1.0.0.0", - "ExportedCommands": [ - { - "Name": "Add-LocalGroupMember", - "CommandType": "Cmdlet", - "ParameterSets": "[-Group] [-Member] [-WhatIf] [-Confirm] [] [-Name] [-Member] [-WhatIf] [-Confirm] [] [-SID] [-Member] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-LocalUser", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-SID] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enable-LocalUser", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-SID] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Get-LocalGroup", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [[-SID] ] []" - }, - { - "Name": "Get-LocalGroupMember", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Member] ] [] [-Group] [[-Member] ] [] [-SID] [[-Member] ] []" - }, - { - "Name": "Get-LocalUser", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [[-SID] ] []" - }, - { - "Name": "New-LocalGroup", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Description ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-LocalUser", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] -Password [-AccountExpires ] [-AccountNeverExpires] [-Description ] [-Disabled] [-FullName ] [-PasswordNeverExpires] [-UserMayNotChangePassword] [-WhatIf] [-Confirm] [] [-Name] -NoPassword [-AccountExpires ] [-AccountNeverExpires] [-Description ] [-Disabled] [-FullName ] [-UserMayNotChangePassword] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-LocalGroup", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-SID] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-LocalGroupMember", - "CommandType": "Cmdlet", - "ParameterSets": "[-Group] [-Member] [-WhatIf] [-Confirm] [] [-Name] [-Member] [-WhatIf] [-Confirm] [] [-SID] [-Member] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-LocalUser", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-SID] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-LocalGroup", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-NewName] [-WhatIf] [-Confirm] [] [-Name] [-NewName] [-WhatIf] [-Confirm] [] [-SID] [-NewName] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-LocalUser", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-NewName] [-WhatIf] [-Confirm] [] [-Name] [-NewName] [-WhatIf] [-Confirm] [] [-SID] [-NewName] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-LocalGroup", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] -Description [-WhatIf] [-Confirm] [] [-Name] -Description [-WhatIf] [-Confirm] [] [-SID] -Description [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-LocalUser", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-AccountExpires ] [-AccountNeverExpires] [-Description ] [-FullName ] [-Password ] [-PasswordNeverExpires ] [-UserMayChangePassword ] [-WhatIf] [-Confirm] [] [-InputObject] [-AccountExpires ] [-AccountNeverExpires] [-Description ] [-FullName ] [-Password ] [-PasswordNeverExpires ] [-UserMayChangePassword ] [-WhatIf] [-Confirm] [] [-SID] [-AccountExpires ] [-AccountNeverExpires] [-Description ] [-FullName ] [-Password ] [-PasswordNeverExpires ] [-UserMayChangePassword ] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - "algm", - "dlu", - "elu", - "glg", - "glgm", - "glu", - "nlg", - "nlu", - "rlg", - "rlgm", - "rlu", - "rnlg", - "rnlu", - "slg", - "slu" - ] - }, - { - "Name": "Microsoft.PowerShell.Management", - "Version": "3.1.0.0", - "ExportedCommands": [ - { - "Name": "Add-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Clear-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" - }, - { - "Name": "Clear-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Clear-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Convert-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [] -LiteralPath []" - }, - { - "Name": "Copy-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Destination] ] [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] [] [[-Destination] ] -LiteralPath [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] []" - }, - { - "Name": "Copy-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Debug-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InputObject [-WhatIf] [-Confirm] []" - }, - { - "Name": "Get-ChildItem", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Filter] ] [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [] [[-Filter] ] -LiteralPath [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] []" - }, - { - "Name": "Get-ComputerInfo", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] []" - }, - { - "Name": "Get-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-Stream ] [] -LiteralPath [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Get-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] []" - }, - { - "Name": "Get-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Name] ] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [[-Name] ] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" - }, - { - "Name": "Get-ItemPropertyValue", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-Name] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [-Name] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" - }, - { - "Name": "Get-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[-PSProvider ] [-PSDrive ] [] [-Stack] [-StackName ] []" - }, - { - "Name": "Get-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ComputerName ] [-Module] [-FileVersionInfo] [] [[-Name] ] -IncludeUserName [] -Id [-ComputerName ] [-Module] [-FileVersionInfo] [] -Id -IncludeUserName [] -InputObject -IncludeUserName [] -InputObject [-ComputerName ] [-Module] [-FileVersionInfo] []" - }, - { - "Name": "Get-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Scope ] [-PSProvider ] [] [-LiteralName] [-Scope ] [-PSProvider ] []" - }, - { - "Name": "Get-PSProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-PSProvider] ] []" - }, - { - "Name": "Get-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ComputerName ] [-DependentServices] [-RequiredServices] [-Include ] [-Exclude ] [] -DisplayName [-ComputerName ] [-DependentServices] [-RequiredServices] [-Include ] [-Exclude ] [] [-ComputerName ] [-DependentServices] [-RequiredServices] [-Include ] [-Exclude ] [-InputObject ] []" - }, - { - "Name": "Get-TimeZone", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] -Id [] -ListAvailable []" - }, - { - "Name": "Invoke-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Join-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ChildPath] [[-AdditionalChildPath] ] [-Resolve] [-Credential ] []" - }, - { - "Name": "Move-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Destination] ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [[-Destination] ] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Move-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-PSProvider] [-Root] [-Description ] [-Scope ] [-Persist] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-BinaryPathName] [-DisplayName ] [-Description ] [-StartupType ] [-Credential ] [-DependsOn ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Pop-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[-PassThru] [-StackName ] []" - }, - { - "Name": "Push-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-PassThru] [-StackName ] [] [-LiteralPath ] [-PassThru] [-StackName ] []" - }, - { - "Name": "Remove-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" - }, - { - "Name": "Remove-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSDrive", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] [-LiteralName] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-Computer", - "CommandType": "Cmdlet", - "ParameterSets": "[-NewName] [-ComputerName ] [-PassThru] [-DomainCredential ] [-LocalCredential ] [-Force] [-Restart] [-WsmanAuthentication ] [-Protocol ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-NewName] [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [-NewName] -LiteralPath [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Rename-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-NewName] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-NewName] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Resolve-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Relative] [-Credential ] [] -LiteralPath [-Relative] [-Credential ] []" - }, - { - "Name": "Restart-Computer", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [[-Credential] ] [-DcomAuthentication ] [-Impersonation ] [-WsmanAuthentication ] [-Protocol ] [-Force] [-Wait] [-Timeout ] [-For ] [-Delay ] [-WhatIf] [-Confirm] [] [[-ComputerName] ] [[-Credential] ] [-AsJob] [-DcomAuthentication ] [-Impersonation ] [-Force] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Restart-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Force] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-Force] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Resume-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Content", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-Stream ] []" - }, - { - "Name": "Set-Item", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-ItemProperty", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Name] [-Value] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Path] -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-Value] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Location", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-PassThru] [] -LiteralPath [-PassThru] [] [-PassThru] [-StackName ] []" - }, - { - "Name": "Set-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-ComputerName ] [-DisplayName ] [-Description ] [-StartupType ] [-Status ] [-PassThru] [-WhatIf] [-Confirm] [] [-ComputerName ] [-DisplayName ] [-Description ] [-StartupType ] [-Status ] [-InputObject ] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-TimeZone", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-PassThru] [-WhatIf] [-Confirm] [] -Id [-PassThru] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Split-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Parent] [-Resolve] [-Credential ] [] [-Path] [-Qualifier] [-Resolve] [-Credential ] [] [-Path] [-Leaf] [-Resolve] [-Credential ] [] [-Path] [-NoQualifier] [-Resolve] [-Credential ] [] [-Path] [-Resolve] [-IsAbsolute] [-Credential ] [] -LiteralPath [-Resolve] [-Credential ] []" - }, - { - "Name": "Start-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [[-ArgumentList] ] [-Credential ] [-WorkingDirectory ] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError ] [-RedirectStandardInput ] [-RedirectStandardOutput ] [-Wait] [-UseNewEnvironment] [] [-FilePath] [[-ArgumentList] ] [-WorkingDirectory ] [-PassThru] [-Verb ] [-Wait] []" - }, - { - "Name": "Start-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Stop-Computer", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [[-Credential] ] [-AsJob] [-DcomAuthentication ] [-WsmanAuthentication ] [-Protocol ] [-Impersonation ] [-ThrottleLimit ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Stop-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Stop-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Force] [-NoWait] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-NoWait] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-Force] [-NoWait] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Suspend-Service", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Test-Connection", - "CommandType": "Cmdlet", - "ParameterSets": "[-ComputerName] [-AsJob] [-DcomAuthentication ] [-WsmanAuthentication ] [-Protocol ] [-BufferSize ] [-Count ] [-Impersonation ] [-ThrottleLimit ] [-TimeToLive ] [-Delay ] [] [-ComputerName] [-Source] [-AsJob] [-DcomAuthentication ] [-WsmanAuthentication ] [-Protocol ] [-BufferSize ] [-Count ] [-Credential ] [-Impersonation ] [-ThrottleLimit ] [-TimeToLive ] [-Delay ] [] [-ComputerName] [-DcomAuthentication ] [-WsmanAuthentication ] [-Protocol ] [-BufferSize ] [-Count ] [-Impersonation ] [-TimeToLive ] [-Delay ] [-Quiet] []" - }, - { - "Name": "Test-Path", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] []" - }, - { - "Name": "Wait-Process", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Timeout] ] [] [-Id] [[-Timeout] ] [] [[-Timeout] ] -InputObject []" - } - ], - "ExportedAliases": [ - "gin", - "gtz", - "stz" - ] - }, - { - "Name": "Microsoft.PowerShell.Security", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "ConvertFrom-SecureString", - "CommandType": "Cmdlet", - "ParameterSets": "[-SecureString] [[-SecureKey] ] [] [-SecureString] [-Key ] []" - }, - { - "Name": "ConvertTo-SecureString", - "CommandType": "Cmdlet", - "ParameterSets": "[-String] [[-SecureKey] ] [] [-String] [-AsPlainText] [-Force] [] [-String] [-Key ] []" - }, - { - "Name": "Get-Acl", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [-Audit] [-Filter ] [-Include ] [-Exclude ] [] -InputObject [-Audit] [-Filter ] [-Include ] [-Exclude ] [] [-LiteralPath ] [-Audit] [-Filter ] [-Include ] [-Exclude ] []" - }, - { - "Name": "Get-AuthenticodeSignature", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [] -LiteralPath [] -SourcePathOrExtension -Content []" - }, - { - "Name": "Get-Credential", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Credential] ] [] [[-UserName] ] [-Message ] [-Title ] []" - }, - { - "Name": "Get-ExecutionPolicy", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Scope] ] [-List] []" - }, - { - "Name": "New-FileCatalog", - "CommandType": "Cmdlet", - "ParameterSets": "[-CatalogFilePath] [[-Path] ] [-CatalogVersion ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Acl", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-AclObject] [-ClearCentralAccessPolicy] [-Passthru] [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-InputObject] [-AclObject] [-Passthru] [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-AclObject] -LiteralPath [-ClearCentralAccessPolicy] [-Passthru] [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-AuthenticodeSignature", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [-Certificate] [-IncludeChain ] [-TimestampServer ] [-HashAlgorithm ] [-Force] [-WhatIf] [-Confirm] [] [-Certificate] -LiteralPath [-IncludeChain ] [-TimestampServer ] [-HashAlgorithm ] [-Force] [-WhatIf] [-Confirm] [] [-Certificate] -SourcePathOrExtension -Content [-IncludeChain ] [-TimestampServer ] [-HashAlgorithm ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-ExecutionPolicy", - "CommandType": "Cmdlet", - "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Test-FileCatalog", - "CommandType": "Cmdlet", - "ParameterSets": "[-CatalogFilePath] [[-Path] ] [-Detailed] [-FilesToSkip ] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Microsoft.PowerShell.Utility", - "Version": "3.1.0.0", - "ExportedCommands": [ - { - "Name": "ConvertFrom-SddlString", - "CommandType": "Function", - "ParameterSets": "[-Sddl] [-Type ] []" - }, - { - "Name": "Format-Hex", - "CommandType": "Function", - "ParameterSets": "[-Path] [] -LiteralPath [] -InputObject [-Encoding ] [-Raw] []" - }, - { - "Name": "Get-FileHash", - "CommandType": "Function", - "ParameterSets": "[-Path] [-Algorithm ] [] -LiteralPath [-Algorithm ] [] -InputStream [-Algorithm ] []" - }, - { - "Name": "Import-PowerShellDataFile", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [] [-LiteralPath ] []" - }, - { - "Name": "New-Guid", - "CommandType": "Function", - "ParameterSets": "[]" - }, - { - "Name": "New-TemporaryFile", - "CommandType": "Function", - "ParameterSets": "[-WhatIf] [-Confirm] []" - }, - { - "Name": "Add-Member", - "CommandType": "Cmdlet", - "ParameterSets": "-InputObject -TypeName [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyMembers] -InputObject [-TypeName ] [-Force] [-PassThru] []" - }, - { - "Name": "Add-Type", - "CommandType": "Cmdlet", - "ParameterSets": "[-TypeDefinition] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Name] [-MemberDefinition] [-Namespace ] [-UsingNamespace ] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Path] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -LiteralPath [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -AssemblyName [-PassThru] [-IgnoreWarnings] []" - }, - { - "Name": "Clear-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Compare-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-ReferenceObject] [-DifferenceObject] [-SyncWindow ] [-Property ] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "ConvertFrom-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [[-Delimiter] ] [-Header ] [] [-InputObject] -UseCulture [-Header ] []" - }, - { - "Name": "ConvertFrom-Json", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] []" - }, - { - "Name": "ConvertFrom-StringData", - "CommandType": "Cmdlet", - "ParameterSets": "[-StringData] []" - }, - { - "Name": "ConvertTo-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [[-Delimiter] ] [-NoTypeInformation] [] [-InputObject] [-UseCulture] [-NoTypeInformation] []" - }, - { - "Name": "ConvertTo-Html", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [[-Head] ] [[-Title] ] [[-Body] ] [-InputObject ] [-As ] [-CssUri ] [-PostContent ] [-PreContent ] [] [[-Property] ] [-InputObject ] [-As ] [-Fragment] [-PostContent ] [-PreContent ] []" - }, - { - "Name": "ConvertTo-Json", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Depth ] [-Compress] []" - }, - { - "Name": "ConvertTo-Xml", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-Depth ] [-NoTypeInformation] [-As ] []" - }, - { - "Name": "Debug-Runspace", - "CommandType": "Cmdlet", - "ParameterSets": "[-Runspace] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] [] [-Id] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Enable-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enable-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [-BreakAll] [] [-Runspace] [-BreakAll] [] [-RunspaceId] [-BreakAll] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Export-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [[-Name] ] [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] [] [[-Name] ] -LiteralPath [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-Clixml", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Delimiter] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-NoTypeInformation] [-WhatIf] [-Confirm] [] [[-Path] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-UseCulture] [-NoTypeInformation] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Export-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "-InputObject -Path [-Force] [-NoClobber] [-IncludeScriptBlock] [] -InputObject -LiteralPath [-Force] [-NoClobber] [-IncludeScriptBlock] []" - }, - { - "Name": "Format-Custom", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-Depth ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-List", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-Table", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Format-Wide", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-AutoSize] [-Column ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" - }, - { - "Name": "Get-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Exclude ] [-Scope ] [] [-Exclude ] [-Scope ] [-Definition ] []" - }, - { - "Name": "Get-Culture", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Date", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-Format ] [] [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-UFormat ] []" - }, - { - "Name": "Get-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [] [-EventIdentifier] []" - }, - { - "Name": "Get-EventSubscriber", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [-Force] [] [-SubscriptionId] [-Force] []" - }, - { - "Name": "Get-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-TypeName] ] [-PowerShellVersion ] []" - }, - { - "Name": "Get-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Member", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-InputObject ] [-MemberType ] [-View ] [-Static] [-Force] []" - }, - { - "Name": "Get-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Script] ] [] [-Type] [-Script ] [] -Variable [-Script ] [] -Command [-Script ] [] [-Id] []" - }, - { - "Name": "Get-PSCallStack", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Random", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Maximum] ] [-SetSeed ] [-Minimum ] [] [-InputObject] [-SetSeed ] [-Count ] []" - }, - { - "Name": "Get-Runspace", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [-Id] [] [-InstanceId] []" - }, - { - "Name": "Get-RunspaceDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" - }, - { - "Name": "Get-TraceSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "Get-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-TypeName] ] []" - }, - { - "Name": "Get-UICulture", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-Unique", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject ] [-AsString] [] [-InputObject ] [-OnType] []" - }, - { - "Name": "Get-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] [-Scope ] []" - }, - { - "Name": "Group-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-NoElement] [-AsHashTable] [-AsString] [-InputObject ] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "Import-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Import-Clixml", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-IncludeTotalCount] [-Skip ] [-First ] [] -LiteralPath [-IncludeTotalCount] [-Skip ] [-First ] []" - }, - { - "Name": "Import-Csv", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Path] ] [[-Delimiter] ] [-LiteralPath ] [-Header ] [-Encoding ] [] [[-Path] ] -UseCulture [-LiteralPath ] [-Header ] [-Encoding ] []" - }, - { - "Name": "Import-LocalizedData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-BindingVariable] ] [[-UICulture] ] [-BaseDirectory ] [-FileName ] [-SupportedCommand ] []" - }, - { - "Name": "Invoke-Expression", - "CommandType": "Cmdlet", - "ParameterSets": "[-Command] []" - }, - { - "Name": "Invoke-RestMethod", - "CommandType": "Cmdlet", - "ParameterSets": "[-Uri] [-Method ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] []" - }, - { - "Name": "Invoke-WebRequest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Uri] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] []" - }, - { - "Name": "Measure-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-Expression] [-InputObject ] []" - }, - { - "Name": "Measure-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-InputObject ] [-Sum] [-Average] [-Maximum] [-Minimum] [] [[-Property] ] [-InputObject ] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] []" - }, - { - "Name": "New-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [[-Sender] ] [[-EventArguments] ] [[-MessageData] ] []" - }, - { - "Name": "New-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-TypeName] [[-ArgumentList] ] [-Property ] [] [-ComObject] [-Strict] [-Property ] []" - }, - { - "Name": "New-TimeSpan", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Start] ] [[-End] ] [] [-Days ] [-Hours ] [-Minutes ] [-Seconds ] []" - }, - { - "Name": "New-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Value] ] [-Description ] [-Option ] [-Visibility ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Out-File", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [[-Encoding] ] [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] [[-Encoding] ] -LiteralPath [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Out-String", - "CommandType": "Cmdlet", - "ParameterSets": "[-Stream] [-Width ] [-InputObject ] []" - }, - { - "Name": "Read-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Prompt] ] [-AsSecureString] []" - }, - { - "Name": "Register-EngineEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" - }, - { - "Name": "Register-ObjectEvent", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-EventName] [[-SourceIdentifier] ] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" - }, - { - "Name": "Remove-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [-WhatIf] [-Confirm] [] [-EventIdentifier] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Breakpoint] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "-TypeData [-WhatIf] [-Confirm] [] [-TypeName] [-WhatIf] [-Confirm] [] -Path [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Select-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-Last ] [-First ] [-Skip ] [-Wait] [] [[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-SkipLast ] [] [-InputObject ] [-Unique] [-Wait] [-Index ] []" - }, - { - "Name": "Select-String", - "CommandType": "Cmdlet", - "ParameterSets": "[-Pattern] [-Path] [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -InputObject [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -LiteralPath [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] []" - }, - { - "Name": "Select-Xml", - "CommandType": "Cmdlet", - "ParameterSets": "[-XPath] [-Xml] [-Namespace ] [] [-XPath] [-Path] [-Namespace ] [] [-XPath] -LiteralPath [-Namespace ] [] [-XPath] -Content [-Namespace ] []" - }, - { - "Name": "Set-Alias", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-Date", - "CommandType": "Cmdlet", - "ParameterSets": "[-Date] [-DisplayHint ] [-WhatIf] [-Confirm] [] [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-PSBreakpoint", - "CommandType": "Cmdlet", - "ParameterSets": "[-Script] [-Line] [[-Column] ] [-Action ] [] [[-Script] ] -Command [-Action ] [] [[-Script] ] -Variable [-Action ] [-Mode ] []" - }, - { - "Name": "Set-TraceSource", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Option] ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [-PassThru] [] [-Name] [-RemoveListener ] [] [-Name] [-RemoveFileListener ] []" - }, - { - "Name": "Set-Variable", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [[-Value] ] [-Include ] [-Exclude ] [-Description ] [-Option ] [-Force] [-Visibility ] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Sort-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Property] ] [-Descending] [-Unique] [-InputObject ] [-Culture ] [-CaseSensitive] []" - }, - { - "Name": "Start-Sleep", - "CommandType": "Cmdlet", - "ParameterSets": "[-Seconds] [] -Milliseconds []" - }, - { - "Name": "Tee-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-FilePath] [-InputObject ] [-Append] [] -LiteralPath [-InputObject ] [] -Variable [-InputObject ] []" - }, - { - "Name": "Trace-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Expression] [[-Option] ] [-InputObject ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [] [-Name] [-Command] [[-Option] ] [-InputObject ] [-ArgumentList ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] []" - }, - { - "Name": "Unblock-File", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-WhatIf] [-Confirm] [] -LiteralPath [-WhatIf] [-Confirm] []" - }, - { - "Name": "Unregister-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] [] [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-FormatData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-TypeData", - "CommandType": "Cmdlet", - "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] [] -TypeName [-MemberType ] [-MemberName ] [-Value ] [-SecondValue ] [-TypeConverter ] [-TypeAdapter ] [-SerializationMethod ] [-TargetTypeForDeserialization ] [-SerializationDepth ] [-DefaultDisplayProperty ] [-InheritPropertySerializationSet ] [-StringSerializationSource ] [-DefaultDisplayPropertySet ] [-DefaultKeyPropertySet ] [-PropertySerializationSet ] [-Force] [-WhatIf] [-Confirm] [] [-TypeData] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Wait-Debugger", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Wait-Event", - "CommandType": "Cmdlet", - "ParameterSets": "[[-SourceIdentifier] ] [-Timeout ] []" - }, - { - "Name": "Write-Debug", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - }, - { - "Name": "Write-Error", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -Exception [-Message ] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -ErrorRecord [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] []" - }, - { - "Name": "Write-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Object] ] [-NoNewline] [-Separator ] [-ForegroundColor ] [-BackgroundColor ] []" - }, - { - "Name": "Write-Information", - "CommandType": "Cmdlet", - "ParameterSets": "[-MessageData] [[-Tags] ] []" - }, - { - "Name": "Write-Output", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-NoEnumerate] []" - }, - { - "Name": "Write-Progress", - "CommandType": "Cmdlet", - "ParameterSets": "[-Activity] [[-Status] ] [[-Id] ] [-PercentComplete ] [-SecondsRemaining ] [-CurrentOperation ] [-ParentId ] [-Completed] [-SourceId ] []" - }, - { - "Name": "Write-Verbose", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - }, - { - "Name": "Write-Warning", - "CommandType": "Cmdlet", - "ParameterSets": "[-Message] []" - } - ], - "ExportedAliases": [ - "fhx" - ] - }, - { - "Name": "Microsoft.WSMan.Management", - "Version": "3.0.0.0", - "ExportedCommands": [ - { - "Name": "Connect-WSMan", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [-ApplicationName ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ConnectionURI ] [-OptionSet ] [-Port ] [-SessionOption ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" - }, - { - "Name": "Disable-WSManCredSSP", - "CommandType": "Cmdlet", - "ParameterSets": "[-Role] []" - }, - { - "Name": "Disconnect-WSMan", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] []" - }, - { - "Name": "Enable-WSManCredSSP", - "CommandType": "Cmdlet", - "ParameterSets": "[-Role] [[-DelegateComputer] ] [-Force] []" - }, - { - "Name": "Get-WSManCredSSP", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Get-WSManInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-ResourceURI] [-ApplicationName ] [-ComputerName ] [-ConnectionURI ] [-Dialect ] [-Fragment ] [-OptionSet ] [-Port ] [-SelectorSet ] [-SessionOption ] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] -Enumerate [-ApplicationName ] [-BasePropertiesOnly] [-ComputerName ] [-ConnectionURI ] [-Dialect ] [-Filter ] [-OptionSet ] [-Port ] [-Associations] [-ReturnType ] [-SessionOption ] [-Shallow] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" - }, - { - "Name": "Invoke-WSManAction", - "CommandType": "Cmdlet", - "ParameterSets": "[-ResourceURI] [-Action] [[-SelectorSet] ] [-ConnectionURI ] [-FilePath ] [-OptionSet ] [-SessionOption ] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [-Action] [[-SelectorSet] ] [-ApplicationName ] [-ComputerName ] [-FilePath ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" - }, - { - "Name": "New-WSManInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-ResourceURI] [-SelectorSet] [-ApplicationName ] [-ComputerName ] [-FilePath ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [-SelectorSet] [-ConnectionURI ] [-FilePath ] [-OptionSet ] [-SessionOption ] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" - }, - { - "Name": "New-WSManSessionOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-ProxyAccessType ] [-ProxyAuthentication ] [-ProxyCredential ] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-SPNPort ] [-OperationTimeout ] [-NoEncryption] [-UseUTF16] []" - }, - { - "Name": "Remove-WSManInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-ResourceURI] [-SelectorSet] [-ApplicationName ] [-ComputerName ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [-SelectorSet] [-ConnectionURI ] [-OptionSet ] [-SessionOption ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" - }, - { - "Name": "Set-WSManInstance", - "CommandType": "Cmdlet", - "ParameterSets": "[-ResourceURI] [[-SelectorSet] ] [-ApplicationName ] [-ComputerName ] [-Dialect ] [-FilePath ] [-Fragment ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [[-SelectorSet] ] [-ConnectionURI ] [-Dialect ] [-FilePath ] [-Fragment ] [-OptionSet ] [-SessionOption ] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" - }, - { - "Name": "Set-WSManQuickConfig", - "CommandType": "Cmdlet", - "ParameterSets": "[-UseSSL] [-Force] [-SkipNetworkProfileCheck] []" - }, - { - "Name": "Test-WSMan", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [-Authentication ] [-Port ] [-UseSSL] [-ApplicationName ] [-Credential ] [-CertificateThumbprint ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "PackageManagement", - "Version": "1.0.0.1", - "ExportedCommands": [ - { - "Name": "Find-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] []" - }, - { - "Name": "Find-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-AllVersions] [-Source ] [-IncludeDependencies] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Get-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Destination ] [-ExcludeVersion] [-Scope ] [] [[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Get-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-ListAvailable] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Get-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Import-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" - }, - { - "Name": "Install-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-InputObject] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Install-PackageProvider", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Credential ] [-Scope ] [-Source ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Save-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] []" - }, - { - "Name": "Set-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Location ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - }, - { - "Name": "Uninstall-Package", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" - }, - { - "Name": "Unregister-PackageSource", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Source] ] [-Location ] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "Pester", - "Version": "3.3.9", - "ExportedCommands": [ - { - "Name": "AfterAll", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "AfterEach", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Assert-MockCalled", - "CommandType": "Function", - "ParameterSets": "[-CommandName] [[-Times] ] [[-ParameterFilter] ] [[-ModuleName] ] [[-Scope] ] [-Exactly] [] [-CommandName] [[-Times] ] [[-ModuleName] ] [[-Scope] ] -ExclusiveFilter [-Exactly] []" - }, - { - "Name": "Assert-VerifiableMocks", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "BeforeAll", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "BeforeEach", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Context", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-Fixture] ] []" - }, - { - "Name": "Describe", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-Fixture] ] [-Tags ] []" - }, - { - "Name": "Get-MockDynamicParameters", - "CommandType": "Function", - "ParameterSets": "-CmdletName [-Parameters ] [-Cmdlet ] [] -FunctionName [-ModuleName ] [-Parameters ] [-Cmdlet ] []" - }, - { - "Name": "Get-TestDriveItem", - "CommandType": "Function", - "ParameterSets": "[[-Path] ]" - }, - { - "Name": "In", - "CommandType": "Function", - "ParameterSets": "[[-path] ] [[-execute] ]" - }, - { - "Name": "InModuleScope", - "CommandType": "Function", - "ParameterSets": "[-ModuleName] [-ScriptBlock] []" - }, - { - "Name": "Invoke-Mock", - "CommandType": "Function", - "ParameterSets": "[-CommandName] [[-ModuleName] ] [[-BoundParameters] ] [[-ArgumentList] ] [[-CallerSessionState] ] []" - }, - { - "Name": "Invoke-Pester", - "CommandType": "Function", - "ParameterSets": "[[-Script] ] [[-TestName] ] [-EnableExit] [[-OutputXml] ] [[-Tag] ] [-ExcludeTag ] [-PassThru] [-CodeCoverage ] [-Strict] [-Quiet] [] [[-Script] ] [[-TestName] ] [-EnableExit] [[-Tag] ] -OutputFile -OutputFormat [-ExcludeTag ] [-PassThru] [-CodeCoverage ] [-Strict] [-Quiet] []" - }, - { - "Name": "It", - "CommandType": "Function", - "ParameterSets": "[-name] [[-test] ] [-TestCases ] [] [-name] [[-test] ] [-TestCases ] [-Pending] [] [-name] [[-test] ] [-TestCases ] [-Skip] []" - }, - { - "Name": "Mock", - "CommandType": "Function", - "ParameterSets": "[[-CommandName] ] [[-MockWith] ] [[-ParameterFilter] ] [[-ModuleName] ] [-Verifiable]" - }, - { - "Name": "New-Fixture", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [-Name] []" - }, - { - "Name": "Set-DynamicParameterVariables", - "CommandType": "Function", - "ParameterSets": "[-SessionState] [[-Parameters] ] [[-Metadata] ] []" - }, - { - "Name": "Setup", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] [[-Content] ] [-Dir] [-File] [-PassThru]" - }, - { - "Name": "Should", - "CommandType": "Function", - "ParameterSets": "" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "PowerShellGet", - "Version": "1.1.0.0", - "ExportedCommands": [ - { - "Name": "Find-Command", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-DscResource", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-Module", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] []" - }, - { - "Name": "Find-RoleCapability", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" - }, - { - "Name": "Find-Script", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] []" - }, - { - "Name": "Get-InstalledModule", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] []" - }, - { - "Name": "Get-InstalledScript", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] []" - }, - { - "Name": "Get-PSRepository", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "Install-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Install-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[[-Path] ] -Description [-Version ] [-Author ] [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Publish-Module", - "CommandType": "Function", - "ParameterSets": "-Name [-RequiredVersion ] [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] [] -Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Publish-Script", - "CommandType": "Function", - "ParameterSets": "-Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] [-SourceLocation] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] [] -Default [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] []" - }, - { - "Name": "Save-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Save-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] [[-SourceLocation] ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] []" - }, - { - "Name": "Test-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[-Path] [] -LiteralPath []" - }, - { - "Name": "Uninstall-Module", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Uninstall-Script", - "CommandType": "Function", - "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Unregister-PSRepository", - "CommandType": "Function", - "ParameterSets": "[-Name] []" - }, - { - "Name": "Update-Module", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-ModuleManifest", - "CommandType": "Function", - "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] [-PackageManagementProviders ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-Script", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-ScriptFileInfo", - "CommandType": "Function", - "ParameterSets": "[-Path] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-LiteralPath] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" - } - ], - "ExportedAliases": [ - "inmo", - "fimo", - "upmo", - "pumo" - ] - }, - { - "Name": "PSDesiredStateConfiguration", - "Version": "0.0", - "ExportedCommands": [ - { - "Name": "AddDscResourceProperty", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "AddDscResourcePropertyFromMetadata", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "Add-NodeKeys", - "CommandType": "Function", - "ParameterSets": "[-ResourceKey] [-keywordName] []" - }, - { - "Name": "CheckResourceFound", - "CommandType": "Function", - "ParameterSets": "[[-names] ] [[-Resources] ]" - }, - { - "Name": "Configuration", - "CommandType": "Function", - "ParameterSets": "[[-ResourceModuleTuplesToImport] ] [[-OutputPath] ] [[-Name] ] [[-Body] ] [[-ArgsToBody] ] [[-ConfigurationData] ] [[-InstanceName] ] []" - }, - { - "Name": "ConvertTo-MOFInstance", - "CommandType": "Function", - "ParameterSets": "[-Type] [-Properties] []" - }, - { - "Name": "Generate-VersionInfo", - "CommandType": "Function", - "ParameterSets": "[-KeywordData] [-Value] []" - }, - { - "Name": "Get-CompatibleVersionAddtionaPropertiesStr", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-ComplexResourceQualifier", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "GetCompositeResource", - "CommandType": "Function", - "ParameterSets": "[[-patterns] ] [-configInfo] [[-ignoreParameters] ] [-modules] []" - }, - { - "Name": "Get-ConfigurationErrorCount", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-DscResource", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] [[-Module] ] [-Syntax] []" - }, - { - "Name": "Get-DSCResourceModules", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-EncryptedPassword", - "CommandType": "Function", - "ParameterSets": "[[-Value] ] []" - }, - { - "Name": "GetImplementingModulePath", - "CommandType": "Function", - "ParameterSets": "[-schemaFileName] []" - }, - { - "Name": "Get-InnerMostErrorRecord", - "CommandType": "Function", - "ParameterSets": "[-ErrorRecord] []" - }, - { - "Name": "GetModule", - "CommandType": "Function", - "ParameterSets": "[-modules] [-schemaFileName] []" - }, - { - "Name": "Get-MofInstanceName", - "CommandType": "Function", - "ParameterSets": "[[-mofInstance] ]" - }, - { - "Name": "Get-MofInstanceText", - "CommandType": "Function", - "ParameterSets": "[-aliasId] []" - }, - { - "Name": "GetPatterns", - "CommandType": "Function", - "ParameterSets": "[[-names] ]" - }, - { - "Name": "Get-PositionInfo", - "CommandType": "Function", - "ParameterSets": "[[-sourceMetadata] ]" - }, - { - "Name": "Get-PSCurrentConfigurationNode", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSDefaultConfigurationDocument", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSMetaConfigDocumentInstVersionInfo", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSMetaConfigurationProcessed", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSTopConfigurationName", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PublicKeyFromFile", - "CommandType": "Function", - "ParameterSets": "[-certificatefile] []" - }, - { - "Name": "Get-PublicKeyFromStore", - "CommandType": "Function", - "ParameterSets": "[-certificateid] []" - }, - { - "Name": "GetResourceFromKeyword", - "CommandType": "Function", - "ParameterSets": "[-keyword] [[-patterns] ] [-modules] []" - }, - { - "Name": "GetSyntax", - "CommandType": "Function", - "ParameterSets": null - }, - { - "Name": "ImportCimAndScriptKeywordsFromModule", - "CommandType": "Function", - "ParameterSets": "[-Module] [-resource] [[-functionsToDefine] ] []" - }, - { - "Name": "ImportClassResourcesFromModule", - "CommandType": "Function", - "ParameterSets": "[-Module] [-Resources] [[-functionsToDefine] ] []" - }, - { - "Name": "Initialize-ConfigurationRuntimeState", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] []" - }, - { - "Name": "IsHiddenResource", - "CommandType": "Function", - "ParameterSets": "[-ResourceName] []" - }, - { - "Name": "IsPatternMatched", - "CommandType": "Function", - "ParameterSets": "[[-patterns] ] [-Name] []" - }, - { - "Name": "New-DscChecksum", - "CommandType": "Function", - "ParameterSets": "[-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Node", - "CommandType": "Function", - "ParameterSets": "[-KeywordData] [[-Name] ] [-Value] [-sourceMetadata] []" - }, - { - "Name": "ReadEnvironmentFile", - "CommandType": "Function", - "ParameterSets": "[-FilePath] []" - }, - { - "Name": "Set-NodeExclusiveResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-exclusiveResource] []" - }, - { - "Name": "Set-NodeManager", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-referencedManagers] []" - }, - { - "Name": "Set-NodeResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-requiredResourceList] []" - }, - { - "Name": "Set-NodeResourceSource", - "CommandType": "Function", - "ParameterSets": "[-resourceId] [-referencedResourceSources] []" - }, - { - "Name": "Set-PSCurrentConfigurationNode", - "CommandType": "Function", - "ParameterSets": "[[-nodeName] ] []" - }, - { - "Name": "Set-PSDefaultConfigurationDocument", - "CommandType": "Function", - "ParameterSets": "[[-documentText] ] []" - }, - { - "Name": "Set-PSMetaConfigDocInsProcessedBeforeMeta", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Set-PSMetaConfigVersionInfoV2", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Set-PSTopConfigurationName", - "CommandType": "Function", - "ParameterSets": "[[-Name] ] []" - }, - { - "Name": "StrongConnect", - "CommandType": "Function", - "ParameterSets": "[[-resourceId] ]" - }, - { - "Name": "Test-ConflictingResources", - "CommandType": "Function", - "ParameterSets": "[[-keyword] ] [-properties] [-keywordData] []" - }, - { - "Name": "Test-ModuleReloadRequired", - "CommandType": "Function", - "ParameterSets": "[-SchemaFilePath] []" - }, - { - "Name": "Test-MofInstanceText", - "CommandType": "Function", - "ParameterSets": "[-instanceText] []" - }, - { - "Name": "Test-NodeManager", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "Test-NodeResources", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "Test-NodeResourceSource", - "CommandType": "Function", - "ParameterSets": "[-resourceId] []" - }, - { - "Name": "ThrowError", - "CommandType": "Function", - "ParameterSets": "[-ExceptionName] [-ExceptionMessage] [[-ExceptionObject] ] [-errorId] [-errorCategory] []" - }, - { - "Name": "Update-ConfigurationDocumentRef", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] [-ConfigurationName] []" - }, - { - "Name": "Update-ConfigurationErrorCount", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Update-DependsOn", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" - }, - { - "Name": "Update-LocalConfigManager", - "CommandType": "Function", - "ParameterSets": "[[-localConfigManager] ] [[-resourceManagers] ] [[-reportManagers] ] [[-downloadManagers] ] [[-partialConfigurations] ]" - }, - { - "Name": "Update-ModuleVersion", - "CommandType": "Function", - "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" - }, - { - "Name": "ValidateNoCircleInNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeExclusiveResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeManager", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNodeResourceSource", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateNoNameNodeResources", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "ValidateUpdate-ConfigurationData", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationData] ] []" - }, - { - "Name": "WriteFile", - "CommandType": "Function", - "ParameterSets": "[-Value] [-Path] []" - }, - { - "Name": "Write-Log", - "CommandType": "Function", - "ParameterSets": "[-message] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Write-MetaConfigFile", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" - }, - { - "Name": "Write-NodeMOFFile", - "CommandType": "Function", - "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" - } - ], - "ExportedAliases": [ - "sacfg", - "rtcfg", - "slcm", - "gcfg", - "upcfg", - "ulcm", - "glcm", - "tcfg", - "pbcfg", - "gcfgs" - ] - }, - { - "Name": "PSDiagnostics", - "Version": "1.0.0.0", - "ExportedCommands": [ - { - "Name": "Disable-PSTrace", - "CommandType": "Function", - "ParameterSets": "[-AnalyticOnly]" - }, - { - "Name": "Enable-PSTrace", - "CommandType": "Function", - "ParameterSets": "[-Force] [-AnalyticOnly]" - }, - { - "Name": "Get-LogProperties", - "CommandType": "Function", - "ParameterSets": "[-Name] []" - }, - { - "Name": "Set-LogProperties", - "CommandType": "Function", - "ParameterSets": "[-LogDetails] [-Force] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Name": "PSReadLine", - "Version": "1.2", - "ExportedCommands": [ - { - "Name": "PSConsoleHostReadline", - "CommandType": "Function", - "ParameterSets": "" - }, - { - "Name": "Get-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Bound] [-Unbound] []" - }, - { - "Name": "Get-PSReadlineOption", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Remove-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Chord] [-ViMode ] []" - }, - { - "Name": "Set-PSReadlineKeyHandler", - "CommandType": "Cmdlet", - "ParameterSets": "[-Chord] [-ScriptBlock] [-BriefDescription ] [-Description ] [-ViMode ] [] [-Chord] [-Function] [-ViMode ] []" - }, - { - "Name": "Set-PSReadlineOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-EditMode ] [-ContinuationPrompt ] [-ContinuationPromptForegroundColor ] [-ContinuationPromptBackgroundColor ] [-EmphasisForegroundColor ] [-EmphasisBackgroundColor ] [-ErrorForegroundColor ] [-ErrorBackgroundColor ] [-HistoryNoDuplicates] [-AddToHistoryHandler ] [-CommandValidationHandler ] [-HistorySearchCursorMovesToEnd] [-MaximumHistoryCount ] [-MaximumKillRingCount ] [-ResetTokenColors] [-ShowToolTips] [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] [-BellStyle ] [-CompletionQueryItems ] [-WordDelimiters ] [-HistorySearchCaseSensitive] [-HistorySaveStyle ] [-HistorySavePath ] [-ViModeIndicator ] [] [-TokenKind] [[-ForegroundColor] ] [[-BackgroundColor] ] []" - } - ], - "ExportedAliases": [ - - ] - }, - { - "Version": "6.0.0", - "Name": "Microsoft.PowerShell.Core", - "ExportedCommands": [ - { - "Name": "Add-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-InputObject] ] [-Passthru] []" - }, - { - "Name": "Clear-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] [[-Count] ] [-CommandLine ] [-Newest] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Connect-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "-Name [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Session] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -ComputerName -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Debug-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Job] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disable-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Disconnect-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Session] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -Name [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enable-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] [-SecurityDescriptorSddl ] [-SkipNetworkProfileCheck] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Enter-PSHostProcess", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [[-AppDomainName] ] [] [-Process] [[-AppDomainName] ] [] [-Name] [[-AppDomainName] ] [] [-HostProcessInfo] [[-AppDomainName] ] []" - }, - { - "Name": "Enter-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-ComputerName] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [[-Session] ] [] [[-ConnectionUri] ] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-InstanceId ] [] [[-Id] ] [] [-Name ] [] [-VMId] [-Credential] [-ConfigurationName ] [] [-VMName] [-Credential] [-ConfigurationName ] [] [-ContainerId] [-ConfigurationName ] [-RunAsAdministrator] [] -HostName -UserName [-KeyFilePath ] []" - }, - { - "Name": "Exit-PSHostProcess", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Exit-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[]" - }, - { - "Name": "Export-ModuleMember", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Function] ] [-Cmdlet ] [-Variable ] [-Alias ] []" - }, - { - "Name": "ForEach-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-Process] [-InputObject ] [-Begin ] [-End ] [-RemainingScripts ] [-WhatIf] [-Confirm] [] [-MemberName] [-InputObject ] [-ArgumentList ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Get-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ArgumentList] ] [-Verb ] [-Noun ] [-Module ] [-FullyQualifiedModule ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] [] [[-Name] ] [[-ArgumentList] ] [-Module ] [-FullyQualifiedModule ] [-CommandType ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] []" - }, - { - "Name": "Get-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [-Full] [] [[-Name] ] -Detailed [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Examples [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Parameter [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Online [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -ShowWindow [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] []" - }, - { - "Name": "Get-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [[-Count] ] []" - }, - { - "Name": "Get-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-InstanceId] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-Name] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-State] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [-Command ] [] [-Filter] []" - }, - { - "Name": "Get-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-FullyQualifiedName ] [-All] [] [[-Name] ] -CimSession [-FullyQualifiedName ] [-ListAvailable] [-Refresh] [-CimResourceUri ] [-CimNamespace ] [] [[-Name] ] -ListAvailable [-FullyQualifiedName ] [-All] [-PSEdition ] [-Refresh] [] [[-Name] ] -PSSession [-FullyQualifiedName ] [-ListAvailable] [-PSEdition ] [-Refresh] []" - }, - { - "Name": "Get-PSHostProcessInfo", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [] [-Process] [] [-Id] []" - }, - { - "Name": "Get-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name ] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] -ContainerId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -ContainerId [-ConfigurationName ] [-State ] [] -VMId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMId [-ConfigurationName ] [-State ] [] -VMName [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMName [-ConfigurationName ] [-State ] [] [-InstanceId ] [] [-Id] []" - }, - { - "Name": "Get-PSSessionCapability", - "CommandType": "Cmdlet", - "ParameterSets": "[-ConfigurationName] [-Username] [-Full] []" - }, - { - "Name": "Get-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Name] ] [-Force] []" - }, - { - "Name": "Import-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -CimSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [-CimResourceUri ] [-CimNamespace ] [] [-FullyQualifiedName] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-FullyQualifiedName] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Assembly] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-ModuleInfo] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] []" - }, - { - "Name": "Invoke-Command", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [-NoNewScope] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-FilePath] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-ScriptBlock] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-InputObject ] [-ArgumentList ] [] [[-ComputerName] ] [-ScriptBlock] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ComputerName] ] [-FilePath] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [] [[-ConnectionUri] ] [-ScriptBlock] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ConnectionUri] ] [-FilePath] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-InputObject ] [-ArgumentList ] [] [-VMId] [-ScriptBlock] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-VMId] [-FilePath] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-FilePath] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-InputObject ] [-ArgumentList ] [] [-FilePath] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-InputObject ] [-ArgumentList ] [] [-HostName] [-ScriptBlock] -UserName [-AsJob] [-HideComputerName] [-KeyFilePath ] [-InputObject ] [-ArgumentList ] [] [-HostName] [-FilePath] -UserName [-AsJob] [-HideComputerName] [-KeyFilePath ] [-InputObject ] [-ArgumentList ] []" - }, - { - "Name": "Invoke-History", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Id] ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] [] [-Name] [-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] []" - }, - { - "Name": "New-ModuleManifest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-CompatiblePSEditions ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "New-PSRoleCapabilityFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-ScriptsToProcess ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] []" - }, - { - "Name": "New-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[[-ComputerName] ] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-ThrottleLimit ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-VMId] -Credential [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [-ConnectionUri] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-ThrottleLimit ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] -Credential -VMName [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [[-Session] ] [-Name ] [-EnableNetworkAccess] [-ThrottleLimit ] [] -ContainerId [-Name ] [-ConfigurationName ] [-RunAsAdministrator] [-ThrottleLimit ] [] -HostName -UserName [-Name ] [-KeyFilePath ] []" - }, - { - "Name": "New-PSSessionConfigurationFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] [-SchemaVersion ] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-SessionType ] [-TranscriptDirectory ] [-RunAsVirtualAccount] [-RunAsVirtualAccountGroups ] [-MountUserDrive] [-UserDriveMaximumSize ] [-GroupManagedServiceAccount ] [-ScriptsToProcess ] [-RoleDefinitions ] [-RequiredGroups ] [-LanguageMode ] [-ExecutionPolicy ] [-PowerShellVersion ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] [-Full] []" - }, - { - "Name": "New-PSSessionOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-MaximumRedirection ] [-NoCompression] [-NoMachineProfile] [-Culture ] [-UICulture ] [-MaximumReceivedDataSizePerCommand ] [-MaximumReceivedObjectSize ] [-OutputBufferingMode ] [-MaxConnectionRetryCount ] [-ApplicationArguments ] [-OpenTimeout ] [-CancelTimeout ] [-IdleTimeout ] [-ProxyAccessType ] [-ProxyAuthentication ] [-ProxyCredential ] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-OperationTimeout ] [-NoEncryption] [-UseUTF16] [-IncludePortInSPN] []" - }, - { - "Name": "New-PSTransportOption", - "CommandType": "Cmdlet", - "ParameterSets": "[-MaxIdleTimeoutSec ] [-ProcessIdleTimeoutSec ] [-MaxSessions ] [-MaxConcurrentCommandsPerSession ] [-MaxSessionsPerUser ] [-MaxMemoryPerSessionMB ] [-MaxProcessesPerSession ] [-MaxConcurrentUsers ] [-IdleTimeoutSec ] [-OutputBufferingMode ] []" - }, - { - "Name": "Out-Default", - "CommandType": "Cmdlet", - "ParameterSets": "[-Transcript] [-InputObject ] []" - }, - { - "Name": "Out-Host", - "CommandType": "Cmdlet", - "ParameterSets": "[-Paging] [-InputObject ] []" - }, - { - "Name": "Out-Null", - "CommandType": "Cmdlet", - "ParameterSets": "[-InputObject ] []" - }, - { - "Name": "Receive-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Job] [[-Location] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-Session] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-ComputerName] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Name] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-InstanceId] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Id] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] []" - }, - { - "Name": "Receive-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Session] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Id] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ComputerName] -Name [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -Name [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-InstanceId] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Name] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Register-ArgumentCompleter", - "CommandType": "Cmdlet", - "ParameterSets": "-CommandName -ScriptBlock [-Native] [] -ParameterName -ScriptBlock [-CommandName ] []" - }, - { - "Name": "Register-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-ProcessorArchitecture ] [-SessionType ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ProcessorArchitecture ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-ProcessorArchitecture ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-Force] [-WhatIf] [-Confirm] [] [-Job] [-Force] [-WhatIf] [-Confirm] [] [-InstanceId] [-Force] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-WhatIf] [-Confirm] [] [-Filter] [-Force] [-WhatIf] [-Confirm] [] [-State] [-WhatIf] [-Confirm] [] [-Command ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-Module", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Force] [-WhatIf] [-Confirm] [] [-FullyQualifiedName] [-Force] [-WhatIf] [-Confirm] [] [-ModuleInfo] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Remove-PSSession", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-WhatIf] [-Confirm] [] [-Session] [-WhatIf] [-Confirm] [] -ContainerId [-WhatIf] [-Confirm] [] -VMId [-WhatIf] [-Confirm] [] -VMName [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Save-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[-DestinationPath] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] [] [[-Module] ] [[-UICulture] ] -LiteralPath [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] []" - }, - { - "Name": "Set-PSDebug", - "CommandType": "Cmdlet", - "ParameterSets": "[-Trace ] [-Step] [-Strict] [] [-Off] []" - }, - { - "Name": "Set-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Set-StrictMode", - "CommandType": "Cmdlet", - "ParameterSets": "-Version [] -Off []" - }, - { - "Name": "Start-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-ScriptBlock] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-DefinitionName] [[-DefinitionPath] ] [[-Type] ] [] [-FilePath] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [[-InitializationScript] ] -LiteralPath [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] -HostName -UserName [-KeyFilePath ] []" - }, - { - "Name": "Stop-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Job] [-PassThru] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-WhatIf] [-Confirm] [] [-InstanceId] [-PassThru] [-WhatIf] [-Confirm] [] [-State] [-PassThru] [-WhatIf] [-Confirm] [] [-Filter] [-PassThru] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Test-ModuleManifest", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] []" - }, - { - "Name": "Test-PSSessionConfigurationFile", - "CommandType": "Cmdlet", - "ParameterSets": "[-Path] []" - }, - { - "Name": "Unregister-PSSessionConfiguration", - "CommandType": "Cmdlet", - "ParameterSets": "[-Name] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Update-Help", - "CommandType": "Cmdlet", - "ParameterSets": "[[-Module] ] [[-SourcePath] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] [] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-LiteralPath ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] []" - }, - { - "Name": "Wait-Job", - "CommandType": "Cmdlet", - "ParameterSets": "[-Id] [-Any] [-Timeout ] [-Force] [] [-Job] [-Any] [-Timeout ] [-Force] [] [-Name] [-Any] [-Timeout ] [-Force] [] [-InstanceId] [-Any] [-Timeout ] [-Force] [] [-State] [-Any] [-Timeout ] [-Force] [] [-Filter] [-Any] [-Timeout ] [-Force] []" - }, - { - "Name": "Where-Object", - "CommandType": "Cmdlet", - "ParameterSets": "[-Property] [[-Value] ] [-InputObject ] [-EQ] [] [-FilterScript] [-InputObject ] [] [-Property] [[-Value] ] -NotLike [-InputObject ] [] [-Property] [[-Value] ] -CEQ [-InputObject ] [] [-Property] [[-Value] ] -NE [-InputObject ] [] [-Property] [[-Value] ] -CNE [-InputObject ] [] [-Property] [[-Value] ] -GT [-InputObject ] [] [-Property] [[-Value] ] -CGT [-InputObject ] [] [-Property] [[-Value] ] -LT [-InputObject ] [] [-Property] [[-Value] ] -CLT [-InputObject ] [] [-Property] [[-Value] ] -GE [-InputObject ] [] [-Property] [[-Value] ] -CGE [-InputObject ] [] [-Property] [[-Value] ] -LE [-InputObject ] [] [-Property] [[-Value] ] -CLE [-InputObject ] [] [-Property] [[-Value] ] -Like [-InputObject ] [] [-Property] [[-Value] ] -CLike [-InputObject ] [] [-Property] [[-Value] ] -CNotLike [-InputObject ] [] [-Property] [[-Value] ] -Match [-InputObject ] [] [-Property] [[-Value] ] -CMatch [-InputObject ] [] [-Property] [[-Value] ] -NotMatch [-InputObject ] [] [-Property] [[-Value] ] -CNotMatch [-InputObject ] [] [-Property] [[-Value] ] -Contains [-InputObject ] [] [-Property] [[-Value] ] -CContains [-InputObject ] [] [-Property] [[-Value] ] -NotContains [-InputObject ] [] [-Property] [[-Value] ] -CNotContains [-InputObject ] [] [-Property] [[-Value] ] -In [-InputObject ] [] [-Property] [[-Value] ] -CIn [-InputObject ] [] [-Property] [[-Value] ] -NotIn [-InputObject ] [] [-Property] [[-Value] ] -CNotIn [-InputObject ] [] [-Property] [[-Value] ] -Is [-InputObject ] [] [-Property] [[-Value] ] -IsNot [-InputObject ] []" - } - ], - "ExportedAliases": [ - "%", - "?", - "clhy", - "cnsn", - "dnsn", - "etsn", - "exsn", - "foreach", - "gcm", - "ghy", - "gjb", - "gmo", - "gsn", - "h", - "history", - "icm", - "ihy", - "ipmo", - "nmo", - "nsn", - "oh", - "r", - "rcjb", - "rcsn", - "rjb", - "rmo", - "rsn", - "sajb", - "spjb", - "where", - "wjb" - ] - } - ], - "SchemaVersion": "0.0.1" -} diff --git a/Engine/Settings/core-6.0.2-linux.json b/Engine/Settings/core-6.0.2-linux.json new file mode 100644 index 000000000..4c7962dd2 --- /dev/null +++ b/Engine/Settings/core-6.0.2-linux.json @@ -0,0 +1,1648 @@ +{ + "Modules": [ + { + "Name": "Microsoft.PowerShell.Archive", + "Version": "1.1.0.0", + "ExportedCommands": [ + { + "Name": "Compress-Archive", + "CommandType": "Function", + "ParameterSets": "[-Path] [-DestinationPath] [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Update [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Force [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Update [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Force [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Expand-Archive", + "CommandType": "Function", + "ParameterSets": "[-Path] [[-DestinationPath] ] [-Force] [-PassThru] [-WhatIf] [-Confirm] [] [[-DestinationPath] ] -LiteralPath [-Force] [-PassThru] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Host", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Start-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-LiteralPath] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-OutputDirectory] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Management", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "Add-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] []" + }, + { + "Name": "Clear-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Clear-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Clear-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Convert-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [] -LiteralPath []" + }, + { + "Name": "Copy-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Destination] ] [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] [] [[-Destination] ] -LiteralPath [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] []" + }, + { + "Name": "Copy-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Debug-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InputObject [-WhatIf] [-Confirm] []" + }, + { + "Name": "Get-ChildItem", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Filter] ] [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-FollowSymlink] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [] [[-Filter] ] -LiteralPath [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-FollowSymlink] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] []" + }, + { + "Name": "Get-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-AsByteStream] [] -LiteralPath [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-AsByteStream] []" + }, + { + "Name": "Get-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] []" + }, + { + "Name": "Get-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Name] ] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [[-Name] ] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" + }, + { + "Name": "Get-ItemPropertyValue", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-Name] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [-Name] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" + }, + { + "Name": "Get-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PSProvider ] [-PSDrive ] [] [-Stack] [-StackName ] []" + }, + { + "Name": "Get-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Module] [-FileVersionInfo] [] [[-Name] ] -IncludeUserName [] -Id [-Module] [-FileVersionInfo] [] -Id -IncludeUserName [] -InputObject -IncludeUserName [] -InputObject [-Module] [-FileVersionInfo] []" + }, + { + "Name": "Get-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Scope ] [-PSProvider ] [] [-LiteralName] [-Scope ] [-PSProvider ] []" + }, + { + "Name": "Get-PSProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-PSProvider] ] []" + }, + { + "Name": "Get-TimeZone", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [] -Id [] -ListAvailable []" + }, + { + "Name": "Invoke-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Join-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ChildPath] [[-AdditionalChildPath] ] [-Resolve] [-Credential ] []" + }, + { + "Name": "Move-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Destination] ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [[-Destination] ] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Move-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-PSProvider] [-Root] [-Description ] [-Scope ] [-Persist] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Pop-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PassThru] [-StackName ] []" + }, + { + "Name": "Push-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-PassThru] [-StackName ] [] [-LiteralPath ] [-PassThru] [-StackName ] []" + }, + { + "Name": "Remove-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] [-LiteralName] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Rename-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-NewName] [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [-NewName] -LiteralPath [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Rename-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-NewName] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-NewName] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Resolve-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Relative] [-Credential ] [] -LiteralPath [-Relative] [-Credential ] []" + }, + { + "Name": "Set-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] []" + }, + { + "Name": "Set-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-Value] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Path] -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-Value] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-PassThru] [] -LiteralPath [-PassThru] [] [-PassThru] [-StackName ] []" + }, + { + "Name": "Split-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Parent] [-Resolve] [-Credential ] [] [-Path] [-LeafBase] [-Resolve] [-Credential ] [] [-Path] [-Leaf] [-Resolve] [-Credential ] [] [-Path] [-Extension] [-Resolve] [-Credential ] [] [-Path] [-Qualifier] [-Resolve] [-Credential ] [] [-Path] [-NoQualifier] [-Resolve] [-Credential ] [] [-Path] [-Resolve] [-IsAbsolute] [-Credential ] [] -LiteralPath [-Resolve] [-Credential ] []" + }, + { + "Name": "Start-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [[-ArgumentList] ] [-Credential ] [-WorkingDirectory ] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError ] [-RedirectStandardInput ] [-RedirectStandardOutput ] [-WindowStyle ] [-Wait] [-UseNewEnvironment] [-WhatIf] [-Confirm] [] [-FilePath] [[-ArgumentList] ] [-WorkingDirectory ] [-PassThru] [-Verb ] [-WindowStyle ] [-Wait] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Test-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] []" + }, + { + "Name": "Wait-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Timeout] ] [] [-Id] [[-Timeout] ] [] [[-Timeout] ] -InputObject []" + } + ], + "ExportedAliases": [ + "gtz" + ] + }, + { + "Name": "Microsoft.PowerShell.Security", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "ConvertFrom-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-SecureString] [[-SecureKey] ] [] [-SecureString] [-Key ] []" + }, + { + "Name": "ConvertTo-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-String] [[-SecureKey] ] [] [-String] [-AsPlainText] [-Force] [] [-String] [-Key ] []" + }, + { + "Name": "Get-Credential", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Credential] ] [] [[-UserName] ] [-Message ] [-Title ] []" + }, + { + "Name": "Get-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Scope] ] [-List] []" + }, + { + "Name": "Get-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [] -LiteralPath []" + }, + { + "Name": "Set-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Utility", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "Add-Member", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject -TypeName [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyMembers] -InputObject [-TypeName ] [-Force] [-PassThru] []" + }, + { + "Name": "Add-Type", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeDefinition] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Name] [-MemberDefinition] [-Namespace ] [-UsingNamespace ] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Path] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -LiteralPath [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -AssemblyName [-PassThru] [-IgnoreWarnings] []" + }, + { + "Name": "Clear-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Compare-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-ReferenceObject] [-DifferenceObject] [-SyncWindow ] [-Property ] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "ConvertFrom-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [[-Delimiter] ] [-Header ] [] [-InputObject] -UseCulture [-Header ] []" + }, + { + "Name": "ConvertFrom-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-AsHashtable] []" + }, + { + "Name": "ConvertFrom-StringData", + "CommandType": "Cmdlet", + "ParameterSets": "[-StringData] []" + }, + { + "Name": "ConvertTo-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [[-Delimiter] ] [-IncludeTypeInformation] [-NoTypeInformation] [] [-InputObject] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] []" + }, + { + "Name": "ConvertTo-Html", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [[-Head] ] [[-Title] ] [[-Body] ] [-InputObject ] [-As ] [-CssUri ] [-PostContent ] [-PreContent ] [-Meta ] [-Charset ] [-Transitional] [] [[-Property] ] [-InputObject ] [-As ] [-Fragment] [-PostContent ] [-PreContent ] []" + }, + { + "Name": "ConvertTo-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Depth ] [-Compress] [-EnumsAsStrings] []" + }, + { + "Name": "ConvertTo-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Depth ] [-NoTypeInformation] [-As ] []" + }, + { + "Name": "Debug-Runspace", + "CommandType": "Cmdlet", + "ParameterSets": "[-Runspace] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] [] [-Id] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Enable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enable-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [-BreakAll] [] [-RunspaceId] [-BreakAll] [] [-Runspace] [-BreakAll] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Export-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Name] ] [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] [] [[-Name] ] -LiteralPath [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Delimiter] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-IncludeTypeInformation] [-NoTypeInformation] [-WhatIf] [-Confirm] [] [[-Path] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject -Path [-Force] [-NoClobber] [-IncludeScriptBlock] [] -InputObject -LiteralPath [-Force] [-NoClobber] [-IncludeScriptBlock] []" + }, + { + "Name": "Export-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [-OutputModule] [[-CommandName] ] [[-FormatTypeName] ] [-Force] [-Encoding ] [-AllowClobber] [-ArgumentList ] [-CommandType ] [-Module ] [-FullyQualifiedModule ] [-Certificate ] []" + }, + { + "Name": "Format-Custom", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-Depth ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Hex", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-WhatIf] [-Confirm] [] -LiteralPath [-WhatIf] [-Confirm] [] -InputObject [-Encoding ] [-Raw] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Format-List", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Table", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Wide", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-AutoSize] [-Column ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Get-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Exclude ] [-Scope ] [] [-Exclude ] [-Scope ] [-Definition ] []" + }, + { + "Name": "Get-Culture", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-Format ] [] [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-UFormat ] []" + }, + { + "Name": "Get-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [] [-EventIdentifier] []" + }, + { + "Name": "Get-EventSubscriber", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [-Force] [] [-SubscriptionId] [-Force] []" + }, + { + "Name": "Get-FileHash", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Algorithm] ] [] [-LiteralPath] [[-Algorithm] ] [] [-InputStream] [[-Algorithm] ] []" + }, + { + "Name": "Get-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] ] [-PowerShellVersion ] []" + }, + { + "Name": "Get-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Member", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-InputObject ] [-MemberType ] [-View ] [-Static] [-Force] []" + }, + { + "Name": "Get-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Script] ] [] -Variable [-Script ] [] -Command [-Script ] [] [-Type] [-Script ] [] [-Id] []" + }, + { + "Name": "Get-PSCallStack", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Random", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Maximum] ] [-SetSeed ] [-Minimum ] [] [-InputObject] [-SetSeed ] [-Count ] []" + }, + { + "Name": "Get-Runspace", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [] [-Id] [] [-InstanceId] []" + }, + { + "Name": "Get-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Get-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "Get-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] ] []" + }, + { + "Name": "Get-UICulture", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Unique", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject ] [-AsString] [] [-InputObject ] [-OnType] []" + }, + { + "Name": "Get-Uptime", + "CommandType": "Cmdlet", + "ParameterSets": "[] [-Since] []" + }, + { + "Name": "Get-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] [-Scope ] []" + }, + { + "Name": "Get-Verb", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Verb] ] [[-Group] ] []" + }, + { + "Name": "Group-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-NoElement] [-AsHashTable] [-AsString] [-InputObject ] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "Import-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Import-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-IncludeTotalCount] [-Skip ] [-First ] [] -LiteralPath [-IncludeTotalCount] [-Skip ] [-First ] []" + }, + { + "Name": "Import-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Delimiter] ] [-LiteralPath ] [-Header ] [-Encoding ] [] [[-Path] ] -UseCulture [-LiteralPath ] [-Header ] [-Encoding ] []" + }, + { + "Name": "Import-LocalizedData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-BindingVariable] ] [[-UICulture] ] [-BaseDirectory ] [-FileName ] [-SupportedCommand ] []" + }, + { + "Name": "Import-PowerShellDataFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [] [-LiteralPath] []" + }, + { + "Name": "Import-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [[-CommandName] ] [[-FormatTypeName] ] [-Prefix ] [-DisableNameChecking] [-AllowClobber] [-ArgumentList ] [-CommandType ] [-Module ] [-FullyQualifiedModule ] [-Certificate ] []" + }, + { + "Name": "Invoke-Expression", + "CommandType": "Cmdlet", + "ParameterSets": "[-Command] []" + }, + { + "Name": "Invoke-RestMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] [-Method ] [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -NoProxy [-Method ] [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod -NoProxy [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] []" + }, + { + "Name": "Invoke-WebRequest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -NoProxy [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod -NoProxy [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] []" + }, + { + "Name": "Measure-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Expression] [-InputObject ] []" + }, + { + "Name": "Measure-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-InputObject ] [-Sum] [-Average] [-Maximum] [-Minimum] [] [[-Property] ] [-InputObject ] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] []" + }, + { + "Name": "New-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [[-Sender] ] [[-EventArguments] ] [[-MessageData] ] []" + }, + { + "Name": "New-Guid", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "New-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeName] [[-ArgumentList] ] [-Property ] [] [-Strict] [-Property ] []" + }, + { + "Name": "New-TemporaryFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-WhatIf] [-Confirm] []" + }, + { + "Name": "New-TimeSpan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Start] ] [[-End] ] [] [-Days ] [-Hours ] [-Minutes ] [-Seconds ] []" + }, + { + "Name": "New-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Value] ] [-Description ] [-Option ] [-Visibility ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Out-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [[-Encoding] ] [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] [[-Encoding] ] -LiteralPath [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Out-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Width ] [-NoNewline] [-InputObject ] [] [-Stream] [-Width ] [-InputObject ] []" + }, + { + "Name": "Read-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Prompt] ] [-AsSecureString] []" + }, + { + "Name": "Register-EngineEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" + }, + { + "Name": "Register-ObjectEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-EventName] [[-SourceIdentifier] ] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" + }, + { + "Name": "Remove-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Scope ] [-Force] []" + }, + { + "Name": "Remove-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [-WhatIf] [-Confirm] [] [-EventIdentifier] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "-TypeData [-WhatIf] [-Confirm] [] [-TypeName] [-WhatIf] [-Confirm] [] -Path [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Select-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-Last ] [-First ] [-Skip ] [-Wait] [] [[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-SkipLast ] [] [-InputObject ] [-Unique] [-Wait] [-Index ] []" + }, + { + "Name": "Select-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Pattern] [-Path] [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -InputObject [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -LiteralPath [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] []" + }, + { + "Name": "Select-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-XPath] [-Xml] [-Namespace ] [] [-XPath] [-Path] [-Namespace ] [] [-XPath] -LiteralPath [-Namespace ] [] [-XPath] -Content [-Namespace ] []" + }, + { + "Name": "Send-MailMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-To] [-Subject] [[-Body] ] [[-SmtpServer] ] -From [-Attachments ] [-Bcc ] [-BodyAsHtml] [-Encoding ] [-Cc ] [-DeliveryNotificationOption ] [-Priority ] [-Credential ] [-UseSsl] [-Port ] []" + }, + { + "Name": "Set-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[-Date] [-DisplayHint ] [-WhatIf] [-Confirm] [] [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Script] [-Line] [[-Column] ] [-Action ] [] [[-Script] ] -Command [-Action ] [] [[-Script] ] -Variable [-Action ] [-Mode ] []" + }, + { + "Name": "Set-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Option] ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [-PassThru] [] [-Name] [-RemoveListener ] [] [-Name] [-RemoveFileListener ] []" + }, + { + "Name": "Set-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Value] ] [-Include ] [-Exclude ] [-Description ] [-Option ] [-Force] [-Visibility ] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Sort-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-Descending] [-Unique] [-Top ] [-InputObject ] [-Culture ] [-CaseSensitive] [] [[-Property] ] -Bottom [-Descending] [-Unique] [-InputObject ] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "Start-Sleep", + "CommandType": "Cmdlet", + "ParameterSets": "[-Seconds] [] -Milliseconds []" + }, + { + "Name": "Tee-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [-InputObject ] [-Append] [] -LiteralPath [-InputObject ] [] -Variable [-InputObject ] []" + }, + { + "Name": "Trace-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Expression] [[-Option] ] [-InputObject ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [] [-Name] [-Command] [[-Option] ] [-InputObject ] [-ArgumentList ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] []" + }, + { + "Name": "Unregister-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] [] [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] [] -TypeName [-MemberType ] [-MemberName ] [-Value ] [-SecondValue ] [-TypeConverter ] [-TypeAdapter ] [-SerializationMethod ] [-TargetTypeForDeserialization ] [-SerializationDepth ] [-DefaultDisplayProperty ] [-InheritPropertySerializationSet ] [-StringSerializationSource ] [-DefaultDisplayPropertySet ] [-DefaultKeyPropertySet ] [-PropertySerializationSet ] [-Force] [-WhatIf] [-Confirm] [] [-TypeData] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Wait-Debugger", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Wait-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [-Timeout ] []" + }, + { + "Name": "Write-Debug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + }, + { + "Name": "Write-Error", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -Exception [-Message ] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -ErrorRecord [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] []" + }, + { + "Name": "Write-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Object] ] [-NoNewline] [-Separator ] [-ForegroundColor ] [-BackgroundColor ] []" + }, + { + "Name": "Write-Information", + "CommandType": "Cmdlet", + "ParameterSets": "[-MessageData] [[-Tags] ] []" + }, + { + "Name": "Write-Output", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-NoEnumerate] []" + }, + { + "Name": "Write-Progress", + "CommandType": "Cmdlet", + "ParameterSets": "[-Activity] [[-Status] ] [[-Id] ] [-PercentComplete ] [-SecondsRemaining ] [-CurrentOperation ] [-ParentId ] [-Completed] [-SourceId ] []" + }, + { + "Name": "Write-Verbose", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + }, + { + "Name": "Write-Warning", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + } + ], + "ExportedAliases": [ + "fhx" + ] + }, + { + "Name": "PackageManagement", + "Version": "1.1.7.0", + "ExportedCommands": [ + { + "Name": "Find-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] []" + }, + { + "Name": "Find-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-AllVersions] [-Source ] [-IncludeDependencies] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Get-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] []" + }, + { + "Name": "Get-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-ListAvailable] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Get-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Import-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Install-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-InputObject] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" + }, + { + "Name": "Install-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Credential ] [-Scope ] [-Source ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Register-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Save-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] []" + }, + { + "Name": "Set-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Location ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Uninstall-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] []" + }, + { + "Name": "Unregister-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Source] ] [-Location ] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "PowerShellGet", + "Version": "1.6.0", + "ExportedCommands": [ + { + "Name": "Find-Command", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-DscResource", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-Module", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] [-AllowPrerelease] []" + }, + { + "Name": "Find-RoleCapability", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-Script", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] [-AllowPrerelease] []" + }, + { + "Name": "Get-InstalledModule", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-AllowPrerelease] []" + }, + { + "Name": "Get-InstalledScript", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllowPrerelease] []" + }, + { + "Name": "Get-PSRepository", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "Install-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Install-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[[-Path] ] -Description [-Version ] [-Author ] [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Publish-Module", + "CommandType": "Function", + "ParameterSets": "-Name [-RequiredVersion ] [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] -Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Publish-Script", + "CommandType": "Function", + "ParameterSets": "-Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Register-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] [-SourceLocation] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] [] -Default [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] []" + }, + { + "Name": "Save-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Save-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] [[-SourceLocation] ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] []" + }, + { + "Name": "Test-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[-Path] [] -LiteralPath []" + }, + { + "Name": "Uninstall-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Uninstall-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Unregister-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] []" + }, + { + "Name": "Update-Module", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-ModuleManifest", + "CommandType": "Function", + "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-Prerelease ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] [-PackageManagementProviders ] [-RequireLicenseAcceptance] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-Script", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[-Path] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-LiteralPath] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [ + "inmo", + "fimo", + "upmo", + "pumo" + ] + }, + { + "Name": "PSDesiredStateConfiguration", + "Version": "0.0", + "ExportedCommands": [ + { + "Name": "Add-NodeKeys", + "CommandType": "Function", + "ParameterSets": "[-ResourceKey] [-keywordName] []" + }, + { + "Name": "AddDscResourceProperty", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "AddDscResourcePropertyFromMetadata", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "CheckResourceFound", + "CommandType": "Function", + "ParameterSets": "[[-names] ] [[-Resources] ]" + }, + { + "Name": "Configuration", + "CommandType": "Function", + "ParameterSets": "[[-ResourceModuleTuplesToImport] ] [[-OutputPath] ] [[-Name] ] [[-Body] ] [[-ArgsToBody] ] [[-ConfigurationData] ] [[-InstanceName] ] []" + }, + { + "Name": "ConvertTo-MOFInstance", + "CommandType": "Function", + "ParameterSets": "[-Type] [-Properties] []" + }, + { + "Name": "Generate-VersionInfo", + "CommandType": "Function", + "ParameterSets": "[-KeywordData] [-Value] []" + }, + { + "Name": "Get-CompatibleVersionAddtionaPropertiesStr", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-ComplexResourceQualifier", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-ConfigurationErrorCount", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-DscResource", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [[-Module] ] [-Syntax] []" + }, + { + "Name": "Get-DSCResourceModules", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-EncryptedPassword", + "CommandType": "Function", + "ParameterSets": "[[-Value] ] []" + }, + { + "Name": "Get-InnerMostErrorRecord", + "CommandType": "Function", + "ParameterSets": "[-ErrorRecord] []" + }, + { + "Name": "Get-MofInstanceName", + "CommandType": "Function", + "ParameterSets": "[[-mofInstance] ]" + }, + { + "Name": "Get-MofInstanceText", + "CommandType": "Function", + "ParameterSets": "[-aliasId] []" + }, + { + "Name": "Get-PositionInfo", + "CommandType": "Function", + "ParameterSets": "[[-sourceMetadata] ]" + }, + { + "Name": "Get-PSCurrentConfigurationNode", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSDefaultConfigurationDocument", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSMetaConfigDocumentInstVersionInfo", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSMetaConfigurationProcessed", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSTopConfigurationName", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PublicKeyFromFile", + "CommandType": "Function", + "ParameterSets": "[-certificatefile] []" + }, + { + "Name": "Get-PublicKeyFromStore", + "CommandType": "Function", + "ParameterSets": "[-certificateid] []" + }, + { + "Name": "GetCompositeResource", + "CommandType": "Function", + "ParameterSets": "[[-patterns] ] [-configInfo] [[-ignoreParameters] ] [-modules] []" + }, + { + "Name": "GetImplementingModulePath", + "CommandType": "Function", + "ParameterSets": "[-schemaFileName] []" + }, + { + "Name": "GetModule", + "CommandType": "Function", + "ParameterSets": "[-modules] [-schemaFileName] []" + }, + { + "Name": "GetPatterns", + "CommandType": "Function", + "ParameterSets": "[[-names] ]" + }, + { + "Name": "GetResourceFromKeyword", + "CommandType": "Function", + "ParameterSets": "[-keyword] [[-patterns] ] [-modules] []" + }, + { + "Name": "GetSyntax", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "ImportCimAndScriptKeywordsFromModule", + "CommandType": "Function", + "ParameterSets": "[-Module] [-resource] [[-functionsToDefine] ] []" + }, + { + "Name": "ImportClassResourcesFromModule", + "CommandType": "Function", + "ParameterSets": "[-Module] [-Resources] [[-functionsToDefine] ] []" + }, + { + "Name": "Initialize-ConfigurationRuntimeState", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] []" + }, + { + "Name": "IsHiddenResource", + "CommandType": "Function", + "ParameterSets": "[-ResourceName] []" + }, + { + "Name": "IsPatternMatched", + "CommandType": "Function", + "ParameterSets": "[[-patterns] ] [-Name] []" + }, + { + "Name": "New-DscChecksum", + "CommandType": "Function", + "ParameterSets": "[-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Node", + "CommandType": "Function", + "ParameterSets": "[-KeywordData] [[-Name] ] [-Value] [-sourceMetadata] []" + }, + { + "Name": "ReadEnvironmentFile", + "CommandType": "Function", + "ParameterSets": "[-FilePath] []" + }, + { + "Name": "Set-NodeExclusiveResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-exclusiveResource] []" + }, + { + "Name": "Set-NodeManager", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-referencedManagers] []" + }, + { + "Name": "Set-NodeResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-requiredResourceList] []" + }, + { + "Name": "Set-NodeResourceSource", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-referencedResourceSources] []" + }, + { + "Name": "Set-PSCurrentConfigurationNode", + "CommandType": "Function", + "ParameterSets": "[[-nodeName] ] []" + }, + { + "Name": "Set-PSDefaultConfigurationDocument", + "CommandType": "Function", + "ParameterSets": "[[-documentText] ] []" + }, + { + "Name": "Set-PSMetaConfigDocInsProcessedBeforeMeta", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Set-PSMetaConfigVersionInfoV2", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Set-PSTopConfigurationName", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "StrongConnect", + "CommandType": "Function", + "ParameterSets": "[[-resourceId] ]" + }, + { + "Name": "Test-ConflictingResources", + "CommandType": "Function", + "ParameterSets": "[[-keyword] ] [-properties] [-keywordData] []" + }, + { + "Name": "Test-ModuleReloadRequired", + "CommandType": "Function", + "ParameterSets": "[-SchemaFilePath] []" + }, + { + "Name": "Test-MofInstanceText", + "CommandType": "Function", + "ParameterSets": "[-instanceText] []" + }, + { + "Name": "Test-NodeManager", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "Test-NodeResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "Test-NodeResourceSource", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "ThrowError", + "CommandType": "Function", + "ParameterSets": "[-ExceptionName] [-ExceptionMessage] [[-ExceptionObject] ] [-errorId] [-errorCategory] []" + }, + { + "Name": "Update-ConfigurationDocumentRef", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] [-ConfigurationName] []" + }, + { + "Name": "Update-ConfigurationErrorCount", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Update-DependsOn", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" + }, + { + "Name": "Update-LocalConfigManager", + "CommandType": "Function", + "ParameterSets": "[[-localConfigManager] ] [[-resourceManagers] ] [[-reportManagers] ] [[-downloadManagers] ] [[-partialConfigurations] ]" + }, + { + "Name": "Update-ModuleVersion", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" + }, + { + "Name": "ValidateNoCircleInNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeExclusiveResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeManager", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeResourceSource", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNoNameNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateUpdate-ConfigurationData", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationData] ] []" + }, + { + "Name": "Write-Log", + "CommandType": "Function", + "ParameterSets": "[-message] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Write-MetaConfigFile", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" + }, + { + "Name": "Write-NodeMOFFile", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" + }, + { + "Name": "WriteFile", + "CommandType": "Function", + "ParameterSets": "[-Value] [-Path] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "PSReadLine", + "Version": "1.2", + "ExportedCommands": [ + { + "Name": "PSConsoleHostReadline", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Bound] [-Unbound] []" + }, + { + "Name": "Get-PSReadlineOption", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Remove-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Chord] [-ViMode ] []" + }, + { + "Name": "Set-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Chord] [-ScriptBlock] [-BriefDescription ] [-Description ] [-ViMode ] [] [-Chord] [-Function] [-ViMode ] []" + }, + { + "Name": "Set-PSReadlineOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-EditMode ] [-ContinuationPrompt ] [-ContinuationPromptForegroundColor ] [-ContinuationPromptBackgroundColor ] [-EmphasisForegroundColor ] [-EmphasisBackgroundColor ] [-ErrorForegroundColor ] [-ErrorBackgroundColor ] [-HistoryNoDuplicates] [-AddToHistoryHandler ] [-CommandValidationHandler ] [-HistorySearchCursorMovesToEnd] [-MaximumHistoryCount ] [-MaximumKillRingCount ] [-ResetTokenColors] [-ShowToolTips] [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] [-BellStyle ] [-CompletionQueryItems ] [-WordDelimiters ] [-HistorySearchCaseSensitive] [-HistorySaveStyle ] [-HistorySavePath ] [-ViModeIndicator ] [] [-TokenKind] [[-ForegroundColor] ] [[-BackgroundColor] ] []" + } + ], + "ExportedAliases": [] + }, + { + "Version": "6.0.2", + "Name": "Microsoft.PowerShell.Core", + "ExportedCommands": [ + { + "Name": "Add-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-InputObject] ] [-Passthru] []" + }, + { + "Name": "Clear-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] [[-Count] ] [-CommandLine ] [-Newest] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Debug-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enter-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-HostName] [-Port ] [-UserName ] [-KeyFilePath ] [-SSHTransport] [] [[-Session] ] [] [[-ConnectionUri] ] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-InstanceId ] [] [[-Id] ] [] [-Name ] [] [-VMId] [-Credential] [-ConfigurationName ] [] [-VMName] [-Credential] [-ConfigurationName ] [] [-ContainerId] [-ConfigurationName ] [-RunAsAdministrator] []" + }, + { + "Name": "Exit-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Export-ModuleMember", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Function] ] [-Cmdlet ] [-Variable ] [-Alias ] []" + }, + { + "Name": "ForEach-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Process] [-InputObject ] [-Begin ] [-End ] [-RemainingScripts ] [-WhatIf] [-Confirm] [] [-MemberName] [-InputObject ] [-ArgumentList ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Get-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ArgumentList] ] [-Verb ] [-Noun ] [-Module ] [-FullyQualifiedModule ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] [] [[-Name] ] [[-ArgumentList] ] [-Module ] [-FullyQualifiedModule ] [-CommandType ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] []" + }, + { + "Name": "Get-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [-Full] [] [[-Name] ] -Detailed [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Examples [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Parameter [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Online [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] []" + }, + { + "Name": "Get-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [[-Count] ] []" + }, + { + "Name": "Get-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-InstanceId] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-Name] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-State] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [-Command ] [] [-Filter] []" + }, + { + "Name": "Get-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-FullyQualifiedName ] [-All] [] [[-Name] ] -ListAvailable [-FullyQualifiedName ] [-All] [-PSEdition ] [-Refresh] [] [[-Name] ] -PSSession [-FullyQualifiedName ] [-ListAvailable] [-PSEdition ] [-Refresh] [] [[-Name] ] -CimSession [-FullyQualifiedName ] [-ListAvailable] [-Refresh] [-CimResourceUri ] [-CimNamespace ] []" + }, + { + "Name": "Get-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name ] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] -InstanceId -ContainerId [-ConfigurationName ] [-State ] [] -ContainerId [-ConfigurationName ] [-Name ] [-State ] [] -VMId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMId [-ConfigurationName ] [-State ] [] -VMName [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMName [-ConfigurationName ] [-State ] [] [-InstanceId ] [] [-Id] []" + }, + { + "Name": "Import-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -CimSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [-CimResourceUri ] [-CimNamespace ] [] [-FullyQualifiedName] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-FullyQualifiedName] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Assembly] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-ModuleInfo] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] []" + }, + { + "Name": "Invoke-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [-NoNewScope] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-FilePath] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-ScriptBlock] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-ComputerName] ] [-ScriptBlock] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ComputerName] ] [-FilePath] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-VMId] [-FilePath] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-ConnectionUri] ] [-ScriptBlock] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ConnectionUri] ] [-FilePath] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-VMId] [-ScriptBlock] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-FilePath] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -ScriptBlock -HostName [-Port ] [-AsJob] [-HideComputerName] [-UserName ] [-KeyFilePath ] [-SSHTransport] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-FilePath] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -ScriptBlock -SSHConnection [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -FilePath -HostName [-AsJob] [-HideComputerName] [-UserName ] [-KeyFilePath ] [-SSHTransport] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -FilePath -SSHConnection [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] []" + }, + { + "Name": "Invoke-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] [] [-Name] [-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] []" + }, + { + "Name": "New-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-CompatiblePSEditions ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-PSRoleCapabilityFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-ScriptsToProcess ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] []" + }, + { + "Name": "New-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-ThrottleLimit ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-ConnectionUri] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-ThrottleLimit ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-VMId] -Credential [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] -Credential -VMName [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [[-Session] ] [-Name ] [-EnableNetworkAccess] [-ThrottleLimit ] [] -ContainerId [-Name ] [-ConfigurationName ] [-RunAsAdministrator] [-ThrottleLimit ] [] [-HostName] [-Name ] [-Port ] [-UserName ] [-KeyFilePath ] [-SSHTransport] [] -SSHConnection [-Name ] []" + }, + { + "Name": "New-PSTransportOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaxIdleTimeoutSec ] [-ProcessIdleTimeoutSec ] [-MaxSessions ] [-MaxConcurrentCommandsPerSession ] [-MaxSessionsPerUser ] [-MaxMemoryPerSessionMB ] [-MaxProcessesPerSession ] [-MaxConcurrentUsers ] [-IdleTimeoutSec ] [-OutputBufferingMode ] []" + }, + { + "Name": "Out-Default", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transcript] [-InputObject ] []" + }, + { + "Name": "Out-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[-Paging] [-InputObject ] []" + }, + { + "Name": "Out-Null", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject ] []" + }, + { + "Name": "Receive-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] [[-Location] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-Session] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-ComputerName] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Name] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-InstanceId] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Id] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] []" + }, + { + "Name": "Register-ArgumentCompleter", + "CommandType": "Cmdlet", + "ParameterSets": "-CommandName -ScriptBlock [-Native] [] -ParameterName -ScriptBlock [-CommandName ] []" + }, + { + "Name": "Remove-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-Force] [-WhatIf] [-Confirm] [] [-Job] [-Force] [-WhatIf] [-Confirm] [] [-InstanceId] [-Force] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-WhatIf] [-Confirm] [] [-Filter] [-Force] [-WhatIf] [-Confirm] [] [-State] [-WhatIf] [-Confirm] [] [-Command ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Force] [-WhatIf] [-Confirm] [] [-FullyQualifiedName] [-Force] [-WhatIf] [-Confirm] [] [-ModuleInfo] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-WhatIf] [-Confirm] [] [-Session] [-WhatIf] [-Confirm] [] -ContainerId [-WhatIf] [-Confirm] [] -VMId [-WhatIf] [-Confirm] [] -VMName [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Save-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[-DestinationPath] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] [] [[-Module] ] [[-UICulture] ] -LiteralPath [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] []" + }, + { + "Name": "Set-PSDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Trace ] [-Step] [-Strict] [] [-Off] []" + }, + { + "Name": "Set-StrictMode", + "CommandType": "Cmdlet", + "ParameterSets": "-Version [] -Off []" + }, + { + "Name": "Start-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-DefinitionName] [[-DefinitionPath] ] [[-Type] ] [] [[-InitializationScript] ] -LiteralPath [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-FilePath] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-HostName] []" + }, + { + "Name": "Stop-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Job] [-PassThru] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-WhatIf] [-Confirm] [] [-InstanceId] [-PassThru] [-WhatIf] [-Confirm] [] [-State] [-PassThru] [-WhatIf] [-Confirm] [] [-Filter] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Test-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] []" + }, + { + "Name": "Update-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Module] ] [[-SourcePath] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] [] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-LiteralPath ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Wait-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-Any] [-Timeout ] [-Force] [] [-Job] [-Any] [-Timeout ] [-Force] [] [-Name] [-Any] [-Timeout ] [-Force] [] [-InstanceId] [-Any] [-Timeout ] [-Force] [] [-State] [-Any] [-Timeout ] [-Force] [] [-Filter] [-Any] [-Timeout ] [-Force] []" + }, + { + "Name": "Where-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Property] [[-Value] ] [-InputObject ] [-EQ] [] [-FilterScript] [-InputObject ] [] [-Property] [[-Value] ] -GE [-InputObject ] [] [-Property] [[-Value] ] -CEQ [-InputObject ] [] [-Property] [[-Value] ] -NE [-InputObject ] [] [-Property] [[-Value] ] -CNE [-InputObject ] [] [-Property] [[-Value] ] -GT [-InputObject ] [] [-Property] [[-Value] ] -CGT [-InputObject ] [] [-Property] [[-Value] ] -LT [-InputObject ] [] [-Property] [[-Value] ] -CLT [-InputObject ] [] [-Property] [[-Value] ] -CGE [-InputObject ] [] [-Property] [[-Value] ] -LE [-InputObject ] [] [-Property] [[-Value] ] -CLE [-InputObject ] [] [-Property] [[-Value] ] -Like [-InputObject ] [] [-Property] [[-Value] ] -CLike [-InputObject ] [] [-Property] [[-Value] ] -NotLike [-InputObject ] [] [-Property] [[-Value] ] -CNotLike [-InputObject ] [] [-Property] [[-Value] ] -Match [-InputObject ] [] [-Property] [[-Value] ] -CMatch [-InputObject ] [] [-Property] [[-Value] ] -NotMatch [-InputObject ] [] [-Property] [[-Value] ] -CNotMatch [-InputObject ] [] [-Property] [[-Value] ] -Contains [-InputObject ] [] [-Property] [[-Value] ] -CContains [-InputObject ] [] [-Property] [[-Value] ] -NotContains [-InputObject ] [] [-Property] [[-Value] ] -CNotContains [-InputObject ] [] [-Property] [[-Value] ] -In [-InputObject ] [] [-Property] [[-Value] ] -CIn [-InputObject ] [] [-Property] [[-Value] ] -NotIn [-InputObject ] [] [-Property] [[-Value] ] -CNotIn [-InputObject ] [] [-Property] [[-Value] ] -Is [-InputObject ] [] [-Property] [[-Value] ] -IsNot [-InputObject ] []" + } + ], + "ExportedAliases": [ + "?", + "%", + "clhy", + "etsn", + "exsn", + "foreach", + "gcm", + "ghy", + "gjb", + "gmo", + "gsn", + "h", + "history", + "icm", + "ihy", + "ipmo", + "nmo", + "nsn", + "oh", + "r", + "rcjb", + "rjb", + "rmo", + "rsn", + "sajb", + "spjb", + "where", + "wjb" + ] + } + ], + "SchemaVersion": "0.0.1" +} diff --git a/Engine/Settings/core-6.0.2-macos.json b/Engine/Settings/core-6.0.2-macos.json new file mode 100644 index 000000000..deba26d77 --- /dev/null +++ b/Engine/Settings/core-6.0.2-macos.json @@ -0,0 +1,1648 @@ +{ + "Modules": [ + { + "Name": "Microsoft.PowerShell.Archive", + "Version": "1.1.0.0", + "ExportedCommands": [ + { + "Name": "Compress-Archive", + "CommandType": "Function", + "ParameterSets": "[-Path] [-DestinationPath] [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Update [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Force [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Update [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Force [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Expand-Archive", + "CommandType": "Function", + "ParameterSets": "[-Path] [[-DestinationPath] ] [-Force] [-PassThru] [-WhatIf] [-Confirm] [] [[-DestinationPath] ] -LiteralPath [-Force] [-PassThru] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Host", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Start-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-LiteralPath] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-OutputDirectory] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Management", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "Add-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] []" + }, + { + "Name": "Clear-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Clear-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Clear-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Convert-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [] -LiteralPath []" + }, + { + "Name": "Copy-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Destination] ] [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] [] [[-Destination] ] -LiteralPath [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] []" + }, + { + "Name": "Copy-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Debug-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InputObject [-WhatIf] [-Confirm] []" + }, + { + "Name": "Get-ChildItem", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Filter] ] [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-FollowSymlink] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [] [[-Filter] ] -LiteralPath [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-FollowSymlink] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] []" + }, + { + "Name": "Get-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-AsByteStream] [] -LiteralPath [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-AsByteStream] []" + }, + { + "Name": "Get-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] []" + }, + { + "Name": "Get-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Name] ] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [[-Name] ] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" + }, + { + "Name": "Get-ItemPropertyValue", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-Name] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [-Name] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" + }, + { + "Name": "Get-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PSProvider ] [-PSDrive ] [] [-Stack] [-StackName ] []" + }, + { + "Name": "Get-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Module] [-FileVersionInfo] [] [[-Name] ] -IncludeUserName [] -Id [-Module] [-FileVersionInfo] [] -Id -IncludeUserName [] -InputObject -IncludeUserName [] -InputObject [-Module] [-FileVersionInfo] []" + }, + { + "Name": "Get-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Scope ] [-PSProvider ] [] [-LiteralName] [-Scope ] [-PSProvider ] []" + }, + { + "Name": "Get-PSProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-PSProvider] ] []" + }, + { + "Name": "Get-TimeZone", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [] -Id [] -ListAvailable []" + }, + { + "Name": "Invoke-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Join-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ChildPath] [[-AdditionalChildPath] ] [-Resolve] [-Credential ] []" + }, + { + "Name": "Move-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Destination] ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [[-Destination] ] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Move-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-PSProvider] [-Root] [-Description ] [-Scope ] [-Persist] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Pop-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PassThru] [-StackName ] []" + }, + { + "Name": "Push-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-PassThru] [-StackName ] [] [-LiteralPath ] [-PassThru] [-StackName ] []" + }, + { + "Name": "Remove-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] [-LiteralName] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Rename-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-NewName] [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [-NewName] -LiteralPath [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Rename-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-NewName] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-NewName] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Resolve-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Relative] [-Credential ] [] -LiteralPath [-Relative] [-Credential ] []" + }, + { + "Name": "Set-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] []" + }, + { + "Name": "Set-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-Value] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Path] -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-Value] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-PassThru] [] -LiteralPath [-PassThru] [] [-PassThru] [-StackName ] []" + }, + { + "Name": "Split-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Parent] [-Resolve] [-Credential ] [] [-Path] [-LeafBase] [-Resolve] [-Credential ] [] [-Path] [-Leaf] [-Resolve] [-Credential ] [] [-Path] [-Extension] [-Resolve] [-Credential ] [] [-Path] [-Qualifier] [-Resolve] [-Credential ] [] [-Path] [-NoQualifier] [-Resolve] [-Credential ] [] [-Path] [-Resolve] [-IsAbsolute] [-Credential ] [] -LiteralPath [-Resolve] [-Credential ] []" + }, + { + "Name": "Start-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [[-ArgumentList] ] [-Credential ] [-WorkingDirectory ] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError ] [-RedirectStandardInput ] [-RedirectStandardOutput ] [-WindowStyle ] [-Wait] [-UseNewEnvironment] [-WhatIf] [-Confirm] [] [-FilePath] [[-ArgumentList] ] [-WorkingDirectory ] [-PassThru] [-Verb ] [-WindowStyle ] [-Wait] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Test-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] []" + }, + { + "Name": "Wait-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Timeout] ] [] [-Id] [[-Timeout] ] [] [[-Timeout] ] -InputObject []" + } + ], + "ExportedAliases": [ + "gtz" + ] + }, + { + "Name": "Microsoft.PowerShell.Security", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "ConvertFrom-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-SecureString] [[-SecureKey] ] [] [-SecureString] [-Key ] []" + }, + { + "Name": "ConvertTo-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-String] [[-SecureKey] ] [] [-String] [-AsPlainText] [-Force] [] [-String] [-Key ] []" + }, + { + "Name": "Get-Credential", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Credential] ] [] [[-UserName] ] [-Message ] [-Title ] []" + }, + { + "Name": "Get-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Scope] ] [-List] []" + }, + { + "Name": "Get-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [] -LiteralPath []" + }, + { + "Name": "Set-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Utility", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "Add-Member", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject -TypeName [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyMembers] -InputObject [-TypeName ] [-Force] [-PassThru] []" + }, + { + "Name": "Add-Type", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeDefinition] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Name] [-MemberDefinition] [-Namespace ] [-UsingNamespace ] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Path] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -LiteralPath [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -AssemblyName [-PassThru] [-IgnoreWarnings] []" + }, + { + "Name": "Clear-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Compare-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-ReferenceObject] [-DifferenceObject] [-SyncWindow ] [-Property ] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "ConvertFrom-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [[-Delimiter] ] [-Header ] [] [-InputObject] -UseCulture [-Header ] []" + }, + { + "Name": "ConvertFrom-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-AsHashtable] []" + }, + { + "Name": "ConvertFrom-StringData", + "CommandType": "Cmdlet", + "ParameterSets": "[-StringData] []" + }, + { + "Name": "ConvertTo-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [[-Delimiter] ] [-IncludeTypeInformation] [-NoTypeInformation] [] [-InputObject] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] []" + }, + { + "Name": "ConvertTo-Html", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [[-Head] ] [[-Title] ] [[-Body] ] [-InputObject ] [-As ] [-CssUri ] [-PostContent ] [-PreContent ] [-Meta ] [-Charset ] [-Transitional] [] [[-Property] ] [-InputObject ] [-As ] [-Fragment] [-PostContent ] [-PreContent ] []" + }, + { + "Name": "ConvertTo-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Depth ] [-Compress] [-EnumsAsStrings] []" + }, + { + "Name": "ConvertTo-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Depth ] [-NoTypeInformation] [-As ] []" + }, + { + "Name": "Debug-Runspace", + "CommandType": "Cmdlet", + "ParameterSets": "[-Runspace] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] [] [-Id] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Enable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enable-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [-BreakAll] [] [-RunspaceId] [-BreakAll] [] [-Runspace] [-BreakAll] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Export-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Name] ] [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] [] [[-Name] ] -LiteralPath [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Delimiter] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-IncludeTypeInformation] [-NoTypeInformation] [-WhatIf] [-Confirm] [] [[-Path] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject -Path [-Force] [-NoClobber] [-IncludeScriptBlock] [] -InputObject -LiteralPath [-Force] [-NoClobber] [-IncludeScriptBlock] []" + }, + { + "Name": "Export-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [-OutputModule] [[-CommandName] ] [[-FormatTypeName] ] [-Force] [-Encoding ] [-AllowClobber] [-ArgumentList ] [-CommandType ] [-Module ] [-FullyQualifiedModule ] [-Certificate ] []" + }, + { + "Name": "Format-Custom", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-Depth ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Hex", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-WhatIf] [-Confirm] [] -LiteralPath [-WhatIf] [-Confirm] [] -InputObject [-Encoding ] [-Raw] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Format-List", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Table", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Wide", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-AutoSize] [-Column ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Get-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Exclude ] [-Scope ] [] [-Exclude ] [-Scope ] [-Definition ] []" + }, + { + "Name": "Get-Culture", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-Format ] [] [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-UFormat ] []" + }, + { + "Name": "Get-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [] [-EventIdentifier] []" + }, + { + "Name": "Get-EventSubscriber", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [-Force] [] [-SubscriptionId] [-Force] []" + }, + { + "Name": "Get-FileHash", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Algorithm] ] [] [-LiteralPath] [[-Algorithm] ] [] [-InputStream] [[-Algorithm] ] []" + }, + { + "Name": "Get-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] ] [-PowerShellVersion ] []" + }, + { + "Name": "Get-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Member", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-InputObject ] [-MemberType ] [-View ] [-Static] [-Force] []" + }, + { + "Name": "Get-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Script] ] [] -Variable [-Script ] [] -Command [-Script ] [] [-Type] [-Script ] [] [-Id] []" + }, + { + "Name": "Get-PSCallStack", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Random", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Maximum] ] [-SetSeed ] [-Minimum ] [] [-InputObject] [-SetSeed ] [-Count ] []" + }, + { + "Name": "Get-Runspace", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [] [-Id] [] [-InstanceId] []" + }, + { + "Name": "Get-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Get-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "Get-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] ] []" + }, + { + "Name": "Get-UICulture", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Unique", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject ] [-AsString] [] [-InputObject ] [-OnType] []" + }, + { + "Name": "Get-Uptime", + "CommandType": "Cmdlet", + "ParameterSets": "[] [-Since] []" + }, + { + "Name": "Get-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] [-Scope ] []" + }, + { + "Name": "Get-Verb", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Verb] ] [[-Group] ] []" + }, + { + "Name": "Group-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-NoElement] [-AsHashTable] [-AsString] [-InputObject ] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "Import-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Import-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-IncludeTotalCount] [-Skip ] [-First ] [] -LiteralPath [-IncludeTotalCount] [-Skip ] [-First ] []" + }, + { + "Name": "Import-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Delimiter] ] [-LiteralPath ] [-Header ] [-Encoding ] [] [[-Path] ] -UseCulture [-LiteralPath ] [-Header ] [-Encoding ] []" + }, + { + "Name": "Import-LocalizedData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-BindingVariable] ] [[-UICulture] ] [-BaseDirectory ] [-FileName ] [-SupportedCommand ] []" + }, + { + "Name": "Import-PowerShellDataFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [] [-LiteralPath] []" + }, + { + "Name": "Import-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [[-CommandName] ] [[-FormatTypeName] ] [-Prefix ] [-DisableNameChecking] [-AllowClobber] [-ArgumentList ] [-CommandType ] [-Module ] [-FullyQualifiedModule ] [-Certificate ] []" + }, + { + "Name": "Invoke-Expression", + "CommandType": "Cmdlet", + "ParameterSets": "[-Command] []" + }, + { + "Name": "Invoke-RestMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] [-Method ] [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -NoProxy [-Method ] [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod -NoProxy [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] []" + }, + { + "Name": "Invoke-WebRequest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -NoProxy [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod -NoProxy [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] []" + }, + { + "Name": "Measure-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Expression] [-InputObject ] []" + }, + { + "Name": "Measure-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-InputObject ] [-Sum] [-Average] [-Maximum] [-Minimum] [] [[-Property] ] [-InputObject ] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] []" + }, + { + "Name": "New-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [[-Sender] ] [[-EventArguments] ] [[-MessageData] ] []" + }, + { + "Name": "New-Guid", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "New-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeName] [[-ArgumentList] ] [-Property ] [] [-Strict] [-Property ] []" + }, + { + "Name": "New-TemporaryFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-WhatIf] [-Confirm] []" + }, + { + "Name": "New-TimeSpan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Start] ] [[-End] ] [] [-Days ] [-Hours ] [-Minutes ] [-Seconds ] []" + }, + { + "Name": "New-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Value] ] [-Description ] [-Option ] [-Visibility ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Out-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [[-Encoding] ] [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] [[-Encoding] ] -LiteralPath [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Out-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Width ] [-NoNewline] [-InputObject ] [] [-Stream] [-Width ] [-InputObject ] []" + }, + { + "Name": "Read-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Prompt] ] [-AsSecureString] []" + }, + { + "Name": "Register-EngineEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" + }, + { + "Name": "Register-ObjectEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-EventName] [[-SourceIdentifier] ] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" + }, + { + "Name": "Remove-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Scope ] [-Force] []" + }, + { + "Name": "Remove-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [-WhatIf] [-Confirm] [] [-EventIdentifier] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "-TypeData [-WhatIf] [-Confirm] [] [-TypeName] [-WhatIf] [-Confirm] [] -Path [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Select-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-Last ] [-First ] [-Skip ] [-Wait] [] [[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-SkipLast ] [] [-InputObject ] [-Unique] [-Wait] [-Index ] []" + }, + { + "Name": "Select-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Pattern] [-Path] [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -InputObject [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -LiteralPath [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] []" + }, + { + "Name": "Select-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-XPath] [-Xml] [-Namespace ] [] [-XPath] [-Path] [-Namespace ] [] [-XPath] -LiteralPath [-Namespace ] [] [-XPath] -Content [-Namespace ] []" + }, + { + "Name": "Send-MailMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-To] [-Subject] [[-Body] ] [[-SmtpServer] ] -From [-Attachments ] [-Bcc ] [-BodyAsHtml] [-Encoding ] [-Cc ] [-DeliveryNotificationOption ] [-Priority ] [-Credential ] [-UseSsl] [-Port ] []" + }, + { + "Name": "Set-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[-Date] [-DisplayHint ] [-WhatIf] [-Confirm] [] [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Script] [-Line] [[-Column] ] [-Action ] [] [[-Script] ] -Command [-Action ] [] [[-Script] ] -Variable [-Action ] [-Mode ] []" + }, + { + "Name": "Set-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Option] ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [-PassThru] [] [-Name] [-RemoveListener ] [] [-Name] [-RemoveFileListener ] []" + }, + { + "Name": "Set-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Value] ] [-Include ] [-Exclude ] [-Description ] [-Option ] [-Force] [-Visibility ] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Sort-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-Descending] [-Unique] [-Top ] [-InputObject ] [-Culture ] [-CaseSensitive] [] [[-Property] ] -Bottom [-Descending] [-Unique] [-InputObject ] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "Start-Sleep", + "CommandType": "Cmdlet", + "ParameterSets": "[-Seconds] [] -Milliseconds []" + }, + { + "Name": "Tee-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [-InputObject ] [-Append] [] -LiteralPath [-InputObject ] [] -Variable [-InputObject ] []" + }, + { + "Name": "Trace-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Expression] [[-Option] ] [-InputObject ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [] [-Name] [-Command] [[-Option] ] [-InputObject ] [-ArgumentList ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] []" + }, + { + "Name": "Unregister-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] [] [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] [] -TypeName [-MemberType ] [-MemberName ] [-Value ] [-SecondValue ] [-TypeConverter ] [-TypeAdapter ] [-SerializationMethod ] [-TargetTypeForDeserialization ] [-SerializationDepth ] [-DefaultDisplayProperty ] [-InheritPropertySerializationSet ] [-StringSerializationSource ] [-DefaultDisplayPropertySet ] [-DefaultKeyPropertySet ] [-PropertySerializationSet ] [-Force] [-WhatIf] [-Confirm] [] [-TypeData] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Wait-Debugger", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Wait-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [-Timeout ] []" + }, + { + "Name": "Write-Debug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + }, + { + "Name": "Write-Error", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -Exception [-Message ] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -ErrorRecord [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] []" + }, + { + "Name": "Write-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Object] ] [-NoNewline] [-Separator ] [-ForegroundColor ] [-BackgroundColor ] []" + }, + { + "Name": "Write-Information", + "CommandType": "Cmdlet", + "ParameterSets": "[-MessageData] [[-Tags] ] []" + }, + { + "Name": "Write-Output", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-NoEnumerate] []" + }, + { + "Name": "Write-Progress", + "CommandType": "Cmdlet", + "ParameterSets": "[-Activity] [[-Status] ] [[-Id] ] [-PercentComplete ] [-SecondsRemaining ] [-CurrentOperation ] [-ParentId ] [-Completed] [-SourceId ] []" + }, + { + "Name": "Write-Verbose", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + }, + { + "Name": "Write-Warning", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + } + ], + "ExportedAliases": [ + "fhx" + ] + }, + { + "Name": "PackageManagement", + "Version": "1.1.7.0", + "ExportedCommands": [ + { + "Name": "Find-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] []" + }, + { + "Name": "Find-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-AllVersions] [-Source ] [-IncludeDependencies] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Get-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] []" + }, + { + "Name": "Get-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-ListAvailable] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Get-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Import-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Install-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-InputObject] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" + }, + { + "Name": "Install-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Credential ] [-Scope ] [-Source ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Register-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Save-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] []" + }, + { + "Name": "Set-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Location ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Uninstall-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] []" + }, + { + "Name": "Unregister-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Source] ] [-Location ] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "PowerShellGet", + "Version": "1.6.0", + "ExportedCommands": [ + { + "Name": "Find-Command", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-DscResource", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-Module", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] [-AllowPrerelease] []" + }, + { + "Name": "Find-RoleCapability", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-Script", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] [-AllowPrerelease] []" + }, + { + "Name": "Get-InstalledModule", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-AllowPrerelease] []" + }, + { + "Name": "Get-InstalledScript", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllowPrerelease] []" + }, + { + "Name": "Get-PSRepository", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "Install-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Install-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[[-Path] ] -Description [-Version ] [-Author ] [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Publish-Module", + "CommandType": "Function", + "ParameterSets": "-Name [-RequiredVersion ] [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] -Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Publish-Script", + "CommandType": "Function", + "ParameterSets": "-Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Register-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] [-SourceLocation] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] [] -Default [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] []" + }, + { + "Name": "Save-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Save-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] [[-SourceLocation] ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] []" + }, + { + "Name": "Test-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[-Path] [] -LiteralPath []" + }, + { + "Name": "Uninstall-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Uninstall-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Unregister-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] []" + }, + { + "Name": "Update-Module", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-ModuleManifest", + "CommandType": "Function", + "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-Prerelease ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] [-PackageManagementProviders ] [-RequireLicenseAcceptance] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-Script", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[-Path] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-LiteralPath] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [ + "inmo", + "fimo", + "upmo", + "pumo" + ] + }, + { + "Name": "PSDesiredStateConfiguration", + "Version": "0.0", + "ExportedCommands": [ + { + "Name": "Add-NodeKeys", + "CommandType": "Function", + "ParameterSets": "[-ResourceKey] [-keywordName] []" + }, + { + "Name": "AddDscResourceProperty", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "AddDscResourcePropertyFromMetadata", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "CheckResourceFound", + "CommandType": "Function", + "ParameterSets": "[[-names] ] [[-Resources] ]" + }, + { + "Name": "Configuration", + "CommandType": "Function", + "ParameterSets": "[[-ResourceModuleTuplesToImport] ] [[-OutputPath] ] [[-Name] ] [[-Body] ] [[-ArgsToBody] ] [[-ConfigurationData] ] [[-InstanceName] ] []" + }, + { + "Name": "ConvertTo-MOFInstance", + "CommandType": "Function", + "ParameterSets": "[-Type] [-Properties] []" + }, + { + "Name": "Generate-VersionInfo", + "CommandType": "Function", + "ParameterSets": "[-KeywordData] [-Value] []" + }, + { + "Name": "Get-CompatibleVersionAddtionaPropertiesStr", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-ComplexResourceQualifier", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-ConfigurationErrorCount", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-DscResource", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [[-Module] ] [-Syntax] []" + }, + { + "Name": "Get-DSCResourceModules", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-EncryptedPassword", + "CommandType": "Function", + "ParameterSets": "[[-Value] ] []" + }, + { + "Name": "Get-InnerMostErrorRecord", + "CommandType": "Function", + "ParameterSets": "[-ErrorRecord] []" + }, + { + "Name": "Get-MofInstanceName", + "CommandType": "Function", + "ParameterSets": "[[-mofInstance] ]" + }, + { + "Name": "Get-MofInstanceText", + "CommandType": "Function", + "ParameterSets": "[-aliasId] []" + }, + { + "Name": "Get-PositionInfo", + "CommandType": "Function", + "ParameterSets": "[[-sourceMetadata] ]" + }, + { + "Name": "Get-PSCurrentConfigurationNode", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSDefaultConfigurationDocument", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSMetaConfigDocumentInstVersionInfo", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSMetaConfigurationProcessed", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSTopConfigurationName", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PublicKeyFromFile", + "CommandType": "Function", + "ParameterSets": "[-certificatefile] []" + }, + { + "Name": "Get-PublicKeyFromStore", + "CommandType": "Function", + "ParameterSets": "[-certificateid] []" + }, + { + "Name": "GetCompositeResource", + "CommandType": "Function", + "ParameterSets": "[[-patterns] ] [-configInfo] [[-ignoreParameters] ] [-modules] []" + }, + { + "Name": "GetImplementingModulePath", + "CommandType": "Function", + "ParameterSets": "[-schemaFileName] []" + }, + { + "Name": "GetModule", + "CommandType": "Function", + "ParameterSets": "[-modules] [-schemaFileName] []" + }, + { + "Name": "GetPatterns", + "CommandType": "Function", + "ParameterSets": "[[-names] ]" + }, + { + "Name": "GetResourceFromKeyword", + "CommandType": "Function", + "ParameterSets": "[-keyword] [[-patterns] ] [-modules] []" + }, + { + "Name": "GetSyntax", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "ImportCimAndScriptKeywordsFromModule", + "CommandType": "Function", + "ParameterSets": "[-Module] [-resource] [[-functionsToDefine] ] []" + }, + { + "Name": "ImportClassResourcesFromModule", + "CommandType": "Function", + "ParameterSets": "[-Module] [-Resources] [[-functionsToDefine] ] []" + }, + { + "Name": "Initialize-ConfigurationRuntimeState", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] []" + }, + { + "Name": "IsHiddenResource", + "CommandType": "Function", + "ParameterSets": "[-ResourceName] []" + }, + { + "Name": "IsPatternMatched", + "CommandType": "Function", + "ParameterSets": "[[-patterns] ] [-Name] []" + }, + { + "Name": "New-DscChecksum", + "CommandType": "Function", + "ParameterSets": "[-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Node", + "CommandType": "Function", + "ParameterSets": "[-KeywordData] [[-Name] ] [-Value] [-sourceMetadata] []" + }, + { + "Name": "ReadEnvironmentFile", + "CommandType": "Function", + "ParameterSets": "[-FilePath] []" + }, + { + "Name": "Set-NodeExclusiveResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-exclusiveResource] []" + }, + { + "Name": "Set-NodeManager", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-referencedManagers] []" + }, + { + "Name": "Set-NodeResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-requiredResourceList] []" + }, + { + "Name": "Set-NodeResourceSource", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-referencedResourceSources] []" + }, + { + "Name": "Set-PSCurrentConfigurationNode", + "CommandType": "Function", + "ParameterSets": "[[-nodeName] ] []" + }, + { + "Name": "Set-PSDefaultConfigurationDocument", + "CommandType": "Function", + "ParameterSets": "[[-documentText] ] []" + }, + { + "Name": "Set-PSMetaConfigDocInsProcessedBeforeMeta", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Set-PSMetaConfigVersionInfoV2", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Set-PSTopConfigurationName", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "StrongConnect", + "CommandType": "Function", + "ParameterSets": "[[-resourceId] ]" + }, + { + "Name": "Test-ConflictingResources", + "CommandType": "Function", + "ParameterSets": "[[-keyword] ] [-properties] [-keywordData] []" + }, + { + "Name": "Test-ModuleReloadRequired", + "CommandType": "Function", + "ParameterSets": "[-SchemaFilePath] []" + }, + { + "Name": "Test-MofInstanceText", + "CommandType": "Function", + "ParameterSets": "[-instanceText] []" + }, + { + "Name": "Test-NodeManager", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "Test-NodeResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "Test-NodeResourceSource", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "ThrowError", + "CommandType": "Function", + "ParameterSets": "[-ExceptionName] [-ExceptionMessage] [[-ExceptionObject] ] [-errorId] [-errorCategory] []" + }, + { + "Name": "Update-ConfigurationDocumentRef", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] [-ConfigurationName] []" + }, + { + "Name": "Update-ConfigurationErrorCount", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Update-DependsOn", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" + }, + { + "Name": "Update-LocalConfigManager", + "CommandType": "Function", + "ParameterSets": "[[-localConfigManager] ] [[-resourceManagers] ] [[-reportManagers] ] [[-downloadManagers] ] [[-partialConfigurations] ]" + }, + { + "Name": "Update-ModuleVersion", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" + }, + { + "Name": "ValidateNoCircleInNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeExclusiveResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeManager", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeResourceSource", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNoNameNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateUpdate-ConfigurationData", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationData] ] []" + }, + { + "Name": "Write-Log", + "CommandType": "Function", + "ParameterSets": "[-message] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Write-MetaConfigFile", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" + }, + { + "Name": "Write-NodeMOFFile", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" + }, + { + "Name": "WriteFile", + "CommandType": "Function", + "ParameterSets": "[-Value] [-Path] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "PSReadLine", + "Version": "1.2", + "ExportedCommands": [ + { + "Name": "PSConsoleHostReadline", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Bound] [-Unbound] []" + }, + { + "Name": "Get-PSReadlineOption", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Remove-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Chord] [-ViMode ] []" + }, + { + "Name": "Set-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Chord] [-ScriptBlock] [-BriefDescription ] [-Description ] [-ViMode ] [] [-Chord] [-Function] [-ViMode ] []" + }, + { + "Name": "Set-PSReadlineOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-EditMode ] [-ContinuationPrompt ] [-ContinuationPromptForegroundColor ] [-ContinuationPromptBackgroundColor ] [-EmphasisForegroundColor ] [-EmphasisBackgroundColor ] [-ErrorForegroundColor ] [-ErrorBackgroundColor ] [-HistoryNoDuplicates] [-AddToHistoryHandler ] [-CommandValidationHandler ] [-HistorySearchCursorMovesToEnd] [-MaximumHistoryCount ] [-MaximumKillRingCount ] [-ResetTokenColors] [-ShowToolTips] [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] [-BellStyle ] [-CompletionQueryItems ] [-WordDelimiters ] [-HistorySearchCaseSensitive] [-HistorySaveStyle ] [-HistorySavePath ] [-ViModeIndicator ] [] [-TokenKind] [[-ForegroundColor] ] [[-BackgroundColor] ] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Core", + "Version": "6.0.2", + "ExportedCommands": [ + { + "Name": "Add-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-InputObject] ] [-Passthru] []" + }, + { + "Name": "Clear-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] [[-Count] ] [-CommandLine ] [-Newest] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Debug-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enter-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-HostName] [-Port ] [-UserName ] [-KeyFilePath ] [-SSHTransport] [] [[-Session] ] [] [[-ConnectionUri] ] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-InstanceId ] [] [[-Id] ] [] [-Name ] [] [-VMId] [-Credential] [-ConfigurationName ] [] [-VMName] [-Credential] [-ConfigurationName ] [] [-ContainerId] [-ConfigurationName ] [-RunAsAdministrator] []" + }, + { + "Name": "Exit-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Export-ModuleMember", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Function] ] [-Cmdlet ] [-Variable ] [-Alias ] []" + }, + { + "Name": "ForEach-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Process] [-InputObject ] [-Begin ] [-End ] [-RemainingScripts ] [-WhatIf] [-Confirm] [] [-MemberName] [-InputObject ] [-ArgumentList ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Get-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ArgumentList] ] [-Verb ] [-Noun ] [-Module ] [-FullyQualifiedModule ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] [] [[-Name] ] [[-ArgumentList] ] [-Module ] [-FullyQualifiedModule ] [-CommandType ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] []" + }, + { + "Name": "Get-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [-Full] [] [[-Name] ] -Detailed [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Examples [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Parameter [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Online [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] []" + }, + { + "Name": "Get-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [[-Count] ] []" + }, + { + "Name": "Get-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-InstanceId] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-Name] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-State] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [-Command ] [] [-Filter] []" + }, + { + "Name": "Get-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-FullyQualifiedName ] [-All] [] [[-Name] ] -ListAvailable [-FullyQualifiedName ] [-All] [-PSEdition ] [-Refresh] [] [[-Name] ] -PSSession [-FullyQualifiedName ] [-ListAvailable] [-PSEdition ] [-Refresh] [] [[-Name] ] -CimSession [-FullyQualifiedName ] [-ListAvailable] [-Refresh] [-CimResourceUri ] [-CimNamespace ] []" + }, + { + "Name": "Get-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name ] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] -InstanceId -ContainerId [-ConfigurationName ] [-State ] [] -ContainerId [-ConfigurationName ] [-Name ] [-State ] [] -VMId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMId [-ConfigurationName ] [-State ] [] -VMName [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMName [-ConfigurationName ] [-State ] [] [-InstanceId ] [] [-Id] []" + }, + { + "Name": "Import-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -CimSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [-CimResourceUri ] [-CimNamespace ] [] [-FullyQualifiedName] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-FullyQualifiedName] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Assembly] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-ModuleInfo] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] []" + }, + { + "Name": "Invoke-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [-NoNewScope] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-FilePath] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-ScriptBlock] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-ComputerName] ] [-ScriptBlock] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ComputerName] ] [-FilePath] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-VMId] [-FilePath] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-ConnectionUri] ] [-ScriptBlock] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ConnectionUri] ] [-FilePath] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-VMId] [-ScriptBlock] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-FilePath] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -ScriptBlock -HostName [-Port ] [-AsJob] [-HideComputerName] [-UserName ] [-KeyFilePath ] [-SSHTransport] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-FilePath] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -ScriptBlock -SSHConnection [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -FilePath -HostName [-AsJob] [-HideComputerName] [-UserName ] [-KeyFilePath ] [-SSHTransport] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -FilePath -SSHConnection [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] []" + }, + { + "Name": "Invoke-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] [] [-Name] [-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] []" + }, + { + "Name": "New-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-CompatiblePSEditions ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-PSRoleCapabilityFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-ScriptsToProcess ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] []" + }, + { + "Name": "New-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-ThrottleLimit ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-ConnectionUri] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-ThrottleLimit ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-VMId] -Credential [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] -Credential -VMName [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [[-Session] ] [-Name ] [-EnableNetworkAccess] [-ThrottleLimit ] [] -ContainerId [-Name ] [-ConfigurationName ] [-RunAsAdministrator] [-ThrottleLimit ] [] [-HostName] [-Name ] [-Port ] [-UserName ] [-KeyFilePath ] [-SSHTransport] [] -SSHConnection [-Name ] []" + }, + { + "Name": "New-PSTransportOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaxIdleTimeoutSec ] [-ProcessIdleTimeoutSec ] [-MaxSessions ] [-MaxConcurrentCommandsPerSession ] [-MaxSessionsPerUser ] [-MaxMemoryPerSessionMB ] [-MaxProcessesPerSession ] [-MaxConcurrentUsers ] [-IdleTimeoutSec ] [-OutputBufferingMode ] []" + }, + { + "Name": "Out-Default", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transcript] [-InputObject ] []" + }, + { + "Name": "Out-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[-Paging] [-InputObject ] []" + }, + { + "Name": "Out-Null", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject ] []" + }, + { + "Name": "Receive-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] [[-Location] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-Session] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-ComputerName] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Name] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-InstanceId] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Id] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] []" + }, + { + "Name": "Register-ArgumentCompleter", + "CommandType": "Cmdlet", + "ParameterSets": "-CommandName -ScriptBlock [-Native] [] -ParameterName -ScriptBlock [-CommandName ] []" + }, + { + "Name": "Remove-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-Force] [-WhatIf] [-Confirm] [] [-Job] [-Force] [-WhatIf] [-Confirm] [] [-InstanceId] [-Force] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-WhatIf] [-Confirm] [] [-Filter] [-Force] [-WhatIf] [-Confirm] [] [-State] [-WhatIf] [-Confirm] [] [-Command ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Force] [-WhatIf] [-Confirm] [] [-FullyQualifiedName] [-Force] [-WhatIf] [-Confirm] [] [-ModuleInfo] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-WhatIf] [-Confirm] [] [-Session] [-WhatIf] [-Confirm] [] -ContainerId [-WhatIf] [-Confirm] [] -VMId [-WhatIf] [-Confirm] [] -VMName [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Save-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[-DestinationPath] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] [] [[-Module] ] [[-UICulture] ] -LiteralPath [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] []" + }, + { + "Name": "Set-PSDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Trace ] [-Step] [-Strict] [] [-Off] []" + }, + { + "Name": "Set-StrictMode", + "CommandType": "Cmdlet", + "ParameterSets": "-Version [] -Off []" + }, + { + "Name": "Start-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-DefinitionName] [[-DefinitionPath] ] [[-Type] ] [] [[-InitializationScript] ] -LiteralPath [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-FilePath] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-HostName] []" + }, + { + "Name": "Stop-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Job] [-PassThru] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-WhatIf] [-Confirm] [] [-InstanceId] [-PassThru] [-WhatIf] [-Confirm] [] [-State] [-PassThru] [-WhatIf] [-Confirm] [] [-Filter] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Test-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] []" + }, + { + "Name": "Update-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Module] ] [[-SourcePath] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] [] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-LiteralPath ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Wait-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-Any] [-Timeout ] [-Force] [] [-Job] [-Any] [-Timeout ] [-Force] [] [-Name] [-Any] [-Timeout ] [-Force] [] [-InstanceId] [-Any] [-Timeout ] [-Force] [] [-State] [-Any] [-Timeout ] [-Force] [] [-Filter] [-Any] [-Timeout ] [-Force] []" + }, + { + "Name": "Where-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Property] [[-Value] ] [-InputObject ] [-EQ] [] [-FilterScript] [-InputObject ] [] [-Property] [[-Value] ] -GE [-InputObject ] [] [-Property] [[-Value] ] -CEQ [-InputObject ] [] [-Property] [[-Value] ] -NE [-InputObject ] [] [-Property] [[-Value] ] -CNE [-InputObject ] [] [-Property] [[-Value] ] -GT [-InputObject ] [] [-Property] [[-Value] ] -CGT [-InputObject ] [] [-Property] [[-Value] ] -LT [-InputObject ] [] [-Property] [[-Value] ] -CLT [-InputObject ] [] [-Property] [[-Value] ] -CGE [-InputObject ] [] [-Property] [[-Value] ] -LE [-InputObject ] [] [-Property] [[-Value] ] -CLE [-InputObject ] [] [-Property] [[-Value] ] -Like [-InputObject ] [] [-Property] [[-Value] ] -CLike [-InputObject ] [] [-Property] [[-Value] ] -NotLike [-InputObject ] [] [-Property] [[-Value] ] -CNotLike [-InputObject ] [] [-Property] [[-Value] ] -Match [-InputObject ] [] [-Property] [[-Value] ] -CMatch [-InputObject ] [] [-Property] [[-Value] ] -NotMatch [-InputObject ] [] [-Property] [[-Value] ] -CNotMatch [-InputObject ] [] [-Property] [[-Value] ] -Contains [-InputObject ] [] [-Property] [[-Value] ] -CContains [-InputObject ] [] [-Property] [[-Value] ] -NotContains [-InputObject ] [] [-Property] [[-Value] ] -CNotContains [-InputObject ] [] [-Property] [[-Value] ] -In [-InputObject ] [] [-Property] [[-Value] ] -CIn [-InputObject ] [] [-Property] [[-Value] ] -NotIn [-InputObject ] [] [-Property] [[-Value] ] -CNotIn [-InputObject ] [] [-Property] [[-Value] ] -Is [-InputObject ] [] [-Property] [[-Value] ] -IsNot [-InputObject ] []" + } + ], + "ExportedAliases": [ + "?", + "%", + "clhy", + "etsn", + "exsn", + "foreach", + "gcm", + "ghy", + "gjb", + "gmo", + "gsn", + "h", + "history", + "icm", + "ihy", + "ipmo", + "nmo", + "nsn", + "oh", + "r", + "rcjb", + "rjb", + "rmo", + "rsn", + "sajb", + "spjb", + "where", + "wjb" + ] + } + ], + "SchemaVersion": "0.0.1" +} diff --git a/Engine/Settings/core-6.0.2-windows.json b/Engine/Settings/core-6.0.2-windows.json new file mode 100644 index 000000000..4855177cc --- /dev/null +++ b/Engine/Settings/core-6.0.2-windows.json @@ -0,0 +1,2075 @@ +{ + "SchemaVersion": "0.0.1", + "Modules": [ + { + "Name": "CimCmdlets", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-CimAssociatedInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [[-Association] ] [-ResultClassName ] [-Namespace ] [-OperationTimeoutSec ] [-ResourceUri ] [-ComputerName ] [-KeyOnly] [] [-InputObject] [[-Association] ] -CimSession [-ResultClassName ] [-Namespace ] [-OperationTimeoutSec ] [-ResourceUri ] [-KeyOnly] []" + }, + { + "Name": "Get-CimClass", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ClassName] ] [[-Namespace] ] [-OperationTimeoutSec ] [-ComputerName ] [-MethodName ] [-PropertyName ] [-QualifierName ] [] [[-ClassName] ] [[-Namespace] ] -CimSession [-OperationTimeoutSec ] [-MethodName ] [-PropertyName ] [-QualifierName ] []" + }, + { + "Name": "Get-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] [-ComputerName ] [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] [-Filter ] [-Property ] [] -CimSession -ResourceUri [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-Shallow] [-Filter ] [-Property ] [] -CimSession -Query [-ResourceUri ] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] [] [-ClassName] -CimSession [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] [-Filter ] [-Property ] [] [-InputObject] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [] [-InputObject] [-ResourceUri ] [-ComputerName ] [-OperationTimeoutSec ] [] -ResourceUri [-ComputerName ] [-KeyOnly] [-Namespace ] [-OperationTimeoutSec ] [-Shallow] [-Filter ] [-Property ] [] -Query [-ResourceUri ] [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-Shallow] []" + }, + { + "Name": "Get-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [] [-Id] [] -InstanceId [] -Name []" + }, + { + "Name": "Invoke-CimMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] [[-Arguments] ] [-MethodName] [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-ClassName] [[-Arguments] ] [-MethodName] -CimSession [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -ResourceUri [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-InputObject] [[-Arguments] ] [-MethodName] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-InputObject] [[-Arguments] ] [-MethodName] [-ResourceUri ] [-ComputerName ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -ResourceUri -CimSession [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-CimClass] [[-Arguments] ] [-MethodName] [-ComputerName ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-CimClass] [[-Arguments] ] [-MethodName] -CimSession [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -Query [-QueryDialect ] [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Arguments] ] [-MethodName] -Query -CimSession [-QueryDialect ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] [[-Property] ] [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-ComputerName ] [-ClientOnly] [-WhatIf] [-Confirm] [] [-ClassName] [[-Property] ] -CimSession [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-ClientOnly] [-WhatIf] [-Confirm] [] [[-Property] ] -ResourceUri -CimSession [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [[-Property] ] -ResourceUri [-Key ] [-Namespace ] [-OperationTimeoutSec ] [-ComputerName ] [-WhatIf] [-Confirm] [] [-CimClass] [[-Property] ] -CimSession [-OperationTimeoutSec ] [-ClientOnly] [-WhatIf] [-Confirm] [] [-CimClass] [[-Property] ] [-OperationTimeoutSec ] [-ComputerName ] [-ClientOnly] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [[-Credential] ] [-Authentication ] [-Name ] [-OperationTimeoutSec ] [-SkipTestConnection] [-Port ] [-SessionOption ] [] [[-ComputerName] ] [-CertificateThumbprint ] [-Name ] [-OperationTimeoutSec ] [-SkipTestConnection] [-Port ] [-SessionOption ] []" + }, + { + "Name": "New-CimSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-Protocol] [-UICulture ] [-Culture ] [] [-NoEncryption] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-EncodePortInServicePrincipalName] [-Encoding ] [-HttpPrefix ] [-MaxEnvelopeSizeKB ] [-ProxyAuthentication ] [-ProxyCertificateThumbprint ] [-ProxyCredential ] [-ProxyType ] [-UseSsl] [-UICulture ] [-Culture ] [] [-Impersonation ] [-PacketIntegrity] [-PacketPrivacy] [-UICulture ] [-Culture ] []" + }, + { + "Name": "Register-CimIndicationEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] [[-SourceIdentifier] ] [[-Action] ] [-Namespace ] [-OperationTimeoutSec ] [-ComputerName ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] [] [-ClassName] [[-SourceIdentifier] ] [[-Action] ] -CimSession [-Namespace ] [-OperationTimeoutSec ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] [] [-Query] [[-SourceIdentifier] ] [[-Action] ] -CimSession [-Namespace ] [-QueryDialect ] [-OperationTimeoutSec ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] [] [-Query] [[-SourceIdentifier] ] [[-Action] ] [-Namespace ] [-QueryDialect ] [-OperationTimeoutSec ] [-ComputerName ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" + }, + { + "Name": "Remove-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-ResourceUri ] [-ComputerName ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-InputObject] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [-WhatIf] [-Confirm] [] [-Query] [[-Namespace] ] -CimSession [-OperationTimeoutSec ] [-QueryDialect ] [-WhatIf] [-Confirm] [] [-Query] [[-Namespace] ] [-ComputerName ] [-OperationTimeoutSec ] [-QueryDialect ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-CimSession] [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-ComputerName ] [-ResourceUri ] [-OperationTimeoutSec ] [-Property ] [-PassThru] [-WhatIf] [-Confirm] [] [-InputObject] -CimSession [-ResourceUri ] [-OperationTimeoutSec ] [-Property ] [-PassThru] [-WhatIf] [-Confirm] [] [-Query] -CimSession -Property [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-PassThru] [-WhatIf] [-Confirm] [] [-Query] -Property [-ComputerName ] [-Namespace ] [-OperationTimeoutSec ] [-QueryDialect ] [-PassThru] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [ + "gcim", + "scim", + "ncim", + "rcim", + "icim", + "gcai", + "rcie", + "ncms", + "rcms", + "gcms", + "ncso", + "gcls" + ] + }, + { + "Name": "Microsoft.PowerShell.Archive", + "Version": "1.1.0.0", + "ExportedCommands": [ + { + "Name": "Compress-Archive", + "CommandType": "Function", + "ParameterSets": "[-Path] [-DestinationPath] [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Update [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-Path] [-DestinationPath] -Force [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Update [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath -Force [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] [] [-DestinationPath] -LiteralPath [-CompressionLevel ] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Expand-Archive", + "CommandType": "Function", + "ParameterSets": "[-Path] [[-DestinationPath] ] [-Force] [-PassThru] [-WhatIf] [-Confirm] [] [[-DestinationPath] ] -LiteralPath [-Force] [-PassThru] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Diagnostics", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WinEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[[-LogName] ] [-MaxEvents ] [-ComputerName ] [-Credential ] [-FilterXPath ] [-Force] [-Oldest] [] [-ListLog] [-ComputerName ] [-Credential ] [-Force] [] [-ListProvider] [-ComputerName ] [-Credential ] [] [-ProviderName] [-MaxEvents ] [-ComputerName ] [-Credential ] [-FilterXPath ] [-Force] [-Oldest] [] [-Path] [-MaxEvents ] [-Credential ] [-FilterXPath ] [-Oldest] [] [-FilterHashtable] [-MaxEvents ] [-ComputerName ] [-Credential ] [-Force] [-Oldest] [] [-FilterXml] [-MaxEvents ] [-ComputerName ] [-Credential ] [-Oldest] []" + }, + { + "Name": "New-WinEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-ProviderName] [-Id] [[-Payload] ] [-Version ] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Host", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Start-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-LiteralPath] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [] [[-OutputDirectory] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Management", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "Add-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] []" + }, + { + "Name": "Clear-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" + }, + { + "Name": "Clear-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Clear-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Convert-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [] -LiteralPath []" + }, + { + "Name": "Copy-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Destination] ] [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] [] [[-Destination] ] -LiteralPath [-Container] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [-FromSession ] [-ToSession ] []" + }, + { + "Name": "Copy-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Debug-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] -InputObject [-WhatIf] [-Confirm] []" + }, + { + "Name": "Get-ChildItem", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Filter] ] [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-FollowSymlink] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [] [[-Filter] ] -LiteralPath [-Include ] [-Exclude ] [-Recurse] [-Depth ] [-Force] [-Name] [-Attributes ] [-FollowSymlink] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] []" + }, + { + "Name": "Get-ComputerInfo", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] []" + }, + { + "Name": "Get-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-AsByteStream] [-Stream ] [] -LiteralPath [-ReadCount ] [-TotalCount ] [-Tail ] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] [-AsByteStream] [-Stream ] []" + }, + { + "Name": "Get-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-Stream ] []" + }, + { + "Name": "Get-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Name] ] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [[-Name] ] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" + }, + { + "Name": "Get-ItemPropertyValue", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-Name] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [] [-Name] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] []" + }, + { + "Name": "Get-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PSProvider ] [-PSDrive ] [] [-Stack] [-StackName ] []" + }, + { + "Name": "Get-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Module] [-FileVersionInfo] [] [[-Name] ] -IncludeUserName [] -Id -IncludeUserName [] -Id [-Module] [-FileVersionInfo] [] -InputObject [-Module] [-FileVersionInfo] [] -InputObject -IncludeUserName []" + }, + { + "Name": "Get-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Scope ] [-PSProvider ] [] [-LiteralName] [-Scope ] [-PSProvider ] []" + }, + { + "Name": "Get-PSProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-PSProvider] ] []" + }, + { + "Name": "Get-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-DependentServices] [-RequiredServices] [-Include ] [-Exclude ] [] -DisplayName [-DependentServices] [-RequiredServices] [-Include ] [-Exclude ] [] [-DependentServices] [-RequiredServices] [-Include ] [-Exclude ] [-InputObject ] []" + }, + { + "Name": "Get-TimeZone", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [] -Id [] -ListAvailable []" + }, + { + "Name": "Invoke-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Join-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ChildPath] [[-AdditionalChildPath] ] [-Resolve] [-Credential ] []" + }, + { + "Name": "Move-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Destination] ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [[-Destination] ] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Move-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Destination] [-Name] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Destination] [-Name] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-PropertyType ] [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-PSProvider] [-Root] [-Description ] [-Scope ] [-Persist] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-BinaryPathName] [-DisplayName ] [-Description ] [-StartupType ] [-Credential ] [-DependsOn ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Pop-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PassThru] [-StackName ] []" + }, + { + "Name": "Push-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-PassThru] [-StackName ] [] [-LiteralPath ] [-PassThru] [-StackName ] []" + }, + { + "Name": "Remove-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] []" + }, + { + "Name": "Remove-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] [-LiteralName] [-PSProvider ] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-WhatIf] [-Confirm] [] [-InputObject ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Rename-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-NewName] [-ComputerName ] [-PassThru] [-DomainCredential ] [-LocalCredential ] [-Force] [-Restart] [-WsmanAuthentication ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Rename-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-NewName] [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] [] [-NewName] -LiteralPath [-Force] [-PassThru] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Rename-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-NewName] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-NewName] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Resolve-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Relative] [-Credential ] [] -LiteralPath [-Relative] [-Credential ] []" + }, + { + "Name": "Restart-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [[-Credential] ] [-WsmanAuthentication ] [-Force] [-Wait] [-Timeout ] [-For ] [-Delay ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Restart-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Force] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-Force] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Resume-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] [] [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] []" + }, + { + "Name": "Set-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Name] [-Value] [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Path] -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] [-Name] [-Value] -LiteralPath [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-PassThru] [] -LiteralPath [-PassThru] [] [-PassThru] [-StackName ] []" + }, + { + "Name": "Set-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-DisplayName ] [-Credential ] [-Description ] [-StartupType ] [-Status ] [-PassThru] [-WhatIf] [-Confirm] [] [-InputObject] [-DisplayName ] [-Credential ] [-Description ] [-StartupType ] [-Status ] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-TimeZone", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-PassThru] [-WhatIf] [-Confirm] [] -Id [-PassThru] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Split-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Parent] [-Resolve] [-Credential ] [] [-Path] [-Extension] [-Resolve] [-Credential ] [] [-Path] [-Leaf] [-Resolve] [-Credential ] [] [-Path] [-LeafBase] [-Resolve] [-Credential ] [] [-Path] [-Qualifier] [-Resolve] [-Credential ] [] [-Path] [-NoQualifier] [-Resolve] [-Credential ] [] [-Path] [-Resolve] [-IsAbsolute] [-Credential ] [] -LiteralPath [-Resolve] [-Credential ] []" + }, + { + "Name": "Start-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [[-ArgumentList] ] [-Credential ] [-WorkingDirectory ] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError ] [-RedirectStandardInput ] [-RedirectStandardOutput ] [-WindowStyle ] [-Wait] [-UseNewEnvironment] [-WhatIf] [-Confirm] [] [-FilePath] [[-ArgumentList] ] [-WorkingDirectory ] [-PassThru] [-Verb ] [-WindowStyle ] [-Wait] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Start-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [[-Credential] ] [-WsmanAuthentication ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Stop-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Force] [-NoWait] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-NoWait] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-Force] [-NoWait] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Suspend-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] -DisplayName [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Test-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] -LiteralPath [-Filter ] [-Include ] [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] []" + }, + { + "Name": "Wait-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Timeout] ] [] [-Id] [[-Timeout] ] [] [[-Timeout] ] -InputObject []" + } + ], + "ExportedAliases": [ + "gin", + "gtz", + "stz" + ] + }, + { + "Name": "Microsoft.PowerShell.Security", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "ConvertFrom-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-SecureString] [[-SecureKey] ] [] [-SecureString] [-Key ] []" + }, + { + "Name": "ConvertTo-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-String] [[-SecureKey] ] [] [-String] [-AsPlainText] [-Force] [] [-String] [-Key ] []" + }, + { + "Name": "Get-Acl", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [-Audit] [-Filter ] [-Include ] [-Exclude ] [] -InputObject [-Audit] [-Filter ] [-Include ] [-Exclude ] [] [-LiteralPath ] [-Audit] [-Filter ] [-Include ] [-Exclude ] []" + }, + { + "Name": "Get-AuthenticodeSignature", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [] -LiteralPath [] -SourcePathOrExtension -Content []" + }, + { + "Name": "Get-CmsMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-Content] [] [-Path] [] [-LiteralPath] []" + }, + { + "Name": "Get-Credential", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Credential] ] [] [[-UserName] ] [-Message ] [-Title ] []" + }, + { + "Name": "Get-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Scope] ] [-List] []" + }, + { + "Name": "Get-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [] -LiteralPath []" + }, + { + "Name": "New-FileCatalog", + "CommandType": "Cmdlet", + "ParameterSets": "[-CatalogFilePath] [[-Path] ] [-CatalogVersion ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Protect-CmsMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-To] [-Content] [[-OutFile] ] [] [-To] [-Path] [[-OutFile] ] [] [-To] [-LiteralPath] [[-OutFile] ] []" + }, + { + "Name": "Set-Acl", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-AclObject] [-ClearCentralAccessPolicy] [-Passthru] [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-InputObject] [-AclObject] [-Passthru] [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] [-AclObject] -LiteralPath [-ClearCentralAccessPolicy] [-Passthru] [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-AuthenticodeSignature", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [-Certificate] [-IncludeChain ] [-TimestampServer ] [-HashAlgorithm ] [-Force] [-WhatIf] [-Confirm] [] [-Certificate] -LiteralPath [-IncludeChain ] [-TimestampServer ] [-HashAlgorithm ] [-Force] [-WhatIf] [-Confirm] [] [-Certificate] -SourcePathOrExtension -Content [-IncludeChain ] [-TimestampServer ] [-HashAlgorithm ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Test-FileCatalog", + "CommandType": "Cmdlet", + "ParameterSets": "[-CatalogFilePath] [[-Path] ] [-Detailed] [-FilesToSkip ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Unprotect-CmsMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-EventLogRecord] [[-To] ] [-IncludeContext] [] [-Content] [[-To] ] [-IncludeContext] [] [-Path] [[-To] ] [-IncludeContext] [] [-LiteralPath] [[-To] ] [-IncludeContext] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "Microsoft.PowerShell.Utility", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "ConvertFrom-SddlString", + "CommandType": "Function", + "ParameterSets": "[-Sddl] [-Type ] []" + }, + { + "Name": "Add-Member", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject -TypeName [-PassThru] [] [-NotePropertyMembers] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -InputObject [-TypeName ] [-Force] [-PassThru] []" + }, + { + "Name": "Add-Type", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeDefinition] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Name] [-MemberDefinition] [-Namespace ] [-UsingNamespace ] [-Language ] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] [-Path] [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -LiteralPath [-ReferencedAssemblies ] [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] [] -AssemblyName [-PassThru] [-IgnoreWarnings] []" + }, + { + "Name": "Clear-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Compare-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-ReferenceObject] [-DifferenceObject] [-SyncWindow ] [-Property ] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "ConvertFrom-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [[-Delimiter] ] [-Header ] [] [-InputObject] -UseCulture [-Header ] []" + }, + { + "Name": "ConvertFrom-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-AsHashtable] []" + }, + { + "Name": "ConvertFrom-StringData", + "CommandType": "Cmdlet", + "ParameterSets": "[-StringData] []" + }, + { + "Name": "ConvertTo-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [[-Delimiter] ] [-IncludeTypeInformation] [-NoTypeInformation] [] [-InputObject] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] []" + }, + { + "Name": "ConvertTo-Html", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [[-Head] ] [[-Title] ] [[-Body] ] [-InputObject ] [-As ] [-CssUri ] [-PostContent ] [-PreContent ] [-Meta ] [-Charset ] [-Transitional] [] [[-Property] ] [-InputObject ] [-As ] [-Fragment] [-PostContent ] [-PreContent ] []" + }, + { + "Name": "ConvertTo-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Depth ] [-Compress] [-EnumsAsStrings] []" + }, + { + "Name": "ConvertTo-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-Depth ] [-NoTypeInformation] [-As ] []" + }, + { + "Name": "Debug-Runspace", + "CommandType": "Cmdlet", + "ParameterSets": "[-Runspace] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] [] [-Id] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Enable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Breakpoint] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enable-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [-BreakAll] [] [-Runspace] [-BreakAll] [] [-RunspaceId] [-BreakAll] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Export-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Name] ] [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] [] [[-Name] ] -LiteralPath [-PassThru] [-As ] [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] -LiteralPath -InputObject [-Depth ] [-Force] [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Delimiter] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-IncludeTypeInformation] [-NoTypeInformation] [-WhatIf] [-Confirm] [] [[-Path] ] -InputObject [-LiteralPath ] [-Force] [-NoClobber] [-Encoding ] [-Append] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Export-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject -Path [-Force] [-NoClobber] [-IncludeScriptBlock] [] -InputObject -LiteralPath [-Force] [-NoClobber] [-IncludeScriptBlock] []" + }, + { + "Name": "Export-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [-OutputModule] [[-CommandName] ] [[-FormatTypeName] ] [-Force] [-Encoding ] [-AllowClobber] [-ArgumentList ] [-CommandType ] [-Module ] [-FullyQualifiedModule ] [-Certificate ] []" + }, + { + "Name": "Format-Custom", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-Depth ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Hex", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-WhatIf] [-Confirm] [] -LiteralPath [-WhatIf] [-Confirm] [] -InputObject [-Encoding ] [-Raw] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Format-List", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Table", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Format-Wide", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-AutoSize] [-Column ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] []" + }, + { + "Name": "Get-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Exclude ] [-Scope ] [] [-Exclude ] [-Scope ] [-Definition ] []" + }, + { + "Name": "Get-Culture", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-Format ] [] [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] [-UFormat ] []" + }, + { + "Name": "Get-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [] [-EventIdentifier] []" + }, + { + "Name": "Get-EventSubscriber", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [-Force] [] [-SubscriptionId] [-Force] []" + }, + { + "Name": "Get-FileHash", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [[-Algorithm] ] [] [-LiteralPath] [[-Algorithm] ] [] [-InputStream] [[-Algorithm] ] []" + }, + { + "Name": "Get-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] ] [-PowerShellVersion ] []" + }, + { + "Name": "Get-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Member", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-InputObject ] [-MemberType ] [-View ] [-Static] [-Force] []" + }, + { + "Name": "Get-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Script] ] [] -Variable [-Script ] [] -Command [-Script ] [] [-Type] [-Script ] [] [-Id] []" + }, + { + "Name": "Get-PSCallStack", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Random", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Maximum] ] [-SetSeed ] [-Minimum ] [] [-InputObject] [-SetSeed ] [-Count ] []" + }, + { + "Name": "Get-Runspace", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [] [-Id] [] [-InstanceId] []" + }, + { + "Name": "Get-RunspaceDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RunspaceName] ] [] [-Runspace] [] [-RunspaceId] [] [-RunspaceInstanceId] [] [[-ProcessName] ] [[-AppDomainName] ] []" + }, + { + "Name": "Get-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "Get-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] ] []" + }, + { + "Name": "Get-UICulture", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-Unique", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject ] [-AsString] [] [-InputObject ] [-OnType] []" + }, + { + "Name": "Get-Uptime", + "CommandType": "Cmdlet", + "ParameterSets": "[] [-Since] []" + }, + { + "Name": "Get-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] [-Scope ] []" + }, + { + "Name": "Get-Verb", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Verb] ] [[-Group] ] []" + }, + { + "Name": "Group-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-NoElement] [-AsHashTable] [-AsString] [-InputObject ] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "Import-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Import-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-IncludeTotalCount] [-Skip ] [-First ] [] -LiteralPath [-IncludeTotalCount] [-Skip ] [-First ] []" + }, + { + "Name": "Import-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] ] [[-Delimiter] ] [-LiteralPath ] [-Header ] [-Encoding ] [] [[-Path] ] -UseCulture [-LiteralPath ] [-Header ] [-Encoding ] []" + }, + { + "Name": "Import-LocalizedData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-BindingVariable] ] [[-UICulture] ] [-BaseDirectory ] [-FileName ] [-SupportedCommand ] []" + }, + { + "Name": "Import-PowerShellDataFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [] [-LiteralPath] []" + }, + { + "Name": "Import-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [[-CommandName] ] [[-FormatTypeName] ] [-Prefix ] [-DisableNameChecking] [-AllowClobber] [-ArgumentList ] [-CommandType ] [-Module ] [-FullyQualifiedModule ] [-Certificate ] []" + }, + { + "Name": "Invoke-Expression", + "CommandType": "Cmdlet", + "ParameterSets": "[-Command] []" + }, + { + "Name": "Invoke-RestMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] [-Method ] [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -NoProxy [-Method ] [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod -NoProxy [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod [-FollowRelLink] [-MaximumFollowRelLink ] [-ResponseHeadersVariable ] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] []" + }, + { + "Name": "Invoke-WebRequest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -NoProxy [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Method ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] [] [-Uri] -CustomMethod -NoProxy [-UseBasicParsing] [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] [-Authentication ] [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] [-TimeoutSec ] [-Headers ] [-MaximumRedirection ] [-Body ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-PreserveAuthorizationOnRedirect] [-SkipHeaderValidation] []" + }, + { + "Name": "Measure-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Expression] [-InputObject ] []" + }, + { + "Name": "Measure-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-InputObject ] [-Sum] [-Average] [-Maximum] [-Minimum] [] [[-Property] ] [-InputObject ] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] []" + }, + { + "Name": "New-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [[-Sender] ] [[-EventArguments] ] [[-MessageData] ] []" + }, + { + "Name": "New-Guid", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "New-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeName] [[-ArgumentList] ] [-Property ] [] [-ComObject] [-Strict] [-Property ] []" + }, + { + "Name": "New-TemporaryFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-WhatIf] [-Confirm] []" + }, + { + "Name": "New-TimeSpan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Start] ] [[-End] ] [] [-Days ] [-Hours ] [-Minutes ] [-Seconds ] []" + }, + { + "Name": "New-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Value] ] [-Description ] [-Option ] [-Visibility ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Out-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [[-Encoding] ] [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] [[-Encoding] ] -LiteralPath [-Append] [-Force] [-NoClobber] [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Out-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Width ] [-NoNewline] [-InputObject ] [] [-Stream] [-Width ] [-InputObject ] []" + }, + { + "Name": "Read-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Prompt] ] [-AsSecureString] []" + }, + { + "Name": "Register-EngineEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" + }, + { + "Name": "Register-ObjectEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-EventName] [[-SourceIdentifier] ] [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] []" + }, + { + "Name": "Remove-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Scope ] [-Force] []" + }, + { + "Name": "Remove-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [-WhatIf] [-Confirm] [] [-EventIdentifier] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "-TypeData [-WhatIf] [-Confirm] [] [-TypeName] [-WhatIf] [-Confirm] [] -Path [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Include ] [-Exclude ] [-Force] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Select-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-Last ] [-First ] [-Skip ] [-Wait] [] [[-Property] ] [-InputObject ] [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-SkipLast ] [] [-InputObject ] [-Unique] [-Wait] [-Index ] []" + }, + { + "Name": "Select-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Pattern] [-Path] [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -InputObject [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] [-Pattern] -LiteralPath [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include ] [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] []" + }, + { + "Name": "Select-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-XPath] [-Xml] [-Namespace ] [] [-XPath] [-Path] [-Namespace ] [] [-XPath] -LiteralPath [-Namespace ] [] [-XPath] -Content [-Namespace ] []" + }, + { + "Name": "Send-MailMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-To] [-Subject] [[-Body] ] [[-SmtpServer] ] -From [-Attachments ] [-Bcc ] [-BodyAsHtml] [-Encoding ] [-Cc ] [-DeliveryNotificationOption ] [-Priority ] [-Credential ] [-UseSsl] [-Port ] []" + }, + { + "Name": "Set-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Value] [-Description ] [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[-Date] [-DisplayHint ] [-WhatIf] [-Confirm] [] [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Script] [-Line] [[-Column] ] [-Action ] [] [[-Script] ] -Command [-Action ] [] [[-Script] ] -Variable [-Action ] [-Mode ] []" + }, + { + "Name": "Set-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Option] ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [-PassThru] [] [-Name] [-RemoveListener ] [] [-Name] [-RemoveFileListener ] []" + }, + { + "Name": "Set-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [[-Value] ] [-Include ] [-Exclude ] [-Description ] [-Option ] [-Force] [-Visibility ] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Sort-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] ] [-Descending] [-Unique] [-Top ] [-InputObject ] [-Culture ] [-CaseSensitive] [] [[-Property] ] -Bottom [-Descending] [-Unique] [-InputObject ] [-Culture ] [-CaseSensitive] []" + }, + { + "Name": "Start-Sleep", + "CommandType": "Cmdlet", + "ParameterSets": "[-Seconds] [] -Milliseconds []" + }, + { + "Name": "Tee-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] [-InputObject ] [-Append] [] -LiteralPath [-InputObject ] [] -Variable [-InputObject ] []" + }, + { + "Name": "Trace-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Expression] [[-Option] ] [-InputObject ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] [] [-Name] [-Command] [[-Option] ] [-InputObject ] [-ArgumentList ] [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] []" + }, + { + "Name": "Unblock-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-WhatIf] [-Confirm] [] -LiteralPath [-WhatIf] [-Confirm] []" + }, + { + "Name": "Unregister-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] [] [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] [] -TypeName [-MemberType ] [-MemberName ] [-Value ] [-SecondValue ] [-TypeConverter ] [-TypeAdapter ] [-SerializationMethod ] [-TargetTypeForDeserialization ] [-SerializationDepth ] [-DefaultDisplayProperty ] [-InheritPropertySerializationSet ] [-StringSerializationSource ] [-DefaultDisplayPropertySet ] [-DefaultKeyPropertySet ] [-PropertySerializationSet ] [-Force] [-WhatIf] [-Confirm] [] [-TypeData] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Wait-Debugger", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Wait-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] ] [-Timeout ] []" + }, + { + "Name": "Write-Debug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + }, + { + "Name": "Write-Error", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -Exception [-Message ] [-Category ] [-ErrorId ] [-TargetObject ] [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] [] -ErrorRecord [-RecommendedAction ] [-CategoryActivity ] [-CategoryReason ] [-CategoryTargetName ] [-CategoryTargetType ] []" + }, + { + "Name": "Write-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Object] ] [-NoNewline] [-Separator ] [-ForegroundColor ] [-BackgroundColor ] []" + }, + { + "Name": "Write-Information", + "CommandType": "Cmdlet", + "ParameterSets": "[-MessageData] [[-Tags] ] []" + }, + { + "Name": "Write-Output", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-NoEnumerate] []" + }, + { + "Name": "Write-Progress", + "CommandType": "Cmdlet", + "ParameterSets": "[-Activity] [[-Status] ] [[-Id] ] [-PercentComplete ] [-SecondsRemaining ] [-CurrentOperation ] [-ParentId ] [-Completed] [-SourceId ] []" + }, + { + "Name": "Write-Verbose", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + }, + { + "Name": "Write-Warning", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] []" + } + ], + "ExportedAliases": [ + "fhx" + ] + }, + { + "Name": "Microsoft.WSMan.Management", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Connect-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [-ApplicationName ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ConnectionURI ] [-OptionSet ] [-Port ] [-SessionOption ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" + }, + { + "Name": "Disable-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[-Role] []" + }, + { + "Name": "Disconnect-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] []" + }, + { + "Name": "Enable-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[-Role] [[-DelegateComputer] ] [-Force] []" + }, + { + "Name": "Get-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Get-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] [-ApplicationName ] [-ComputerName ] [-ConnectionURI ] [-Dialect ] [-Fragment ] [-OptionSet ] [-Port ] [-SelectorSet ] [-SessionOption ] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] -Enumerate [-ApplicationName ] [-BasePropertiesOnly] [-ComputerName ] [-ConnectionURI ] [-Dialect ] [-Filter ] [-OptionSet ] [-Port ] [-Associations] [-ReturnType ] [-SessionOption ] [-Shallow] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" + }, + { + "Name": "Invoke-WSManAction", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] [-Action] [[-SelectorSet] ] [-ConnectionURI ] [-FilePath ] [-OptionSet ] [-SessionOption ] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [-Action] [[-SelectorSet] ] [-ApplicationName ] [-ComputerName ] [-FilePath ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" + }, + { + "Name": "New-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] [-SelectorSet] [-ApplicationName ] [-ComputerName ] [-FilePath ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [-SelectorSet] [-ConnectionURI ] [-FilePath ] [-OptionSet ] [-SessionOption ] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" + }, + { + "Name": "New-WSManSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-ProxyAccessType ] [-ProxyAuthentication ] [-ProxyCredential ] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-SPNPort ] [-OperationTimeout ] [-NoEncryption] [-UseUTF16] []" + }, + { + "Name": "Remove-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] [-SelectorSet] [-ApplicationName ] [-ComputerName ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [-SelectorSet] [-ConnectionURI ] [-OptionSet ] [-SessionOption ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" + }, + { + "Name": "Set-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] [[-SelectorSet] ] [-ApplicationName ] [-ComputerName ] [-Dialect ] [-FilePath ] [-Fragment ] [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] [-ResourceURI] [[-SelectorSet] ] [-ConnectionURI ] [-Dialect ] [-FilePath ] [-Fragment ] [-OptionSet ] [-SessionOption ] [-ValueSet ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] []" + }, + { + "Name": "Set-WSManQuickConfig", + "CommandType": "Cmdlet", + "ParameterSets": "[-UseSSL] [-Force] [-SkipNetworkProfileCheck] []" + }, + { + "Name": "Test-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [-Authentication ] [-Port ] [-UseSSL] [-ApplicationName ] [-Credential ] [-CertificateThumbprint ] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "PackageManagement", + "Version": "1.1.7.0", + "ExportedCommands": [ + { + "Name": "Find-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [[-Name] ] [-IncludeDependencies] [-AllVersions] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] [-ProviderName ] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] []" + }, + { + "Name": "Find-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-AllVersions] [-Source ] [-IncludeDependencies] [-Credential ] [-Proxy ] [-ProxyCredential ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Get-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [[-Name] ] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-ProviderName ] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] []" + }, + { + "Name": "Get-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-ListAvailable] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Get-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [-Location ] [-Force] [-ForceBootstrap] [-ProviderName ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Import-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Force] [-ForceBootstrap] []" + }, + { + "Name": "Install-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-InputObject] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-Scope ] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] []" + }, + { + "Name": "Install-PackageProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Credential ] [-Scope ] [-Source ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Register-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [[-Name] ] [[-Location] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Save-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-Source ] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [-Headers ] [-FilterOnTag ] [-Contains ] [-AllowPrereleaseVersions] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] [] [-Path ] [-LiteralPath ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-AllowPrereleaseVersions] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Type ] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-AcceptLicense] []" + }, + { + "Name": "Set-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Location ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Proxy ] [-ProxyCredential ] [-Credential ] [-NewLocation ] [-NewName ] [-Trusted] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + }, + { + "Name": "Uninstall-Package", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Name] [-RequiredVersion ] [-MinimumVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Destination ] [-ExcludeVersion] [-Scope ] [-SkipDependencies] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] [] [-AllVersions] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-Scope ] [-PackageManagementProvider ] [-Type ] [-AllowClobber] [-SkipPublisherCheck] [-InstallUpdate] [-NoPathUpdate] [-AllowPrereleaseVersions] []" + }, + { + "Name": "Unregister-PackageSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Source] ] [-Location ] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ProviderName ] [] -InputObject [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-ConfigFile ] [-SkipValidate] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [] [-Credential ] [-Force] [-ForceBootstrap] [-WhatIf] [-Confirm] [-PackageManagementProvider ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "PowerShellGet", + "Version": "1.6.0", + "ExportedCommands": [ + { + "Name": "Find-Command", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-DscResource", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-Module", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-DscResource ] [-RoleCapability ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] [-AllowPrerelease] []" + }, + { + "Name": "Find-RoleCapability", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-ModuleName ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-AllowPrerelease] [-Tag ] [-Filter ] [-Proxy ] [-ProxyCredential ] [-Repository ] []" + }, + { + "Name": "Find-Script", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-AllVersions] [-IncludeDependencies] [-Filter ] [-Tag ] [-Includes ] [-Command ] [-Proxy ] [-ProxyCredential ] [-Repository ] [-Credential ] [-AllowPrerelease] []" + }, + { + "Name": "Get-InstalledModule", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-AllowPrerelease] []" + }, + { + "Name": "Get-InstalledScript", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllowPrerelease] []" + }, + { + "Name": "Get-PSRepository", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "Install-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] [-Credential ] [-Scope ] [-Proxy ] [-ProxyCredential ] [-AllowClobber] [-SkipPublisherCheck] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Install-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] [-Scope ] [-NoPathUpdate] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[[-Path] ] -Description [-Version ] [-Author ] [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Publish-Module", + "CommandType": "Function", + "ParameterSets": "-Name [-RequiredVersion ] [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] -Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-FormatVersion ] [-ReleaseNotes ] [-Tags ] [-LicenseUri ] [-IconUri ] [-ProjectUri ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Publish-Script", + "CommandType": "Function", + "ParameterSets": "-Path [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] [] -LiteralPath [-NuGetApiKey ] [-Repository ] [-Credential ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Register-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] [-SourceLocation] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] [] -Default [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] []" + }, + { + "Name": "Save-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Save-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] -Path [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-Name] -LiteralPath [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-Repository ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -LiteralPath [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] [] [-InputObject] -Path [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] [[-SourceLocation] ] [-PublishLocation ] [-ScriptSourceLocation ] [-ScriptPublishLocation ] [-Credential ] [-InstallationPolicy ] [-Proxy ] [-ProxyCredential ] [-PackageManagementProvider ] []" + }, + { + "Name": "Test-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[-Path] [] -LiteralPath []" + }, + { + "Name": "Uninstall-Module", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-AllVersions] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Uninstall-Script", + "CommandType": "Function", + "ParameterSets": "[-Name] [-MinimumVersion ] [-RequiredVersion ] [-MaximumVersion ] [-Force] [-AllowPrerelease] [-WhatIf] [-Confirm] [] [-InputObject] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Unregister-PSRepository", + "CommandType": "Function", + "ParameterSets": "[-Name] []" + }, + { + "Name": "Update-Module", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Credential ] [-Proxy ] [-ProxyCredential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-ModuleManifest", + "CommandType": "Function", + "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-Prerelease ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] [-PackageManagementProviders ] [-RequireLicenseAcceptance] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-Script", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [-RequiredVersion ] [-MaximumVersion ] [-Proxy ] [-ProxyCredential ] [-Credential ] [-Force] [-AllowPrerelease] [-AcceptLicense] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-ScriptFileInfo", + "CommandType": "Function", + "ParameterSets": "[-Path] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] [-LiteralPath] [-Version ] [-Author ] [-Guid ] [-Description ] [-CompanyName ] [-Copyright ] [-RequiredModules ] [-ExternalModuleDependencies ] [-RequiredScripts ] [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-PassThru] [-Force] [-WhatIf] [-Confirm] []" + } + ], + "ExportedAliases": [ + "inmo", + "fimo", + "upmo", + "pumo" + ] + }, + { + "Name": "PSDesiredStateConfiguration", + "Version": "0.0", + "ExportedCommands": [ + { + "Name": "AddDscResourceProperty", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "AddDscResourcePropertyFromMetadata", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "Add-NodeKeys", + "CommandType": "Function", + "ParameterSets": "[-ResourceKey] [-keywordName] []" + }, + { + "Name": "CheckResourceFound", + "CommandType": "Function", + "ParameterSets": "[[-names] ] [[-Resources] ]" + }, + { + "Name": "Configuration", + "CommandType": "Function", + "ParameterSets": "[[-ResourceModuleTuplesToImport] ] [[-OutputPath] ] [[-Name] ] [[-Body] ] [[-ArgsToBody] ] [[-ConfigurationData] ] [[-InstanceName] ] []" + }, + { + "Name": "ConvertTo-MOFInstance", + "CommandType": "Function", + "ParameterSets": "[-Type] [-Properties] []" + }, + { + "Name": "Generate-VersionInfo", + "CommandType": "Function", + "ParameterSets": "[-KeywordData] [-Value] []" + }, + { + "Name": "Get-CompatibleVersionAddtionaPropertiesStr", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-ComplexResourceQualifier", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "GetCompositeResource", + "CommandType": "Function", + "ParameterSets": "[[-patterns] ] [-configInfo] [[-ignoreParameters] ] [-modules] []" + }, + { + "Name": "Get-ConfigurationErrorCount", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-DscResource", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] [[-Module] ] [-Syntax] []" + }, + { + "Name": "Get-DSCResourceModules", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-EncryptedPassword", + "CommandType": "Function", + "ParameterSets": "[[-Value] ] []" + }, + { + "Name": "GetImplementingModulePath", + "CommandType": "Function", + "ParameterSets": "[-schemaFileName] []" + }, + { + "Name": "Get-InnerMostErrorRecord", + "CommandType": "Function", + "ParameterSets": "[-ErrorRecord] []" + }, + { + "Name": "GetModule", + "CommandType": "Function", + "ParameterSets": "[-modules] [-schemaFileName] []" + }, + { + "Name": "Get-MofInstanceName", + "CommandType": "Function", + "ParameterSets": "[[-mofInstance] ]" + }, + { + "Name": "Get-MofInstanceText", + "CommandType": "Function", + "ParameterSets": "[-aliasId] []" + }, + { + "Name": "GetPatterns", + "CommandType": "Function", + "ParameterSets": "[[-names] ]" + }, + { + "Name": "Get-PositionInfo", + "CommandType": "Function", + "ParameterSets": "[[-sourceMetadata] ]" + }, + { + "Name": "Get-PSCurrentConfigurationNode", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSDefaultConfigurationDocument", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSMetaConfigDocumentInstVersionInfo", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSMetaConfigurationProcessed", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSTopConfigurationName", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PublicKeyFromFile", + "CommandType": "Function", + "ParameterSets": "[-certificatefile] []" + }, + { + "Name": "Get-PublicKeyFromStore", + "CommandType": "Function", + "ParameterSets": "[-certificateid] []" + }, + { + "Name": "GetResourceFromKeyword", + "CommandType": "Function", + "ParameterSets": "[-keyword] [[-patterns] ] [-modules] []" + }, + { + "Name": "GetSyntax", + "CommandType": "Function", + "ParameterSets": null + }, + { + "Name": "ImportCimAndScriptKeywordsFromModule", + "CommandType": "Function", + "ParameterSets": "[-Module] [-resource] [[-functionsToDefine] ] []" + }, + { + "Name": "ImportClassResourcesFromModule", + "CommandType": "Function", + "ParameterSets": "[-Module] [-Resources] [[-functionsToDefine] ] []" + }, + { + "Name": "Initialize-ConfigurationRuntimeState", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] []" + }, + { + "Name": "IsHiddenResource", + "CommandType": "Function", + "ParameterSets": "[-ResourceName] []" + }, + { + "Name": "IsPatternMatched", + "CommandType": "Function", + "ParameterSets": "[[-patterns] ] [-Name] []" + }, + { + "Name": "New-DscChecksum", + "CommandType": "Function", + "ParameterSets": "[-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Node", + "CommandType": "Function", + "ParameterSets": "[-KeywordData] [[-Name] ] [-Value] [-sourceMetadata] []" + }, + { + "Name": "ReadEnvironmentFile", + "CommandType": "Function", + "ParameterSets": "[-FilePath] []" + }, + { + "Name": "Set-NodeExclusiveResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-exclusiveResource] []" + }, + { + "Name": "Set-NodeManager", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-referencedManagers] []" + }, + { + "Name": "Set-NodeResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-requiredResourceList] []" + }, + { + "Name": "Set-NodeResourceSource", + "CommandType": "Function", + "ParameterSets": "[-resourceId] [-referencedResourceSources] []" + }, + { + "Name": "Set-PSCurrentConfigurationNode", + "CommandType": "Function", + "ParameterSets": "[[-nodeName] ] []" + }, + { + "Name": "Set-PSDefaultConfigurationDocument", + "CommandType": "Function", + "ParameterSets": "[[-documentText] ] []" + }, + { + "Name": "Set-PSMetaConfigDocInsProcessedBeforeMeta", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Set-PSMetaConfigVersionInfoV2", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Set-PSTopConfigurationName", + "CommandType": "Function", + "ParameterSets": "[[-Name] ] []" + }, + { + "Name": "StrongConnect", + "CommandType": "Function", + "ParameterSets": "[[-resourceId] ]" + }, + { + "Name": "Test-ConflictingResources", + "CommandType": "Function", + "ParameterSets": "[[-keyword] ] [-properties] [-keywordData] []" + }, + { + "Name": "Test-ModuleReloadRequired", + "CommandType": "Function", + "ParameterSets": "[-SchemaFilePath] []" + }, + { + "Name": "Test-MofInstanceText", + "CommandType": "Function", + "ParameterSets": "[-instanceText] []" + }, + { + "Name": "Test-NodeManager", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "Test-NodeResources", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "Test-NodeResourceSource", + "CommandType": "Function", + "ParameterSets": "[-resourceId] []" + }, + { + "Name": "ThrowError", + "CommandType": "Function", + "ParameterSets": "[-ExceptionName] [-ExceptionMessage] [[-ExceptionObject] ] [-errorId] [-errorCategory] []" + }, + { + "Name": "Update-ConfigurationDocumentRef", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] [-ConfigurationName] []" + }, + { + "Name": "Update-ConfigurationErrorCount", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Update-DependsOn", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" + }, + { + "Name": "Update-LocalConfigManager", + "CommandType": "Function", + "ParameterSets": "[[-localConfigManager] ] [[-resourceManagers] ] [[-reportManagers] ] [[-downloadManagers] ] [[-partialConfigurations] ]" + }, + { + "Name": "Update-ModuleVersion", + "CommandType": "Function", + "ParameterSets": "[-NodeResources] [-NodeInstanceAliases] [-NodeResourceIdAliases] []" + }, + { + "Name": "ValidateNoCircleInNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeExclusiveResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeManager", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNodeResourceSource", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateNoNameNodeResources", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "ValidateUpdate-ConfigurationData", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationData] ] []" + }, + { + "Name": "WriteFile", + "CommandType": "Function", + "ParameterSets": "[-Value] [-Path] []" + }, + { + "Name": "Write-Log", + "CommandType": "Function", + "ParameterSets": "[-message] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Write-MetaConfigFile", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" + }, + { + "Name": "Write-NodeMOFFile", + "CommandType": "Function", + "ParameterSets": "[[-ConfigurationName] ] [[-mofNode] ] [[-mofNodeHash] ]" + } + ], + "ExportedAliases": [ + "upcfg", + "rtcfg", + "pbcfg", + "sacfg", + "gcfgs", + "glcm", + "tcfg", + "gcfg", + "ulcm", + "slcm" + ] + }, + { + "Name": "PSDiagnostics", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-PSTrace", + "CommandType": "Function", + "ParameterSets": "[-AnalyticOnly]" + }, + { + "Name": "Enable-PSTrace", + "CommandType": "Function", + "ParameterSets": "[-Force] [-AnalyticOnly]" + }, + { + "Name": "Get-LogProperties", + "CommandType": "Function", + "ParameterSets": "[-Name] []" + }, + { + "Name": "Set-LogProperties", + "CommandType": "Function", + "ParameterSets": "[-LogDetails] [-Force] []" + } + ], + "ExportedAliases": [] + }, + { + "Name": "PSReadLine", + "Version": "1.2", + "ExportedCommands": [ + { + "Name": "PSConsoleHostReadline", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Bound] [-Unbound] []" + }, + { + "Name": "Get-PSReadlineOption", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Remove-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Chord] [-ViMode ] []" + }, + { + "Name": "Set-PSReadlineKeyHandler", + "CommandType": "Cmdlet", + "ParameterSets": "[-Chord] [-ScriptBlock] [-BriefDescription ] [-Description ] [-ViMode ] [] [-Chord] [-Function] [-ViMode ] []" + }, + { + "Name": "Set-PSReadlineOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-EditMode ] [-ContinuationPrompt ] [-ContinuationPromptForegroundColor ] [-ContinuationPromptBackgroundColor ] [-EmphasisForegroundColor ] [-EmphasisBackgroundColor ] [-ErrorForegroundColor ] [-ErrorBackgroundColor ] [-HistoryNoDuplicates] [-AddToHistoryHandler ] [-CommandValidationHandler ] [-HistorySearchCursorMovesToEnd] [-MaximumHistoryCount ] [-MaximumKillRingCount ] [-ResetTokenColors] [-ShowToolTips] [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] [-BellStyle ] [-CompletionQueryItems ] [-WordDelimiters ] [-HistorySearchCaseSensitive] [-HistorySaveStyle ] [-HistorySavePath ] [-ViModeIndicator ] [] [-TokenKind] [[-ForegroundColor] ] [[-BackgroundColor] ] []" + } + ], + "ExportedAliases": [] + }, + { + "Version": "6.0.2", + "Name": "Microsoft.PowerShell.Core", + "ExportedCommands": [ + { + "Name": "Add-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-InputObject] ] [-Passthru] []" + }, + { + "Name": "Clear-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] [[-Count] ] [-CommandLine ] [-Newest] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Connect-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "-Name [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Session] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -ComputerName -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Debug-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] [-WhatIf] [-Confirm] [] [-Name] [-WhatIf] [-Confirm] [] [-Id] [-WhatIf] [-Confirm] [] [-InstanceId] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-PSRemoting", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disable-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Disconnect-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -InstanceId [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] -Name [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] [] [-Id] [-IdleTimeoutSec ] [-OutputBufferingMode ] [-ThrottleLimit ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enable-PSRemoting", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-SkipNetworkProfileCheck] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enable-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Force] [-SecurityDescriptorSddl ] [-SkipNetworkProfileCheck] [-NoServiceRestart] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Enter-PSHostProcess", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [[-AppDomainName] ] [] [-Process] [[-AppDomainName] ] [] [-Name] [[-AppDomainName] ] [] [-HostProcessInfo] [[-AppDomainName] ] []" + }, + { + "Name": "Enter-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-HostName] [-Port ] [-UserName ] [-KeyFilePath ] [-SSHTransport] [] [[-Session] ] [] [[-ConnectionUri] ] [-EnableNetworkAccess] [-Credential ] [-ConfigurationName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-InstanceId ] [] [[-Id] ] [] [-Name ] [] [-VMId] [-Credential] [-ConfigurationName ] [] [-VMName] [-Credential] [-ConfigurationName ] [] [-ContainerId] [-ConfigurationName ] [-RunAsAdministrator] []" + }, + { + "Name": "Exit-PSHostProcess", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Exit-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[]" + }, + { + "Name": "Export-ModuleMember", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Function] ] [-Cmdlet ] [-Variable ] [-Alias ] []" + }, + { + "Name": "ForEach-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Process] [-InputObject ] [-Begin ] [-End ] [-RemainingScripts ] [-WhatIf] [-Confirm] [] [-MemberName] [-InputObject ] [-ArgumentList ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Get-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ArgumentList] ] [-Verb ] [-Noun ] [-Module ] [-FullyQualifiedModule ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] [] [[-Name] ] [[-ArgumentList] ] [-Module ] [-FullyQualifiedModule ] [-CommandType ] [-TotalCount ] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName ] [-ParameterType ] []" + }, + { + "Name": "Get-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [-Full] [] [[-Name] ] -Detailed [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Examples [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Parameter [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] [] [[-Name] ] -Online [-Path ] [-Category ] [-Component ] [-Functionality ] [-Role ] []" + }, + { + "Name": "Get-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [[-Count] ] []" + }, + { + "Name": "Get-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-InstanceId] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-Name] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-State] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [] [-IncludeChildJob] [-ChildJobState ] [-HasMoreData ] [-Before ] [-After ] [-Newest ] [-Command ] [] [-Filter] []" + }, + { + "Name": "Get-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-FullyQualifiedName ] [-All] [] [[-Name] ] -ListAvailable [-FullyQualifiedName ] [-All] [-PSEdition ] [-Refresh] [] [[-Name] ] -PSSession [-FullyQualifiedName ] [-ListAvailable] [-PSEdition ] [-Refresh] [] [[-Name] ] -CimSession [-FullyQualifiedName ] [-ListAvailable] [-Refresh] [-CimResourceUri ] [-CimNamespace ] []" + }, + { + "Name": "Get-PSHostProcessInfo", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [] [-Process] [] [-Id] []" + }, + { + "Name": "Get-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name ] [] [-ComputerName] [-ApplicationName ] [-ConfigurationName ] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] [-ConfigurationName ] [-AllowRedirection] [-Name ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-ThrottleLimit ] [-State ] [-SessionOption ] [] -InstanceId -VMName [-ConfigurationName ] [-State ] [] -ContainerId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -ContainerId [-ConfigurationName ] [-State ] [] -VMId [-ConfigurationName ] [-Name ] [-State ] [] -InstanceId -VMId [-ConfigurationName ] [-State ] [] -VMName [-ConfigurationName ] [-Name ] [-State ] [] [-InstanceId ] [] [-Id] []" + }, + { + "Name": "Get-PSSessionCapability", + "CommandType": "Cmdlet", + "ParameterSets": "[-ConfigurationName] [-Username] [-Full] []" + }, + { + "Name": "Get-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] ] [-Force] []" + }, + { + "Name": "Import-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Name] -CimSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion ] [-MaximumVersion ] [-RequiredVersion ] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [-CimResourceUri ] [-CimNamespace ] [] [-FullyQualifiedName] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-FullyQualifiedName] -PSSession [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-Assembly] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] [] [-ModuleInfo] [-Global] [-Prefix ] [-Function ] [-Cmdlet ] [-Variable ] [-Alias ] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList ] [-DisableNameChecking] [-NoClobber] [-Scope ] []" + }, + { + "Name": "Invoke-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [-NoNewScope] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-FilePath] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-Session] ] [-ScriptBlock] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-ComputerName] ] [-ScriptBlock] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ComputerName] ] [-FilePath] [-Credential ] [-Port ] [-UseSSL] [-ConfigurationName ] [-ApplicationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-SessionName ] [-HideComputerName] [-JobName ] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-VMId] [-ScriptBlock] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [[-ConnectionUri] ] [-ScriptBlock] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [-CertificateThumbprint ] [] [[-ConnectionUri] ] [-FilePath] [-Credential ] [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-VMId] [-FilePath] -Credential [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-FilePath] -Credential -VMName [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -ScriptBlock -HostName [-Port ] [-AsJob] [-HideComputerName] [-UserName ] [-KeyFilePath ] [-SSHTransport] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-FilePath] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] [-ScriptBlock] -ContainerId [-ConfigurationName ] [-ThrottleLimit ] [-AsJob] [-HideComputerName] [-JobName ] [-RunAsAdministrator] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -ScriptBlock -SSHConnection [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -FilePath -HostName [-AsJob] [-HideComputerName] [-UserName ] [-KeyFilePath ] [-SSHTransport] [-RemoteDebug] [-InputObject ] [-ArgumentList ] [] -FilePath -SSHConnection [-AsJob] [-HideComputerName] [-RemoteDebug] [-InputObject ] [-ArgumentList ] []" + }, + { + "Name": "Invoke-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] [] [-Name] [-ScriptBlock] [-Function ] [-Cmdlet ] [-ReturnResult] [-AsCustomObject] [-ArgumentList ] []" + }, + { + "Name": "New-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-NestedModules ] [-Guid ] [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] [-PowerShellVersion ] [-ClrVersion ] [-DotNetFrameworkVersion ] [-PowerShellHostName ] [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] [-FileList ] [-ModuleList ] [-FunctionsToExport ] [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] [-DscResourcesToExport ] [-CompatiblePSEditions ] [-PrivateData ] [-Tags ] [-ProjectUri ] [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-HelpInfoUri ] [-PassThru] [-DefaultCommandPrefix ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "New-PSRoleCapabilityFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-ScriptsToProcess ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] []" + }, + { + "Name": "New-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] ] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-Port ] [-UseSSL] [-ApplicationName ] [-ThrottleLimit ] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] -Credential -VMName [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [-ConnectionUri] [-Credential ] [-Name ] [-EnableNetworkAccess] [-ConfigurationName ] [-ThrottleLimit ] [-AllowRedirection] [-SessionOption ] [-Authentication ] [-CertificateThumbprint ] [] [-VMId] -Credential [-Name ] [-ConfigurationName ] [-ThrottleLimit ] [] [[-Session] ] [-Name ] [-EnableNetworkAccess] [-ThrottleLimit ] [] -ContainerId [-Name ] [-ConfigurationName ] [-RunAsAdministrator] [-ThrottleLimit ] [] [-HostName] [-Name ] [-Port ] [-UserName ] [-KeyFilePath ] [-SSHTransport] [] -SSHConnection [-Name ] []" + }, + { + "Name": "New-PSSessionConfigurationFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-SchemaVersion ] [-Guid ] [-Author ] [-Description ] [-CompanyName ] [-Copyright ] [-SessionType ] [-TranscriptDirectory ] [-RunAsVirtualAccount] [-RunAsVirtualAccountGroups ] [-MountUserDrive] [-UserDriveMaximumSize ] [-GroupManagedServiceAccount ] [-ScriptsToProcess ] [-RoleDefinitions ] [-RequiredGroups ] [-LanguageMode ] [-ExecutionPolicy ] [-PowerShellVersion ] [-ModulesToImport ] [-VisibleAliases ] [-VisibleCmdlets ] [-VisibleFunctions ] [-VisibleExternalCommands ] [-VisibleProviders ] [-AliasDefinitions ] [-FunctionDefinitions ] [-VariableDefinitions ] [-EnvironmentVariables ] [-TypesToProcess ] [-FormatsToProcess ] [-AssembliesToLoad ] [-Full] []" + }, + { + "Name": "New-PSSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaximumRedirection ] [-NoCompression] [-NoMachineProfile] [-Culture ] [-UICulture ] [-MaximumReceivedDataSizePerCommand ] [-MaximumReceivedObjectSize ] [-OutputBufferingMode ] [-MaxConnectionRetryCount ] [-ApplicationArguments ] [-OpenTimeout ] [-CancelTimeout ] [-IdleTimeout ] [-ProxyAccessType ] [-ProxyAuthentication ] [-ProxyCredential ] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-OperationTimeout ] [-NoEncryption] [-UseUTF16] [-IncludePortInSPN] []" + }, + { + "Name": "New-PSTransportOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaxIdleTimeoutSec ] [-ProcessIdleTimeoutSec ] [-MaxSessions ] [-MaxConcurrentCommandsPerSession ] [-MaxSessionsPerUser ] [-MaxMemoryPerSessionMB ] [-MaxProcessesPerSession ] [-MaxConcurrentUsers ] [-IdleTimeoutSec ] [-OutputBufferingMode ] []" + }, + { + "Name": "Out-Default", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transcript] [-InputObject ] []" + }, + { + "Name": "Out-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[-Paging] [-InputObject ] []" + }, + { + "Name": "Out-Null", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject ] []" + }, + { + "Name": "Receive-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] [[-Location] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-ComputerName] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Job] [[-Session] ] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Name] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-InstanceId] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [] [-Id] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] []" + }, + { + "Name": "Receive-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Id] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-ComputerName] -InstanceId [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ComputerName] -Name [-ApplicationName ] [-ConfigurationName ] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-Port ] [-UseSSL] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -Name [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-ConnectionUri] -InstanceId [-ConfigurationName ] [-AllowRedirection] [-OutTarget ] [-JobName ] [-Credential ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-WhatIf] [-Confirm] [] [-InstanceId] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] [] [-Name] [-OutTarget ] [-JobName ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Register-ArgumentCompleter", + "CommandType": "Cmdlet", + "ParameterSets": "-CommandName -ScriptBlock [-Native] [] -ParameterName -ScriptBlock [-CommandName ] []" + }, + { + "Name": "Register-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-ProcessorArchitecture ] [-SessionType ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ProcessorArchitecture ] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-ProcessorArchitecture ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-Force] [-WhatIf] [-Confirm] [] [-Job] [-Force] [-WhatIf] [-Confirm] [] [-Name] [-Force] [-WhatIf] [-Confirm] [] [-InstanceId] [-Force] [-WhatIf] [-Confirm] [] [-Filter] [-Force] [-WhatIf] [-Confirm] [] [-State] [-WhatIf] [-Confirm] [] [-Command ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Force] [-WhatIf] [-Confirm] [] [-FullyQualifiedName] [-Force] [-WhatIf] [-Confirm] [] [-ModuleInfo] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Remove-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-WhatIf] [-Confirm] [] [-Session] [-WhatIf] [-Confirm] [] -ContainerId [-WhatIf] [-Confirm] [] -VMId [-WhatIf] [-Confirm] [] -VMName [-WhatIf] [-Confirm] [] -InstanceId [-WhatIf] [-Confirm] [] -Name [-WhatIf] [-Confirm] [] [-ComputerName] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Save-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[-DestinationPath] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] [] [[-Module] ] [[-UICulture] ] -LiteralPath [-FullyQualifiedModule ] [-Credential ] [-UseDefaultCredentials] [-Force] []" + }, + { + "Name": "Set-PSDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Trace ] [-Step] [-Strict] [] [-Off] []" + }, + { + "Name": "Set-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] [-AssemblyName] [-ConfigurationTypeName] [-ApplicationBase ] [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion ] [-SessionTypeOption ] [-TransportOption ] [-ModulesToImport ] [-WhatIf] [-Confirm] [] [-Name] -Path [-RunAsCredential ] [-ThreadOptions ] [-AccessMode ] [-UseSharedProcess] [-StartupScript ] [-MaximumReceivedDataSizePerCommandMB ] [-MaximumReceivedObjectSizeMB ] [-SecurityDescriptorSddl ] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption ] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Set-StrictMode", + "CommandType": "Cmdlet", + "ParameterSets": "-Version [] -Off []" + }, + { + "Name": "Start-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-DefinitionName] [[-DefinitionPath] ] [[-Type] ] [] [-FilePath] [[-InitializationScript] ] [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [[-InitializationScript] ] -LiteralPath [-Name ] [-Credential ] [-Authentication ] [-RunAs32] [-PSVersion ] [-InputObject ] [-ArgumentList ] [] [-HostName] []" + }, + { + "Name": "Stop-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-PassThru] [-WhatIf] [-Confirm] [] [-Job] [-PassThru] [-WhatIf] [-Confirm] [] [-Name] [-PassThru] [-WhatIf] [-Confirm] [] [-InstanceId] [-PassThru] [-WhatIf] [-Confirm] [] [-State] [-PassThru] [-WhatIf] [-Confirm] [] [-Filter] [-PassThru] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Test-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] []" + }, + { + "Name": "Test-PSSessionConfigurationFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] []" + }, + { + "Name": "Unregister-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Update-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Module] ] [[-SourcePath] ] [[-UICulture] ] [-FullyQualifiedModule ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] [] [[-Module] ] [[-UICulture] ] [-FullyQualifiedModule ] [-LiteralPath ] [-Recurse] [-Credential ] [-UseDefaultCredentials] [-Force] [-WhatIf] [-Confirm] []" + }, + { + "Name": "Wait-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] [-Any] [-Timeout ] [-Force] [] [-Job] [-Any] [-Timeout ] [-Force] [] [-Name] [-Any] [-Timeout ] [-Force] [] [-InstanceId] [-Any] [-Timeout ] [-Force] [] [-State] [-Any] [-Timeout ] [-Force] [] [-Filter] [-Any] [-Timeout ] [-Force] []" + }, + { + "Name": "Where-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Property] [[-Value] ] [-InputObject ] [-EQ] [] [-FilterScript] [-InputObject ] [] [-Property] [[-Value] ] -CLE [-InputObject ] [] [-Property] [[-Value] ] -CEQ [-InputObject ] [] [-Property] [[-Value] ] -NE [-InputObject ] [] [-Property] [[-Value] ] -CNE [-InputObject ] [] [-Property] [[-Value] ] -GT [-InputObject ] [] [-Property] [[-Value] ] -CGT [-InputObject ] [] [-Property] [[-Value] ] -LT [-InputObject ] [] [-Property] [[-Value] ] -CLT [-InputObject ] [] [-Property] [[-Value] ] -GE [-InputObject ] [] [-Property] [[-Value] ] -CGE [-InputObject ] [] [-Property] [[-Value] ] -LE [-InputObject ] [] [-Property] [[-Value] ] -Like [-InputObject ] [] [-Property] [[-Value] ] -CLike [-InputObject ] [] [-Property] [[-Value] ] -NotLike [-InputObject ] [] [-Property] [[-Value] ] -CNotLike [-InputObject ] [] [-Property] [[-Value] ] -Match [-InputObject ] [] [-Property] [[-Value] ] -CMatch [-InputObject ] [] [-Property] [[-Value] ] -NotMatch [-InputObject ] [] [-Property] [[-Value] ] -CNotMatch [-InputObject ] [] [-Property] [[-Value] ] -Contains [-InputObject ] [] [-Property] [[-Value] ] -CContains [-InputObject ] [] [-Property] [[-Value] ] -NotContains [-InputObject ] [] [-Property] [[-Value] ] -CNotContains [-InputObject ] [] [-Property] [[-Value] ] -In [-InputObject ] [] [-Property] [[-Value] ] -CIn [-InputObject ] [] [-Property] [[-Value] ] -NotIn [-InputObject ] [] [-Property] [[-Value] ] -CNotIn [-InputObject ] [] [-Property] [[-Value] ] -Is [-InputObject ] [] [-Property] [[-Value] ] -IsNot [-InputObject ] []" + } + ], + "ExportedAliases": [ + "%", + "?", + "clhy", + "cnsn", + "dnsn", + "etsn", + "exsn", + "foreach", + "gcm", + "ghy", + "gjb", + "gmo", + "gsn", + "h", + "history", + "icm", + "ihy", + "ipmo", + "nmo", + "nsn", + "oh", + "r", + "rcjb", + "rcsn", + "rjb", + "rmo", + "rsn", + "sajb", + "spjb", + "where", + "wjb" + ] + } + ] +} diff --git a/Engine/Settings/desktop-3.0-windows.json b/Engine/Settings/desktop-3.0-windows.json new file mode 100644 index 000000000..898c20d72 --- /dev/null +++ b/Engine/Settings/desktop-3.0-windows.json @@ -0,0 +1,6268 @@ +{ + "Modules": [ + { + "Name": "AppLocker", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-AppLockerFileInformation", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cList[string]\u003e] [\u003cCommonParameters\u003e] [[-Packages] \u003cList[AppxPackage]\u003e] [\u003cCommonParameters\u003e] -Directory \u003cstring\u003e [-FileType \u003cList[AppLockerFileType]\u003e] [-Recurse] [\u003cCommonParameters\u003e] -EventLog [-LogPath \u003cstring\u003e] [-EventType \u003cList[AppLockerEventType]\u003e] [-Statistics] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "-Local [-Xml] [\u003cCommonParameters\u003e] -Domain -Ldap \u003cstring\u003e [-Xml] [\u003cCommonParameters\u003e] -Effective [-Xml] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-FileInformation] \u003cList[FileInformation]\u003e [-RuleType \u003cList[RuleType]\u003e] [-RuleNamePrefix \u003cstring\u003e] [-User \u003cstring\u003e] [-Optimize] [-IgnoreMissingFileInformation] [-Xml] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-XmlPolicy] \u003cstring\u003e [-Ldap \u003cstring\u003e] [-Merge] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PolicyObject] \u003cAppLockerPolicy\u003e [-Ldap \u003cstring\u003e] [-Merge] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-XmlPolicy] \u003cstring\u003e -Path \u003cList[string]\u003e [-User \u003cstring\u003e] [-Filter \u003cList[PolicyDecision]\u003e] [\u003cCommonParameters\u003e] [-XmlPolicy] \u003cstring\u003e -Packages \u003cList[AppxPackage]\u003e [-User \u003cstring\u003e] [-Filter \u003cList[PolicyDecision]\u003e] [\u003cCommonParameters\u003e] [-PolicyObject] \u003cAppLockerPolicy\u003e -Path \u003cList[string]\u003e [-User \u003cstring\u003e] [-Filter \u003cList[PolicyDecision]\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Appx", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-AppxLastError", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxLog", + "CommandType": "Function", + "ParameterSets": "[-All] [\u003cCommonParameters\u003e] [-ActivityId \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-AppxPackage", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-DependencyPath \u003cstring[]\u003e] [-ForceApplicationShutdown] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e -Register [-DependencyPath \u003cstring[]\u003e] [-DisableDevelopmentMode] [-ForceApplicationShutdown] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e -Update [-DependencyPath \u003cstring[]\u003e] [-ForceApplicationShutdown] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxPackage", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [[-Publisher] \u003cstring\u003e] [-AllUsers] [-User \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxPackageManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Package] \u003cAppxPackage\u003e [[-User] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-AppxPackage", + "CommandType": "Cmdlet", + "ParameterSets": "[-Package] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BestPractices", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Get-BpaModel", + "CommandType": "Cmdlet", + "ParameterSets": "[-RepositoryPath \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ModelId] \u003cstring[]\u003e [[-SubModelId] \u003cstring\u003e] [-RepositoryPath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BpaResult", + "CommandType": "Cmdlet", + "ParameterSets": "[-ModelId] \u003cstring\u003e [-CollectedConfiguration] [-All] [-Filter \u003cFilterOptions\u003e] [-RepositoryPath \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ModelId] \u003cstring\u003e [-CollectedConfiguration] [-All] [-Filter \u003cFilterOptions\u003e] [-RepositoryPath \u003cstring\u003e] [-SubModelId \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-Context \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-BpaModel", + "CommandType": "Cmdlet", + "ParameterSets": "[-ModelId] \u003cstring\u003e [-RepositoryPath \u003cstring\u003e] [-Mode \u003cScanMode\u003e] [\u003cCommonParameters\u003e] [-ModelId] \u003cstring\u003e [-RepositoryPath \u003cstring\u003e] [-Mode \u003cScanMode\u003e] [-SubModelId \u003cstring\u003e] [-Context \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-Port \u003cint\u003e] [-ThrottleLimit \u003cint\u003e] [-UseSsl] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BpaResult", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Exclude] \u003cbool\u003e] [-Results] \u003cList[Result]\u003e [[-RepositoryPath] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BitLocker", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-BitLockerKeyProtector", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [[-Password] \u003csecurestring\u003e] -PasswordProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-RecoveryPassword] \u003cstring\u003e] -RecoveryPasswordProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -StartupKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -TpmAndStartupKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinAndStartupKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-ADAccountOrGroup] \u003cstring\u003e -ADAccountOrGroupProtector [-Service] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -TpmProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-RecoveryKeyPath] \u003cstring\u003e -RecoveryKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Backup-BitLockerKeyProtector", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-KeyProtectorId] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-BitLockerAutoUnlock", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Disable-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BitLockerAutoUnlock", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [[-Password] \u003csecurestring\u003e] -PasswordProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-RecoveryPassword] \u003cstring\u003e] -RecoveryPasswordProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -StartupKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -TpmAndStartupKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinAndStartupKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-AdAccountOrGroup] \u003cstring\u003e -AdAccountOrGroupProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-Service] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -TpmProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-RecoveryKeyPath] \u003cstring\u003e -RecoveryKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BitLockerAutoUnlock", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BitLockerVolume", + "CommandType": "Function", + "ParameterSets": "[[-MountPoint] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Lock-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-ForceDismount] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-BitLockerKeyProtector", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-KeyProtectorId] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [[-RebootCount] \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unlock-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e -Password \u003csecurestring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -RecoveryPassword \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -RecoveryKeyPath \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -AdAccountOrGroup [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BitsTransfer", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-BitsFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-Source] \u003cstring[]\u003e [[-Destination] \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Complete-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-AllUsers] [\u003cCommonParameters\u003e] [-JobId] \u003cguid[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-Asynchronous] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-DisplayName \u003cstring\u003e] [-Priority \u003cstring\u003e] [-Description \u003cstring\u003e] [-ProxyAuthentication \u003cstring\u003e] [-RetryInterval \u003cint\u003e] [-RetryTimeout \u003cint\u003e] [-TransferPolicy \u003cCostStates\u003e] [-Credential \u003cpscredential\u003e] [-ProxyCredential \u003cpscredential\u003e] [-Authentication \u003cstring\u003e] [-SetOwnerToCurrentUser] [-ProxyUsage \u003cstring\u003e] [-ProxyList \u003curi[]\u003e] [-ProxyBypass \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-Source] \u003cstring[]\u003e [[-Destination] \u003cstring[]\u003e] [-Asynchronous] [-Authentication \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Description \u003cstring\u003e] [-DisplayName \u003cstring\u003e] [-Priority \u003cstring\u003e] [-TransferPolicy \u003cCostStates\u003e] [-ProxyAuthentication \u003cstring\u003e] [-ProxyBypass \u003cstring[]\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyList \u003curi[]\u003e] [-ProxyUsage \u003cstring\u003e] [-RetryInterval \u003cint\u003e] [-RetryTimeout \u003cint\u003e] [-Suspended] [-TransferType \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BranchCache", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-BCDataCacheExtension", + "CommandType": "Function", + "ParameterSets": "[[-Percentage] \u003cuint32\u003e] [[-Path] \u003cstring\u003e] [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Path] \u003cstring\u003e] -SizeBytes \u003cuint64\u003e [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-BCCache", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BC", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BCDowngrading", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BCServeOnBattery", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCDistributed", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCDowngrading", + "CommandType": "Function", + "ParameterSets": "[[-Version] \u003cPreferredContentInformationVersion\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCHostedClient", + "CommandType": "Function", + "ParameterSets": "[-ServerNames] \u003cstring[]\u003e [-Force] [-UseVersion \u003cHostedCacheVersion\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UseSCP [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCHostedServer", + "CommandType": "Function", + "ParameterSets": "[-Force] [-RegisterSCP] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCLocal", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCServeOnBattery", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-BCCachePackage", + "CommandType": "Function", + "ParameterSets": "[[-StagingPath] \u003cstring\u003e] -Destination \u003cstring\u003e [-Force] [-OutputReferenceFile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Destination \u003cstring\u003e -ExportDataCache [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-BCSecretKey", + "CommandType": "Function", + "ParameterSets": "[-Filename] \u003cstring\u003e [-FilePassphrase] \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCContentServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCDataCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCDataCacheExtension", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCHashCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCHostedCacheServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCNetworkConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCStatus", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-BCCachePackage", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-BCSecretKey", + "CommandType": "Function", + "ParameterSets": "[-Filename] \u003cstring\u003e -FilePassphrase \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Publish-BCFileContent", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-UseVersion \u003cuint32\u003e] [-StageData] [-StagingPath \u003cstring\u003e] [-ReferenceFile \u003cstring\u003e] [-Force] [-Recurse] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Publish-BCWebContent", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-UseVersion \u003cuint32\u003e] [-StageData] [-StagingPath \u003cstring\u003e] [-ReferenceFile \u003cstring\u003e] [-Force] [-Recurse] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-BCDataCacheExtension", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-DataCacheExtension] \u003cCimInstance#MSFT_NetBranchCacheDataCacheExtension[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-BC", + "CommandType": "Function", + "ParameterSets": "[-ResetFWRulesOnly] [-ResetPerfCountersOnly] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCAuthentication", + "CommandType": "Function", + "ParameterSets": "[-Mode] \u003cClientAuthenticationMode\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCCache", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-MoveTo \u003cstring\u003e] [-Percentage \u003cuint32\u003e] [-SizeBytes \u003cuint64\u003e] [-Defragment] [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Cache] \u003cCimInstance#MSFT_NetBranchCacheCache[]\u003e [-MoveTo \u003cstring\u003e] [-Percentage \u003cuint32\u003e] [-SizeBytes \u003cuint64\u003e] [-Defragment] [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCDataCacheEntryMaxAge", + "CommandType": "Function", + "ParameterSets": "[-TimeDays] \u003cuint32\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCMinSMBLatency", + "CommandType": "Function", + "ParameterSets": "[-LatencyMilliseconds] \u003cuint32\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCSecretKey", + "CommandType": "Function", + "ParameterSets": "[[-Passphrase] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "CimCmdlets", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-CimAssociatedInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cciminstance\u003e [[-Association] \u003cstring\u003e] [-ResultClassName \u003cstring\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-KeyOnly] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [[-Association] \u003cstring\u003e] -CimSession \u003cCimSession[]\u003e [-ResultClassName \u003cstring\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ResourceUri \u003curi\u003e] [-KeyOnly] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CimClass", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ClassName] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-MethodName \u003cstring\u003e] [-PropertyName \u003cstring\u003e] [-QualifierName \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-ClassName] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-MethodName \u003cstring\u003e] [-PropertyName \u003cstring\u003e] [-QualifierName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [\u003cCommonParameters\u003e] -CimSession \u003cCimSession[]\u003e -ResourceUri \u003curi\u003e [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -CimSession \u003cCimSession[]\u003e -Query \u003cstring\u003e [-ResourceUri \u003curi\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -ResourceUri \u003curi\u003e [-ComputerName \u003cstring[]\u003e] [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [\u003cCommonParameters\u003e] -Query \u003cstring\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cuint32[]\u003e [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-CimMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -ResourceUri \u003curi\u003e -CimSession \u003cCimSession[]\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -ResourceUri \u003curi\u003e [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003cCimClass\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003cCimClass\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -Query \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-QueryDialect \u003cstring\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -Query \u003cstring\u003e [-QueryDialect \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [[-Property] \u003cIDictionary\u003e] [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e [[-Property] \u003cIDictionary\u003e] -CimSession \u003cCimSession[]\u003e [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Property] \u003cIDictionary\u003e] -ResourceUri \u003curi\u003e -CimSession \u003cCimSession[]\u003e [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Property] \u003cIDictionary\u003e] -ResourceUri \u003curi\u003e [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003cCimClass\u003e [[-Property] \u003cIDictionary\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003cCimClass\u003e [[-Property] \u003cIDictionary\u003e] -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-Authentication \u003cPasswordAuthenticationMechanism\u003e] [-Name \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-SkipTestConnection] [-Port \u003cuint32\u003e] [-SessionOption \u003cCimSessionOptions\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Name \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-SkipTestConnection] [-Port \u003cuint32\u003e] [-SessionOption \u003cCimSessionOptions\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CimSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-Protocol] \u003cProtocolType\u003e [-UICulture \u003ccultureinfo\u003e] [-Culture \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e] [-NoEncryption] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-EncodePortInServicePrincipalName] [-Encoding \u003cPacketEncoding\u003e] [-HttpPrefix \u003curi\u003e] [-MaxEnvelopeSizeKB \u003cuint32\u003e] [-ProxyAuthentication \u003cPasswordAuthenticationMechanism\u003e] [-ProxyCertificateThumbprint \u003cstring\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyType \u003cProxyType\u003e] [-UseSsl] [-UICulture \u003ccultureinfo\u003e] [-Culture \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e] [-Impersonation \u003cImpersonationType\u003e] [-PacketIntegrity] [-PacketPrivacy] [-UICulture \u003ccultureinfo\u003e] [-Culture \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-CimIndicationEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] -CimSession \u003cCimSession\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-QueryDialect \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] -CimSession \u003cCimSession\u003e [-Namespace \u003cstring\u003e] [-QueryDialect \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cciminstance\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-Namespace] \u003cstring\u003e] -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-Namespace] \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-CimSession] \u003cCimSession[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cuint32[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cciminstance\u003e [-ComputerName \u003cstring[]\u003e] [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Property \u003cIDictionary\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Property \u003cIDictionary\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e -Property \u003cIDictionary\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e -Property \u003cIDictionary\u003e [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gcim", + "scim", + "ncim", + "rcim", + "icim", + "gcai", + "rcie", + "ncms", + "rcms", + "gcms", + "ncso", + "gcls" + ] + }, + { + "Name": "DirectAccessClientComponents", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-DAManualEntryPointSelection", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-DAManualEntryPointSelection", + "CommandType": "Function", + "ParameterSets": "-EntryPointName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DAClientExperienceConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "[-EntryPointName \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-EntryPointName \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore] \u003cstring\u003e -EntryPointName \u003cstring\u003e -ADSite \u003cstring\u003e -EntryPointRange \u003cstring[]\u003e -EntryPointIPAddress \u003cstring\u003e [-TeredoServerIP \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-GPOSession] \u003cstring\u003e -EntryPointName \u003cstring\u003e -ADSite \u003cstring\u003e -EntryPointRange \u003cstring[]\u003e -EntryPointIPAddress \u003cstring\u003e [-TeredoServerIP \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e -NewName \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e -NewName \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e -NewName \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-DAClientExperienceConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CorporateResources] [-IPsecTunnelEndpoints] [-PreferLocalNamesAllowed] [-UserInterface] [-SupportEmail] [-FriendlyName] [-ManualEntryPointSelectionAllowed] [-GslbFqdn] [-ForceTunneling] [-CustomCommands] [-PassiveMode] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DAClientExperienceConfiguration[]\u003e [-CorporateResources] [-IPsecTunnelEndpoints] [-PreferLocalNamesAllowed] [-UserInterface] [-SupportEmail] [-FriendlyName] [-ManualEntryPointSelectionAllowed] [-GslbFqdn] [-ForceTunneling] [-CustomCommands] [-PassiveMode] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-TeredoServerIP] [-IPHttpsProfile] [-GslbIP] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-TeredoServerIP] [-IPHttpsProfile] [-GslbIP] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e [-TeredoServerIP] [-IPHttpsProfile] [-GslbIP] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DAClientExperienceConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-CorporateResources] \u003cstring[]\u003e] [[-IPsecTunnelEndpoints] \u003cstring[]\u003e] [[-PreferLocalNamesAllowed] \u003cbool\u003e] [[-UserInterface] \u003cbool\u003e] [[-SupportEmail] \u003cstring\u003e] [[-FriendlyName] \u003cstring\u003e] [[-ManualEntryPointSelectionAllowed] \u003cbool\u003e] [[-GslbFqdn] \u003cstring\u003e] [[-ForceTunneling] \u003cForceTunneling\u003e] [[-CustomCommands] \u003cstring[]\u003e] [[-PassiveMode] \u003cbool\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-CorporateResources] \u003cstring[]\u003e] [[-IPsecTunnelEndpoints] \u003cstring[]\u003e] [[-PreferLocalNamesAllowed] \u003cbool\u003e] [[-UserInterface] \u003cbool\u003e] [[-SupportEmail] \u003cstring\u003e] [[-FriendlyName] \u003cstring\u003e] [[-ManualEntryPointSelectionAllowed] \u003cbool\u003e] [[-GslbFqdn] \u003cstring\u003e] [[-ForceTunneling] \u003cForceTunneling\u003e] [[-CustomCommands] \u003cstring[]\u003e] [[-PassiveMode] \u003cbool\u003e] -InputObject \u003cCimInstance#MSFT_DAClientExperienceConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-ADSite \u003cstring\u003e] [-EntryPointRange \u003cstring[]\u003e] [-TeredoServerIP \u003cstring\u003e] [-EntryPointIPAddress \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-ADSite \u003cstring\u003e] [-EntryPointRange \u003cstring[]\u003e] [-TeredoServerIP \u003cstring\u003e] [-EntryPointIPAddress \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e [-ADSite \u003cstring\u003e] [-EntryPointRange \u003cstring[]\u003e] [-TeredoServerIP \u003cstring\u003e] [-EntryPointIPAddress \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Dism", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Add-ProvisionedAppxPackage", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Apply-WindowsUnattend", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Get-ProvisionedAppxPackage", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Remove-ProvisionedAppxPackage", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Add-AppxProvisionedPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-FolderPath \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-DependencyPackagePath \u003cstring[]\u003e] [-LicensePath \u003cstring\u003e] [-SkipLicense] [-CustomDataPath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-FolderPath \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-DependencyPackagePath \u003cstring[]\u003e] [-LicensePath \u003cstring\u003e] [-SkipLicense] [-CustomDataPath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-WindowsDriver", + "CommandType": "Cmdlet", + "ParameterSets": "-Driver \u003cstring\u003e -Path \u003cstring\u003e [-Recurse] [-ForceUnsigned] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-WindowsPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-PackagePath \u003cstring\u003e -Online [-IgnoreCheck] [-PreventPending] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -PackagePath \u003cstring\u003e -Path \u003cstring\u003e [-IgnoreCheck] [-PreventPending] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-WindowsCorruptMountPoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-WindowsOptionalFeature", + "CommandType": "Cmdlet", + "ParameterSets": "-FeatureName \u003cstring[]\u003e -Online [-PackageName \u003cstring\u003e] [-Remove] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -FeatureName \u003cstring[]\u003e -Path \u003cstring\u003e [-PackageName \u003cstring\u003e] [-Remove] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Dismount-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e -Discard [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e -Save [-CheckIntegrity] [-Append] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WindowsOptionalFeature", + "CommandType": "Cmdlet", + "ParameterSets": "-FeatureName \u003cstring[]\u003e -Path \u003cstring\u003e [-PackageName \u003cstring\u003e] [-All] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -FeatureName \u003cstring[]\u003e -Online [-PackageName \u003cstring\u003e] [-All] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxProvisionedPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsDriver", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-All] [-Driver \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-All] [-Driver \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsEdition", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-Target] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-Target] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e -Index \u003cuint32\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -ImagePath \u003cstring\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -ImagePath \u003cstring\u003e -Name \u003cstring\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Mounted [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsOptionalFeature", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-FeatureName \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-FeatureName \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Mount-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e -ImagePath \u003cstring\u003e -Name \u003cstring\u003e [-ReadOnly] [-Optimize] [-CheckIntegrity] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e -ImagePath \u003cstring\u003e -Index \u003cuint32\u003e [-ReadOnly] [-Optimize] [-CheckIntegrity] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e -Remount [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-AppxProvisionedPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-PackageName \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -PackageName \u003cstring\u003e -Online [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WindowsDriver", + "CommandType": "Cmdlet", + "ParameterSets": "-Driver \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WindowsPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-CheckHealth] [-ScanHealth] [-RestoreHealth] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-CheckHealth] [-ScanHealth] [-RestoreHealth] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Save-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-CheckIntegrity] [-Append] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WindowsEdition", + "CommandType": "Cmdlet", + "ParameterSets": "-Edition \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WindowsProductKey", + "CommandType": "Cmdlet", + "ParameterSets": "-ProductKey \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Use-WindowsUnattend", + "CommandType": "Cmdlet", + "ParameterSets": "-UnattendPath \u003cstring\u003e -Path \u003cstring\u003e [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -UnattendPath \u003cstring\u003e -Online [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "Apply-WindowsUnattend", + "Add-ProvisionedAppxPackage", + "Remove-ProvisionedAppxPackage", + "Get-ProvisionedAppxPackage" + ] + }, + { + "Name": "DnsClient", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[-Namespace] \u003cstring[]\u003e [-GpoName \u003cstring\u003e] [-DANameServers \u003cstring[]\u003e] [-DAIPsecRequired] [-DAIPsecEncryptionType \u003cstring\u003e] [-DAProxyServerName \u003cstring\u003e] [-DnsSecEnable] [-DnsSecIPsecRequired] [-DnsSecIPsecEncryptionType \u003cstring\u003e] [-NameServers \u003cstring[]\u003e] [-NameEncoding \u003cstring\u003e] [-Server \u003cstring\u003e] [-DAProxyType \u003cstring\u003e] [-DnsSecValidationRequired] [-DAEnable] [-IPsecTrustAuthority \u003cstring\u003e] [-Comment \u003cstring\u003e] [-DisplayName \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-DnsClientCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClient", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-ConnectionSpecificSuffix \u003cstring[]\u003e] [-RegisterThisConnectionsAddress \u003cbool[]\u003e] [-UseSuffixWhenRegistering \u003cbool[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientCache", + "CommandType": "Function", + "ParameterSets": "[[-Entry] \u003cstring[]\u003e] [-Name \u003cstring[]\u003e] [-Type \u003cType[]\u003e] [-Status \u003cStatus[]\u003e] [-Section \u003cSection[]\u003e] [-TimeToLive \u003cuint32[]\u003e] [-DataLength \u003cuint16[]\u003e] [-Data \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientNrptGlobal", + "CommandType": "Function", + "ParameterSets": "[-Server \u003cstring\u003e] [-GpoName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientNrptPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Namespace] \u003cstring\u003e] [-Effective] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-GpoName \u003cstring\u003e] [-Server \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientServerAddress", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-DnsClient", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-GpoName \u003cstring\u003e] [-PassThru] [-Server \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClient", + "CommandType": "Function", + "ParameterSets": "[-InterfaceAlias] \u003cstring[]\u003e [-ConnectionSpecificSuffix \u003cstring\u003e] [-RegisterThisConnectionsAddress \u003cbool\u003e] [-UseSuffixWhenRegistering \u003cbool\u003e] [-ResetConnectionSpecificSuffix] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cuint32[]\u003e [-ConnectionSpecificSuffix \u003cstring\u003e] [-RegisterThisConnectionsAddress \u003cbool\u003e] [-UseSuffixWhenRegistering \u003cbool\u003e] [-ResetConnectionSpecificSuffix] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DNSClient[]\u003e [-ConnectionSpecificSuffix \u003cstring\u003e] [-RegisterThisConnectionsAddress \u003cbool\u003e] [-UseSuffixWhenRegistering \u003cbool\u003e] [-ResetConnectionSpecificSuffix] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject \u003cCimInstance#MSFT_DNSClientGlobalSetting[]\u003e] [-SuffixSearchList \u003cstring[]\u003e] [-UseDevolution \u003cbool\u003e] [-DevolutionLevel \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientNrptGlobal", + "CommandType": "Function", + "ParameterSets": "[-EnableDAForAllNetworks \u003cstring\u003e] [-GpoName \u003cstring\u003e] [-SecureNameQueryFallback \u003cstring\u003e] [-QueryPolicy \u003cstring\u003e] [-Server \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-DAEnable \u003cbool\u003e] [-DAIPsecEncryptionType \u003cstring\u003e] [-DAIPsecRequired \u003cbool\u003e] [-DANameServers \u003cstring[]\u003e] [-DAProxyServerName \u003cstring\u003e] [-DAProxyType \u003cstring\u003e] [-Comment \u003cstring\u003e] [-DnsSecEnable \u003cbool\u003e] [-DnsSecIPsecEncryptionType \u003cstring\u003e] [-DnsSecIPsecRequired \u003cbool\u003e] [-DnsSecValidationRequired \u003cbool\u003e] [-GpoName \u003cstring\u003e] [-IPsecTrustAuthority \u003cstring\u003e] [-NameEncoding \u003cstring\u003e] [-NameServers \u003cstring[]\u003e] [-Namespace \u003cstring[]\u003e] [-Server \u003cstring\u003e] [-DisplayName \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientServerAddress", + "CommandType": "Function", + "ParameterSets": "[-InterfaceAlias] \u003cstring[]\u003e [-ServerAddresses \u003cstring[]\u003e] [-Validate] [-ResetServerAddresses] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cuint32[]\u003e [-ServerAddresses \u003cstring[]\u003e] [-Validate] [-ResetServerAddresses] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DNSClientServerAddress[]\u003e [-ServerAddresses \u003cstring[]\u003e] [-Validate] [-ResetServerAddresses] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resolve-DnsName", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [[-Type] \u003cRecordType\u003e] [-Server \u003cstring[]\u003e] [-DnsOnly] [-CacheOnly] [-DnssecOk] [-DnssecCd] [-NoHostsFile] [-LlmnrNetbiosOnly] [-LlmnrFallback] [-LlmnrOnly] [-NetbiosFallback] [-NoIdn] [-NoRecursion] [-QuickTimeout] [-TcpOnly] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "International", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WinAcceptLanguageFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinCultureFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinDefaultInputMethodOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinHomeLocation", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinLanguageBarOption", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinSystemLocale", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinUILanguageOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinUserLanguageList", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WinUserLanguageList", + "CommandType": "Cmdlet", + "ParameterSets": "[-Language] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Culture", + "CommandType": "Cmdlet", + "ParameterSets": "[-CultureInfo] \u003ccultureinfo\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinAcceptLanguageFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[-OptOut] \u003cbool\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinCultureFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[-OptOut] \u003cbool\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinDefaultInputMethodOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[[-InputTip] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinHomeLocation", + "CommandType": "Cmdlet", + "ParameterSets": "[-GeoId] \u003cint\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinLanguageBarOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-UseLegacySwitchMode] [-UseLegacyLanguageBar] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinSystemLocale", + "CommandType": "Cmdlet", + "ParameterSets": "[-SystemLocale] \u003ccultureinfo\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinUILanguageOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Language] \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinUserLanguageList", + "CommandType": "Cmdlet", + "ParameterSets": "[-LanguageList] \u003cList[WinUserLanguage]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "iSCSI", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Connect-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "-NodeAddress \u003cstring\u003e [-TargetPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-IsDataDigest \u003cbool\u003e] [-IsHeaderDigest \u003cbool\u003e] [-IsPersistent \u003cbool\u003e] [-ReportToPnP \u003cbool\u003e] [-AuthenticationType \u003cstring\u003e] [-IsMultipathEnabled \u003cbool\u003e] [-InitiatorInstanceName \u003cstring\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-TargetPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-IsDataDigest \u003cbool\u003e] [-IsHeaderDigest \u003cbool\u003e] [-ReportToPnP \u003cbool\u003e] [-AuthenticationType \u003cstring\u003e] [-IsMultipathEnabled \u003cbool\u003e] [-InitiatorInstanceName \u003cstring\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress \u003cstring[]\u003e] [-SessionIdentifier \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITarget[]\u003e [-SessionIdentifier \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiConnection", + "CommandType": "Function", + "ParameterSets": "[-ConnectionIdentifier \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorSideIdentifier \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetSideIdentifier \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalAddress \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-IscsiTarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-IscsiSession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-iSCSITargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiSession", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e] [-SessionIdentifier \u003cstring[]\u003e] [-TargetSideIdentifier \u003cstring[]\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorSideIdentifier \u003cstring[]\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-IscsiTarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-IscsiTargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-IscsiConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IscsiConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IscsiSession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IscsiTargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "[[-TargetPortalAddress] \u003cstring[]\u003e] [-InitiatorPortalAddress \u003cstring[]\u003e] [-InitiatorInstanceName \u003cstring[]\u003e] [-TargetPortalPortNumber \u003cuint16[]\u003e] [-IsHeaderDigest \u003cbool[]\u003e] [-IsDataDigest \u003cbool[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSISession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSIConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSITarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "-TargetPortalAddress \u003cstring\u003e [-TargetPortalPortNumber \u003cuint16\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-IsHeaderDigest \u003cbool\u003e] [-IsDataDigest \u003cbool\u003e] [-AuthenticationType \u003cstring\u003e] [-InitiatorInstanceName \u003cstring\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-IscsiSession", + "CommandType": "Function", + "ParameterSets": "-SessionIdentifier \u003cstring[]\u003e [-IsMultipathEnabled \u003cbool\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSISession[]\u003e [-IsMultipathEnabled \u003cbool\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "-TargetPortalAddress \u003cstring[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cint\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITargetPortal[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cint\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiChapSecret", + "CommandType": "Function", + "ParameterSets": "[-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-IscsiSession", + "CommandType": "Function", + "ParameterSets": "-SessionIdentifier \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSISession[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-IscsiConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-IscsiSession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-IscsiTargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITarget[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "[-TargetPortalAddress] \u003cstring[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITargetPortal[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "IscsiTarget", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-IscsiVirtualDiskTargetMapping", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-Path] \u003cstring\u003e [-Lun \u003cint\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Checkpoint-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-OriginalPath] \u003cstring\u003e [-Description \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Convert-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-DestinationPath] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Dismount-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Expand-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Size] \u003cuint64\u003e [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Size] \u003cuint64\u003e -InputObject \u003cIscsiVirtualDisk\u003e [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TargetName] \u003cstring\u003e] [-ClusterGroupName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-Path \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-InitiatorId \u003cInitiatorId\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiTargetServerSetting", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-ClusterGroupName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-TargetName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-InitiatorId \u003cInitiatorId\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[[-OriginalPath] \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-SnapshotId \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Description \u003cstring\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Mount-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-InitiatorIds \u003cInitiatorId[]\u003e] [-ClusterGroupName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Size] \u003cuint64\u003e [-Description \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e -ParentPath \u003cstring\u003e [-Description \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiServerTarget\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDisk\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiVirtualDiskTargetMapping", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-Path] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restore-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-TargetIqn \u003cIqn\u003e] [-Description \u003cstring\u003e] [-Enable \u003cbool\u003e] [-EnableChap \u003cbool\u003e] [-Chap \u003cpscredential\u003e] [-EnableReverseChap \u003cbool\u003e] [-ReverseChap \u003cpscredential\u003e] [-MaxReceiveDataSegmentLength \u003cint\u003e] [-FirstBurstLength \u003cint\u003e] [-MaxBurstLength \u003cint\u003e] [-ReceiveBufferCount \u003cint\u003e] [-EnforceIdleTimeoutDetection \u003cbool\u003e] [-InitiatorIds \u003cInitiatorId[]\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiServerTarget\u003e [-TargetIqn \u003cIqn\u003e] [-Description \u003cstring\u003e] [-Enable \u003cbool\u003e] [-EnableChap \u003cbool\u003e] [-Chap \u003cpscredential\u003e] [-EnableReverseChap \u003cbool\u003e] [-ReverseChap \u003cpscredential\u003e] [-MaxReceiveDataSegmentLength \u003cint\u003e] [-FirstBurstLength \u003cint\u003e] [-MaxBurstLength \u003cint\u003e] [-ReceiveBufferCount \u003cint\u003e] [-EnforceIdleTimeoutDetection \u003cbool\u003e] [-InitiatorIds \u003cInitiatorId[]\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiTargetServerSetting", + "CommandType": "Cmdlet", + "ParameterSets": "[-IP] \u003cstring\u003e [-Port \u003cint\u003e] [-Enable \u003cbool\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Description \u003cstring\u003e] [-PassThru] [-Enable \u003cbool\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDisk\u003e [-Description \u003cstring\u003e] [-PassThru] [-Enable \u003cbool\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-Description \u003cstring\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-Description \u003cstring\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "ISE", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-IseSnippet", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-IseSnippet", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring\u003e [-Recurse] [\u003cCommonParameters\u003e] -Module \u003cstring\u003e [-Recurse] [-ListAvailable] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IseSnippet", + "CommandType": "Function", + "ParameterSets": "[-Title] \u003cstring\u003e [-Description] \u003cstring\u003e [-Text] \u003cstring\u003e [-Author \u003cstring\u003e] [-CaretOffset \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Kds", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-KdsRootKey", + "CommandType": "Cmdlet", + "ParameterSets": "[[-EffectiveTime] \u003cdatetime\u003e] [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -EffectiveImmediately [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-KdsCache", + "CommandType": "Cmdlet", + "ParameterSets": "[-CacheOwnerSid \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-KdsConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-KdsRootKey", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-KdsConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-LocalTestOnly] [-SecretAgreementPublicKeyLength \u003cint\u003e] [-SecretAgreementPrivateKeyLength \u003cint\u003e] [-SecretAgreementParameters \u003cbyte[]\u003e] [-SecretAgreementAlgorithm \u003cstring\u003e] [-KdfParameters \u003cbyte[]\u003e] [-KdfAlgorithm \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -RevertToDefault [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cKdsServerConfiguration\u003e [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-KdsRootKey", + "CommandType": "Cmdlet", + "ParameterSets": "[-KeyId] \u003cguid\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Diagnostics", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Export-Counter", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e -InputObject \u003cPerformanceCounterSampleSet[]\u003e [-FileFormat \u003cstring\u003e] [-MaxSize \u003cuint32\u003e] [-Force] [-Circular] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Counter", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Counter] \u003cstring[]\u003e] [-SampleInterval \u003cint\u003e] [-MaxSamples \u003clong\u003e] [-Continuous] [-ComputerName \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-ListSet] \u003cstring[]\u003e [-ComputerName \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[[-LogName] \u003cstring[]\u003e] [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-FilterXPath \u003cstring\u003e] [-Force] [-Oldest] [\u003cCommonParameters\u003e] [-ListLog] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Force] [\u003cCommonParameters\u003e] [-ListProvider] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ProviderName] \u003cstring[]\u003e [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-FilterXPath \u003cstring\u003e] [-Force] [-Oldest] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-MaxEvents \u003clong\u003e] [-Credential \u003cpscredential\u003e] [-FilterXPath \u003cstring\u003e] [-Oldest] [\u003cCommonParameters\u003e] [-FilterXml] \u003cxml\u003e [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Oldest] [\u003cCommonParameters\u003e] [-FilterHashtable] \u003chashtable[]\u003e [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Force] [-Oldest] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Counter", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-StartTime \u003cdatetime\u003e] [-EndTime \u003cdatetime\u003e] [-Counter \u003cstring[]\u003e] [-MaxSamples \u003clong\u003e] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e -ListSet \u003cstring[]\u003e [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Summary] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WinEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-ProviderName] \u003cstring\u003e [-Id] \u003cint\u003e [[-Payload] \u003cObject[]\u003e] [-Version \u003cbyte\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Host", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Start-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-Append] [-Force] [-NoClobber] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-LiteralPath] \u003cstring\u003e] [-Append] [-Force] [-NoClobber] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Management", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-DomainName] \u003cstring\u003e -Credential \u003cpscredential\u003e [-ComputerName \u003cstring[]\u003e] [-LocalCredential \u003cpscredential\u003e] [-UnjoinDomainCredential \u003cpscredential\u003e] [-OUPath \u003cstring\u003e] [-Server \u003cstring\u003e] [-Unsecure] [-Options \u003cJoinOptions\u003e] [-Restart] [-PassThru] [-NewName \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-WorkGroupName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-LocalCredential \u003cpscredential\u003e] [-Credential \u003cpscredential\u003e] [-Restart] [-PassThru] [-NewName \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Value] \u003cObject[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Value] \u003cObject[]\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Checkpoint-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-Description] \u003cstring\u003e [[-RestorePointType] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Complete-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Convert-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Destination] \u003cstring\u003e] [-Container] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Destination] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-Container] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Destination] \u003cstring\u003e [-Name] \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Destination] \u003cstring\u003e [-Name] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Debug-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cProcess[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-ComputerRestore", + "CommandType": "Cmdlet", + "ParameterSets": "[-Drive] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ComputerRestore", + "CommandType": "Cmdlet", + "ParameterSets": "[-Drive] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ChildItem", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-Filter] \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Name] [-UseTransaction] [-Attributes \u003cFlagsExpression[FileAttributes]\u003e] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [\u003cCommonParameters\u003e] [[-Filter] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Name] [-UseTransaction] [-Attributes \u003cFlagsExpression[FileAttributes]\u003e] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ComputerRestorePoint", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RestorePoint] \u003cint[]\u003e] [\u003cCommonParameters\u003e] -LastStatus [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-ReadCount \u003clong\u003e] [-TotalCount \u003clong\u003e] [-Tail \u003cint\u003e] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Delimiter \u003cstring\u003e] [-Wait] [-Raw] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-ReadCount \u003clong\u003e] [-TotalCount \u003clong\u003e] [-Tail \u003cint\u003e] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Delimiter \u003cstring\u003e] [-Wait] [-Raw] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ControlPanelItem", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Category \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -CanonicalName \u003cstring[]\u003e [-Category \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring\u003e [[-InstanceId] \u003clong[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Newest \u003cint\u003e] [-After \u003cdatetime\u003e] [-Before \u003cdatetime\u003e] [-UserName \u003cstring[]\u003e] [-Index \u003cint[]\u003e] [-EntryType \u003cstring[]\u003e] [-Source \u003cstring[]\u003e] [-Message \u003cstring\u003e] [-AsBaseObject] [\u003cCommonParameters\u003e] [-ComputerName \u003cstring[]\u003e] [-List] [-AsString] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-HotFix", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Name] \u003cstring[]\u003e] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PSProvider \u003cstring[]\u003e] [-PSDrive \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Stack] [-StackName \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Module] [-FileVersionInfo] [\u003cCommonParameters\u003e] -Id \u003cint[]\u003e [-ComputerName \u003cstring[]\u003e] [-Module] [-FileVersionInfo] [\u003cCommonParameters\u003e] -InputObject \u003cProcess[]\u003e [-ComputerName \u003cstring[]\u003e] [-Module] [-FileVersionInfo] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-PSProvider \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralName] \u003cstring[]\u003e [-Scope \u003cstring\u003e] [-PSProvider \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-PSProvider] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-DependentServices] [-RequiredServices] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-ComputerName \u003cstring[]\u003e] [-DependentServices] [-RequiredServices] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-ComputerName \u003cstring[]\u003e] [-DependentServices] [-RequiredServices] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-InputObject \u003cServiceController[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WmiObject", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [[-Property] \u003cstring[]\u003e] [-Filter \u003cstring\u003e] [-Amended] [-DirectRead] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Class] \u003cstring\u003e] [-Recurse] [-Amended] [-List] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] -Query \u003cstring\u003e [-Amended] [-DirectRead] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Amended] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Amended] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-WmiMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [-Name] \u003cstring\u003e [[-ArgumentList] \u003cObject[]\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -InputObject \u003cwmi\u003e [-ArgumentList \u003cObject[]\u003e] [-AsJob] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Path \u003cstring\u003e [-ArgumentList \u003cObject[]\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Join-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-ChildPath] \u003cstring\u003e [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Limit-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring[]\u003e [-ComputerName \u003cstring[]\u003e] [-RetentionDays \u003cint\u003e] [-OverflowAction \u003cOverflowAction\u003e] [-MaximumSize \u003clong\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Destination] \u003cstring\u003e] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Destination] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Destination] \u003cstring\u003e [-Name] \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Destination] \u003cstring\u003e [-Name] \u003cstring[]\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring\u003e [-Source] \u003cstring[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-CategoryResourceFile \u003cstring\u003e] [-MessageResourceFile \u003cstring\u003e] [-ParameterResourceFile \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-ItemType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] -Name \u003cstring\u003e [-ItemType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring\u003e [-PropertyType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-PropertyType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-PSProvider] \u003cstring\u003e [-Root] \u003cstring\u003e [-Description \u003cstring\u003e] [-Scope \u003cstring\u003e] [-Persist] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-BinaryPathName] \u003cstring\u003e [-DisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-StartupType \u003cServiceStartMode\u003e] [-Credential \u003cpscredential\u003e] [-DependsOn \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WebServiceProxy", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] \u003curi\u003e [[-Class] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Uri] \u003curi\u003e [[-Class] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Uri] \u003curi\u003e [[-Class] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [-UseDefaultCredential] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Pop-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Push-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralPath \u003cstring\u003e] [-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-WmiEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ComputerName \u003cstring\u003e] [-Timeout \u003clong\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ComputerName \u003cstring\u003e] [-Timeout \u003clong\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-UnjoinDomainCredential] \u003cpscredential\u003e] [-Restart] [-Force] [-PassThru] [-Workgroup \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UnjoinDomainCredential \u003cpscredential\u003e [-LocalCredential \u003cpscredential\u003e] [-Restart] [-ComputerName \u003cstring[]\u003e] [-Force] [-PassThru] [-Workgroup \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-Source \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -LiteralPath \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PSProvider \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralName] \u003cstring[]\u003e [-PSProvider \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WmiObject", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cwmi\u003e [-AsJob] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-NewName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-PassThru] [-DomainCredential \u003cpscredential\u003e] [-LocalCredential \u003cpscredential\u003e] [-Force] [-Restart] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-NewName] \u003cstring\u003e [-Force] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-NewName] \u003cstring\u003e -LiteralPath \u003cstring\u003e [-Force] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e -LiteralPath \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-ComputerMachinePassword", + "CommandType": "Cmdlet", + "ParameterSets": "[-Server \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resolve-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Relative] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Relative] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-DcomAuthentication \u003cAuthenticationLevel\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-WsmanAuthentication \u003cstring\u003e] [-Protocol \u003cstring\u003e] [-Force] [-Wait] [-Timeout \u003cint\u003e] [-For \u003cWaitForServiceTypes\u003e] [-Delay \u003cint16\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-AsJob] [-DcomAuthentication \u003cAuthenticationLevel\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-Force] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restore-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-RestorePoint] \u003cint\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Value] \u003cObject[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Value] \u003cObject[]\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Value] \u003cObject\u003e] [-Force] [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Value] \u003cObject\u003e] -LiteralPath \u003cstring[]\u003e [-Force] [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring\u003e [-Value] \u003cObject\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e -InputObject \u003cpsobject\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e -InputObject \u003cpsobject\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-Value] \u003cObject\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-PassThru] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e [-PassThru] [-UseTransaction] [\u003cCommonParameters\u003e] [-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-DisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-StartupType \u003cServiceStartMode\u003e] [-Status \u003cstring\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName \u003cstring[]\u003e] [-DisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-StartupType \u003cServiceStartMode\u003e] [-Status \u003cstring\u003e] [-InputObject \u003cServiceController\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WmiInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [[-Arguments] \u003chashtable\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cwmi\u003e [-Arguments \u003chashtable\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-Arguments \u003chashtable\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-ControlPanelItem", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [\u003cCommonParameters\u003e] -CanonicalName \u003cstring[]\u003e [\u003cCommonParameters\u003e] [[-InputObject] \u003cControlPanelItem[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Split-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Parent] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Resolve] [-IsAbsolute] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Leaf] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Qualifier] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-NoQualifier] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [[-ArgumentList] \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WorkingDirectory \u003cstring\u003e] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError \u003cstring\u003e] [-RedirectStandardInput \u003cstring\u003e] [-RedirectStandardOutput \u003cstring\u003e] [-Wait] [-WindowStyle \u003cProcessWindowStyle\u003e] [-UseNewEnvironment] [\u003cCommonParameters\u003e] [-FilePath] \u003cstring\u003e [[-ArgumentList] \u003cstring[]\u003e] [-WorkingDirectory \u003cstring\u003e] [-PassThru] [-Verb \u003cstring\u003e] [-Wait] [-WindowStyle \u003cProcessWindowStyle\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Timeout \u003cint\u003e] [-Independent] [-RollbackPreference \u003cRollbackSeverity\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-AsJob] [-Authentication \u003cAuthenticationLevel\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-ThrottleLimit \u003cint\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cProcess[]\u003e [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-ComputerSecureChannel", + "CommandType": "Cmdlet", + "ParameterSets": "[-Repair] [-Server \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Connection", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName] \u003cstring[]\u003e [-AsJob] [-Authentication \u003cAuthenticationLevel\u003e] [-BufferSize \u003cint\u003e] [-Count \u003cint\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-ThrottleLimit \u003cint\u003e] [-TimeToLive \u003cint\u003e] [-Delay \u003cint\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-Source] \u003cstring[]\u003e [-AsJob] [-Authentication \u003cAuthenticationLevel\u003e] [-BufferSize \u003cint\u003e] [-Count \u003cint\u003e] [-Credential \u003cpscredential\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-ThrottleLimit \u003cint\u003e] [-TimeToLive \u003cint\u003e] [-Delay \u003cint\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-Authentication \u003cAuthenticationLevel\u003e] [-BufferSize \u003cint\u003e] [-Count \u003cint\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-TimeToLive \u003cint\u003e] [-Delay \u003cint\u003e] [-Quiet] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PathType \u003cTestPathType\u003e] [-IsValid] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-OlderThan \u003cdatetime\u003e] [-NewerThan \u003cdatetime\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PathType \u003cTestPathType\u003e] [-IsValid] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-OlderThan \u003cdatetime\u003e] [-NewerThan \u003cdatetime\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Undo-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Use-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-TransactedScript] \u003cscriptblock\u003e [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Wait-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-Timeout] \u003cint\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [[-Timeout] \u003cint\u003e] [\u003cCommonParameters\u003e] [[-Timeout] \u003cint\u003e] -InputObject \u003cProcess[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring\u003e [-Source] \u003cstring\u003e [-EventId] \u003cint\u003e [[-EntryType] \u003cEventLogEntryType\u003e] [-Message] \u003cstring\u003e [-Category \u003cint16\u003e] [-RawData \u003cbyte[]\u003e] [-ComputerName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Security", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "ConvertFrom-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-SecureString] \u003csecurestring\u003e [[-SecureKey] \u003csecurestring\u003e] [\u003cCommonParameters\u003e] [-SecureString] \u003csecurestring\u003e [-Key \u003cbyte[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-String] \u003cstring\u003e [[-SecureKey] \u003csecurestring\u003e] [\u003cCommonParameters\u003e] [-String] \u003cstring\u003e [-AsPlainText] [-Force] [\u003cCommonParameters\u003e] [-String] \u003cstring\u003e [-Key \u003cbyte[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Acl", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [-Audit] [-AllCentralAccessPolicies] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] -InputObject \u003cpsobject\u003e [-Audit] [-AllCentralAccessPolicies] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralPath \u003cstring[]\u003e] [-Audit] [-AllCentralAccessPolicies] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AuthenticodeSignature", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring[]\u003e [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Credential", + "CommandType": "Cmdlet", + "ParameterSets": "[-Credential] \u003cpscredential\u003e [\u003cCommonParameters\u003e] [[-UserName] \u003cstring\u003e] -Message \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Scope] \u003cExecutionPolicyScope\u003e] [-List] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring[]\u003e [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Acl", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-AclObject] \u003cObject\u003e [[-CentralAccessPolicy] \u003cstring\u003e] [-ClearCentralAccessPolicy] [-Passthru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-InputObject] \u003cpsobject\u003e [-AclObject] \u003cObject\u003e [-Passthru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-AclObject] \u003cObject\u003e [[-CentralAccessPolicy] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-ClearCentralAccessPolicy] [-Passthru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-AuthenticodeSignature", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring[]\u003e [-Certificate] \u003cX509Certificate2\u003e [-IncludeChain \u003cstring\u003e] [-TimestampServer \u003cstring\u003e] [-HashAlgorithm \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Certificate] \u003cX509Certificate2\u003e -LiteralPath \u003cstring[]\u003e [-IncludeChain \u003cstring\u003e] [-TimestampServer \u003cstring\u003e] [-HashAlgorithm \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ExecutionPolicy] \u003cExecutionPolicy\u003e [[-Scope] \u003cExecutionPolicyScope\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Utility", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-Member", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject \u003cpsobject\u003e -TypeName \u003cstring\u003e [-PassThru] [\u003cCommonParameters\u003e] [-NotePropertyMembers] \u003cIDictionary\u003e -InputObject \u003cpsobject\u003e [-TypeName \u003cstring\u003e] [-Force] [-PassThru] [\u003cCommonParameters\u003e] [-NotePropertyName] \u003cstring\u003e [-NotePropertyValue] \u003cObject\u003e -InputObject \u003cpsobject\u003e [-TypeName \u003cstring\u003e] [-Force] [-PassThru] [\u003cCommonParameters\u003e] [-MemberType] \u003cPSMemberTypes\u003e [-Name] \u003cstring\u003e [[-Value] \u003cObject\u003e] [[-SecondValue] \u003cObject\u003e] -InputObject \u003cpsobject\u003e [-TypeName \u003cstring\u003e] [-Force] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-Type", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeDefinition] \u003cstring\u003e [-Language \u003cLanguage\u003e] [-ReferencedAssemblies \u003cstring[]\u003e] [-CodeDomProvider \u003cCodeDomProvider\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-MemberDefinition] \u003cstring[]\u003e [-Namespace \u003cstring\u003e] [-UsingNamespace \u003cstring[]\u003e] [-Language \u003cLanguage\u003e] [-ReferencedAssemblies \u003cstring[]\u003e] [-CodeDomProvider \u003cCodeDomProvider\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-ReferencedAssemblies \u003cstring[]\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-ReferencedAssemblies \u003cstring[]\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] -AssemblyName \u003cstring[]\u003e [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-PassThru] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Compare-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-ReferenceObject] \u003cpsobject[]\u003e [-DifferenceObject] \u003cpsobject[]\u003e [-SyncWindow \u003cint\u003e] [-Property \u003cObject[]\u003e] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture \u003cstring\u003e] [-CaseSensitive] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertFrom-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject[]\u003e [[-Delimiter] \u003cchar\u003e] [-Header \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cpsobject[]\u003e -UseCulture [-Header \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertFrom-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertFrom-StringData", + "CommandType": "Cmdlet", + "ParameterSets": "[-StringData] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject\u003e [[-Delimiter] \u003cchar\u003e] [-NoTypeInformation] [\u003cCommonParameters\u003e] [-InputObject] \u003cpsobject\u003e [-UseCulture] [-NoTypeInformation] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Html", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [[-Head] \u003cstring[]\u003e] [[-Title] \u003cstring\u003e] [[-Body] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-As \u003cstring\u003e] [-CssUri \u003curi\u003e] [-PostContent \u003cstring[]\u003e] [-PreContent \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Property] \u003cObject[]\u003e] [-InputObject \u003cpsobject\u003e] [-As \u003cstring\u003e] [-Fragment] [-PostContent \u003cstring[]\u003e] [-PreContent \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cObject\u003e [-Depth \u003cint\u003e] [-Compress] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject\u003e [-Depth \u003cint\u003e] [-NoTypeInformation] [-As \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] \u003cBreakpoint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Breakpoint] \u003cBreakpoint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [[-Name] \u003cstring[]\u003e] [-PassThru] [-As \u003cExportAliasFormat\u003e] [-Append] [-Force] [-NoClobber] [-Description \u003cstring\u003e] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -LiteralPath \u003cstring\u003e [-PassThru] [-As \u003cExportAliasFormat\u003e] [-Append] [-Force] [-NoClobber] [-Description \u003cstring\u003e] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e -InputObject \u003cpsobject\u003e [-Depth \u003cint\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e -InputObject \u003cpsobject\u003e [-Depth \u003cint\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [[-Delimiter] \u003cchar\u003e] -InputObject \u003cpsobject\u003e [-LiteralPath \u003cstring\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-Append] [-NoTypeInformation] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Path] \u003cstring\u003e] -InputObject \u003cpsobject\u003e [-LiteralPath \u003cstring\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-Append] [-UseCulture] [-NoTypeInformation] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject \u003cExtendedTypeDefinition[]\u003e -Path \u003cstring\u003e [-Force] [-NoClobber] [-IncludeScriptBlock] [\u003cCommonParameters\u003e] -InputObject \u003cExtendedTypeDefinition[]\u003e -LiteralPath \u003cstring\u003e [-Force] [-NoClobber] [-IncludeScriptBlock] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession\u003e [-OutputModule] \u003cstring\u003e [[-CommandName] \u003cstring[]\u003e] [[-FormatTypeName] \u003cstring[]\u003e] [-Force] [-Encoding \u003cstring\u003e] [-AllowClobber] [-ArgumentList \u003cObject[]\u003e] [-CommandType \u003cCommandTypes\u003e] [-Module \u003cstring[]\u003e] [-Certificate \u003cX509Certificate2\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Custom", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-Depth \u003cint\u003e] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-List", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Table", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Wide", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject\u003e] [-AutoSize] [-Column \u003cint\u003e] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Exclude \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-Definition \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Culture", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Date] \u003cdatetime\u003e] [-Year \u003cint\u003e] [-Month \u003cint\u003e] [-Day \u003cint\u003e] [-Hour \u003cint\u003e] [-Minute \u003cint\u003e] [-Second \u003cint\u003e] [-Millisecond \u003cint\u003e] [-DisplayHint \u003cDisplayHintType\u003e] [-Format \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Date] \u003cdatetime\u003e] [-Year \u003cint\u003e] [-Month \u003cint\u003e] [-Day \u003cint\u003e] [-Hour \u003cint\u003e] [-Minute \u003cint\u003e] [-Second \u003cint\u003e] [-Millisecond \u003cint\u003e] [-DisplayHint \u003cDisplayHintType\u003e] [-UFormat \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-EventIdentifier] \u003cint\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-EventSubscriber", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e] [-SubscriptionId] \u003cint\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Member", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-MemberType \u003cPSMemberTypes\u003e] [-View \u003cPSMemberViewTypes\u003e] [-Static] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Script] \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Type] \u003cBreakpointType[]\u003e [-Script \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -Command \u003cstring[]\u003e [-Script \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -Variable \u003cstring[]\u003e [-Script \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSCallStack", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Random", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Maximum] \u003cObject\u003e] [-SetSeed \u003cint\u003e] [-Minimum \u003cObject\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cObject[]\u003e [-SetSeed \u003cint\u003e] [-Count \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UICulture", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Unique", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject \u003cpsobject\u003e] [-AsString] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-OnType] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ValueOnly] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Group-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-NoElement] [-AsHashTable] [-AsString] [-InputObject \u003cpsobject\u003e] [-Culture \u003cstring\u003e] [-CaseSensitive] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Scope \u003cstring\u003e] [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e [-Scope \u003cstring\u003e] [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-IncludeTotalCount] [-Skip \u003cuint64\u003e] [-First \u003cuint64\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-IncludeTotalCount] [-Skip \u003cuint64\u003e] [-First \u003cuint64\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-Delimiter] \u003cchar\u003e] [-LiteralPath \u003cstring[]\u003e] [-Header \u003cstring[]\u003e] [-Encoding \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] -UseCulture [-LiteralPath \u003cstring[]\u003e] [-Header \u003cstring[]\u003e] [-Encoding \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-LocalizedData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-BindingVariable] \u003cstring\u003e] [[-UICulture] \u003cstring\u003e] [-BaseDirectory \u003cstring\u003e] [-FileName \u003cstring\u003e] [-SupportedCommand \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession\u003e [[-CommandName] \u003cstring[]\u003e] [[-FormatTypeName] \u003cstring[]\u003e] [-Prefix \u003cstring\u003e] [-DisableNameChecking] [-AllowClobber] [-ArgumentList \u003cObject[]\u003e] [-CommandType \u003cCommandTypes\u003e] [-Module \u003cstring[]\u003e] [-Certificate \u003cX509Certificate2\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-Expression", + "CommandType": "Cmdlet", + "ParameterSets": "[-Command] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-RestMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] \u003curi\u003e [-Method \u003cWebRequestMethod\u003e] [-WebSession \u003cWebRequestSession\u003e] [-SessionVariable \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-CertificateThumbprint \u003cstring\u003e] [-Certificate \u003cX509Certificate\u003e] [-UserAgent \u003cstring\u003e] [-DisableKeepAlive] [-TimeoutSec \u003cint\u003e] [-Headers \u003cIDictionary\u003e] [-MaximumRedirection \u003cint\u003e] [-Proxy \u003curi\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyUseDefaultCredentials] [-Body \u003cObject\u003e] [-ContentType \u003cstring\u003e] [-TransferEncoding \u003cstring\u003e] [-InFile \u003cstring\u003e] [-OutFile \u003cstring\u003e] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-WebRequest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] \u003curi\u003e [-UseBasicParsing] [-WebSession \u003cWebRequestSession\u003e] [-SessionVariable \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-CertificateThumbprint \u003cstring\u003e] [-Certificate \u003cX509Certificate\u003e] [-UserAgent \u003cstring\u003e] [-DisableKeepAlive] [-TimeoutSec \u003cint\u003e] [-Headers \u003cIDictionary\u003e] [-MaximumRedirection \u003cint\u003e] [-Method \u003cWebRequestMethod\u003e] [-Proxy \u003curi\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyUseDefaultCredentials] [-Body \u003cObject\u003e] [-ContentType \u003cstring\u003e] [-TransferEncoding \u003cstring\u003e] [-InFile \u003cstring\u003e] [-OutFile \u003cstring\u003e] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Measure-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Expression] \u003cscriptblock\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Measure-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-Sum] [-Average] [-Maximum] [-Minimum] [\u003cCommonParameters\u003e] [[-Property] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-Value] \u003cstring\u003e [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-PassThru] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [[-Sender] \u003cpsobject\u003e] [[-EventArguments] \u003cpsobject[]\u003e] [[-MessageData] \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeName] \u003cstring\u003e [[-ArgumentList] \u003cObject[]\u003e] [-Property \u003cIDictionary\u003e] [\u003cCommonParameters\u003e] [-ComObject] \u003cstring\u003e [-Strict] [-Property \u003cIDictionary\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-TimeSpan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Start] \u003cdatetime\u003e] [[-End] \u003cdatetime\u003e] [\u003cCommonParameters\u003e] [-Days \u003cint\u003e] [-Hours \u003cint\u003e] [-Minutes \u003cint\u003e] [-Seconds \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [[-Value] \u003cObject\u003e] [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-Visibility \u003cSessionStateEntryVisibility\u003e] [-Force] [-PassThru] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [[-Encoding] \u003cstring\u003e] [-Append] [-Force] [-NoClobber] [-Width \u003cint\u003e] [-InputObject \u003cpsobject\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Encoding] \u003cstring\u003e] -LiteralPath \u003cstring\u003e [-Append] [-Force] [-NoClobber] [-Width \u003cint\u003e] [-InputObject \u003cpsobject\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-GridView", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject \u003cpsobject\u003e] [-Title \u003cstring\u003e] [-PassThru] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-Title \u003cstring\u003e] [-Wait] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-Title \u003cstring\u003e] [-OutputMode \u003cOutputModeOption\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Printer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Stream] [-Width \u003cint\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Read-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Prompt] \u003cObject\u003e] [-AsSecureString] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-EngineEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [[-Action] \u003cscriptblock\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ObjectEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject\u003e [-EventName] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-EventIdentifier] \u003cint\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] \u003cBreakpoint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "-TypeData \u003cTypeData\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TypeName] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Select-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-InputObject \u003cpsobject\u003e] [-ExcludeProperty \u003cstring[]\u003e] [-ExpandProperty \u003cstring\u003e] [-Unique] [-Last \u003cint\u003e] [-First \u003cint\u003e] [-Skip \u003cint\u003e] [-Wait] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-Unique] [-Wait] [-Index \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Select-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Pattern] \u003cstring[]\u003e [-Path] \u003cstring[]\u003e [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-NotMatch] [-AllMatches] [-Encoding \u003cstring\u003e] [-Context \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Pattern] \u003cstring[]\u003e -InputObject \u003cpsobject\u003e [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-NotMatch] [-AllMatches] [-Encoding \u003cstring\u003e] [-Context \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Pattern] \u003cstring[]\u003e -LiteralPath \u003cstring[]\u003e [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-NotMatch] [-AllMatches] [-Encoding \u003cstring\u003e] [-Context \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Select-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-XPath] \u003cstring\u003e [-Xml] \u003cXmlNode[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e] [-XPath] \u003cstring\u003e [-Path] \u003cstring[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e] [-XPath] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e] [-XPath] \u003cstring\u003e -Content \u003cstring[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Send-MailMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-To] \u003cstring[]\u003e [-Subject] \u003cstring\u003e [[-Body] \u003cstring\u003e] [[-SmtpServer] \u003cstring\u003e] -From \u003cstring\u003e [-Attachments \u003cstring[]\u003e] [-Bcc \u003cstring[]\u003e] [-BodyAsHtml] [-Encoding \u003cEncoding\u003e] [-Cc \u003cstring[]\u003e] [-DeliveryNotificationOption \u003cDeliveryNotificationOptions\u003e] [-Priority \u003cMailPriority\u003e] [-Credential \u003cpscredential\u003e] [-UseSsl] [-Port \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-Value] \u003cstring\u003e [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-PassThru] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[-Date] \u003cdatetime\u003e [-DisplayHint \u003cDisplayHintType\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Adjust] \u003ctimespan\u003e [-DisplayHint \u003cDisplayHintType\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Script] \u003cstring[]\u003e [-Line] \u003cint[]\u003e [[-Column] \u003cint\u003e] [-Action \u003cscriptblock\u003e] [\u003cCommonParameters\u003e] [[-Script] \u003cstring[]\u003e] -Variable \u003cstring[]\u003e [-Action \u003cscriptblock\u003e] [-Mode \u003cVariableAccessMode\u003e] [\u003cCommonParameters\u003e] [[-Script] \u003cstring[]\u003e] -Command \u003cstring[]\u003e [-Action \u003cscriptblock\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-Option] \u003cPSTraceSourceOptions\u003e] [-ListenerOption \u003cTraceOptions\u003e] [-FilePath \u003cstring\u003e] [-Force] [-Debugger] [-PSHost] [-PassThru] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-RemoveListener \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-RemoveFileListener \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-Value] \u003cObject\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-Force] [-Visibility \u003cSessionStateEntryVisibility\u003e] [-PassThru] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-Height \u003cdouble\u003e] [-Width \u003cdouble\u003e] [-NoCommonParameter] [-ErrorPopup] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Sort-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-Descending] [-Unique] [-InputObject \u003cpsobject\u003e] [-Culture \u003cstring\u003e] [-CaseSensitive] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Sleep", + "CommandType": "Cmdlet", + "ParameterSets": "[-Seconds] \u003cint\u003e [\u003cCommonParameters\u003e] -Milliseconds \u003cint\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Tee-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [-Append] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] -Variable \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Trace-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Expression] \u003cscriptblock\u003e [[-Option] \u003cPSTraceSourceOptions\u003e] [-InputObject \u003cpsobject\u003e] [-ListenerOption \u003cTraceOptions\u003e] [-FilePath \u003cstring\u003e] [-Force] [-Debugger] [-PSHost] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Command] \u003cstring\u003e [[-Option] \u003cPSTraceSourceOptions\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-ListenerOption \u003cTraceOptions\u003e] [-FilePath \u003cstring\u003e] [-Force] [-Debugger] [-PSHost] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unblock-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-SubscriptionId] \u003cint\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] \u003cstring[]\u003e] [-PrependPath \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-List", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cstring\u003e] [-Add \u003cObject[]\u003e] [-Remove \u003cObject[]\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [[-Property] \u003cstring\u003e] -Replace \u003cObject[]\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] \u003cstring[]\u003e] [-PrependPath \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -TypeName \u003cstring\u003e [-MemberType \u003cPSMemberTypes\u003e] [-MemberName \u003cstring\u003e] [-Value \u003cObject\u003e] [-SecondValue \u003cObject\u003e] [-TypeConverter \u003ctype\u003e] [-TypeAdapter \u003ctype\u003e] [-SerializationMethod \u003cstring\u003e] [-TargetTypeForDeserialization \u003ctype\u003e] [-SerializationDepth \u003cint\u003e] [-DefaultDisplayProperty \u003cstring\u003e] [-InheritPropertySerializationSet \u003cbool\u003e] [-StringSerializationSource \u003cstring\u003e] [-DefaultDisplayPropertySet \u003cstring[]\u003e] [-DefaultKeyPropertySet \u003cstring[]\u003e] [-PropertySerializationSet \u003cstring[]\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TypeData] \u003cTypeData[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Wait-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] \u003cstring\u003e] [-Timeout \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Debug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Error", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [-Category \u003cErrorCategory\u003e] [-ErrorId \u003cstring\u003e] [-TargetObject \u003cObject\u003e] [-RecommendedAction \u003cstring\u003e] [-CategoryActivity \u003cstring\u003e] [-CategoryReason \u003cstring\u003e] [-CategoryTargetName \u003cstring\u003e] [-CategoryTargetType \u003cstring\u003e] [\u003cCommonParameters\u003e] -Exception \u003cException\u003e [-Message \u003cstring\u003e] [-Category \u003cErrorCategory\u003e] [-ErrorId \u003cstring\u003e] [-TargetObject \u003cObject\u003e] [-RecommendedAction \u003cstring\u003e] [-CategoryActivity \u003cstring\u003e] [-CategoryReason \u003cstring\u003e] [-CategoryTargetName \u003cstring\u003e] [-CategoryTargetType \u003cstring\u003e] [\u003cCommonParameters\u003e] -ErrorRecord \u003cErrorRecord\u003e [-RecommendedAction \u003cstring\u003e] [-CategoryActivity \u003cstring\u003e] [-CategoryReason \u003cstring\u003e] [-CategoryTargetName \u003cstring\u003e] [-CategoryTargetType \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Object] \u003cObject\u003e] [-NoNewline] [-Separator \u003cObject\u003e] [-ForegroundColor \u003cConsoleColor\u003e] [-BackgroundColor \u003cConsoleColor\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Output", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Progress", + "CommandType": "Cmdlet", + "ParameterSets": "[-Activity] \u003cstring\u003e [[-Status] \u003cstring\u003e] [[-Id] \u003cint\u003e] [-PercentComplete \u003cint\u003e] [-SecondsRemaining \u003cint\u003e] [-CurrentOperation \u003cstring\u003e] [-ParentId \u003cint\u003e] [-Completed] [-SourceId \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Verbose", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Warning", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.WSMan.Management", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Connect-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ConnectionURI \u003curi\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[-Role] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[-Role] \u003cstring\u003e [[-DelegateComputer] \u003cstring[]\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-ConnectionURI \u003curi\u003e] [-Dialect \u003curi\u003e] [-Fragment \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SelectorSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e -Enumerate [-ApplicationName \u003cstring\u003e] [-BasePropertiesOnly] [-ComputerName \u003cstring\u003e] [-ConnectionURI \u003curi\u003e] [-Dialect \u003curi\u003e] [-Filter \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-Associations] [-ReturnType \u003cstring\u003e] [-SessionOption \u003cSessionOption\u003e] [-Shallow] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-WSManAction", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-Action] \u003cstring\u003e [[-SelectorSet] \u003chashtable\u003e] [-ConnectionURI \u003curi\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [-Action] \u003cstring\u003e [[-SelectorSet] \u003chashtable\u003e] [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ConnectionURI \u003curi\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WSManSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-ProxyAccessType \u003cProxyAccessType\u003e] [-ProxyAuthentication \u003cProxyAuthentication\u003e] [-ProxyCredential \u003cpscredential\u003e] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-SPNPort \u003cint\u003e] [-OperationTimeout \u003cint\u003e] [-NoEncryption] [-UseUTF16] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ConnectionURI \u003curi\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [[-SelectorSet] \u003chashtable\u003e] [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Dialect \u003curi\u003e] [-FilePath \u003cstring\u003e] [-Fragment \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [[-SelectorSet] \u003chashtable\u003e] [-ConnectionURI \u003curi\u003e] [-Dialect \u003curi\u003e] [-FilePath \u003cstring\u003e] [-Fragment \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WSManQuickConfig", + "CommandType": "Cmdlet", + "ParameterSets": "[-UseSSL] [-Force] [-SkipNetworkProfileCheck] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ApplicationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "MMAgent", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Disable-MMAgent", + "CommandType": "Function", + "ParameterSets": "[-ApplicationLaunchPrefetching] [-OperationAPI] [-PageCombining] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-MMAgent", + "CommandType": "Function", + "ParameterSets": "[-ApplicationLaunchPrefetching] [-OperationAPI] [-PageCombining] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-MMAgent", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-MMAgent", + "CommandType": "Function", + "ParameterSets": "-MaxOperationAPIFiles \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "MsDtc", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e -Local \u003cbool\u003e -Service \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e -Local \u003cbool\u003e -ExecutablePath \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e -ComPlusAppId \u003cstring\u003e -Local \u003cbool\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Dtc", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcAdvancedHostSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcAdvancedSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e [-DtcName \u003cstring\u003e] [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcClusterDefault", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcDefault", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcLog", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcNetworkSetting", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransaction", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransactionsStatistics", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransactionsTraceSetting", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Install-Dtc", + "CommandType": "Function", + "ParameterSets": "[-LogPath \u003cstring\u003e] [-StartType \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "-All [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-DtcLog", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcAdvancedHostSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -Value \u003cstring\u003e -Type \u003cstring\u003e [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcAdvancedSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -Value \u003cstring\u003e -Type \u003cstring\u003e [-DtcName \u003cstring\u003e] [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcClusterDefault", + "CommandType": "Function", + "ParameterSets": "-DtcResourceName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -Service \u003cstring\u003e [-ClusterResourceName \u003cstring\u003e] [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -Local \u003cbool\u003e [-ClusterResourceName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ExecutablePath \u003cstring\u003e [-ClusterResourceName \u003cstring\u003e] [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ComPlusAppId \u003cstring\u003e [-ClusterResourceName \u003cstring\u003e] [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcDefault", + "CommandType": "Function", + "ParameterSets": "[-ServerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcLog", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-Path \u003cstring\u003e] [-SizeInMB \u003cuint32\u003e] [-MaxSizeInMB \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcNetworkSetting", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-InboundTransactionsEnabled \u003cbool\u003e] [-OutboundTransactionsEnabled \u003cbool\u003e] [-RemoteClientAccessEnabled \u003cbool\u003e] [-RemoteAdministrationAccessEnabled \u003cbool\u003e] [-XATransactionsEnabled \u003cbool\u003e] [-LUTransactionsEnabled \u003cbool\u003e] [-AuthenticationLevel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisableNetworkAccess [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcTransaction", + "CommandType": "Function", + "ParameterSets": "-TransactionId \u003cguid\u003e -Trace [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -TransactionId \u003cguid\u003e -Forget [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -TransactionId \u003cguid\u003e -Commit [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -TransactionId \u003cguid\u003e -Abort [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "-BufferCount \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcTransactionsTraceSetting", + "CommandType": "Function", + "ParameterSets": "-AllTransactionsTracingEnabled \u003cbool\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AbortedTransactionsTracingEnabled \u003cbool\u003e] [-LongLivedTransactionsTracingEnabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Dtc", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Dtc", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-Recursive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Dtc", + "CommandType": "Function", + "ParameterSets": "[[-LocalComputerName] \u003cstring\u003e] [[-RemoteComputerName] \u003cstring\u003e] [[-ResourceManagerPort] \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Uninstall-Dtc", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Complete-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Join-DtcDiagnosticResourceManager", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [[-ComputerName] \u003cstring\u003e] [[-Port] \u003cint\u003e] [-Volatile] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Timeout] \u003cint\u003e] [[-IsolationLevel] \u003cIsolationLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Receive-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [[-Port] \u003cint\u003e] [[-PropagationMethod] \u003cDtcTransactionPropagation\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Send-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [[-ComputerName] \u003cstring\u003e] [[-Port] \u003cint\u003e] [[-PropagationMethod] \u003cDtcTransactionPropagation\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-DtcDiagnosticResourceManager", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Port] \u003cint\u003e] [[-Name] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-DtcDiagnosticResourceManager", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Job] \u003cDtcDiagnosticResourceManagerJob\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-InstanceId] \u003cguid\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Undo-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetAdapter", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterBindingSettingData[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterChecksumOffloadSettingData[]\u003e [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterEncapsulatedPacketTaskOffloadSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterIPsecOffloadV2SettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterLsoSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterPowerManagementSettingData[]\u003e [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterQosSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRdmaSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRscSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRssSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterSriovSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterVmqSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterBindingSettingData[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterChecksumOffloadSettingData[]\u003e [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterEncapsulatedPacketTaskOffloadSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterIPsecOffloadV2SettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterLsoSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterPowerManagementSettingData[]\u003e [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterQosSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRdmaSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRscSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRssSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterSriovSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterVmqSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-Physical] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Physical] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cuint32[]\u003e [-IncludeHidden] [-Physical] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterHardwareInfo", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IPv4OperationalState \u003cbool[]\u003e] [-IPv6OperationalState \u003cbool[]\u003e] [-IPv4FailureReason \u003cFailureReason[]\u003e] [-IPv6FailureReason \u003cFailureReason[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IPv4OperationalState \u003cbool[]\u003e] [-IPv6OperationalState \u003cbool[]\u003e] [-IPv4FailureReason \u003cFailureReason[]\u003e] [-IPv6FailureReason \u003cFailureReason[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterSriovVf", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterStatistics", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterVmqQueue", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Id \u003cuint32[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-Id \u003cuint32[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterVPort", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-VPortID \u003cuint32[]\u003e] [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-PhysicalFunction] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-VPortID \u003cuint32[]\u003e] [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-PhysicalFunction] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e -RegistryKeyword \u003cstring\u003e -RegistryValue \u003cstring[]\u003e [-RegistryDataType \u003cRegDataType\u003e] [-NoRestart] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring\u003e -RegistryKeyword \u003cstring\u003e -RegistryValue \u003cstring[]\u003e [-RegistryDataType \u003cRegDataType\u003e] [-NoRestart] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterAdvancedPropertySettingData[]\u003e [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-NewName] \u003cstring\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-NewName] \u003cstring\u003e -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-NewName] \u003cstring\u003e -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterAdvancedPropertySettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-VlanID \u003cuint16\u003e] [-MacAddress \u003cstring\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-VlanID \u003cuint16\u003e] [-MacAddress \u003cstring\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-VlanID \u003cuint16\u003e] [-MacAddress \u003cstring\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-RegistryKeyword \u003cstring[]\u003e] [-IncludeHidden] [-AllProperties] [-DisplayValue \u003cstring\u003e] [-RegistryValue \u003cstring[]\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-DisplayName \u003cstring[]\u003e] [-RegistryKeyword \u003cstring[]\u003e] [-IncludeHidden] [-AllProperties] [-DisplayValue \u003cstring\u003e] [-RegistryValue \u003cstring[]\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterAdvancedPropertySettingData[]\u003e [-DisplayValue \u003cstring\u003e] [-RegistryValue \u003cstring[]\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-Enabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-Enabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterBindingSettingData[]\u003e [-Enabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4Enabled \u003cDirection\u003e] [-TcpIPv4Enabled \u003cDirection\u003e] [-TcpIPv6Enabled \u003cDirection\u003e] [-UdpIPv4Enabled \u003cDirection\u003e] [-UdpIPv6Enabled \u003cDirection\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4Enabled \u003cDirection\u003e] [-TcpIPv4Enabled \u003cDirection\u003e] [-TcpIPv6Enabled \u003cDirection\u003e] [-UdpIPv4Enabled \u003cDirection\u003e] [-UdpIPv6Enabled \u003cDirection\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterChecksumOffloadSettingData[]\u003e [-IpIPv4Enabled \u003cDirection\u003e] [-TcpIPv4Enabled \u003cDirection\u003e] [-TcpIPv6Enabled \u003cDirection\u003e] [-UdpIPv4Enabled \u003cDirection\u003e] [-UdpIPv6Enabled \u003cDirection\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-EncapsulatedPacketTaskOffloadEnabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-EncapsulatedPacketTaskOffloadEnabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterEncapsulatedPacketTaskOffloadSettingData[]\u003e [-EncapsulatedPacketTaskOffloadEnabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterIPsecOffloadV2SettingData[]\u003e [-Enabled \u003cbool\u003e] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-V1IPv4Enabled \u003cbool\u003e] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-V1IPv4Enabled \u003cbool\u003e] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterLsoSettingData[]\u003e [-V1IPv4Enabled \u003cbool\u003e] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload \u003cSetting\u003e] [-D0PacketCoalescing \u003cSetting\u003e] [-DeviceSleepOnDisconnect \u003cSetting\u003e] [-NSOffload \u003cSetting\u003e] [-RsnRekeyOffload \u003cSetting\u003e] [-SelectiveSuspend \u003cSetting\u003e] [-WakeOnMagicPacket \u003cSetting\u003e] [-WakeOnPattern \u003cSetting\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload \u003cSetting\u003e] [-D0PacketCoalescing \u003cSetting\u003e] [-DeviceSleepOnDisconnect \u003cSetting\u003e] [-NSOffload \u003cSetting\u003e] [-RsnRekeyOffload \u003cSetting\u003e] [-SelectiveSuspend \u003cSetting\u003e] [-WakeOnMagicPacket \u003cSetting\u003e] [-WakeOnPattern \u003cSetting\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterPowerManagementSettingData[]\u003e [-ArpOffload \u003cSetting\u003e] [-D0PacketCoalescing \u003cSetting\u003e] [-DeviceSleepOnDisconnect \u003cSetting\u003e] [-NSOffload \u003cSetting\u003e] [-RsnRekeyOffload \u003cSetting\u003e] [-SelectiveSuspend \u003cSetting\u003e] [-WakeOnMagicPacket \u003cSetting\u003e] [-WakeOnPattern \u003cSetting\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterQosSettingData[]\u003e [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRdmaSettingData[]\u003e [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRscSettingData[]\u003e [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NumberOfReceiveQueues \u003cuint32\u003e] [-Profile \u003cProfile\u003e] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessorGroup \u003cuint16\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NumberOfReceiveQueues \u003cuint32\u003e] [-Profile \u003cProfile\u003e] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessorGroup \u003cuint16\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRssSettingData[]\u003e [-NumberOfReceiveQueues \u003cuint32\u003e] [-Profile \u003cProfile\u003e] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessorGroup \u003cuint16\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NumVFs \u003cuint32\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NumVFs \u003cuint32\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterSriovSettingData[]\u003e [-NumVFs \u003cuint32\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterVmqSettingData[]\u003e [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetConnection", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-NetConnectionProfile", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-NetworkCategory \u003cNetworkCategory[]\u003e] [-IPv4Connectivity \u003cIPv4Connectivity[]\u003e] [-IPv6Connectivity \u003cIPv6Connectivity[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetConnectionProfile", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-IPv4Connectivity \u003cIPv4Connectivity[]\u003e] [-IPv6Connectivity \u003cIPv6Connectivity[]\u003e] [-NetworkCategory \u003cNetworkCategory\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConnectionProfile[]\u003e [-NetworkCategory \u003cNetworkCategory\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetLbfo", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cWildcardPattern\u003e [-Team] \u003cstring\u003e [[-AdministrativeMode] \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[-Team] \u003cstring\u003e [-VlanID] \u003cuint32\u003e [[-Name] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MemberOfTheTeam \u003cCimInstance#MSFT_NetLbfoTeamMember\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TeamNicForTheTeam \u003cCimInstance#MSFT_NetLbfoTeamNic\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TeamOfTheMember \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TeamOfTheTeamNic \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-TeamMembers] \u003cWildcardPattern[]\u003e [[-TeamNicName] \u003cstring\u003e] [[-TeamingMode] \u003cTeamingModes\u003e] [[-LoadBalancingAlgorithm] \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeam[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Team] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamMember[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[-Team] \u003cstring[]\u003e [-VlanID] \u003cuint32[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamNic[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MemberOfTheTeam \u003cCimInstance#MSFT_NetLbfoTeamMember\u003e] [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TeamNicForTheTeam \u003cCimInstance#MSFT_NetLbfoTeamNic\u003e] [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeam[]\u003e [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-AdministrativeMode \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TeamOfTheMember \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-AdministrativeMode \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamMember[]\u003e [-AdministrativeMode \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-VlanID \u003cuint32\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TeamOfTheTeamNic \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-VlanID \u003cuint32\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamNic[]\u003e [-VlanID \u003cuint32\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetQos", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Get-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-IPSrcPrefixMatchCondition \u003cstring\u003e] [-IPSrcPortMatchCondition \u003cuint16\u003e] [-IPSrcPortStartMatchCondition \u003cuint16\u003e] [-IPSrcPortEndMatchCondition \u003cuint16\u003e] [-IPDstPortMatchCondition \u003cuint16\u003e] [-IPDstPortStartMatchCondition \u003cuint16\u003e] [-IPDstPortEndMatchCondition \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -IPPortMatchCondition \u003cuint16\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -PriorityValue8021Action \u003csbyte\u003e -NetDirectPortMatchCondition \u003cuint16\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -URIMatchCondition \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-DSCPAction \u003csbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-URIRecursiveMatchCondition \u003cbool\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -SMB [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -NFS [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -LiveMigration [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -iSCSI [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -PriorityValue8021Action \u003csbyte\u003e -FCOE [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Default [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetQosPolicySettingData[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-TemplateMatchCondition \u003cTemplate\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-IPPortMatchCondition \u003cuint16\u003e] [-IPSrcPrefixMatchCondition \u003cstring\u003e] [-IPSrcPortMatchCondition \u003cuint16\u003e] [-IPSrcPortStartMatchCondition \u003cuint16\u003e] [-IPSrcPortEndMatchCondition \u003cuint16\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-IPDstPortMatchCondition \u003cuint16\u003e] [-IPDstPortStartMatchCondition \u003cuint16\u003e] [-IPDstPortEndMatchCondition \u003cuint16\u003e] [-NetDirectPortMatchCondition \u003cuint16\u003e] [-URIMatchCondition \u003cstring\u003e] [-URIRecursiveMatchCondition \u003cbool\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetQosPolicySettingData[]\u003e [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-TemplateMatchCondition \u003cTemplate\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-IPPortMatchCondition \u003cuint16\u003e] [-IPSrcPrefixMatchCondition \u003cstring\u003e] [-IPSrcPortMatchCondition \u003cuint16\u003e] [-IPSrcPortStartMatchCondition \u003cuint16\u003e] [-IPSrcPortEndMatchCondition \u003cuint16\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-IPDstPortMatchCondition \u003cuint16\u003e] [-IPDstPortStartMatchCondition \u003cuint16\u003e] [-IPDstPortEndMatchCondition \u003cuint16\u003e] [-NetDirectPortMatchCondition \u003cuint16\u003e] [-URIMatchCondition \u003cstring\u003e] [-URIRecursiveMatchCondition \u003cbool\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetSecurity", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Copy-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallAddressFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallApplicationFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Program \u003cstring[]\u003e] [-Package \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallInterfaceFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallInterfaceTypeFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InterfaceType \u003cInterfaceType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallPortFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Protocol \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallProfile", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallSecurityFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Authentication \u003cAuthentication[]\u003e] [-Encryption \u003cEncryption[]\u003e] [-OverrideBlockRules \u003cbool[]\u003e] [-LocalUser \u003cstring[]\u003e] [-RemoteUser \u003cstring[]\u003e] [-RemoteMachine \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallServiceFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Service \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallSetting", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecMainModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeSA \u003cCimInstance#MSFT_NetQuickModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecQuickModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeSA \u003cCimInstance#MSFT_NetMainModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -PublicInterfaceAliases \u003cWildcardPattern[]\u003e -PrivateInterfaceAliases \u003cWildcardPattern[]\u003e [-StateIdleTimeoutSeconds \u003cuint32\u003e] [-PerIPRateLimitQueueIdleTimeoutSeconds \u003cuint32\u003e] [-IpV6IPsecUnauthDscp \u003cuint32\u003e] [-IpV6IPsecUnauthRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecUnauthPerIPRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecAuthDscp \u003cuint16\u003e] [-IpV6IPsecAuthRateLimitBytesPerSec \u003cuint32\u003e] [-IcmpV6Dscp \u003cuint16\u003e] [-IcmpV6RateLimitBytesPerSec \u003cuint32\u003e] [-IpV6FilterExemptDscp \u003cuint32\u003e] [-IpV6FilterExemptRateLimitBytesPerSec \u003cuint32\u003e] [-DefBlockExemptDscp \u003cuint16\u003e] [-DefBlockExemptRateLimitBytesPerSec \u003cuint32\u003e] [-MaxStateEntries \u003cuint32\u003e] [-MaxPerIPRateLimitQueues \u003cuint32\u003e] [-EnabledKeyingModules \u003cDospKeyModules\u003e] [-FilteringFlags \u003cDospFlags\u003e] [-PublicV6Address \u003cstring\u003e] [-PrivateV6Address \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-IPsecRuleName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Open-NetGPO", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore] \u003cstring\u003e [-DomainController \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPsecDoSPSetting[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecMainModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeSA \u003cCimInstance#MSFT_NetQuickModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeSA[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecQuickModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeSA \u003cCimInstance#MSFT_NetMainModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetQuickModeSA[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Save-NetGPO", + "CommandType": "Function", + "ParameterSets": "[-GPOSession] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallAddressFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAddressFilter[]\u003e [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallApplicationFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetApplicationFilter[]\u003e [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallInterfaceFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetInterfaceFilter[]\u003e [-InterfaceAlias \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallInterfaceTypeFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetInterfaceTypeFilter[]\u003e [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallPortFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetProtocolPortFilter[]\u003e [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallProfile", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Enabled \u003cGpoBoolean\u003e] [-DefaultInboundAction \u003cAction\u003e] [-DefaultOutboundAction \u003cAction\u003e] [-AllowInboundRules \u003cGpoBoolean\u003e] [-AllowLocalFirewallRules \u003cGpoBoolean\u003e] [-AllowLocalIPsecRules \u003cGpoBoolean\u003e] [-AllowUserApps \u003cGpoBoolean\u003e] [-AllowUserPorts \u003cGpoBoolean\u003e] [-AllowUnicastResponseToMulticast \u003cGpoBoolean\u003e] [-NotifyOnListen \u003cGpoBoolean\u003e] [-EnableStealthModeForIPsec \u003cGpoBoolean\u003e] [-LogFileName \u003cstring\u003e] [-LogMaxSizeKilobytes \u003cuint64\u003e] [-LogAllowed \u003cGpoBoolean\u003e] [-LogBlocked \u003cGpoBoolean\u003e] [-LogIgnored \u003cGpoBoolean\u003e] [-DisabledInterfaceAliases \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Enabled \u003cGpoBoolean\u003e] [-DefaultInboundAction \u003cAction\u003e] [-DefaultOutboundAction \u003cAction\u003e] [-AllowInboundRules \u003cGpoBoolean\u003e] [-AllowLocalFirewallRules \u003cGpoBoolean\u003e] [-AllowLocalIPsecRules \u003cGpoBoolean\u003e] [-AllowUserApps \u003cGpoBoolean\u003e] [-AllowUserPorts \u003cGpoBoolean\u003e] [-AllowUnicastResponseToMulticast \u003cGpoBoolean\u003e] [-NotifyOnListen \u003cGpoBoolean\u003e] [-EnableStealthModeForIPsec \u003cGpoBoolean\u003e] [-LogFileName \u003cstring\u003e] [-LogMaxSizeKilobytes \u003cuint64\u003e] [-LogAllowed \u003cGpoBoolean\u003e] [-LogBlocked \u003cGpoBoolean\u003e] [-LogIgnored \u003cGpoBoolean\u003e] [-DisabledInterfaceAliases \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallProfile[]\u003e [-Enabled \u003cGpoBoolean\u003e] [-DefaultInboundAction \u003cAction\u003e] [-DefaultOutboundAction \u003cAction\u003e] [-AllowInboundRules \u003cGpoBoolean\u003e] [-AllowLocalFirewallRules \u003cGpoBoolean\u003e] [-AllowLocalIPsecRules \u003cGpoBoolean\u003e] [-AllowUserApps \u003cGpoBoolean\u003e] [-AllowUserPorts \u003cGpoBoolean\u003e] [-AllowUnicastResponseToMulticast \u003cGpoBoolean\u003e] [-NotifyOnListen \u003cGpoBoolean\u003e] [-EnableStealthModeForIPsec \u003cGpoBoolean\u003e] [-LogFileName \u003cstring\u003e] [-LogMaxSizeKilobytes \u003cuint64\u003e] [-LogAllowed \u003cGpoBoolean\u003e] [-LogBlocked \u003cGpoBoolean\u003e] [-LogIgnored \u003cGpoBoolean\u003e] [-DisabledInterfaceAliases \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTransport \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallSecurityFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter[]\u003e [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallServiceFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Service \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetServiceFilter[]\u003e [-Service \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallSetting", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Exemptions \u003cTrafficExemption\u003e] [-EnableStatefulFtp \u003cGpoBoolean\u003e] [-EnableStatefulPptp \u003cGpoBoolean\u003e] [-RemoteMachineTransportAuthorizationList \u003cstring\u003e] [-RemoteMachineTunnelAuthorizationList \u003cstring\u003e] [-RemoteUserTransportAuthorizationList \u003cstring\u003e] [-RemoteUserTunnelAuthorizationList \u003cstring\u003e] [-RequireFullAuthSupport \u003cGpoBoolean\u003e] [-CertValidationLevel \u003cCRLCheck\u003e] [-AllowIPsecThroughNAT \u003cIPsecThroughNAT\u003e] [-MaxSAIdleTimeSeconds \u003cuint32\u003e] [-KeyEncoding \u003cKeyEncoding\u003e] [-EnablePacketQueuing \u003cPacketQueuing\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetSecuritySettingData[]\u003e [-Exemptions \u003cTrafficExemption\u003e] [-EnableStatefulFtp \u003cGpoBoolean\u003e] [-EnableStatefulPptp \u003cGpoBoolean\u003e] [-RemoteMachineTransportAuthorizationList \u003cstring\u003e] [-RemoteMachineTunnelAuthorizationList \u003cstring\u003e] [-RemoteUserTransportAuthorizationList \u003cstring\u003e] [-RemoteUserTunnelAuthorizationList \u003cstring\u003e] [-RequireFullAuthSupport \u003cGpoBoolean\u003e] [-CertValidationLevel \u003cCRLCheck\u003e] [-AllowIPsecThroughNAT \u003cIPsecThroughNAT\u003e] [-MaxSAIdleTimeSeconds \u003cuint32\u003e] [-KeyEncoding \u003cKeyEncoding\u003e] [-EnablePacketQueuing \u003cPacketQueuing\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-StateIdleTimeoutSeconds \u003cuint32\u003e] [-PerIPRateLimitQueueIdleTimeoutSeconds \u003cuint32\u003e] [-IpV6IPsecUnauthDscp \u003cuint32\u003e] [-IpV6IPsecUnauthRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecUnauthPerIPRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecAuthDscp \u003cuint16\u003e] [-IpV6IPsecAuthRateLimitBytesPerSec \u003cuint32\u003e] [-IcmpV6Dscp \u003cuint16\u003e] [-IcmpV6RateLimitBytesPerSec \u003cuint32\u003e] [-IpV6FilterExemptDscp \u003cuint32\u003e] [-IpV6FilterExemptRateLimitBytesPerSec \u003cuint32\u003e] [-DefBlockExemptDscp \u003cuint16\u003e] [-DefBlockExemptRateLimitBytesPerSec \u003cuint32\u003e] [-MaxStateEntries \u003cuint32\u003e] [-MaxPerIPRateLimitQueues \u003cuint32\u003e] [-EnabledKeyingModules \u003cDospKeyModules\u003e] [-FilteringFlags \u003cDospFlags\u003e] [-PublicInterfaceAliases \u003cWildcardPattern[]\u003e] [-PrivateInterfaceAliases \u003cWildcardPattern[]\u003e] [-PublicV6Address \u003cstring\u003e] [-PrivateV6Address \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPsecDoSPSetting[]\u003e [-StateIdleTimeoutSeconds \u003cuint32\u003e] [-PerIPRateLimitQueueIdleTimeoutSeconds \u003cuint32\u003e] [-IpV6IPsecUnauthDscp \u003cuint32\u003e] [-IpV6IPsecUnauthRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecUnauthPerIPRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecAuthDscp \u003cuint16\u003e] [-IpV6IPsecAuthRateLimitBytesPerSec \u003cuint32\u003e] [-IcmpV6Dscp \u003cuint16\u003e] [-IcmpV6RateLimitBytesPerSec \u003cuint32\u003e] [-IpV6FilterExemptDscp \u003cuint32\u003e] [-IpV6FilterExemptRateLimitBytesPerSec \u003cuint32\u003e] [-DefBlockExemptDscp \u003cuint16\u003e] [-DefBlockExemptRateLimitBytesPerSec \u003cuint32\u003e] [-MaxStateEntries \u003cuint32\u003e] [-MaxPerIPRateLimitQueues \u003cuint32\u003e] [-EnabledKeyingModules \u003cDospKeyModules\u003e] [-FilteringFlags \u003cDospFlags\u003e] [-PublicInterfaceAliases \u003cWildcardPattern[]\u003e] [-PrivateInterfaceAliases \u003cWildcardPattern[]\u003e] [-PublicV6Address \u003cstring\u003e] [-PrivateV6Address \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Sync-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "-IPsecRuleName \u003cstring[]\u003e -Action \u003cChangeAction\u003e -EndpointType \u003cEndpointType\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-IPv6Addresses \u003cstring[]\u003e] [-IPv4Addresses \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e -Action \u003cChangeAction\u003e -EndpointType \u003cEndpointType\u003e [-IPv6Addresses \u003cstring[]\u003e] [-IPv4Addresses \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DAPolicyChange", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Servers] \u003cstring[]\u003e] [[-Domains] \u003cstring[]\u003e] [-DisplayName] \u003cstring\u003e [[-PolicyStore] \u003cstring\u003e] [-PSLocation] \u003cstring\u003e [-EndpointType] \u003cstring\u003e [[-DnsServers] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecAuthProposal", + "CommandType": "Cmdlet", + "ParameterSets": "-User -Cert -Authority \u003cstring\u003e [-AccountMapping] [-AuthorityType \u003cCertificateAuthorityType\u003e] [-ExtendedKeyUsage \u003cstring[]\u003e] [-ExcludeCAName] [-FollowRenewal] [-SelectionCriteria] [-Signing \u003cCertificateSigningAlgorithm\u003e] [-SubjectName \u003cstring\u003e] [-SubjectNameType \u003cCertificateSubjectType\u003e] [-Thumbprint \u003cstring\u003e] [-ValidationCriteria] [\u003cCommonParameters\u003e] -Machine [-Health] -Cert -Authority \u003cstring\u003e [-AccountMapping] [-AuthorityType \u003cCertificateAuthorityType\u003e] [-ExtendedKeyUsage \u003cstring[]\u003e] [-ExcludeCAName] [-FollowRenewal] [-SelectionCriteria] [-Signing \u003cCertificateSigningAlgorithm\u003e] [-SubjectName \u003cstring\u003e] [-SubjectNameType \u003cCertificateSubjectType\u003e] [-Thumbprint \u003cstring\u003e] [-ValidationCriteria] [\u003cCommonParameters\u003e] -Anonymous [\u003cCommonParameters\u003e] -Machine -Kerberos [-Proxy \u003cstring\u003e] [\u003cCommonParameters\u003e] -User -Kerberos [-Proxy \u003cstring\u003e] [\u003cCommonParameters\u003e] -Machine [-PreSharedKey] \u003cstring\u003e [\u003cCommonParameters\u003e] -Machine -Ntlm [\u003cCommonParameters\u003e] -User -Ntlm [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecMainModeCryptoProposal", + "CommandType": "Cmdlet", + "ParameterSets": "[-Encryption \u003cEncryptionAlgorithm\u003e] [-KeyExchange \u003cDiffieHellmanGroup\u003e] [-Hash \u003cHashAlgorithm\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecQuickModeCryptoProposal", + "CommandType": "Cmdlet", + "ParameterSets": "[-Encryption \u003cEncryptionAlgorithm\u003e] [-AHHash \u003cHashAlgorithm\u003e] [-ESPHash \u003cHashAlgorithm\u003e] [-MaxKiloBytes \u003cuint64\u003e] [-MaxMinutes \u003cuint64\u003e] [-Encapsulation \u003cIPsecEncapsulation\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetSwitchTeam", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetSwitchTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Team] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Member \u003cCimInstance#MSFT_NetSwitchTeamMember\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetSwitchTeamMember", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-TeamMembers] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetSwitchTeam[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetSwitchTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Team] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetTCPIP", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Type \u003cType[]\u003e] [-PrefixLength \u003cbyte[]\u003e] [-PrefixOrigin \u003cPrefixOrigin[]\u003e] [-SuffixOrigin \u003cSuffixOrigin[]\u003e] [-AddressState \u003cAddressState[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-SkipAsSource \u003cbool[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring\u003e] [-Detailed] [-CimSession \u003cCimSession\u003e] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cint\u003e [-Detailed] [-CimSession \u003cCimSession\u003e] [\u003cCommonParameters\u003e] -All [-Detailed] [-CimSession \u003cCimSession\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPInterface", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Forwarding \u003cForwarding[]\u003e] [-Advertising \u003cAdvertising[]\u003e] [-NlMtuBytes \u003cuint32[]\u003e] [-InterfaceMetric \u003cuint32[]\u003e] [-NeighborUnreachabilityDetection \u003cNeighborUnreachabilityDetection[]\u003e] [-BaseReachableTimeMs \u003cuint32[]\u003e] [-ReachableTimeMs \u003cuint32[]\u003e] [-RetransmitTimeMs \u003cuint32[]\u003e] [-DadTransmits \u003cuint32[]\u003e] [-RouterDiscovery \u003cRouterDiscovery[]\u003e] [-ManagedAddressConfiguration \u003cManagedAddressConfiguration[]\u003e] [-OtherStatefulConfiguration \u003cOtherStatefulConfiguration[]\u003e] [-WeakHostSend \u003cWeakHostSend[]\u003e] [-WeakHostReceive \u003cWeakHostReceive[]\u003e] [-IgnoreDefaultRoutes \u003cIgnoreDefaultRoutes[]\u003e] [-AdvertisedRouterLifetime \u003ctimespan[]\u003e] [-AdvertiseDefaultRoute \u003cAdvertiseDefaultRoute[]\u003e] [-CurrentHopLimit \u003cuint32[]\u003e] [-ForceArpNdWolPattern \u003cForceArpNdWolPattern[]\u003e] [-DirectedMacWolPattern \u003cDirectedMacWolPattern[]\u003e] [-EcnMarking \u003cEcnMarking[]\u003e] [-Dhcp \u003cDhcp[]\u003e] [-ConnectionState \u003cConnectionState[]\u003e] [-AutomaticMetric \u003cAutomaticMetric[]\u003e] [-NeighborDiscoverySupported \u003cNeighborDiscoverySupported[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedRoute \u003cCimInstance#MSFT_NetRoute\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedIPAddress \u003cCimInstance#MSFT_NetIPAddress\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedNeighbor \u003cCimInstance#MSFT_NetNeighbor\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedAdapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPv4Protocol", + "CommandType": "Function", + "ParameterSets": "[-DefaultHopLimit \u003cuint32[]\u003e] [-NeighborCacheLimitEntries \u003cuint32[]\u003e] [-RouteCacheLimitEntries \u003cuint32[]\u003e] [-ReassemblyLimitBytes \u003cuint32[]\u003e] [-IcmpRedirects \u003cIcmpRedirects[]\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior[]\u003e] [-DhcpMediaSense \u003cDhcpMediaSense[]\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog[]\u003e] [-IGMPLevel \u003cMldLevel[]\u003e] [-IGMPVersion \u003cMldVersion[]\u003e] [-MulticastForwarding \u003cMulticastForwarding[]\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments[]\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers[]\u003e] [-AddressMaskReply \u003cAddressMaskReply[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPv6Protocol", + "CommandType": "Function", + "ParameterSets": "[-DefaultHopLimit \u003cuint32[]\u003e] [-NeighborCacheLimitEntries \u003cuint32[]\u003e] [-RouteCacheLimitEntries \u003cuint32[]\u003e] [-ReassemblyLimitBytes \u003cuint32[]\u003e] [-IcmpRedirects \u003cIcmpRedirects[]\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior[]\u003e] [-DhcpMediaSense \u003cDhcpMediaSense[]\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog[]\u003e] [-MldLevel \u003cMldLevel[]\u003e] [-MldVersion \u003cMldVersion[]\u003e] [-MulticastForwarding \u003cMulticastForwarding[]\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments[]\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers[]\u003e] [-AddressMaskReply \u003cAddressMaskReply[]\u003e] [-UseTemporaryAddresses \u003cUseTemporaryAddresses[]\u003e] [-MaxDadAttempts \u003cuint32[]\u003e] [-MaxValidLifetime \u003ctimespan[]\u003e] [-MaxPreferredLifetime \u003ctimespan[]\u003e] [-RegenerateTime \u003ctimespan[]\u003e] [-MaxRandomTime \u003ctimespan[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-LinkLayerAddress \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetOffloadGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-ReceiveSideScaling \u003cEnabledDisabledEnum[]\u003e] [-ReceiveSegmentCoalescing \u003cEnabledDisabledEnum[]\u003e] [-Chimney \u003cChimneyEnum[]\u003e] [-TaskOffload \u003cEnabledDisabledEnum[]\u003e] [-NetworkDirect \u003cEnabledDisabledEnum[]\u003e] [-NetworkDirectAcrossIPSubnets \u003cAllowedBlockedEnum[]\u003e] [-PacketCoalescingFilter \u003cEnabledDisabledEnum[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetPrefixPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Prefix] \u003cstring[]\u003e] [-Precedence \u003cuint32[]\u003e] [-Label \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetRoute", + "CommandType": "Function", + "ParameterSets": "[[-DestinationPrefix] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-NextHop \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Publish \u003cPublish[]\u003e] [-RouteMetric \u003cuint16[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTCPConnection", + "CommandType": "Function", + "ParameterSets": "[[-LocalAddress] \u003cstring[]\u003e] [[-LocalPort] \u003cuint16[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-RemotePort \u003cuint16[]\u003e] [-State \u003cState[]\u003e] [-AppliedSetting \u003cAppliedSetting[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTCPSetting", + "CommandType": "Function", + "ParameterSets": "[[-SettingName] \u003cstring[]\u003e] [-MinRtoMs \u003cuint32[]\u003e] [-InitialCongestionWindowMss \u003cuint32[]\u003e] [-CongestionProvider \u003cCongestionProvider[]\u003e] [-CwndRestart \u003cCwndRestart[]\u003e] [-DelayedAckTimeoutMs \u003cuint32[]\u003e] [-MemoryPressureProtection \u003cMemoryPressureProtection[]\u003e] [-AutoTuningLevelLocal \u003cAutoTuningLevelLocal[]\u003e] [-AutoTuningLevelGroupPolicy \u003cAutoTuningLevelGroupPolicy[]\u003e] [-AutoTuningLevelEffective \u003cAutoTuningLevelEffective[]\u003e] [-EcnCapability \u003cEcnCapability[]\u003e] [-Timestamps \u003cTimestamps[]\u003e] [-InitialRtoMs \u003cuint32[]\u003e] [-ScalingHeuristics \u003cScalingHeuristics[]\u003e] [-DynamicPortRangeStartPort \u003cuint16[]\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16[]\u003e] [-AssociatedTransportFilter \u003cCimInstance#MSFT_NetTransportFilter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTransportFilter", + "CommandType": "Function", + "ParameterSets": "[-SettingName \u003cstring[]\u003e] [-Protocol \u003cProtocol[]\u003e] [-LocalPortStart \u003cuint16[]\u003e] [-LocalPortEnd \u003cuint16[]\u003e] [-RemotePortStart \u003cuint16[]\u003e] [-RemotePortEnd \u003cuint16[]\u003e] [-DestinationPrefix \u003cstring[]\u003e] [-AssociatedTCPSetting \u003cCimInstance#MSFT_NetTCPSetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetUDPEndpoint", + "CommandType": "Function", + "ParameterSets": "[[-LocalAddress] \u003cstring[]\u003e] [[-LocalPort] \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetUDPSetting", + "CommandType": "Function", + "ParameterSets": "[[-DynamicPortRangeStartPort] \u003cuint16[]\u003e] [[-DynamicPortRangeNumberOfPorts] \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[-IPAddress] \u003cstring\u003e -InterfaceAlias \u003cstring\u003e [-DefaultGateway \u003cstring\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-Type \u003cType\u003e] [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPAddress] \u003cstring\u003e -InterfaceIndex \u003cuint32\u003e [-DefaultGateway \u003cstring\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-Type \u003cType\u003e] [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[-IPAddress] \u003cstring\u003e -InterfaceAlias \u003cstring\u003e [-LinkLayerAddress \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-State \u003cState\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPAddress] \u003cstring\u003e -InterfaceIndex \u003cuint32\u003e [-LinkLayerAddress \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-State \u003cState\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetRoute", + "CommandType": "Function", + "ParameterSets": "[-DestinationPrefix] \u003cstring\u003e -InterfaceAlias \u003cstring\u003e [-AddressFamily \u003cAddressFamily\u003e] [-NextHop \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-DestinationPrefix] \u003cstring\u003e -InterfaceIndex \u003cuint32\u003e [-AddressFamily \u003cAddressFamily\u003e] [-NextHop \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetTransportFilter", + "CommandType": "Function", + "ParameterSets": "-SettingName \u003cstring\u003e [-Protocol \u003cProtocol\u003e] [-LocalPortStart \u003cuint16\u003e] [-LocalPortEnd \u003cuint16\u003e] [-RemotePortStart \u003cuint16\u003e] [-RemotePortEnd \u003cuint16\u003e] [-DestinationPrefix \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Type \u003cType[]\u003e] [-PrefixLength \u003cbyte[]\u003e] [-PrefixOrigin \u003cPrefixOrigin[]\u003e] [-SuffixOrigin \u003cSuffixOrigin[]\u003e] [-AddressState \u003cAddressState[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-SkipAsSource \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-DefaultGateway \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPAddress[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-LinkLayerAddress \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNeighbor[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetRoute", + "CommandType": "Function", + "ParameterSets": "[[-DestinationPrefix] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-NextHop \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Publish \u003cPublish[]\u003e] [-RouteMetric \u003cuint16[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetRoute[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetTransportFilter", + "CommandType": "Function", + "ParameterSets": "[-SettingName \u003cstring[]\u003e] [-Protocol \u003cProtocol[]\u003e] [-LocalPortStart \u003cuint16[]\u003e] [-LocalPortEnd \u003cuint16[]\u003e] [-RemotePortStart \u003cuint16[]\u003e] [-RemotePortEnd \u003cuint16[]\u003e] [-DestinationPrefix \u003cstring[]\u003e] [-AssociatedTCPSetting \u003cCimInstance#MSFT_NetTCPSetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetTransportFilter[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Type \u003cType[]\u003e] [-AddressState \u003cAddressState[]\u003e] [-PrefixOrigin \u003cPrefixOrigin[]\u003e] [-PolicyStore \u003cstring\u003e] [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPAddress[]\u003e [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPInterface", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-ReachableTime \u003cuint32[]\u003e] [-NeighborDiscoverySupported \u003cNeighborDiscoverySupported[]\u003e] [-PolicyStore \u003cstring\u003e] [-Forwarding \u003cForwarding\u003e] [-Advertising \u003cAdvertising\u003e] [-NlMtuBytes \u003cuint32\u003e] [-InterfaceMetric \u003cuint32\u003e] [-NeighborUnreachabilityDetection \u003cNeighborUnreachabilityDetection\u003e] [-BaseReachableTimeMs \u003cuint32\u003e] [-RetransmitTimeMs \u003cuint32\u003e] [-DadTransmits \u003cuint32\u003e] [-RouterDiscovery \u003cRouterDiscovery\u003e] [-ManagedAddressConfiguration \u003cManagedAddressConfiguration\u003e] [-OtherStatefulConfiguration \u003cOtherStatefulConfiguration\u003e] [-WeakHostSend \u003cWeakHostSend\u003e] [-WeakHostReceive \u003cWeakHostReceive\u003e] [-IgnoreDefaultRoutes \u003cIgnoreDefaultRoutes\u003e] [-AdvertisedRouterLifetime \u003ctimespan\u003e] [-AdvertiseDefaultRoute \u003cAdvertiseDefaultRoute\u003e] [-CurrentHopLimit \u003cuint32\u003e] [-ForceArpNdWolPattern \u003cForceArpNdWolPattern\u003e] [-DirectedMacWolPattern \u003cDirectedMacWolPattern\u003e] [-EcnMarking \u003cEcnMarking\u003e] [-Dhcp \u003cDhcp\u003e] [-AutomaticMetric \u003cAutomaticMetric\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPInterface[]\u003e [-Forwarding \u003cForwarding\u003e] [-Advertising \u003cAdvertising\u003e] [-NlMtuBytes \u003cuint32\u003e] [-InterfaceMetric \u003cuint32\u003e] [-NeighborUnreachabilityDetection \u003cNeighborUnreachabilityDetection\u003e] [-BaseReachableTimeMs \u003cuint32\u003e] [-RetransmitTimeMs \u003cuint32\u003e] [-DadTransmits \u003cuint32\u003e] [-RouterDiscovery \u003cRouterDiscovery\u003e] [-ManagedAddressConfiguration \u003cManagedAddressConfiguration\u003e] [-OtherStatefulConfiguration \u003cOtherStatefulConfiguration\u003e] [-WeakHostSend \u003cWeakHostSend\u003e] [-WeakHostReceive \u003cWeakHostReceive\u003e] [-IgnoreDefaultRoutes \u003cIgnoreDefaultRoutes\u003e] [-AdvertisedRouterLifetime \u003ctimespan\u003e] [-AdvertiseDefaultRoute \u003cAdvertiseDefaultRoute\u003e] [-CurrentHopLimit \u003cuint32\u003e] [-ForceArpNdWolPattern \u003cForceArpNdWolPattern\u003e] [-DirectedMacWolPattern \u003cDirectedMacWolPattern\u003e] [-EcnMarking \u003cEcnMarking\u003e] [-Dhcp \u003cDhcp\u003e] [-AutomaticMetric \u003cAutomaticMetric\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPv4Protocol", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetIPv4Protocol[]\u003e] [-DefaultHopLimit \u003cuint32\u003e] [-NeighborCacheLimitEntries \u003cuint32\u003e] [-RouteCacheLimitEntries \u003cuint32\u003e] [-ReassemblyLimitBytes \u003cuint32\u003e] [-IcmpRedirects \u003cIcmpRedirects\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior\u003e] [-DhcpMediaSense \u003cDhcpMediaSense\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog\u003e] [-IGMPLevel \u003cMldLevel\u003e] [-IGMPVersion \u003cMldVersion\u003e] [-MulticastForwarding \u003cMulticastForwarding\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers\u003e] [-AddressMaskReply \u003cAddressMaskReply\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPv6Protocol", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetIPv6Protocol[]\u003e] [-DefaultHopLimit \u003cuint32\u003e] [-NeighborCacheLimitEntries \u003cuint32\u003e] [-RouteCacheLimitEntries \u003cuint32\u003e] [-ReassemblyLimitBytes \u003cuint32\u003e] [-IcmpRedirects \u003cIcmpRedirects\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior\u003e] [-DhcpMediaSense \u003cDhcpMediaSense\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog\u003e] [-MldLevel \u003cMldLevel\u003e] [-MldVersion \u003cMldVersion\u003e] [-MulticastForwarding \u003cMulticastForwarding\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers\u003e] [-AddressMaskReply \u003cAddressMaskReply\u003e] [-UseTemporaryAddresses \u003cUseTemporaryAddresses\u003e] [-MaxDadAttempts \u003cuint32\u003e] [-MaxValidLifetime \u003ctimespan\u003e] [-MaxPreferredLifetime \u003ctimespan\u003e] [-RegenerateTime \u003ctimespan\u003e] [-MaxRandomTime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-PolicyStore \u003cstring\u003e] [-LinkLayerAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNeighbor[]\u003e [-LinkLayerAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetOffloadGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetOffloadGlobalSetting[]\u003e] [-ReceiveSideScaling \u003cEnabledDisabledEnum\u003e] [-ReceiveSegmentCoalescing \u003cEnabledDisabledEnum\u003e] [-Chimney \u003cChimneyEnum\u003e] [-TaskOffload \u003cEnabledDisabledEnum\u003e] [-NetworkDirect \u003cEnabledDisabledEnum\u003e] [-NetworkDirectAcrossIPSubnets \u003cAllowedBlockedEnum\u003e] [-PacketCoalescingFilter \u003cEnabledDisabledEnum\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetRoute", + "CommandType": "Function", + "ParameterSets": "[[-DestinationPrefix] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-NextHop \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-PolicyStore \u003cstring\u003e] [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetRoute[]\u003e [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetTCPSetting", + "CommandType": "Function", + "ParameterSets": "[[-SettingName] \u003cstring[]\u003e] [-MinRtoMs \u003cuint32\u003e] [-InitialCongestionWindowMss \u003cuint32\u003e] [-CongestionProvider \u003cCongestionProvider\u003e] [-CwndRestart \u003cCwndRestart\u003e] [-DelayedAckTimeoutMs \u003cuint32\u003e] [-MemoryPressureProtection \u003cMemoryPressureProtection\u003e] [-AutoTuningLevelLocal \u003cAutoTuningLevelLocal\u003e] [-EcnCapability \u003cEcnCapability\u003e] [-Timestamps \u003cTimestamps\u003e] [-InitialRtoMs \u003cuint32\u003e] [-ScalingHeuristics \u003cScalingHeuristics\u003e] [-DynamicPortRangeStartPort \u003cuint16\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetTCPSetting[]\u003e [-MinRtoMs \u003cuint32\u003e] [-InitialCongestionWindowMss \u003cuint32\u003e] [-CongestionProvider \u003cCongestionProvider\u003e] [-CwndRestart \u003cCwndRestart\u003e] [-DelayedAckTimeoutMs \u003cuint32\u003e] [-MemoryPressureProtection \u003cMemoryPressureProtection\u003e] [-AutoTuningLevelLocal \u003cAutoTuningLevelLocal\u003e] [-EcnCapability \u003cEcnCapability\u003e] [-Timestamps \u003cTimestamps\u003e] [-InitialRtoMs \u003cuint32\u003e] [-ScalingHeuristics \u003cScalingHeuristics\u003e] [-DynamicPortRangeStartPort \u003cuint16\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetUDPSetting", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetUDPSetting[]\u003e] [-DynamicPortRangeStartPort \u003cuint16\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gip" + ] + }, + { + "Name": "NetworkConnectivityStatus", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-DAConnectionStatus", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NCSIPolicyConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NCSIPolicyConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CorporateDNSProbeHostAddress] [-CorporateDNSProbeHostName] [-CorporateSitePrefixList] [-CorporateWebsiteProbeURL] [-DomainLocationDeterminationURL] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NCSIPolicyConfiguration[]\u003e [-CorporateDNSProbeHostAddress] [-CorporateDNSProbeHostName] [-CorporateSitePrefixList] [-CorporateWebsiteProbeURL] [-DomainLocationDeterminationURL] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NCSIPolicyConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-CorporateDNSProbeHostAddress] \u003cstring\u003e] [[-CorporateDNSProbeHostName] \u003cstring\u003e] [[-CorporateSitePrefixList] \u003cstring[]\u003e] [[-CorporateWebsiteProbeURL] \u003cstring\u003e] [[-DomainLocationDeterminationURL] \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-CorporateDNSProbeHostAddress] \u003cstring\u003e] [[-CorporateDNSProbeHostName] \u003cstring\u003e] [[-CorporateSitePrefixList] \u003cstring[]\u003e] [[-CorporateWebsiteProbeURL] \u003cstring\u003e] [[-DomainLocationDeterminationURL] \u003cstring\u003e] -InputObject \u003cCimInstance#MSFT_NCSIPolicyConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetworkTransition", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetIPHttpsCertBinding", + "CommandType": "Function", + "ParameterSets": "-CertificateHash \u003cstring\u003e -ApplicationId \u003cstring\u003e -IpPort \u003cstring\u003e -CertificateStoreName \u003cstring\u003e -NullEncryption \u003cbool\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetIPHttpsProfile", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetIPHttpsProfile", + "CommandType": "Function", + "ParameterSets": "-Profile \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Net6to4Configuration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetDnsTransitionMonitoring", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPHttpsState", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIsatapConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatTransitionMonitoring", + "CommandType": "Function", + "ParameterSets": "[-TransportProtocol \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTeredoConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTeredoState", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore] \u003cstring\u003e -ServerURL \u003cstring\u003e [-Profile \u003cstring\u003e] [-Type \u003cType\u003e] [-State \u003cState\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-GPOSession] \u003cstring\u003e -ServerURL \u003cstring\u003e [-Profile \u003cstring\u003e] [-Type \u003cType\u003e] [-State \u003cState\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "-InstanceName \u003cstring\u003e [-PolicyStore \u003cPolicyStore\u003e] [-State \u003cState\u003e] [-InboundInterface \u003cstring[]\u003e] [-OutboundInterface \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-IPv4AddressPortPool \u003cstring[]\u003e] [-TcpMappingTimeoutSeconds \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPHttpsCertBinding", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e -NewName \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-Net6to4Configuration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-State] [-AutoSharing] [-RelayName] [-RelayState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Net6to4Configuration[]\u003e [-State] [-AutoSharing] [-RelayName] [-RelayState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-State] [-OnlySendAQuery] [-LatencyMilliseconds] [-AlwaysSynthesize] [-AcceptInterface] [-SendInterface] [-ExclusionList] [-PrefixMapping] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-State] [-OnlySendAQuery] [-LatencyMilliseconds] [-AlwaysSynthesize] [-AcceptInterface] [-SendInterface] [-ExclusionList] [-PrefixMapping] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-State] [-AuthMode] [-StrongCRLRequired] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-State] [-AuthMode] [-StrongCRLRequired] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e [-State] [-AuthMode] [-StrongCRLRequired] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetIsatapConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-State] [-Router] [-ResolutionState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetISATAPConfiguration[]\u003e [-State] [-Router] [-ResolutionState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetTeredoConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Type] [-ServerName] [-RefreshIntervalSeconds] [-ClientPort] [-ServerVirtualIP] [-DefaultQualified] [-ServerShunt] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetTeredoConfiguration[]\u003e [-Type] [-ServerName] [-RefreshIntervalSeconds] [-ClientPort] [-ServerVirtualIP] [-DefaultQualified] [-ServerShunt] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Net6to4Configuration", + "CommandType": "Function", + "ParameterSets": "[[-State] \u003cState\u003e] [[-AutoSharing] \u003cState\u003e] [[-RelayName] \u003cstring\u003e] [[-RelayState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] [-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-State] \u003cState\u003e] [[-AutoSharing] \u003cState\u003e] [[-RelayName] \u003cstring\u003e] [[-RelayState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] -InputObject \u003cCimInstance#MSFT_Net6to4Configuration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-State \u003cState\u003e] [-OnlySendAQuery \u003cbool\u003e] [-LatencyMilliseconds \u003cuint32\u003e] [-AlwaysSynthesize \u003cbool\u003e] [-AcceptInterface \u003cstring[]\u003e] [-SendInterface \u003cstring[]\u003e] [-ExclusionList \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-State \u003cState\u003e] [-OnlySendAQuery \u003cbool\u003e] [-LatencyMilliseconds \u003cuint32\u003e] [-AlwaysSynthesize \u003cbool\u003e] [-AcceptInterface \u003cstring[]\u003e] [-SendInterface \u003cstring[]\u003e] [-ExclusionList \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-State \u003cState\u003e] [-Type \u003cType\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-ServerURL \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-State \u003cState\u003e] [-Type \u003cType\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-ServerURL \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e [-State \u003cState\u003e] [-Type \u003cType\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-ServerURL \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIsatapConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-State] \u003cState\u003e] [[-Router] \u003cstring\u003e] [[-ResolutionState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] [-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-State] \u003cState\u003e] [[-Router] \u003cstring\u003e] [[-ResolutionState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] -InputObject \u003cCimInstance#MSFT_NetISATAPConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-State \u003cState\u003e] [-InboundInterface \u003cstring[]\u003e] [-OutboundInterface \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-IPv4AddressPortPool \u003cstring[]\u003e] [-TcpMappingTimeoutSeconds \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-State \u003cState\u003e] [-InboundInterface \u003cstring[]\u003e] [-OutboundInterface \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-IPv4AddressPortPool \u003cstring[]\u003e] [-TcpMappingTimeoutSeconds \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetTeredoConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-Type] \u003cType\u003e] [[-ServerName] \u003cstring\u003e] [[-RefreshIntervalSeconds] \u003cuint32\u003e] [[-ClientPort] \u003cuint32\u003e] [[-ServerVirtualIP] \u003cstring\u003e] [[-DefaultQualified] \u003cbool\u003e] [[-ServerShunt] \u003cbool\u003e] [-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Type] \u003cType\u003e] [[-ServerName] \u003cstring\u003e] [[-RefreshIntervalSeconds] \u003cuint32\u003e] [[-ClientPort] \u003cuint32\u003e] [[-ServerVirtualIP] \u003cstring\u003e] [[-DefaultQualified] \u003cbool\u003e] [[-ServerShunt] \u003cbool\u003e] -InputObject \u003cCimInstance#MSFT_NetTeredoConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NFS", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Disconnect-NfsSession", + "CommandType": "Function", + "ParameterSets": "[-SessionId] \u003cstring[]\u003e [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsSession[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[[-ClientGroupName] \u003cstring[]\u003e] [-ExcludeName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -LiteralName \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsClientLock", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-LockType] \u003cClientLockType[]\u003e] [[-StateId] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] [[-LockType] \u003cClientLockType[]\u003e] [[-ComputerName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsMappingStore", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsMountedClient", + "CommandType": "Function", + "ParameterSets": "[[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsNetgroupStore", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsOpenFile", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-StateId] \u003cstring[]\u003e] [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsSession", + "CommandType": "Function", + "ParameterSets": "[[-SessionId] \u003cstring[]\u003e] [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsShare", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IsClustered] [[-NetworkName] \u003cstring[]\u003e] [-ExcludeName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -LiteralName \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] [-IsClustered] [[-NetworkName] \u003cstring[]\u003e] [-ExcludePath \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsSharePermission", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-ClientName] \u003cstring\u003e] [[-ClientType] \u003cstring\u003e] [[-Permission] \u003cstring\u003e] [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [[-ClientName] \u003cstring\u003e] [[-ClientType] \u003cstring\u003e] [[-Permission] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsStatistics", + "CommandType": "Function", + "ParameterSets": "[-Protocol \u003cstring[]\u003e] [-Name \u003cstring[]\u003e] [-Version \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Grant-NfsSharePermission", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [[-Permission] \u003cstring\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [[-Permission] \u003cstring\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Path] \u003cstring\u003e [[-NetworkName] \u003cstring\u003e] [[-Authentication] \u003cstring[]\u003e] [[-AnonymousUid] \u003cint\u003e] [[-AnonymousGid] \u003cint\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-EnableAnonymousAccess] \u003cbool\u003e] [[-EnableUnmappedAccess] \u003cbool\u003e] [[-AllowRootAccess] \u003cbool\u003e] [[-Permission] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsClientgroup[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-NetworkName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [[-NetworkName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsShare[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring\u003e [-NewClientGroupName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NfsStatistics", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resolve-NfsMappedIdentity", + "CommandType": "Function", + "ParameterSets": "[-Id] \u003cuint32\u003e [[-AccountType] \u003cWindowsAccountType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AccountName] \u003cstring\u003e [[-AccountType] \u003cWindowsAccountType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsClientLock", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-LockType] \u003cClientLockType[]\u003e] [[-StateId] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [[-LockType] \u003cClientLockType[]\u003e] [[-ComputerName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsClientLock[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsMountedClient", + "CommandType": "Function", + "ParameterSets": "[-ClientId] \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsMountedClient[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsOpenFile", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-StateId] \u003cstring[]\u003e] [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsOpenFile[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsSharePermission", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsClientConfig[]\u003e] [-TransportProtocol \u003cstring[]\u003e] [-MountType \u003cstring\u003e] [-CaseSensitiveLookup \u003cbool\u003e] [-MountRetryAttempts \u003cuint32\u003e] [-RpcTimeoutSec \u003cuint32\u003e] [-UseReservedPorts \u003cbool\u003e] [-ReadBufferSize \u003cuint32\u003e] [-WriteBufferSize \u003cuint32\u003e] [-DefaultAccessMode \u003cuint32\u003e] [-Authentication \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [[-RemoveMember] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsMappingStore", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsMappingStore[]\u003e] [-EnableUNMLookup \u003cbool\u003e] [-UNMServer \u003cstring\u003e] [-EnableADLookup \u003cbool\u003e] [-ADDomainName \u003cstring\u003e] [-EnableLdapLookup \u003cbool\u003e] [-LdapServer \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsNetgroupStore", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsNetgroupStore[]\u003e] [-NetgroupStoreType \u003cstring\u003e] [-NisServer \u003cstring\u003e] [-NisDomain \u003cstring\u003e] [-LdapServer \u003cstring\u003e] [-LDAPNamingContext \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsServerConfig[]\u003e] [-PortmapProtocol \u003cstring[]\u003e] [-MountProtocol \u003cstring[]\u003e] [-Nfsprotocol \u003cstring[]\u003e] [-NlmProtocol \u003cstring[]\u003e] [-NsmProtocol \u003cstring[]\u003e] [-MapServerProtocol \u003cstring[]\u003e] [-NisProtocol \u003cstring[]\u003e] [-EnableNFSV2 \u003cbool\u003e] [-EnableNFSV3 \u003cbool\u003e] [-EnableNFSV4 \u003cbool\u003e] [-EnableAuthenticationRenewal \u003cbool\u003e] [-AuthenticationRenewalIntervalSec \u003cuint32\u003e] [-DirectoryCacheSize \u003cuint32\u003e] [-CharacterTranslationFile \u003cstring\u003e] [-HideFilesBeginningInDot \u003cbool\u003e] [-NlmGracePeriodSec \u003cuint32\u003e] [-LogActivity \u003cstring[]\u003e] [-GracePeriodSec \u003cuint32\u003e] [-NetgroupCacheTimeoutSec \u003cuint32\u003e] [-PreserveInheritance \u003cbool\u003e] [-UnmappedUserAccount \u003cstring\u003e] [-WorldAccount \u003cstring\u003e] [-AlwaysOpenByName \u003cbool\u003e] [-LeasePeriodSec \u003cuint32\u003e] [-ClearMappingCache] [-OnlineTimeoutSec \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-Authentication] \u003cstring[]\u003e] [[-EnableAnonymousAccess] \u003cbool\u003e] [[-EnableUnmappedAccess] \u003cbool\u003e] [[-AnonymousGid] \u003cint\u003e] [[-AnonymousUid] \u003cint\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [[-Permission] \u003cstring\u003e] [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [[-Authentication] \u003cstring[]\u003e] [[-EnableAnonymousAccess] \u003cbool\u003e] [[-EnableUnmappedAccess] \u003cbool\u003e] [[-AnonymousGid] \u003cint\u003e] [[-AnonymousUid] \u003cint\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [[-Permission] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-NfsMappingStore", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-AccountType \u003cAccountType\u003e [-MappingStore \u003cMappingStoreType\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e -AccountType \u003cAccountType\u003e [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e -AccountType \u003cAccountType\u003e [-MapFilesPath \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[[-NetGroupName] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-LdapServer] \u003cstring\u003e [[-LdapNamingContext] \u003cstring\u003e] [-NetGroupName \u003cstring\u003e] [\u003cCommonParameters\u003e] [-NisServer] \u003cstring\u003e [[-NisDomain] \u003cstring\u003e] [-NetGroupName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Install-NfsMappingStore", + "CommandType": "Cmdlet", + "ParameterSets": "[-InstanceName \u003cstring\u003e] [-LdapPort \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-UserName \u003cstring\u003e -UserIdentifier \u003cint\u003e -GroupIdentifier \u003cint\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-Password \u003csecurestring\u003e] [-PrimaryGroup \u003cstring\u003e] [-SupplementaryGroups \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GroupName \u003cstring\u003e -GroupIdentifier \u003cint\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[-NetGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [[-LdapServer] \u003cstring\u003e] [[-LdapNamingContext] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-UserName \u003cstring\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GroupName \u003cstring\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[-NetGroupName] \u003cstring\u003e [[-LdapServer] \u003cstring\u003e] [[-LdapNamingContext] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-UserName \u003cstring\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GroupName \u003cstring\u003e -GroupIdentifier \u003cint\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[-NetGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [[-RemoveMember] \u003cstring[]\u003e] [[-LdapServer] \u003cstring\u003e] [[-LdapNamingContext] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "[-MappingStore \u003cMappingStoreType\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [-AccountType \u003cAccountType\u003e] [-SupplementaryGroups \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e [-MapFilesPath \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [-AccountType \u003cAccountType\u003e] [-SupplementaryGroups \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [-AccountType \u003cAccountType\u003e] [-SupplementaryGroups \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PKI", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-CertificateEnrollmentPolicyServer", + "CommandType": "Cmdlet", + "ParameterSets": "-Url \u003curi\u003e -context \u003cContext\u003e [-NoClobber] [-RequireStrongValidation] [-Credential \u003cPkiCredential\u003e] [-AutoEnrollmentEnabled] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "-FilePath \u003cstring\u003e -Cert \u003cCertificate\u003e [-Type \u003cCertType\u003e] [-NoClobber] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-PFXData] \u003cPfxData\u003e [-FilePath] \u003cstring\u003e [-NoProperties] [-NoClobber] [-Force] [-ChainOption \u003cExportChainOption\u003e] [-ProtectTo \u003cstring[]\u003e] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Cert] \u003cCertificate\u003e [-FilePath] \u003cstring\u003e [-NoProperties] [-NoClobber] [-Force] [-ChainOption \u003cExportChainOption\u003e] [-ProtectTo \u003cstring[]\u003e] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "-Template \u003cstring\u003e [-Url \u003curi\u003e] [-SubjectName \u003cstring\u003e] [-DnsName \u003cstring[]\u003e] [-Credential \u003cPkiCredential\u003e] [-CertStoreLocation \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Request \u003cCertificate\u003e [-Credential \u003cPkiCredential\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CertificateAutoEnrollmentPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "-Scope \u003cAutoEnrollmentPolicyScope\u003e -context \u003cContext\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CertificateEnrollmentPolicyServer", + "CommandType": "Cmdlet", + "ParameterSets": "-Scope \u003cEnrollmentPolicyServerScope\u003e -context \u003cContext\u003e [-Url \u003curi\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CertificateNotificationTask", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PfxData", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [-Password \u003csecurestring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [-CertStoreLocation \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [[-CertStoreLocation] \u003cstring\u003e] [-Exportable] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CertificateNotificationTask", + "CommandType": "Cmdlet", + "ParameterSets": "-Type \u003cCertificateNotificationType\u003e -PSScript \u003cstring\u003e -Name \u003cstring\u003e -Channel \u003cNotificationChannel\u003e [-RunTaskForExistingCertificates] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SelfSignedCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-DnsName \u003cstring[]\u003e] [-CloneCert \u003cCertificate\u003e] [-CertStoreLocation \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CertificateEnrollmentPolicyServer", + "CommandType": "Cmdlet", + "ParameterSets": "[-Url] \u003curi\u003e -context \u003cContext\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CertificateNotificationTask", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-CertificateAutoEnrollmentPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "-PolicyState \u003cPolicySetting\u003e -context \u003cContext\u003e [-StoreName \u003cstring[]\u003e] [-ExpirationPercentage \u003cint\u003e] [-EnableTemplateCheck] [-EnableMyStoreManagement] [-EnableBalloonNotifications] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -EnableAll -context \u003cContext\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Switch-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-OldCert] \u003cCertificate\u003e [-NewCert] \u003cCertificate\u003e [-NotifyOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-Cert] \u003cCertificate\u003e [-Policy \u003cTestCertificatePolicy\u003e] [-User] [-EKU \u003cstring[]\u003e] [-DNSName \u003cstring\u003e] [-AllowUntrustedRoot] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PrintManagement", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Add-Printer", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs] [-Location \u003cstring\u003e] [-SeparatorPageFile \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Shared] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-PermissionSDDL \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published] [-RenderingMode \u003cRenderingModeEnum\u003e] [-DeviceURL \u003cstring\u003e] [-DeviceUUID \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-DriverName] \u003cstring\u003e -PortName \u003cstring\u003e [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs] [-Location \u003cstring\u003e] [-SeparatorPageFile \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Shared] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-PermissionSDDL \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published] [-RenderingMode \u003cRenderingModeEnum\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PrinterDriver", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-InfPath] \u003cstring\u003e] [-PrinterEnvironment \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PrinterPort", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-LprHostAddress] \u003cstring\u003e [-LprQueueName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-SNMP \u003cuint32\u003e] [-SNMPCommunity \u003cstring\u003e] [-LprByteCounting] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PrinterHostAddress] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-PortNumber \u003cuint32\u003e] [-SNMP \u003cuint32\u003e] [-SNMPCommunity \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-HostName] \u003cstring\u003e [-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrintConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Printer", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Full] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrinterDriver", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PrinterEnvironment \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrinterPort", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrinterProperty", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [[-PropertyName] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-ID \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Printer", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Printer[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PrinterDriver", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-PrinterEnvironment] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-RemoveFromDriverStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PrinterDriver[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PrinterPort", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PrinterPort[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-ID] \u003cuint32\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-Printer", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_Printer\u003e [-NewName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-ID] \u003cuint32\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ID] \u003cuint32\u003e [-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PrintConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-Collate \u003cbool\u003e] [-Color \u003cbool\u003e] [-DuplexingMode \u003cDuplexingModeEnum\u003e] [-PaperSize \u003cPaperSizeEnum\u003e] [-PrintTicketXml \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-Collate \u003cbool\u003e] [-Color \u003cbool\u003e] [-DuplexingMode \u003cDuplexingModeEnum\u003e] [-PaperSize \u003cPaperSizeEnum\u003e] [-PrintTicketXml \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_PrinterConfiguration\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Printer", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-DriverName \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs \u003cbool\u003e] [-Location \u003cstring\u003e] [-PermissionSDDL \u003cstring\u003e] [-PortName \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published \u003cbool\u003e] [-RenderingMode \u003cRenderingModeEnum\u003e] [-SeparatorPageFile \u003cstring\u003e] [-Shared \u003cbool\u003e] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Printer[]\u003e [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-DriverName \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs \u003cbool\u003e] [-Location \u003cstring\u003e] [-PermissionSDDL \u003cstring\u003e] [-PortName \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published \u003cbool\u003e] [-RenderingMode \u003cRenderingModeEnum\u003e] [-SeparatorPageFile \u003cstring\u003e] [-Shared \u003cbool\u003e] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PrinterProperty", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [-PropertyName] \u003cstring\u003e [-Value] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-PropertyName] \u003cstring\u003e [-Value] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_PrinterProperty\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-ID] \u003cuint32\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PSDiagnostics", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-PSTrace", + "CommandType": "Function", + "ParameterSets": "[-AnalyticOnly]" + }, + { + "Name": "Disable-PSWSManCombinedTrace", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Disable-WSManTrace", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Enable-PSTrace", + "CommandType": "Function", + "ParameterSets": "[-Force] [-AnalyticOnly]" + }, + { + "Name": "Enable-PSWSManCombinedTrace", + "CommandType": "Function", + "ParameterSets": "[-DoNotOverwriteExistingTrace]" + }, + { + "Name": "Enable-WSManTrace", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-LogProperties", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cObject\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-LogProperties", + "CommandType": "Function", + "ParameterSets": "[-LogDetails] \u003cLogDetails\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Trace", + "CommandType": "Function", + "ParameterSets": "[-SessionName] \u003cstring\u003e [[-OutputFilePath] \u003cstring\u003e] [[-ProviderFilePath] \u003cstring\u003e] [-ETS] [-Format \u003cObject\u003e] [-MinBuffers \u003cint\u003e] [-MaxBuffers \u003cint\u003e] [-BufferSizeInKB \u003cint\u003e] [-MaxLogFileSizeInMB \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Trace", + "CommandType": "Function", + "ParameterSets": "[-SessionName] \u003cObject\u003e [-ETS] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PSScheduledJob", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition[]\u003e [-Trigger] \u003cScheduledJobTrigger[]\u003e [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-Trigger] \u003cScheduledJobTrigger[]\u003e [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Trigger] \u003cScheduledJobTrigger[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobTrigger[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobTrigger[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [[-TriggerId] \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [[-TriggerId] \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [[-TriggerId] \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledJobOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "-Once -At \u003cdatetime\u003e [-RandomDelay \u003ctimespan\u003e] [-RepetitionInterval \u003ctimespan\u003e] [-RepetitionDuration \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -Daily -At \u003cdatetime\u003e [-DaysInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -Weekly -At \u003cdatetime\u003e -DaysOfWeek \u003cDayOfWeek[]\u003e [-WeeksInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -AtLogOn [-RandomDelay \u003ctimespan\u003e] [-User \u003cstring\u003e] [\u003cCommonParameters\u003e] -AtStartup [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledJobOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-RunElevated] [-HideInTaskScheduler] [-RestartOnIdleResume] [-MultipleInstancePolicy \u003cTaskMultipleInstancePolicy\u003e] [-DoNotAllowDemandStart] [-RequireNetwork] [-StopIfGoingOffIdle] [-WakeToRun] [-ContinueIfGoingOnBattery] [-StartIfOnBattery] [-IdleTimeout \u003ctimespan\u003e] [-IdleDuration \u003ctimespan\u003e] [-StartIfIdle] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ScriptBlock] \u003cscriptblock\u003e [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-ArgumentList \u003cObject[]\u003e] [-MaxResultCount \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-FilePath] \u003cstring\u003e [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-ArgumentList \u003cObject[]\u003e] [-MaxResultCount \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition[]\u003e [-TriggerId \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-TriggerId \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-TriggerId \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobTrigger[]\u003e [-DaysInterval \u003cint\u003e] [-WeeksInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [-At \u003cdatetime\u003e] [-User \u003cstring\u003e] [-DaysOfWeek \u003cDayOfWeek[]\u003e] [-AtStartup] [-AtLogOn] [-Once] [-RepetitionInterval \u003ctimespan\u003e] [-RepetitionDuration \u003ctimespan\u003e] [-Daily] [-Weekly] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [-Name \u003cstring\u003e] [-ScriptBlock \u003cscriptblock\u003e] [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-MaxResultCount \u003cint\u003e] [-PassThru] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cScheduledJobDefinition\u003e [-Name \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-MaxResultCount \u003cint\u003e] [-PassThru] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cScheduledJobDefinition\u003e [-ClearExecutionHistory] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ScheduledJobOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobOptions\u003e [-PassThru] [-RunElevated] [-HideInTaskScheduler] [-RestartOnIdleResume] [-MultipleInstancePolicy \u003cTaskMultipleInstancePolicy\u003e] [-DoNotAllowDemandStart] [-RequireNetwork] [-StopIfGoingOffIdle] [-WakeToRun] [-ContinueIfGoingOnBattery] [-StartIfOnBattery] [-IdleTimeout \u003ctimespan\u003e] [-IdleDuration \u003ctimespan\u003e] [-StartIfIdle] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PSWorkflow", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "New-PSWorkflowSession", + "CommandType": "Function", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [-Credential \u003cObject\u003e] [-Name \u003cstring[]\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-EnableNetworkAccess] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSWorkflowExecutionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-PersistencePath \u003cstring\u003e] [-MaxPersistenceStoreSizeGB \u003clong\u003e] [-PersistWithEncryption] [-MaxRunningWorkflows \u003cint\u003e] [-AllowedActivity \u003cstring[]\u003e] [-OutOfProcessActivity \u003cstring[]\u003e] [-EnableValidation] [-MaxDisconnectedSessions \u003cint\u003e] [-MaxConnectedSessions \u003cint\u003e] [-MaxSessionsPerWorkflow \u003cint\u003e] [-MaxSessionsPerRemoteNode \u003cint\u003e] [-MaxActivityProcesses \u003cint\u003e] [-ActivityProcessIdleTimeoutSec \u003cint\u003e] [-RemoteNodeSessionIdleTimeoutSec \u003cint\u003e] [-SessionThrottleLimit \u003cint\u003e] [-WorkflowShutdownTimeoutMSec \u003cint\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "nwsn" + ] + }, + { + "Name": "PSWorkflowUtility", + "Version": "1.0.0.0", + "ExportedCommands": { + "Name": "Invoke-AsWorkflow", + "CommandType": "Workflow", + "ParameterSets": [ + "[-CommandName \u003cstring\u003e] [-Parameter \u003chashtable\u003e] [-PSParameterCollection \u003chashtable[]\u003e] [-PSComputerName \u003cstring[]\u003e] [-PSCredential \u003cObject\u003e] [-PSConnectionRetryCount \u003cuint32\u003e] [-PSConnectionRetryIntervalSec \u003cuint32\u003e] [-PSRunningTimeoutSec \u003cuint32\u003e] [-PSElapsedTimeoutSec \u003cuint32\u003e] [-PSPersist \u003cbool\u003e] [-PSAuthentication \u003cAuthenticationMechanism\u003e] [-PSAuthenticationLevel \u003cAuthenticationLevel\u003e] [-PSApplicationName \u003cstring\u003e] [-PSPort \u003cuint32\u003e] [-PSUseSSL] [-PSConfigurationName \u003cstring\u003e] [-PSConnectionURI \u003cstring[]\u003e] [-PSAllowRedirection] [-PSSessionOption \u003cPSSessionOption\u003e] [-PSCertificateThumbprint \u003cstring\u003e] [-PSPrivateMetadata \u003chashtable\u003e] [-AsJob] [-JobName \u003cstring\u003e] [-InputObject \u003cObject\u003e] [\u003cCommonParameters\u003e]", + "[-Expression \u003cstring\u003e] [-PSParameterCollection \u003chashtable[]\u003e] [-PSComputerName \u003cstring[]\u003e] [-PSCredential \u003cObject\u003e] [-PSConnectionRetryCount \u003cuint32\u003e] [-PSConnectionRetryIntervalSec \u003cuint32\u003e] [-PSRunningTimeoutSec \u003cuint32\u003e] [-PSElapsedTimeoutSec \u003cuint32\u003e] [-PSPersist \u003cbool\u003e] [-PSAuthentication \u003cAuthenticationMechanism\u003e] [-PSAuthenticationLevel \u003cAuthenticationLevel\u003e] [-PSApplicationName \u003cstring\u003e] [-PSPort \u003cuint32\u003e] [-PSUseSSL] [-PSConfigurationName \u003cstring\u003e] [-PSConnectionURI \u003cstring[]\u003e] [-PSAllowRedirection] [-PSSessionOption \u003cPSSessionOption\u003e] [-PSCertificateThumbprint \u003cstring\u003e] [-PSPrivateMetadata \u003chashtable\u003e] [-AsJob] [-JobName \u003cstring\u003e] [-InputObject \u003cObject\u003e] [\u003cCommonParameters\u003e]" + ] + }, + "ExportedAliases": [ + + ] + }, + { + "Name": "RemoteDesktop", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-RDServer", + "CommandType": "Function", + "ParameterSets": "[-Server] \u003cstring\u003e [-Role] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [[-GatewayExternalFqdn] \u003cstring\u003e] [-CreateVirtualSwitch] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -SessionHost \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-RDVirtualDesktopToCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e [-VirtualDesktopTemplateName \u003cstring\u003e] [-VirtualDesktopTemplateHostServer \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-RDVirtualDesktopADMachineAccountReuse", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-RDUser", + "CommandType": "Function", + "ParameterSets": "[-HostServer] \u003cstring\u003e [-UnifiedSessionID] \u003cint\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-RDVirtualDesktopADMachineAccountReuse", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Path \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDAvailableApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDCertificate", + "CommandType": "Function", + "ParameterSets": "[[-Role] \u003cRDCertificateRole\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDConnectionBrokerHighAvailability", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDDeploymentGatewayConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDFileTypeAssociation", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [-AppAlias \u003cstring\u003e] [-AppDisplayName \u003cstring[]\u003e] [-FileExtension \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDLicenseConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -User \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[[-VirtualDesktopName] \u003cstring\u003e] [[-ID] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [[-Alias] \u003cstring\u003e] [-DisplayName \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDRemoteDesktop", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDServer", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [[-Role] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDSessionCollection", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDSessionCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserGroup [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Connection [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserProfileDisk [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Security [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -LoadBalancing [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Client [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDUserSession", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring[]\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktop", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopConfiguration [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserGroups [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Client [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserProfileDisks [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopCollectionJobStatus", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopConcurrency", + "CommandType": "Function", + "ParameterSets": "[[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopIdleCount", + "CommandType": "Function", + "ParameterSets": "[[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopTemplateExportPath", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDWorkspace", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Grant-RDOUAccess", + "CommandType": "Function", + "ParameterSets": "[[-Domain] \u003cstring\u003e] [-OU] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Path \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-RDUserLogoff", + "CommandType": "Function", + "ParameterSets": "[-HostServer] \u003cstring\u003e [-UnifiedSessionID] \u003cint\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-RDVirtualDesktop", + "CommandType": "Function", + "ParameterSets": "[-SourceHost] \u003cstring\u003e [-DestinationHost] \u003cstring\u003e [-Name] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [[-Credential] \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDCertificate", + "CommandType": "Function", + "ParameterSets": "[-Role] \u003cRDCertificateRole\u003e -DnsName \u003cstring\u003e -Password \u003csecurestring\u003e [-ExportPath \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[-VirtualDesktopName] \u003cstring\u003e [[-ID] \u003cstring\u003e] [[-Context] \u003cbyte[]\u003e] [[-Deadline] \u003cdatetime\u003e] [[-StartTime] \u003cdatetime\u003e] [[-EndTime] \u003cdatetime\u003e] [[-Label] \u003cstring\u003e] [[-Plugin] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -DisplayName \u003cstring\u003e -FilePath \u003cstring\u003e [-Alias \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -DisplayName \u003cstring\u003e -FilePath \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-Alias \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDSessionCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -SessionHost \u003cstring[]\u003e [-CollectionDescription \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDSessionDeployment", + "CommandType": "Function", + "ParameterSets": "[-ConnectionBroker] \u003cstring\u003e [-WebAccessServer] \u003cstring\u003e [-SessionHost] \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -PooledManaged -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e -StorageType \u003cVirtualDesktopStorageType\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-CentralStoragePath \u003cstring\u003e] [-LocalStoragePath \u003cstring\u003e] [-VirtualDesktopTemplateStoragePath \u003cstring\u003e] [-Domain \u003cstring\u003e] [-OU \u003cstring\u003e] [-CustomSysprepUnattendFilePath \u003cstring\u003e] [-VirtualDesktopNamePrefix \u003cstring\u003e] [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-UserProfileDiskPath \u003cstring\u003e] [-MaxUserProfileDiskSizeGB \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -PersonalManaged -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e -StorageType \u003cVirtualDesktopStorageType\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-CentralStoragePath \u003cstring\u003e] [-LocalStoragePath \u003cstring\u003e] [-Domain \u003cstring\u003e] [-OU \u003cstring\u003e] [-CustomSysprepUnattendFilePath \u003cstring\u003e] [-VirtualDesktopNamePrefix \u003cstring\u003e] [-AutoAssignPersonalVirtualDesktopToUser] [-GrantAdministrativePrivilege] [-Force] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -PooledUnmanaged -VirtualDesktopName \u003cstring[]\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-UserProfileDiskPath \u003cstring\u003e] [-MaxUserProfileDiskSizeGB \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -PersonalUnmanaged -VirtualDesktopName \u003cstring[]\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-AutoAssignPersonalVirtualDesktopToUser] [-GrantAdministrativePrivilege] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDVirtualDesktopDeployment", + "CommandType": "Function", + "ParameterSets": "[-ConnectionBroker] \u003cstring\u003e [-WebAccessServer] \u003cstring\u003e [-VirtualizationHost] \u003cstring[]\u003e [-CreateVirtualSwitch] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-User] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e [-VirtualDesktopName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[[-VirtualDesktopName] \u003cstring\u003e] [[-ID] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Alias \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDServer", + "CommandType": "Function", + "ParameterSets": "[-Server] \u003cstring\u003e [-Role] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDSessionCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-SessionHost] \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDVirtualDesktopFromCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Send-RDUserMessage", + "CommandType": "Function", + "ParameterSets": "[-HostServer] \u003cstring\u003e [-UnifiedSessionID] \u003cint\u003e [-MessageTitle] \u003cstring\u003e [-MessageBody] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDActiveManagementServer", + "CommandType": "Function", + "ParameterSets": "[-ManagementServer] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDCertificate", + "CommandType": "Function", + "ParameterSets": "[-Role] \u003cRDCertificateRole\u003e [-Password \u003csecurestring\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e] [-Role] \u003cRDCertificateRole\u003e [-ImportPath \u003cstring\u003e] [-Password \u003csecurestring\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDClientAccessName", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [-ClientAccessName] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDConnectionBrokerHighAvailability", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [-DatabaseConnectionString] \u003cstring\u003e [-DatabaseFilePath] \u003cstring\u003e [-ClientAccessName] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDDatabaseConnectionString", + "CommandType": "Function", + "ParameterSets": "[-DatabaseConnectionString] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDDeploymentGatewayConfiguration", + "CommandType": "Function", + "ParameterSets": "[-GatewayMode] \u003cGatewayUsage\u003e [[-GatewayExternalFqdn] \u003cstring\u003e] [[-LogonMethod] \u003cGatewayAuthMode\u003e] [[-UseCachedCredentials] \u003cbool\u003e] [[-BypassLocal] \u003cbool\u003e] [[-ConnectionBroker] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDFileTypeAssociation", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -AppAlias \u003cstring\u003e -FileExtension \u003cstring\u003e -IsPublished \u003cbool\u003e [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -AppAlias \u003cstring\u003e -FileExtension \u003cstring\u003e -IsPublished \u003cbool\u003e -VirtualDesktopName \u003cstring\u003e [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDLicenseConfiguration", + "CommandType": "Function", + "ParameterSets": "-Mode \u003cLicensingMode\u003e [-Force] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] -Mode \u003cLicensingMode\u003e -LicenseServer \u003cstring[]\u003e [-Force] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] -LicenseServer \u003cstring[]\u003e [-Force] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -User \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[-VirtualDesktopName] \u003cstring\u003e [-ID] \u003cstring\u003e [[-Context] \u003cbyte[]\u003e] [[-Deadline] \u003cdatetime\u003e] [[-StartTime] \u003cdatetime\u003e] [[-EndTime] \u003cdatetime\u003e] [[-Label] \u003cstring\u003e] [[-Plugin] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Alias \u003cstring\u003e [-DisplayName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Alias \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-DisplayName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDRemoteDesktop", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ShowInWebAccess] \u003cbool\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDSessionCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-CollectionDescription \u003cstring\u003e] [-UserGroup \u003cstring[]\u003e] [-ClientDeviceRedirectionOptions \u003cRDClientDeviceRedirectionOptions\u003e] [-MaxRedirectedMonitors \u003cint\u003e] [-ClientPrinterRedirected \u003cbool\u003e] [-RDEasyPrintDriverEnabled \u003cbool\u003e] [-ClientPrinterAsDefault \u003cbool\u003e] [-TemporaryFoldersPerSession \u003cbool\u003e] [-BrokenConnectionAction \u003cRDBrokenConnectionAction\u003e] [-TemporaryFoldersDeletedOnExit \u003cbool\u003e] [-AutomaticReconnectionEnabled \u003cbool\u003e] [-ActiveSessionLimitMin \u003cint\u003e] [-DisconnectedSessionLimitMin \u003cint\u003e] [-IdleSessionLimitMin \u003cint\u003e] [-AuthenticateUsingNLA \u003cbool\u003e] [-EncryptionLevel \u003cRDEncryptionLevel\u003e] [-SecurityLayer \u003cRDSecurityLayer\u003e] [-LoadBalancing \u003cRDSessionHostCollectionLoadBalancingInstance[]\u003e] [-CustomRdpProperty \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -DisableUserProfileDisk [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -EnableUserProfileDisk -MaxUserProfileDiskSizeGB \u003cint\u003e -DiskPath \u003cstring\u003e [-IncludeFolderPath \u003cstring[]\u003e] [-ExcludeFolderPath \u003cstring[]\u003e] [-IncludeFilePath \u003cstring[]\u003e] [-ExcludeFilePath \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-SessionHost] \u003cstring[]\u003e [-NewConnectionAllowed] \u003cRDServerNewConnectionAllowed\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-CollectionDescription \u003cstring\u003e] [-ClientDeviceRedirectionOptions \u003cRDClientDeviceRedirectionOptions\u003e] [-RedirectAllMonitors \u003cbool\u003e] [-RedirectClientPrinter \u003cbool\u003e] [-SaveDelayMinutes \u003cint\u003e] [-UserGroups \u003cstring[]\u003e] [-AutoAssignPersonalVirtualDesktopToUser \u003cbool\u003e] [-GrantAdministrativePrivilege \u003cbool\u003e] [-CustomRdpProperty \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -DisableUserProfileDisks [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -EnableUserProfileDisks -MaxUserProfileDiskSizeGB \u003cint\u003e -DiskPath \u003cstring\u003e [-IncludeFolderPath \u003cstring[]\u003e] [-ExcludeFolderPath \u003cstring[]\u003e] [-IncludeFilePath \u003cstring[]\u003e] [-ExcludeFilePath \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopConcurrency", + "CommandType": "Function", + "ParameterSets": "[-ConcurrencyFactor] \u003cint\u003e [[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Allocation] \u003chashtable\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopIdleCount", + "CommandType": "Function", + "ParameterSets": "[-IdleCount] \u003cint\u003e [[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Allocation] \u003chashtable\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopTemplateExportPath", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [-Path] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDWorkspace", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-RDVirtualDesktopCollectionJob", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-RDOUAccess", + "CommandType": "Function", + "ParameterSets": "[[-Domain] \u003cstring\u003e] [-OU] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-RDVirtualDesktopADMachineAccountReuse", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -StartTime \u003cdatetime\u003e -ForceLogoffTime \u003cdatetime\u003e [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -ForceLogoffTime \u003cdatetime\u003e [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "ScheduledTasks", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring\u003e] [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring\u003e] [[-Cluster] \u003cstring\u003e] [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring[]\u003e] [[-TaskPath] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledTaskInfo", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Principal] \u003cCimInstance#MSFT_TaskPrincipal\u003e] [[-Description] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskAction", + "CommandType": "Function", + "ParameterSets": "[-Execute] \u003cstring\u003e [[-Argument] \u003cstring\u003e] [[-WorkingDirectory] \u003cstring\u003e] [-Id \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskPrincipal", + "CommandType": "Function", + "ParameterSets": "[-UserId] \u003cstring\u003e [[-LogonType] \u003cLogonTypeEnum\u003e] [[-RunLevel] \u003cRunLevelEnum\u003e] [[-ProcessTokenSidType] \u003cProcessTokenSidTypeEnum\u003e] [[-RequiredPrivilege] \u003cstring[]\u003e] [[-Id] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-GroupId] \u003cstring\u003e [[-RunLevel] \u003cRunLevelEnum\u003e] [[-ProcessTokenSidType] \u003cProcessTokenSidTypeEnum\u003e] [[-RequiredPrivilege] \u003cstring[]\u003e] [[-Id] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskSettingsSet", + "CommandType": "Function", + "ParameterSets": "[-DisallowDemandStart] [-DisallowHardTerminate] [-Compatibility \u003cCompatibilityEnum\u003e] [-DeleteExpiredTaskAfter \u003ctimespan\u003e] [-AllowStartIfOnBatteries] [-Disable] [-MaintenanceExclusive] [-Hidden] [-RunOnlyIfIdle] [-IdleWaitTimeout \u003ctimespan\u003e] [-NetworkId \u003cstring\u003e] [-NetworkName \u003cstring\u003e] [-DisallowStartOnRemoteAppSession] [-MaintenancePeriod \u003ctimespan\u003e] [-MaintenanceDeadline \u003ctimespan\u003e] [-StartWhenAvailable] [-DontStopIfGoingOnBatteries] [-WakeToRun] [-IdleDuration \u003ctimespan\u003e] [-RestartOnIdle] [-DontStopOnIdleEnd] [-ExecutionTimeLimit \u003ctimespan\u003e] [-MultipleInstances \u003cMultipleInstancesEnum\u003e] [-Priority \u003cint\u003e] [-RestartCount \u003cint\u003e] [-RestartInterval \u003ctimespan\u003e] [-RunOnlyIfNetworkAvailable] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskTrigger", + "CommandType": "Function", + "ParameterSets": "-Once -At \u003cdatetime\u003e [-RandomDelay \u003ctimespan\u003e] [-RepetitionInterval \u003ctimespan\u003e] [-RepetitionDuration \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -Daily -At \u003cdatetime\u003e [-DaysInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -Weekly -At \u003cdatetime\u003e -DaysOfWeek \u003cDayOfWeek[]\u003e [-WeeksInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -AtStartup [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -AtLogOn [-RandomDelay \u003ctimespan\u003e] [-User \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-Cluster] \u003cstring\u003e] [[-Resource] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-Xml] \u003cstring\u003e [[-Cluster] \u003cstring\u003e] [[-Resource] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Description] \u003cstring\u003e] [[-Cluster] \u003cstring\u003e] [[-Resource] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [[-RunLevel] \u003cRunLevelEnum\u003e] [[-Description] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-Xml] \u003cstring\u003e [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Principal] \u003cCimInstance#MSFT_TaskPrincipal\u003e] [[-Description] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-TaskName] \u003cstring\u003e] [[-TaskPath] \u003cstring\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [-Xml] \u003cstring\u003e [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Description] \u003cstring\u003e] [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-Password] \u003cstring\u003e] [[-User] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Principal] \u003cCimInstance#MSFT_TaskPrincipal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-InputObject] \u003cCimInstance#MSFT_ClusteredScheduledTask\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring[]\u003e] [[-TaskPath] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_ScheduledTask[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "SecureBoot", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Confirm-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "-Name \u003cstring\u003e -SignatureOwner \u003cguid\u003e -CertificateFilePath \u003cstring[]\u003e [-FormatWithCert] [-SignableFilePath \u003cstring\u003e] [-Time \u003cstring\u003e] [-AppendWrite] [-ContentFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -SignatureOwner \u003cguid\u003e -Hash \u003cstring[]\u003e -Algorithm \u003cstring\u003e [-SignableFilePath \u003cstring\u003e] [-Time \u003cstring\u003e] [-AppendWrite] [-ContentFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -Delete [-SignableFilePath \u003cstring\u003e] [-Time \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SecureBootPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-OutputFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "-Name \u003cstring\u003e -Time \u003cstring\u003e [-ContentFilePath \u003cstring\u003e] [-SignedFilePath \u003cstring\u003e] [-AppendWrite] [-OutputFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -Time \u003cstring\u003e [-Content \u003cbyte[]\u003e] [-SignedFilePath \u003cstring\u003e] [-AppendWrite] [-OutputFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "ServerCore", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-DisplayResolution", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DisplayResolution", + "CommandType": "Function", + "ParameterSets": "[-Width] \u003cObject\u003e [-Height] \u003cObject\u003e [-Force] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "ServerManager", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-WindowsFeature", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Remove-WindowsFeature", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Disable-ServerManagerStandardUserRemoting", + "CommandType": "Function", + "ParameterSets": "[-User] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ServerManagerStandardUserRemoting", + "CommandType": "Function", + "ParameterSets": "[-User] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsFeature", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Vhd \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Install-WindowsFeature", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cFeature[]\u003e [-Restart] [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cFeature[]\u003e -Vhd \u003cstring\u003e [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ConfigurationFilePath \u003cstring\u003e [-Vhd \u003cstring\u003e] [-Restart] [-Source \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Uninstall-WindowsFeature", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cFeature[]\u003e [-Restart] [-IncludeManagementTools] [-Remove] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cFeature[]\u003e [-Vhd \u003cstring\u003e] [-IncludeManagementTools] [-Remove] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "Add-WindowsFeature", + "Remove-WindowsFeature" + ] + }, + { + "Name": "ServerManagerTasks", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-SMCounterSample", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e -CounterPath \u003cstring[]\u003e [-BatchSize \u003cuint32\u003e] [-StartTime \u003cdatetime\u003e] [-EndTime \u003cdatetime\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -CollectorName \u003cstring\u003e -CounterPath \u003cstring[]\u003e -Timestamp \u003cdatetime[]\u003e [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMPerformanceCollector", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerBpaResult", + "CommandType": "Function", + "ParameterSets": "-BpaXPath \u003cstring[]\u003e [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerClusterName", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerEvent", + "CommandType": "Function", + "ParameterSets": "[-Log \u003cstring[]\u003e] [-Level \u003cEventLevelFlag[]\u003e] [-StartTime \u003cuint64[]\u003e] [-EndTime \u003cuint64[]\u003e] [-BatchSize \u003cuint32\u003e] [-QueryFile \u003cstring[]\u003e] [-QueryFileId \u003cint[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerFeature", + "CommandType": "Function", + "ParameterSets": "[-FilterFlag \u003cFeatureFilterFlag\u003e] [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerInventory", + "CommandType": "Function", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerService", + "CommandType": "Function", + "ParameterSets": "[-Service \u003cstring[]\u003e] [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SMServerPerformanceLog", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-ThresholdMSec \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-SMPerformanceCollector", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-SMPerformanceCollector", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "SmbShare", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Block-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Close-SmbOpenFile", + "CommandType": "Function", + "ParameterSets": "[[-FileId] \u003cuint64[]\u003e] [-SessionId \u003cuint64[]\u003e] [-ClientComputerName \u003cstring[]\u003e] [-ClientUserName \u003cstring[]\u003e] [-ScopeName \u003cstring[]\u003e] [-ClusterNodeName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBOpenFile[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Close-SmbSession", + "CommandType": "Function", + "ParameterSets": "[[-SessionId] \u003cuint64[]\u003e] [-ClientComputerName \u003cstring[]\u003e] [-ClientUserName \u003cstring[]\u003e] [-ScopeName \u003cstring[]\u003e] [-ClusterNodeName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBSession[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbClientNetworkInterface", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbConnection", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring[]\u003e] [[-UserName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbMapping", + "CommandType": "Function", + "ParameterSets": "[[-LocalPath] \u003cstring[]\u003e] [[-RemotePath] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbMultichannelConnection", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring[]\u003e] [-IncludeNotSelected] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbMultichannelConstraint", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbOpenFile", + "CommandType": "Function", + "ParameterSets": "[[-FileId] \u003cuint64[]\u003e] [[-SessionId] \u003cuint64[]\u003e] [[-ClientComputerName] \u003cstring[]\u003e] [[-ClientUserName] \u003cstring[]\u003e] [[-ScopeName] \u003cstring[]\u003e] [[-ClusterNodeName] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbServerNetworkInterface", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbSession", + "CommandType": "Function", + "ParameterSets": "[[-SessionId] \u003cuint64[]\u003e] [[-ClientComputerName] \u003cstring[]\u003e] [[-ClientUserName] \u003cstring[]\u003e] [[-ScopeName] \u003cstring[]\u003e] [[-ClusterNodeName] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbShare", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-ScopeName] \u003cstring[]\u003e] [-Scoped \u003cbool[]\u003e] [-Special \u003cbool[]\u003e] [-ContinuouslyAvailable \u003cbool[]\u003e] [-ShareState \u003cShareState[]\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode[]\u003e] [-CachingMode \u003cCachingMode[]\u003e] [-ConcurrentUserLimit \u003cuint32[]\u003e] [-AvailabilityType \u003cAvailabilityType[]\u003e] [-CaTimeout \u003cuint32[]\u003e] [-EncryptData \u003cbool[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Grant-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-AccountName \u003cstring[]\u003e] [-AccessRight \u003cShareAccessRight\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-AccessRight \u003cShareAccessRight\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SmbMapping", + "CommandType": "Function", + "ParameterSets": "[[-LocalPath] \u003cstring\u003e] [[-RemotePath] \u003cstring\u003e] [-UserName \u003cstring\u003e] [-Password \u003cstring\u003e] [-Persistent \u003cbool\u003e] [-SaveCredentials] [-HomeFolder] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SmbMultichannelConstraint", + "CommandType": "Function", + "ParameterSets": "[-ServerName] \u003cstring\u003e [-InterfaceIndex] \u003cuint32[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ServerName] \u003cstring\u003e [-InterfaceAlias] \u003cstring[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SmbShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Path] \u003cstring\u003e [[-ScopeName] \u003cstring\u003e] [-Temporary] [-ContinuouslyAvailable \u003cbool\u003e] [-Description \u003cstring\u003e] [-ConcurrentUserLimit \u003cuint32\u003e] [-CATimeout \u003cuint32\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode\u003e] [-CachingMode \u003cCachingMode\u003e] [-FullAccess \u003cstring[]\u003e] [-ChangeAccess \u003cstring[]\u003e] [-ReadAccess \u003cstring[]\u003e] [-NoAccess \u003cstring[]\u003e] [-EncryptData \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SmbMapping", + "CommandType": "Function", + "ParameterSets": "[[-LocalPath] \u003cstring[]\u003e] [[-RemotePath] \u003cstring[]\u003e] [-UpdateProfile] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SmbMapping[]\u003e [-UpdateProfile] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SmbMultichannelConstraint", + "CommandType": "Function", + "ParameterSets": "[-ServerName] \u003cstring[]\u003e [[-InterfaceIndex] \u003cuint32[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ServerName] \u003cstring[]\u003e [[-InterfaceAlias] \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SmbMultichannelConstraint[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SmbShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-ConnectionCountPerRssNetworkInterface \u003cuint32\u003e] [-DirectoryCacheEntriesMax \u003cuint32\u003e] [-DirectoryCacheEntrySizeMax \u003cuint32\u003e] [-DirectoryCacheLifetime \u003cuint32\u003e] [-EnableBandwidthThrottling \u003cbool\u003e] [-EnableByteRangeLockingOnReadOnlyFiles \u003cbool\u003e] [-EnableLargeMtu \u003cbool\u003e] [-EnableMultiChannel \u003cbool\u003e] [-DormantFileLimit \u003cuint32\u003e] [-EnableSecuritySignature \u003cbool\u003e] [-ExtendedSessionTimeout \u003cuint32\u003e] [-FileInfoCacheEntriesMax \u003cuint32\u003e] [-FileInfoCacheLifetime \u003cuint32\u003e] [-FileNotFoundCacheEntriesMax \u003cuint32\u003e] [-FileNotFoundCacheLifetime \u003cuint32\u003e] [-KeepConn \u003cuint32\u003e] [-MaxCmds \u003cuint32\u003e] [-MaximumConnectionCountPerServer \u003cuint32\u003e] [-OplocksDisabled \u003cbool\u003e] [-RequireSecuritySignature \u003cbool\u003e] [-SessionTimeout \u003cuint32\u003e] [-UseOpportunisticLocking \u003cbool\u003e] [-WindowSizeThreshold \u003cuint32\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-AnnounceServer \u003cbool\u003e] [-AsynchronousCredits \u003cuint32\u003e] [-AutoShareServer \u003cbool\u003e] [-AutoShareWorkstation \u003cbool\u003e] [-CachedOpenLimit \u003cuint32\u003e] [-AnnounceComment \u003cstring\u003e] [-EnableDownlevelTimewarp \u003cbool\u003e] [-EnableLeasing \u003cbool\u003e] [-EnableMultiChannel \u003cbool\u003e] [-EnableStrictNameChecking \u003cbool\u003e] [-AutoDisconnectTimeout \u003cuint32\u003e] [-DurableHandleV2TimeoutInSeconds \u003cuint32\u003e] [-EnableAuthenticateUserSharing \u003cbool\u003e] [-EnableForcedLogoff \u003cbool\u003e] [-EnableOplocks \u003cbool\u003e] [-EnableSecuritySignature \u003cbool\u003e] [-ServerHidden \u003cbool\u003e] [-IrpStackSize \u003cuint32\u003e] [-KeepAliveTime \u003cuint32\u003e] [-MaxChannelPerSession \u003cuint32\u003e] [-MaxMpxCount \u003cuint32\u003e] [-MaxSessionPerConnection \u003cuint32\u003e] [-MaxThreadsPerQueue \u003cuint32\u003e] [-MaxWorkItems \u003cuint32\u003e] [-NullSessionPipes \u003cstring\u003e] [-NullSessionShares \u003cstring\u003e] [-OplockBreakWait \u003cuint32\u003e] [-PendingClientTimeoutInSeconds \u003cuint32\u003e] [-RequireSecuritySignature \u003cbool\u003e] [-EnableSMB1Protocol \u003cbool\u003e] [-EnableSMB2Protocol \u003cbool\u003e] [-Smb2CreditsMax \u003cuint32\u003e] [-Smb2CreditsMin \u003cuint32\u003e] [-SmbServerNameHardeningLevel \u003cuint32\u003e] [-TreatHostAsStableStorage \u003cbool\u003e] [-ValidateAliasNotCircular \u003cbool\u003e] [-ValidateShareScope \u003cbool\u003e] [-ValidateShareScopeNotAliased \u003cbool\u003e] [-ValidateTargetName \u003cbool\u003e] [-EncryptData \u003cbool\u003e] [-RejectUnencryptedAccess \u003cbool\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-Description \u003cstring\u003e] [-ConcurrentUserLimit \u003cuint32\u003e] [-CATimeout \u003cuint32\u003e] [-ContinuouslyAvailable \u003cbool\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode\u003e] [-CachingMode \u003cCachingMode\u003e] [-SecurityDescriptor \u003cstring\u003e] [-EncryptData \u003cbool\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-Description \u003cstring\u003e] [-ConcurrentUserLimit \u003cuint32\u003e] [-CATimeout \u003cuint32\u003e] [-ContinuouslyAvailable \u003cbool\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode\u003e] [-CachingMode \u003cCachingMode\u003e] [-SecurityDescriptor \u003cstring\u003e] [-EncryptData \u003cbool\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unblock-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-SmbMultichannelConnection", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gsmbs", + "nsmbs", + "rsmbs", + "ssmbs", + "gsmba", + "grsmba", + "rksmba", + "blsmba", + "ulsmba", + "gsmbse", + "cssmbse", + "gsmbo", + "cssmbo", + "gsmbsc", + "ssmbsc", + "gsmbcc", + "ssmbcc", + "gsmbc", + "gsmbm", + "nsmbm", + "rsmbm", + "gsmbcn", + "gsmbsn", + "gsmbmc", + "udsmbmc", + "gsmbt", + "nsmbt", + "rsmbt" + ] + }, + { + "Name": "SmbWitness", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-SmbWitnessClient", + "CommandType": "Function", + "ParameterSets": "[[-ClientName] \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-SmbWitnessClient", + "CommandType": "Function", + "ParameterSets": "[-ClientName] \u003cstring\u003e [-DestinationNode] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gsmbw", + "msmbw" + ] + }, + { + "Name": "Storage", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Initialize-Volume", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Add-InitiatorIdToMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PartitionAccessPath", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [[-AccessPath] \u003cstring\u003e] [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DriveLetter \u003cchar[]\u003e [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[[-StoragePool] \u003cCimInstance#MSFT_StoragePool\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-StoragePoolFriendlyName \u003cstring\u003e] [-StoragePoolName \u003cstring\u003e] [-StoragePoolUniqueId \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-VirtualDisk] \u003cCimInstance#MSFT_VirtualDisk\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-VirtualDiskFriendlyName \u003cstring\u003e] [-VirtualDiskName \u003cstring\u003e] [-VirtualDiskUniqueId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-TargetPortToMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-VirtualDiskToMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-VirtualDisknames \u003cstring[]\u003e] [-DeviceNumbers \u003cuint16[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-VirtualDisknames \u003cstring[]\u003e] [-DeviceNumbers \u003cuint16[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-VirtualDisknames \u003cstring[]\u003e] [-DeviceNumbers \u003cuint16[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Connect-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PhysicalDiskIndication", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PhysicalDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Dismount-DiskImage", + "CommandType": "Function", + "ParameterSets": "[-ImagePath] \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DevicePath \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DiskImage[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PhysicalDiskIndication", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PhysicalDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Partition \u003cCimInstance#MSFT_Partition\u003e] [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Disk", + "CommandType": "Function", + "ParameterSets": "[[-Number] \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Path \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Partition \u003cCimInstance#MSFT_Partition\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSISession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSIConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DiskImage", + "CommandType": "Function", + "ParameterSets": "[-ImagePath] \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Volume \u003cCimInstance#MSFT_Volume\u003e] [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DevicePath \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-FileIntegrity", + "CommandType": "Function", + "ParameterSets": "[-FileName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-InitiatorId", + "CommandType": "Function", + "ParameterSets": "[[-InitiatorAddress] \u003cstring[]\u003e] [-HostType \u003cHostType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-InitiatorPort", + "CommandType": "Function", + "ParameterSets": "[[-NodeAddress] \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-ObjectId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InstanceName \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSISession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSIConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSITarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-HostType \u003cHostType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorId \u003cCimInstance#MSFT_InitiatorId\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OffloadDataTransferSetting", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Partition", + "CommandType": "Function", + "ParameterSets": "[[-DiskNumber] \u003cuint32[]\u003e] [[-PartitionNumber] \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskId \u003cstring[]\u003e] [-Offset \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DriveLetter \u003cchar[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Volume \u003cCimInstance#MSFT_Volume\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PartitionSupportedSize", + "CommandType": "Function", + "ParameterSets": "[[-DiskNumber] \u003cuint32[]\u003e] [[-PartitionNumber] \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskId \u003cstring[]\u003e] [-Offset \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DriveLetter \u003cchar[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[-UniqueId \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-FriendlyName] \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-VirtualRangeMin \u003cuint64\u003e] [-VirtualRangeMax \u003cuint64\u003e] [-HasAllocations \u003cbool\u003e] [-SelectedForUse \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ResiliencySetting", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageJob", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-JobState \u003cJobState[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-JobState \u003cJobState[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-JobState \u003cJobState[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-JobState \u003cJobState[]\u003e] [-StorageSubsystem \u003cCimInstance#MSFT_StorageSubsystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StoragePool", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-ResiliencySetting \u003cCimInstance#MSFT_ResiliencySetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageProvider", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Manufacturer \u003cstring[]\u003e] [-URI \u003curi[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageReliabilityCounter", + "CommandType": "Function", + "ParameterSets": "-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Disk \u003cCimInstance#MSFT_Disk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageSetting", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageSubSystem", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-OffloadDataTransferSetting \u003cCimInstance#MSFT_OffloadDataTransferSetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-InitiatorId \u003cCimInstance#MSFT_InitiatorId\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-TargetPortal \u003cCimInstance#MSFT_TargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-StorageProvider \u003cCimInstance#MSFT_StorageProvider\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SupportedClusterSizes", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SupportedFileSystems", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TargetPort", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-PortAddress \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetPortal \u003cCimInstance#MSFT_TargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TargetPortal", + "CommandType": "Function", + "ParameterSets": "[-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IPv4Address \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IPv6Address \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubsystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-TargetVirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-SourceVirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-InitiatorId \u003cCimInstance#MSFT_InitiatorId\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-PhysicalRangeMin \u003cuint64\u003e] [-PhysicalRangeMax \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VirtualDiskSupportedSize", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-ResiliencySetting \u003cCimInstance#MSFT_ResiliencySetting\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Volume", + "CommandType": "Function", + "ParameterSets": "[[-DriveLetter] \u003cchar[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-ObjectId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Path \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FileSystemLabel \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Partition \u003cCimInstance#MSFT_Partition\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskImage \u003cCimInstance#MSFT_DiskImage\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VolumeCorruptionCount", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VolumeScrubPolicy", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Hide-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Initialize-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Mount-DiskImage", + "CommandType": "Function", + "ParameterSets": "[-ImagePath] \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-Access \u003cAccess\u003e] [-NoDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DiskImage[]\u003e [-Access \u003cAccess\u003e] [-NoDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Partition", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskPath \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-StoragePool", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-StorageSubsystemVirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-StoragePoolFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-VirtualDiskClone", + "CommandType": "Function", + "ParameterSets": "-VirtualDiskUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDiskFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -VirtualDiskName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-VirtualDiskSnapshot", + "CommandType": "Function", + "ParameterSets": "-VirtualDiskUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDiskFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -VirtualDiskName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Optimize-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-InitiatorId", + "CommandType": "Function", + "ParameterSets": "[-InitiatorAddress] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_InitiatorId[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-InitiatorIdFromMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Partition", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PartitionAccessPath", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [[-AccessPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DriveLetter \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[[-StoragePool] \u003cCimInstance#MSFT_StoragePool\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-StoragePoolFriendlyName \u003cstring\u003e] [-StoragePoolName \u003cstring\u003e] [-StoragePoolUniqueId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-VirtualDisk] \u003cCimInstance#MSFT_VirtualDisk\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-VirtualDiskFriendlyName \u003cstring\u003e] [-VirtualDiskName \u003cstring\u003e] [-VirtualDiskUniqueId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-StoragePool", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-TargetPortFromMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VirtualDiskFromMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-VirtualDiskNames \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-VirtualDiskNames \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-VirtualDiskNames \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e -NewFriendlyName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e -NewFriendlyName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e -NewFriendlyName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-FileIntegrity", + "CommandType": "Function", + "ParameterSets": "[-FileName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PhysicalDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-StorageReliabilityCounter", + "CommandType": "Function", + "ParameterSets": "-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Disk \u003cCimInstance#MSFT_Disk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageReliabilityCounter[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resize-Partition", + "CommandType": "Function", + "ParameterSets": "[-Size] \u003cuint64\u003e -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [-Size] \u003cuint64\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Size] \u003cuint64\u003e -DriveLetter \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Size] \u003cuint64\u003e -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resize-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Number] \u003cuint32\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Number] \u003cuint32\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-FileIntegrity", + "CommandType": "Function", + "ParameterSets": "[-FileName] \u003cstring\u003e [[-Enable] \u003cbool\u003e] [-Enforce \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-InitiatorPort", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress] \u003cstring[]\u003e -NewNodeAddress \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e -NewNodeAddress \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_InitiatorPort[]\u003e -NewNodeAddress \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Partition", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32\u003e [-PartitionNumber] \u003cuint32\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring\u003e -Offset \u003cuint64\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring\u003e -Offset \u003cuint64\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring\u003e -Offset \u003cuint64\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskNumber] \u003cuint32\u003e [-PartitionNumber] \u003cuint32\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskNumber] \u003cuint32\u003e [-PartitionNumber] \u003cuint32\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-NewFriendlyName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ResiliencySetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring[]\u003e -StoragePool \u003cCimInstance#MSFT_StoragePool\u003e [-NumberOfDataCopiesDefault \u003cuint16\u003e] [-PhysicalDiskRedundancyDefault \u003cuint16\u003e] [-NumberOfColumnsDefault \u003cuint16\u003e] [-AutoNumberOfColumns] [-InterleaveDefault \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-NumberOfDataCopiesDefault \u003cuint16\u003e] [-PhysicalDiskRedundancyDefault \u003cuint16\u003e] [-NumberOfColumnsDefault \u003cuint16\u003e] [-AutoNumberOfColumns] [-InterleaveDefault \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_ResiliencySetting[]\u003e [-NumberOfDataCopiesDefault \u003cuint16\u003e] [-PhysicalDiskRedundancyDefault \u003cuint16\u003e] [-NumberOfColumnsDefault \u003cuint16\u003e] [-AutoNumberOfColumns] [-InterleaveDefault \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StoragePool", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StorageSetting", + "CommandType": "Function", + "ParameterSets": "[-NewDiskPolicy \u003cNewDiskPolicy\u003e] [-ScrubPolicy \u003cScrubPolicy\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StorageSubSystem", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-IsManualAttach \u003cbool\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsManualAttach \u003cbool\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-IsManualAttach \u003cbool\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-IsManualAttach \u003cbool\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VolumeScrubPolicy", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [[-Enable] \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-HostStorageCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-StorageProviderCache", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-Manufacturer \u003cstring[]\u003e] [-URI \u003curi[]\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageProvider[]\u003e [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "Initialize-Volume" + ] + }, + { + "Name": "TroubleshootingPack", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-TroubleshootingPack", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-AnswerFile \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-TroubleshootingPack", + "CommandType": "Cmdlet", + "ParameterSets": "[-Pack] \u003cDiagPack\u003e [-AnswerFile \u003cstring\u003e] [-Result \u003cstring\u003e] [-Unattended] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "TrustedPlatformModule", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Clear-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[[-OwnerAuthorization] \u003cstring\u003e] [\u003cCommonParameters\u003e] -File \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-TpmOwnerAuth", + "CommandType": "Cmdlet", + "ParameterSets": "[-PassPhrase] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-TpmAutoProvisioning", + "CommandType": "Cmdlet", + "ParameterSets": "[-OnlyForNextRestart] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-TpmAutoProvisioning", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-TpmOwnerAuth", + "CommandType": "Cmdlet", + "ParameterSets": "-File \u003cstring\u003e [\u003cCommonParameters\u003e] [-OwnerAuthorization] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Initialize-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[-AllowClear] [-AllowPhysicalPresence] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-TpmOwnerAuth", + "CommandType": "Cmdlet", + "ParameterSets": "-File \u003cstring\u003e -NewFile \u003cstring\u003e [\u003cCommonParameters\u003e] -File \u003cstring\u003e -NewOwnerAuthorization \u003cstring\u003e [\u003cCommonParameters\u003e] [[-OwnerAuthorization] \u003cstring\u003e] -NewOwnerAuthorization \u003cstring\u003e [\u003cCommonParameters\u003e] [[-OwnerAuthorization] \u003cstring\u003e] -NewFile \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unblock-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[[-OwnerAuthorization] \u003cstring\u003e] [\u003cCommonParameters\u003e] -File \u003cstring\u003e [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "UserAccessLogging", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Disable-Ual", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-Ual", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Ual", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDailyAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-TenantIdentifier \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-AccessDate \u003cdatetime[]\u003e] [-AccessCount \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDailyDeviceAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-AccessDate \u003cdatetime[]\u003e] [-AccessCount \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDailyUserAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-AccessDate \u003cdatetime[]\u003e] [-AccessCount \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDeviceAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-TenantIdentifier \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDns", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-HostName \u003cstring[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalHyperV", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-UUID \u003cstring[]\u003e] [-ChassisSerialNumber \u003cstring[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalOverview", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-GUID \u003cstring[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalServerDevice", + "CommandType": "Function", + "ParameterSets": "[-ChassisSerialNumber \u003cstring[]\u003e] [-UUID \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalServerUser", + "CommandType": "Function", + "ParameterSets": "[-ChassisSerialNumber \u003cstring[]\u003e] [-UUID \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalSystemId", + "CommandType": "Function", + "ParameterSets": "[-PhysicalProcessorCount \u003cuint32[]\u003e] [-CoresPerPhysicalProcessor \u003cuint32[]\u003e] [-LogicalProcessorsPerPhysicalProcessor \u003cuint32[]\u003e] [-OSMajor \u003cuint32[]\u003e] [-OSMinor \u003cuint32[]\u003e] [-OSBuildNumber \u003cuint32[]\u003e] [-OSPlatformId \u003cuint32[]\u003e] [-ServicePackMajor \u003cuint32[]\u003e] [-ServicePackMinor \u003cuint32[]\u003e] [-OSSuiteMask \u003cuint32[]\u003e] [-OSProductType \u003cuint32[]\u003e] [-OSSerialNumber \u003cstring[]\u003e] [-OSCountryCode \u003cstring[]\u003e] [-OSCurrentTimeZone \u003cint16[]\u003e] [-OSDaylightInEffect \u003cbool[]\u003e] [-OSLastBootUpTime \u003cdatetime[]\u003e] [-MaximumMemory \u003cuint64[]\u003e] [-SystemSMBIOSUUID \u003cstring[]\u003e] [-SystemSerialNumber \u003cstring[]\u003e] [-SystemDNSHostName \u003cstring[]\u003e] [-SystemDomainName \u003cstring[]\u003e] [-CreationTime \u003cdatetime[]\u003e] [-SystemManufacturer \u003cstring[]\u003e] [-SystemProductName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalUserAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-TenantIdentifier \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "VpnClient", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ServerAddress] \u003cstring\u003e [[-TunnelType] \u003cstring\u003e] [[-EncryptionLevel] \u003cstring\u003e] [[-AuthenticationMethod] \u003cstring[]\u003e] [-SplitTunneling] [-AllUserConnection] [[-L2tpPsk] \u003cstring\u003e] [-RememberCredential] [-UseWinlogonCredential] [[-EapConfigXmlStream] \u003cxml\u003e] [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-AllUserConnection] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-EapConfiguration", + "CommandType": "Function", + "ParameterSets": "[-UseWinlogonCredential] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Ttls [-UseWinlogonCredential] [-TunnledNonEapAuthMethod \u003cstring\u003e] [-TunnledEapAuthMethod \u003cxml\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Tls [-VerifyServerIdentity] [-UserCertificate] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Peap [-VerifyServerIdentity] [[-TunnledEapAuthMethod] \u003cxml\u003e] [-EnableNap] [-FastReconnect \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Force] [-PassThru] [-AllUserConnection] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-ServerAddress] \u003cstring\u003e] [[-TunnelType] \u003cstring\u003e] [[-EncryptionLevel] \u003cstring\u003e] [[-AuthenticationMethod] \u003cstring[]\u003e] [[-SplitTunneling] \u003cbool\u003e] [-AllUserConnection] [[-L2tpPsk] \u003cstring\u003e] [[-RememberCredential] \u003cbool\u003e] [[-UseWinlogonCredential] \u003cbool\u003e] [[-EapConfigXmlStream] \u003cxml\u003e] [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VpnConnectionProxy", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ProxyServer \u003cstring\u003e] [-AutoDetect] [-AutoConfigurationScript \u003cstring\u003e] [-ExceptionPrefix \u003cstring[]\u003e] [-BypassProxyForLocal] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Wdac", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e -DriverName \u003cstring\u003e -DsnType \u003cstring\u003e [-SetPropertyValue \u003cstring[]\u003e] [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-OdbcPerfCounter", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcPerfCounter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Platform] \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-WdacBidTrace", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_WdacBidTrace[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-ProcessId \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Folder \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -IncludeAllApplications [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-OdbcPerfCounter", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcPerfCounter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Platform] \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WdacBidTrace", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_WdacBidTrace[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-ProcessId \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Folder \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -IncludeAllApplications [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OdbcDriver", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-DriverName \u003cstring\u003e] [-Platform \u003cstring\u003e] [-DsnType \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OdbcPerfCounter", + "CommandType": "Function", + "ParameterSets": "[[-Platform] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WdacBidTrace", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-Platform \u003cstring\u003e] [-ProcessId \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Folder \u003cstring\u003e [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -IncludeAllApplications [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcDsn[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -DsnType \u003cstring\u003e [-PassThru] [-DriverName \u003cstring\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-OdbcDriver", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcDriver[]\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcDsn[]\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -DsnType \u003cstring\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-DriverName \u003cstring\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Whea", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WheaMemoryPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WheaMemoryPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [-DisableOffline \u003cbool\u003e] [-DisablePFA \u003cbool\u003e] [-PersistMemoryOffline \u003cbool\u003e] [-PFAPageCount \u003cuint32\u003e] [-PFAErrorThreshold \u003cuint32\u003e] [-PFATimeout \u003cuint32\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "WindowsDeveloperLicense", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WindowsDeveloperLicense", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-WindowsDeveloperLicenseRegistration", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-WindowsDeveloperLicense", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "WindowsErrorReporting", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Disable-WindowsErrorReporting", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WindowsErrorReporting", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsErrorReporting", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Version": "3.0", + "Name": "Microsoft.PowerShell.Core", + "ExportedCommands": [ + { + "Name": "Add-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-InputObject] \u003cpsobject[]\u003e] [-Passthru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PSSnapin", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cint[]\u003e] [[-Count] \u003cint\u003e] [-Newest] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Count] \u003cint\u003e] [-CommandLine \u003cstring[]\u003e] [-Newest] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Connect-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "-Name \u003cstring[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Session] \u003cPSSession[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ComputerName \u003cstring[]\u003e -InstanceId \u003cguid[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e -InstanceId \u003cguid[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PSRemoting", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PSRemoting", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-SkipNetworkProfileCheck] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Force] [-SecurityDescriptorSddl \u003cstring\u003e] [-SkipNetworkProfileCheck] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enter-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName] \u003cstring\u003e [-EnableNetworkAccess] [-Credential \u003cpscredential\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession\u003e] [\u003cCommonParameters\u003e] [[-ConnectionUri] \u003curi\u003e] [-EnableNetworkAccess] [-Credential \u003cpscredential\u003e] [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-InstanceId \u003cguid\u003e] [\u003cCommonParameters\u003e] [[-Id] \u003cint\u003e] [\u003cCommonParameters\u003e] [-Name \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Exit-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Console", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-Force] [-NoClobber] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-ModuleMember", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Function] \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ForEach-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Process] \u003cscriptblock[]\u003e [-InputObject \u003cpsobject\u003e] [-Begin \u003cscriptblock\u003e] [-End \u003cscriptblock\u003e] [-RemainingScripts \u003cscriptblock[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MemberName] \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ArgumentList] \u003cObject[]\u003e] [-Verb \u003cstring[]\u003e] [-Noun \u003cstring[]\u003e] [-Module \u003cstring[]\u003e] [-TotalCount \u003cint\u003e] [-Syntax] [-All] [-ListImported] [-ParameterName \u003cstring[]\u003e] [-ParameterType \u003cPSTypeName[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] [[-ArgumentList] \u003cObject[]\u003e] [-Module \u003cstring[]\u003e] [-CommandType \u003cCommandTypes\u003e] [-TotalCount \u003cint\u003e] [-Syntax] [-All] [-ListImported] [-ParameterName \u003cstring[]\u003e] [-ParameterType \u003cPSTypeName[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [-Full] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Detailed [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Examples [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Parameter \u003cstring\u003e [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Online [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -ShowWindow [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003clong[]\u003e] [[-Count] \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cint[]\u003e] [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [-Command \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-All] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -ListAvailable [-All] [-Refresh] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -PSSession \u003cPSSession\u003e [-ListAvailable] [-Refresh] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -CimSession \u003cCimSession\u003e [-ListAvailable] [-Refresh] [-CimResourceUri \u003curi\u003e] [-CimNamespace \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e -InstanceId \u003cguid[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e -InstanceId \u003cguid[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-InstanceId \u003cguid[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSSnapin", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Registered] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion \u003cversion\u003e] [-RequiredVersion \u003cversion\u003e] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -CimSession \u003cCimSession\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion \u003cversion\u003e] [-RequiredVersion \u003cversion\u003e] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [-CimResourceUri \u003curi\u003e] [-CimNamespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -PSSession \u003cPSSession\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion \u003cversion\u003e] [-RequiredVersion \u003cversion\u003e] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Assembly] \u003cAssembly[]\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ModuleInfo] \u003cpsmoduleinfo[]\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] \u003cscriptblock\u003e [-NoNewScope] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession[]\u003e] [-ScriptBlock] \u003cscriptblock\u003e [-ThrottleLimit \u003cint\u003e] [-AsJob] [-HideComputerName] [-JobName \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession[]\u003e] [-FilePath] \u003cstring\u003e [-ThrottleLimit \u003cint\u003e] [-AsJob] [-HideComputerName] [-JobName \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-ScriptBlock] \u003cscriptblock\u003e [-Credential \u003cpscredential\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-SessionName \u003cstring[]\u003e] [-HideComputerName] [-JobName \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-FilePath] \u003cstring\u003e [-Credential \u003cpscredential\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-SessionName \u003cstring[]\u003e] [-HideComputerName] [-JobName \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-ConnectionUri] \u003curi[]\u003e] [-FilePath] \u003cstring\u003e [-Credential \u003cpscredential\u003e] [-ConfigurationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName \u003cstring\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-ConnectionUri] \u003curi[]\u003e] [-ScriptBlock] \u003cscriptblock\u003e [-Credential \u003cpscredential\u003e] [-ConfigurationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName \u003cstring\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] \u003cscriptblock\u003e [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-ReturnResult] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-ScriptBlock] \u003cscriptblock\u003e [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-ReturnResult] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-NestedModules \u003cObject[]\u003e] [-Guid \u003cguid\u003e] [-Author \u003cstring\u003e] [-CompanyName \u003cstring\u003e] [-Copyright \u003cstring\u003e] [-RootModule \u003cstring\u003e] [-ModuleVersion \u003cversion\u003e] [-Description \u003cstring\u003e] [-ProcessorArchitecture \u003cProcessorArchitecture\u003e] [-PowerShellVersion \u003cversion\u003e] [-ClrVersion \u003cversion\u003e] [-DotNetFrameworkVersion \u003cversion\u003e] [-PowerShellHostName \u003cstring\u003e] [-PowerShellHostVersion \u003cversion\u003e] [-RequiredModules \u003cObject[]\u003e] [-TypesToProcess \u003cstring[]\u003e] [-FormatsToProcess \u003cstring[]\u003e] [-ScriptsToProcess \u003cstring[]\u003e] [-RequiredAssemblies \u003cstring[]\u003e] [-FileList \u003cstring[]\u003e] [-ModuleList \u003cObject[]\u003e] [-FunctionsToExport \u003cstring[]\u003e] [-AliasesToExport \u003cstring[]\u003e] [-VariablesToExport \u003cstring[]\u003e] [-CmdletsToExport \u003cstring[]\u003e] [-PrivateData \u003cObject\u003e] [-HelpInfoUri \u003cstring\u003e] [-PassThru] [-DefaultCommandPrefix \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Name \u003cstring[]\u003e] [-EnableNetworkAccess] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e [-Credential \u003cpscredential\u003e] [-Name \u003cstring[]\u003e] [-EnableNetworkAccess] [-ConfigurationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession[]\u003e] [-Name \u003cstring[]\u003e] [-EnableNetworkAccess] [-ThrottleLimit \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSSessionConfigurationFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-SchemaVersion \u003cversion\u003e] [-Guid \u003cguid\u003e] [-Author \u003cstring\u003e] [-CompanyName \u003cstring\u003e] [-Copyright \u003cstring\u003e] [-Description \u003cstring\u003e] [-PowerShellVersion \u003cversion\u003e] [-SessionType \u003cSessionType\u003e] [-ModulesToImport \u003cObject[]\u003e] [-AssembliesToLoad \u003cstring[]\u003e] [-VisibleAliases \u003cstring[]\u003e] [-VisibleCmdlets \u003cstring[]\u003e] [-VisibleFunctions \u003cstring[]\u003e] [-VisibleProviders \u003cstring[]\u003e] [-AliasDefinitions \u003chashtable[]\u003e] [-FunctionDefinitions \u003chashtable[]\u003e] [-VariableDefinitions \u003cObject\u003e] [-EnvironmentVariables \u003cObject\u003e] [-TypesToProcess \u003cstring[]\u003e] [-FormatsToProcess \u003cstring[]\u003e] [-LanguageMode \u003cPSLanguageMode\u003e] [-ExecutionPolicy \u003cExecutionPolicy\u003e] [-ScriptsToProcess \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaximumRedirection \u003cint\u003e] [-NoCompression] [-NoMachineProfile] [-Culture \u003ccultureinfo\u003e] [-UICulture \u003ccultureinfo\u003e] [-MaximumReceivedDataSizePerCommand \u003cint\u003e] [-MaximumReceivedObjectSize \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ApplicationArguments \u003cpsprimitivedictionary\u003e] [-OpenTimeout \u003cint\u003e] [-CancelTimeout \u003cint\u003e] [-IdleTimeout \u003cint\u003e] [-ProxyAccessType \u003cProxyAccessType\u003e] [-ProxyAuthentication \u003cAuthenticationMechanism\u003e] [-ProxyCredential \u003cpscredential\u003e] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-OperationTimeout \u003cint\u003e] [-NoEncryption] [-UseUTF16] [-IncludePortInSPN] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSTransportOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaxIdleTimeoutSec \u003cint\u003e] [-ProcessIdleTimeoutSec \u003cint\u003e] [-MaxSessions \u003cint\u003e] [-MaxConcurrentCommandsPerSession \u003cint\u003e] [-MaxSessionsPerUser \u003cint\u003e] [-MaxMemoryPerSessionMB \u003cint\u003e] [-MaxProcessesPerSession \u003cint\u003e] [-MaxConcurrentUsers \u003cint\u003e] [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Default", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[-Paging] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Null", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Receive-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] \u003cJob[]\u003e [[-Location] \u003cstring[]\u003e] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [[-Session] \u003cPSSession[]\u003e] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Receive-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring\u003e -Name \u003cstring\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring\u003e -InstanceId \u003cguid\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi\u003e -Name \u003cstring\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi\u003e -InstanceId \u003cguid\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ProcessorArchitecture \u003cstring\u003e] [-SessionType \u003cPSSessionType\u003e] [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AssemblyName] \u003cstring\u003e [-ConfigurationTypeName] \u003cstring\u003e [-ProcessorArchitecture \u003cstring\u003e] [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Path \u003cstring\u003e [-ProcessorArchitecture \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption \u003cPSTransportOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Command \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ModuleInfo] \u003cpsmoduleinfo[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Session] \u003cPSSession[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSSnapin", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Save-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[-DestinationPath] \u003cstring[]\u003e [[-Module] \u003cstring[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e] [[-Module] \u003cstring[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] -LiteralPath \u003cstring[]\u003e [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PSDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Trace \u003cint\u003e] [-Step] [-Strict] [\u003cCommonParameters\u003e] [-Off] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AssemblyName] \u003cstring\u003e [-ConfigurationTypeName] \u003cstring\u003e [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Path \u003cstring\u003e [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption \u003cPSTransportOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StrictMode", + "CommandType": "Cmdlet", + "ParameterSets": "-Version \u003cversion\u003e [\u003cCommonParameters\u003e] -Off [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] \u003cscriptblock\u003e [[-InitializationScript] \u003cscriptblock\u003e] [-Name \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-RunAs32] [-PSVersion \u003cversion\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [-DefinitionName] \u003cstring\u003e [[-DefinitionPath] \u003cstring\u003e] [[-Type] \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-InitializationScript] \u003cscriptblock\u003e] -LiteralPath \u003cstring\u003e [-Name \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-RunAs32] [-PSVersion \u003cversion\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [-FilePath] \u003cstring\u003e [[-InitializationScript] \u003cscriptblock\u003e] [-Name \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-RunAs32] [-PSVersion \u003cversion\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-PSSessionConfigurationFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Module] \u003cstring[]\u003e] [[-SourcePath] \u003cstring[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] [-Recurse] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e] [[-Module] \u003cstring[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] [-LiteralPath \u003cstring[]\u003e] [-Recurse] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Wait-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Where-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] [-InputObject \u003cpsobject\u003e] [-EQ] [\u003cCommonParameters\u003e] [-FilterScript] \u003cscriptblock\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -GE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CGT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotLike [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Match [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CMatch [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotMatch [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotMatch [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -LT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotContains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotContains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -In [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CLT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CContains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Contains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CGE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -LE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CEQ [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CLE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Like [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CLike [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotLike [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -GT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CIn [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotIn [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotIn [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Is [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -IsNot [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "%", + "?", + "asnp", + "clhy", + "cnsn", + "dnsn", + "etsn", + "exsn", + "foreach", + "gcm", + "ghy", + "gjb", + "gmo", + "gsn", + "gsnp", + "h", + "history", + "icm", + "ihy", + "ipmo", + "nmo", + "npssc", + "nsn", + "oh", + "r", + "rcjb", + "rcsn", + "rjb", + "rmo", + "rsn", + "rsnp", + "rujb", + "sajb", + "spjb", + "sujb", + "where", + "wjb" + ] + } + ], + "SchemaVersion": "0.0.1" +} diff --git a/Engine/Settings/desktop-4.0-windows.json b/Engine/Settings/desktop-4.0-windows.json new file mode 100644 index 000000000..0426c7ff7 --- /dev/null +++ b/Engine/Settings/desktop-4.0-windows.json @@ -0,0 +1,7133 @@ +{ + "Modules": [ + { + "Name": "AppLocker", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-AppLockerFileInformation", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cList[string]\u003e] [\u003cCommonParameters\u003e] [[-Packages] \u003cList[AppxPackage]\u003e] [\u003cCommonParameters\u003e] -Directory \u003cstring\u003e [-FileType \u003cList[AppLockerFileType]\u003e] [-Recurse] [\u003cCommonParameters\u003e] -EventLog [-LogPath \u003cstring\u003e] [-EventType \u003cList[AppLockerEventType]\u003e] [-Statistics] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "-Local [-Xml] [\u003cCommonParameters\u003e] -Domain -Ldap \u003cstring\u003e [-Xml] [\u003cCommonParameters\u003e] -Effective [-Xml] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-FileInformation] \u003cList[FileInformation]\u003e [-RuleType \u003cList[RuleType]\u003e] [-RuleNamePrefix \u003cstring\u003e] [-User \u003cstring\u003e] [-Optimize] [-IgnoreMissingFileInformation] [-Xml] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-XmlPolicy] \u003cstring\u003e [-Ldap \u003cstring\u003e] [-Merge] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PolicyObject] \u003cAppLockerPolicy\u003e [-Ldap \u003cstring\u003e] [-Merge] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-AppLockerPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-XmlPolicy] \u003cstring\u003e -Path \u003cList[string]\u003e [-User \u003cstring\u003e] [-Filter \u003cList[PolicyDecision]\u003e] [\u003cCommonParameters\u003e] [-XmlPolicy] \u003cstring\u003e -Packages \u003cList[AppxPackage]\u003e [-User \u003cstring\u003e] [-Filter \u003cList[PolicyDecision]\u003e] [\u003cCommonParameters\u003e] [-PolicyObject] \u003cAppLockerPolicy\u003e -Path \u003cList[string]\u003e [-User \u003cstring\u003e] [-Filter \u003cList[PolicyDecision]\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Appx", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-AppxLastError", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxLog", + "CommandType": "Function", + "ParameterSets": "[-All] [\u003cCommonParameters\u003e] [-ActivityId \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-AppxPackage", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-DependencyPath \u003cstring[]\u003e] [-ForceApplicationShutdown] [-InstallAllResources] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e -Register [-DependencyPath \u003cstring[]\u003e] [-DisableDevelopmentMode] [-ForceApplicationShutdown] [-InstallAllResources] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e -Update [-DependencyPath \u003cstring[]\u003e] [-ForceApplicationShutdown] [-InstallAllResources] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MainPackage \u003cstring\u003e [-Register] [-DependencyPackages \u003cstring[]\u003e] [-InstallAllResources] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxPackage", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [[-Publisher] \u003cstring\u003e] [-AllUsers] [-PackageTypeFilter \u003cPackageTypes\u003e] [-User \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxPackageManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Package] \u003cstring\u003e [[-User] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-AppxPackage", + "CommandType": "Cmdlet", + "ParameterSets": "[-Package] \u003cstring\u003e [-PreserveApplicationData] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BestPractices", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Get-BpaModel", + "CommandType": "Cmdlet", + "ParameterSets": "[-RepositoryPath \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ModelId] \u003cstring[]\u003e [[-SubModelId] \u003cstring\u003e] [-RepositoryPath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BpaResult", + "CommandType": "Cmdlet", + "ParameterSets": "[-ModelId] \u003cstring\u003e [-CollectedConfiguration] [-All] [-Filter \u003cFilterOptions\u003e] [-RepositoryPath \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ModelId] \u003cstring\u003e [-CollectedConfiguration] [-All] [-Filter \u003cFilterOptions\u003e] [-RepositoryPath \u003cstring\u003e] [-SubModelId \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-Context \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-BpaModel", + "CommandType": "Cmdlet", + "ParameterSets": "[-ModelId] \u003cstring\u003e [-RepositoryPath \u003cstring\u003e] [-Mode \u003cScanMode\u003e] [\u003cCommonParameters\u003e] [-ModelId] \u003cstring\u003e [-RepositoryPath \u003cstring\u003e] [-Mode \u003cScanMode\u003e] [-SubModelId \u003cstring\u003e] [-Context \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-Port \u003cint\u003e] [-ThrottleLimit \u003cint\u003e] [-UseSsl] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BpaResult", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Exclude] \u003cbool\u003e] [-Results] \u003cList[Result]\u003e [[-RepositoryPath] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BitLocker", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-BitLockerKeyProtector", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [[-Password] \u003csecurestring\u003e] -PasswordProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-RecoveryPassword] \u003cstring\u003e] -RecoveryPasswordProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -StartupKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -TpmAndStartupKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinAndStartupKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-ADAccountOrGroup] \u003cstring\u003e -ADAccountOrGroupProtector [-Service] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -TpmProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-RecoveryKeyPath] \u003cstring\u003e -RecoveryKeyProtector [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Backup-BitLockerKeyProtector", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-KeyProtectorId] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-BitLockerAutoUnlock", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BitLockerAutoUnlock", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [[-Password] \u003csecurestring\u003e] -PasswordProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-RecoveryPassword] \u003cstring\u003e] -RecoveryPasswordProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -StartupKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e -TpmAndStartupKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-StartupKeyPath] \u003cstring\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinAndStartupKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-AdAccountOrGroup] \u003cstring\u003e -AdAccountOrGroupProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-Service] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [[-Pin] \u003csecurestring\u003e] -TpmAndPinProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -TpmProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e [-RecoveryKeyPath] \u003cstring\u003e -RecoveryKeyProtector [-EncryptionMethod \u003cBitLockerVolumeEncryptionMethodOnEnable\u003e] [-HardwareEncryption] [-SkipHardwareTest] [-UsedSpaceOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BitLockerAutoUnlock", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BitLockerVolume", + "CommandType": "Function", + "ParameterSets": "[[-MountPoint] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Lock-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-ForceDismount] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-BitLockerKeyProtector", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-KeyProtectorId] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e [[-RebootCount] \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unlock-BitLocker", + "CommandType": "Function", + "ParameterSets": "[-MountPoint] \u003cstring[]\u003e -Password \u003csecurestring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -RecoveryPassword \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -RecoveryKeyPath \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MountPoint] \u003cstring[]\u003e -AdAccountOrGroup [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BitsTransfer", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-BitsFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-Source] \u003cstring[]\u003e [[-Destination] \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Complete-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-AllUsers] [\u003cCommonParameters\u003e] [-JobId] \u003cguid[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-Asynchronous] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-DisplayName \u003cstring\u003e] [-Priority \u003cstring\u003e] [-Description \u003cstring\u003e] [-ProxyAuthentication \u003cstring\u003e] [-RetryInterval \u003cint\u003e] [-RetryTimeout \u003cint\u003e] [-TransferPolicy \u003cCostStates\u003e] [-UseStoredCredential \u003cAuthenticationTargetValue\u003e] [-Credential \u003cpscredential\u003e] [-ProxyCredential \u003cpscredential\u003e] [-Authentication \u003cstring\u003e] [-SetOwnerToCurrentUser] [-ProxyUsage \u003cstring\u003e] [-ProxyList \u003curi[]\u003e] [-ProxyBypass \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-Source] \u003cstring[]\u003e [[-Destination] \u003cstring[]\u003e] [-Asynchronous] [-Authentication \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Description \u003cstring\u003e] [-DisplayName \u003cstring\u003e] [-Priority \u003cstring\u003e] [-TransferPolicy \u003cCostStates\u003e] [-UseStoredCredential \u003cAuthenticationTargetValue\u003e] [-ProxyAuthentication \u003cstring\u003e] [-ProxyBypass \u003cstring[]\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyList \u003curi[]\u003e] [-ProxyUsage \u003cstring\u003e] [-RetryInterval \u003cint\u003e] [-RetryTimeout \u003cint\u003e] [-Suspended] [-TransferType \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-BitsTransfer", + "CommandType": "Cmdlet", + "ParameterSets": "[-BitsJob] \u003cBitsJob[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "BranchCache", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-BCDataCacheExtension", + "CommandType": "Function", + "ParameterSets": "[[-Percentage] \u003cuint32\u003e] [[-Path] \u003cstring\u003e] [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Path] \u003cstring\u003e] -SizeBytes \u003cuint64\u003e [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-BCCache", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BC", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BCDowngrading", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-BCServeOnBattery", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCDistributed", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCDowngrading", + "CommandType": "Function", + "ParameterSets": "[[-Version] \u003cPreferredContentInformationVersion\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCHostedClient", + "CommandType": "Function", + "ParameterSets": "[-ServerNames] \u003cstring[]\u003e [-Force] [-UseVersion \u003cHostedCacheVersion\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UseSCP [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCHostedServer", + "CommandType": "Function", + "ParameterSets": "[-Force] [-RegisterSCP] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCLocal", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-BCServeOnBattery", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-BCCachePackage", + "CommandType": "Function", + "ParameterSets": "[[-StagingPath] \u003cstring\u003e] -Destination \u003cstring\u003e [-Force] [-OutputReferenceFile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Destination \u003cstring\u003e -ExportDataCache [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-BCSecretKey", + "CommandType": "Function", + "ParameterSets": "[-Filename] \u003cstring\u003e [-FilePassphrase] \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCContentServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCDataCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCDataCacheExtension", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCHashCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCHostedCacheServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCNetworkConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-BCStatus", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-BCCachePackage", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-BCSecretKey", + "CommandType": "Function", + "ParameterSets": "[-Filename] \u003cstring\u003e -FilePassphrase \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Publish-BCFileContent", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-UseVersion \u003cuint32\u003e] [-StageData] [-StagingPath \u003cstring\u003e] [-ReferenceFile \u003cstring\u003e] [-Force] [-Recurse] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Publish-BCWebContent", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-UseVersion \u003cuint32\u003e] [-StageData] [-StagingPath \u003cstring\u003e] [-ReferenceFile \u003cstring\u003e] [-Force] [-Recurse] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-BCDataCacheExtension", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-DataCacheExtension] \u003cCimInstance#MSFT_NetBranchCacheDataCacheExtension[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-BC", + "CommandType": "Function", + "ParameterSets": "[-ResetFWRulesOnly] [-ResetPerfCountersOnly] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCAuthentication", + "CommandType": "Function", + "ParameterSets": "[-Mode] \u003cClientAuthenticationMode\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCCache", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-MoveTo \u003cstring\u003e] [-Percentage \u003cuint32\u003e] [-SizeBytes \u003cuint64\u003e] [-Defragment] [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Cache] \u003cCimInstance#MSFT_NetBranchCacheCache[]\u003e [-MoveTo \u003cstring\u003e] [-Percentage \u003cuint32\u003e] [-SizeBytes \u003cuint64\u003e] [-Defragment] [-Force] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCDataCacheEntryMaxAge", + "CommandType": "Function", + "ParameterSets": "[-TimeDays] \u003cuint32\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCMinSMBLatency", + "CommandType": "Function", + "ParameterSets": "[-LatencyMilliseconds] \u003cuint32\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-BCSecretKey", + "CommandType": "Function", + "ParameterSets": "[[-Passphrase] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "CimCmdlets", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Export-BinaryMiLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-InputObject \u003cciminstance\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CimAssociatedInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cciminstance\u003e [[-Association] \u003cstring\u003e] [-ResultClassName \u003cstring\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-KeyOnly] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [[-Association] \u003cstring\u003e] -CimSession \u003cCimSession[]\u003e [-ResultClassName \u003cstring\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ResourceUri \u003curi\u003e] [-KeyOnly] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CimClass", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ClassName] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-MethodName \u003cstring\u003e] [-PropertyName \u003cstring\u003e] [-QualifierName \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-ClassName] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-MethodName \u003cstring\u003e] [-PropertyName \u003cstring\u003e] [-QualifierName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -CimSession \u003cCimSession[]\u003e -Query \u003cstring\u003e [-ResourceUri \u003curi\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -CimSession \u003cCimSession[]\u003e -ResourceUri \u003curi\u003e [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [\u003cCommonParameters\u003e] -Query \u003cstring\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-Shallow] [\u003cCommonParameters\u003e] -ResourceUri \u003curi\u003e [-ComputerName \u003cstring[]\u003e] [-KeyOnly] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Shallow] [-Filter \u003cstring\u003e] [-Property \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cuint32[]\u003e [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-BinaryMiLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-CimMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -ResourceUri \u003curi\u003e -CimSession \u003cCimSession[]\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -ResourceUri \u003curi\u003e [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003ccimclass\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003ccimclass\u003e [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -Query \u003cstring\u003e [-QueryDialect \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Arguments] \u003cIDictionary\u003e] [-MethodName] \u003cstring\u003e -Query \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-QueryDialect \u003cstring\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [[-Property] \u003cIDictionary\u003e] [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e [[-Property] \u003cIDictionary\u003e] -CimSession \u003cCimSession[]\u003e [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Property] \u003cIDictionary\u003e] -ResourceUri \u003curi\u003e -CimSession \u003cCimSession[]\u003e [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Property] \u003cIDictionary\u003e] -ResourceUri \u003curi\u003e [-Key \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003ccimclass\u003e [[-Property] \u003cIDictionary\u003e] -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CimClass] \u003ccimclass\u003e [[-Property] \u003cIDictionary\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring[]\u003e] [-ClientOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-Authentication \u003cPasswordAuthenticationMechanism\u003e] [-Name \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-SkipTestConnection] [-Port \u003cuint32\u003e] [-SessionOption \u003cCimSessionOptions\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Name \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-SkipTestConnection] [-Port \u003cuint32\u003e] [-SessionOption \u003cCimSessionOptions\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CimSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-Protocol] \u003cProtocolType\u003e [-UICulture \u003ccultureinfo\u003e] [-Culture \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e] [-NoEncryption] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-EncodePortInServicePrincipalName] [-Encoding \u003cPacketEncoding\u003e] [-HttpPrefix \u003curi\u003e] [-MaxEnvelopeSizeKB \u003cuint32\u003e] [-ProxyAuthentication \u003cPasswordAuthenticationMechanism\u003e] [-ProxyCertificateThumbprint \u003cstring\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyType \u003cProxyType\u003e] [-UseSsl] [-UICulture \u003ccultureinfo\u003e] [-Culture \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e] [-Impersonation \u003cImpersonationType\u003e] [-PacketIntegrity] [-PacketPrivacy] [-UICulture \u003ccultureinfo\u003e] [-Culture \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-CimIndicationEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-ClassName] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-ClassName] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] -CimSession \u003cCimSession\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] -CimSession \u003cCimSession\u003e [-Namespace \u003cstring\u003e] [-QueryDialect \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-QueryDialect \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-ComputerName \u003cstring\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cciminstance\u003e [-ResourceUri \u003curi\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-Namespace] \u003cstring\u003e] -CimSession \u003cCimSession[]\u003e [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-Namespace] \u003cstring\u003e] [-ComputerName \u003cstring[]\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CimSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-CimSession] \u003cCimSession[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cuint32[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-CimInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cciminstance\u003e [-ComputerName \u003cstring[]\u003e] [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Property \u003cIDictionary\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e -Property \u003cIDictionary\u003e [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance\u003e -CimSession \u003cCimSession[]\u003e [-ResourceUri \u003curi\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-Property \u003cIDictionary\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e -Property \u003cIDictionary\u003e [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-OperationTimeoutSec \u003cuint32\u003e] [-QueryDialect \u003cstring\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gcim", + "scim", + "ncim", + "rcim", + "icim", + "gcai", + "rcie", + "ncms", + "rcms", + "gcms", + "ncso", + "gcls" + ] + }, + { + "Name": "DirectAccessClientComponents", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-DAManualEntryPointSelection", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-DAManualEntryPointSelection", + "CommandType": "Function", + "ParameterSets": "-EntryPointName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DAClientExperienceConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "[-EntryPointName \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-EntryPointName \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore] \u003cstring\u003e -EntryPointName \u003cstring\u003e -ADSite \u003cstring\u003e -EntryPointRange \u003cstring[]\u003e -EntryPointIPAddress \u003cstring\u003e [-TeredoServerIP \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-GPOSession] \u003cstring\u003e -EntryPointName \u003cstring\u003e -ADSite \u003cstring\u003e -EntryPointRange \u003cstring[]\u003e -EntryPointIPAddress \u003cstring\u003e [-TeredoServerIP \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e -NewName \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e -NewName \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e -NewName \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-DAClientExperienceConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CorporateResources] [-IPsecTunnelEndpoints] [-PreferLocalNamesAllowed] [-UserInterface] [-SupportEmail] [-FriendlyName] [-ManualEntryPointSelectionAllowed] [-GslbFqdn] [-ForceTunneling] [-CustomCommands] [-PassiveMode] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DAClientExperienceConfiguration[]\u003e [-CorporateResources] [-IPsecTunnelEndpoints] [-PreferLocalNamesAllowed] [-UserInterface] [-SupportEmail] [-FriendlyName] [-ManualEntryPointSelectionAllowed] [-GslbFqdn] [-ForceTunneling] [-CustomCommands] [-PassiveMode] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-TeredoServerIP] [-IPHttpsProfile] [-GslbIP] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-TeredoServerIP] [-IPHttpsProfile] [-GslbIP] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e [-TeredoServerIP] [-IPHttpsProfile] [-GslbIP] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DAClientExperienceConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-CorporateResources] \u003cstring[]\u003e] [[-IPsecTunnelEndpoints] \u003cstring[]\u003e] [[-PreferLocalNamesAllowed] \u003cbool\u003e] [[-UserInterface] \u003cbool\u003e] [[-SupportEmail] \u003cstring\u003e] [[-FriendlyName] \u003cstring\u003e] [[-ManualEntryPointSelectionAllowed] \u003cbool\u003e] [[-GslbFqdn] \u003cstring\u003e] [[-ForceTunneling] \u003cForceTunneling\u003e] [[-CustomCommands] \u003cstring[]\u003e] [[-PassiveMode] \u003cbool\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-CorporateResources] \u003cstring[]\u003e] [[-IPsecTunnelEndpoints] \u003cstring[]\u003e] [[-PreferLocalNamesAllowed] \u003cbool\u003e] [[-UserInterface] \u003cbool\u003e] [[-SupportEmail] \u003cstring\u003e] [[-FriendlyName] \u003cstring\u003e] [[-ManualEntryPointSelectionAllowed] \u003cbool\u003e] [[-GslbFqdn] \u003cstring\u003e] [[-ForceTunneling] \u003cForceTunneling\u003e] [[-CustomCommands] \u003cstring[]\u003e] [[-PassiveMode] \u003cbool\u003e] -InputObject \u003cCimInstance#MSFT_DAClientExperienceConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DAEntryPointTableItem", + "CommandType": "Function", + "ParameterSets": "-PolicyStore \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-ADSite \u003cstring\u003e] [-EntryPointRange \u003cstring[]\u003e] [-TeredoServerIP \u003cstring\u003e] [-EntryPointIPAddress \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GPOSession \u003cstring\u003e [-EntryPointName \u003cstring[]\u003e] [-ADSite \u003cstring\u003e] [-EntryPointRange \u003cstring[]\u003e] [-TeredoServerIP \u003cstring\u003e] [-EntryPointIPAddress \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DASiteTableEntry[]\u003e [-ADSite \u003cstring\u003e] [-EntryPointRange \u003cstring[]\u003e] [-TeredoServerIP \u003cstring\u003e] [-EntryPointIPAddress \u003cstring\u003e] [-GslbIP \u003cstring\u003e] [-IPHttpsProfile \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Dism", + "Version": "3.0", + "ExportedCommands": [ + { + "Name": "Add-ProvisionedAppxPackage", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Apply-WindowsUnattend", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Get-ProvisionedAppxPackage", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Remove-ProvisionedAppxPackage", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Add-AppxProvisionedPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-FolderPath \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-DependencyPackagePath \u003cstring[]\u003e] [-LicensePath \u003cstring\u003e] [-SkipLicense] [-CustomDataPath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-FolderPath \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-DependencyPackagePath \u003cstring[]\u003e] [-LicensePath \u003cstring\u003e] [-SkipLicense] [-CustomDataPath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-WindowsDriver", + "CommandType": "Cmdlet", + "ParameterSets": "-Driver \u003cstring\u003e -Path \u003cstring\u003e [-Recurse] [-ForceUnsigned] [-BasicDriverObject \u003cBasicDriverObject\u003e] [-AdvancedDriverObject \u003cAdvancedDriverObject\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e -CapturePath \u003cstring\u003e -Name \u003cstring\u003e [-ConfigFilePath \u003cstring\u003e] [-Description \u003cstring\u003e] [-CheckIntegrity] [-NoRpFix] [-Setbootable] [-Verify] [-WIMBoot] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-WindowsPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-PackagePath \u003cstring\u003e -Path \u003cstring\u003e [-IgnoreCheck] [-PreventPending] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -PackagePath \u003cstring\u003e -Online [-IgnoreCheck] [-PreventPending] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-WindowsCorruptMountPoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-WindowsOptionalFeature", + "CommandType": "Cmdlet", + "ParameterSets": "-FeatureName \u003cstring[]\u003e -Online [-PackageName \u003cstring\u003e] [-Remove] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -FeatureName \u003cstring[]\u003e -Path \u003cstring\u003e [-PackageName \u003cstring\u003e] [-Remove] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Dismount-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e -Discard [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e -Save [-CheckIntegrity] [-Append] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WindowsOptionalFeature", + "CommandType": "Cmdlet", + "ParameterSets": "-FeatureName \u003cstring[]\u003e -Online [-PackageName \u003cstring\u003e] [-All] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -FeatureName \u003cstring[]\u003e -Path \u003cstring\u003e [-PackageName \u003cstring\u003e] [-All] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Expand-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e -Name \u003cstring\u003e -ApplyPath \u003cstring\u003e [-SplitImageFilePattern \u003cstring\u003e] [-CheckIntegrity] [-ConfirmTrustedFile] [-NoRpFix] [-Verify] [-WIMBoot] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -ImagePath \u003cstring\u003e -Index \u003cuint32\u003e -ApplyPath \u003cstring\u003e [-SplitImageFilePattern \u003cstring\u003e] [-CheckIntegrity] [-ConfirmTrustedFile] [-NoRpFix] [-Verify] [-WIMBoot] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-WindowsDriver", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-Destination \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-Destination \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-DestinationImagePath \u003cstring\u003e -SourceImagePath \u003cstring\u003e -SourceName \u003cstring\u003e [-CheckIntegrity] [-CompressionType \u003cstring\u003e] [-DestinationName \u003cstring\u003e] [-Setbootable] [-SplitImageFilePattern \u003cstring\u003e] [-WIMBoot] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -DestinationImagePath \u003cstring\u003e -SourceImagePath \u003cstring\u003e -SourceIndex \u003cuint32\u003e [-CheckIntegrity] [-CompressionType \u003cstring\u003e] [-DestinationName \u003cstring\u003e] [-Setbootable] [-SplitImageFilePattern \u003cstring\u003e] [-WIMBoot] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AppxProvisionedPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WIMBootEntry", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsDriver", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-All] [-Driver \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-All] [-Driver \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsEdition", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-Target] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-Target] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -ImagePath \u003cstring\u003e -Index \u003cuint32\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -ImagePath \u003cstring\u003e -Name \u003cstring\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Mounted [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsImageContent", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e -Index \u003cuint32\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -ImagePath \u003cstring\u003e -Name \u003cstring\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsOptionalFeature", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-FeatureName \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-FeatureName \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-PackagePath \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Mount-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e -Remount [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e -ImagePath \u003cstring\u003e -Name \u003cstring\u003e [-ReadOnly] [-Optimize] [-CheckIntegrity] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e -ImagePath \u003cstring\u003e -Index \u003cuint32\u003e [-ReadOnly] [-Optimize] [-CheckIntegrity] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WindowsCustomImage", + "CommandType": "Cmdlet", + "ParameterSets": "-CapturePath \u003cstring\u003e [-ConfigFilePath \u003cstring\u003e] [-CheckIntegrity] [-Verify] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e -CapturePath \u003cstring\u003e -Name \u003cstring\u003e [-CompressionType \u003cstring\u003e] [-ConfigFilePath \u003cstring\u003e] [-Description \u003cstring\u003e] [-CheckIntegrity] [-NoRpFix] [-Setbootable] [-Verify] [-WIMBoot] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Optimize-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-OptimizationTarget \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-AppxProvisionedPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-PackageName \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -PackageName \u003cstring\u003e -Online [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WindowsDriver", + "CommandType": "Cmdlet", + "ParameterSets": "-Driver \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e -Index \u003cuint32\u003e [-CheckIntegrity] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -ImagePath \u003cstring\u003e -Name \u003cstring\u003e [-CheckIntegrity] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WindowsPackage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-PackagePath \u003cstring\u003e] [-PackageName \u003cstring\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-CheckHealth] [-ScanHealth] [-RestoreHealth] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -Online [-CheckHealth] [-ScanHealth] [-RestoreHealth] [-LimitAccess] [-Source \u003cstring[]\u003e] [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Save-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e [-CheckIntegrity] [-Append] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-AppXProvisionedDataFile", + "CommandType": "Cmdlet", + "ParameterSets": "-PackageName \u003cstring\u003e -CustomDataPath \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -PackageName \u003cstring\u003e -CustomDataPath \u003cstring\u003e -Online [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WindowsEdition", + "CommandType": "Cmdlet", + "ParameterSets": "-Edition \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WindowsProductKey", + "CommandType": "Cmdlet", + "ParameterSets": "-ProductKey \u003cstring\u003e -Path \u003cstring\u003e [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Split-WindowsImage", + "CommandType": "Cmdlet", + "ParameterSets": "-ImagePath \u003cstring\u003e -SplitImagePath \u003cstring\u003e -FileSize \u003cuint64\u003e [-CheckIntegrity] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-WIMBootEntry", + "CommandType": "Cmdlet", + "ParameterSets": "-Path \u003cstring\u003e -ImagePath \u003cstring\u003e -DataSourceID \u003clong\u003e [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Use-WindowsUnattend", + "CommandType": "Cmdlet", + "ParameterSets": "-UnattendPath \u003cstring\u003e -Path \u003cstring\u003e [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e] -UnattendPath \u003cstring\u003e -Online [-NoRestart] [-WindowsDirectory \u003cstring\u003e] [-SystemDrive \u003cstring\u003e] [-LogPath \u003cstring\u003e] [-ScratchDirectory \u003cstring\u003e] [-LogLevel \u003cLogLevel\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "Apply-WindowsUnattend", + "Add-ProvisionedAppxPackage", + "Remove-ProvisionedAppxPackage", + "Get-ProvisionedAppxPackage" + ] + }, + { + "Name": "DnsClient", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[-Namespace] \u003cstring[]\u003e [-GpoName \u003cstring\u003e] [-DANameServers \u003cstring[]\u003e] [-DAIPsecRequired] [-DAIPsecEncryptionType \u003cstring\u003e] [-DAProxyServerName \u003cstring\u003e] [-DnsSecEnable] [-DnsSecIPsecRequired] [-DnsSecIPsecEncryptionType \u003cstring\u003e] [-NameServers \u003cstring[]\u003e] [-NameEncoding \u003cstring\u003e] [-Server \u003cstring\u003e] [-DAProxyType \u003cstring\u003e] [-DnsSecValidationRequired] [-DAEnable] [-IPsecTrustAuthority \u003cstring\u003e] [-Comment \u003cstring\u003e] [-DisplayName \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-DnsClientCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClient", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-ConnectionSpecificSuffix \u003cstring[]\u003e] [-RegisterThisConnectionsAddress \u003cbool[]\u003e] [-UseSuffixWhenRegistering \u003cbool[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientCache", + "CommandType": "Function", + "ParameterSets": "[[-Entry] \u003cstring[]\u003e] [-Name \u003cstring[]\u003e] [-Type \u003cType[]\u003e] [-Status \u003cStatus[]\u003e] [-Section \u003cSection[]\u003e] [-TimeToLive \u003cuint32[]\u003e] [-DataLength \u003cuint16[]\u003e] [-Data \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientNrptGlobal", + "CommandType": "Function", + "ParameterSets": "[-Server \u003cstring\u003e] [-GpoName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientNrptPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Namespace] \u003cstring\u003e] [-Effective] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-GpoName \u003cstring\u003e] [-Server \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DnsClientServerAddress", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-DnsClient", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-GpoName \u003cstring\u003e] [-PassThru] [-Server \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClient", + "CommandType": "Function", + "ParameterSets": "[-InterfaceAlias] \u003cstring[]\u003e [-ConnectionSpecificSuffix \u003cstring\u003e] [-RegisterThisConnectionsAddress \u003cbool\u003e] [-UseSuffixWhenRegistering \u003cbool\u003e] [-ResetConnectionSpecificSuffix] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cuint32[]\u003e [-ConnectionSpecificSuffix \u003cstring\u003e] [-RegisterThisConnectionsAddress \u003cbool\u003e] [-UseSuffixWhenRegistering \u003cbool\u003e] [-ResetConnectionSpecificSuffix] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DNSClient[]\u003e [-ConnectionSpecificSuffix \u003cstring\u003e] [-RegisterThisConnectionsAddress \u003cbool\u003e] [-UseSuffixWhenRegistering \u003cbool\u003e] [-ResetConnectionSpecificSuffix] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject \u003cCimInstance#MSFT_DNSClientGlobalSetting[]\u003e] [-SuffixSearchList \u003cstring[]\u003e] [-UseDevolution \u003cbool\u003e] [-DevolutionLevel \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientNrptGlobal", + "CommandType": "Function", + "ParameterSets": "[-EnableDAForAllNetworks \u003cstring\u003e] [-GpoName \u003cstring\u003e] [-SecureNameQueryFallback \u003cstring\u003e] [-QueryPolicy \u003cstring\u003e] [-Server \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientNrptRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-DAEnable \u003cbool\u003e] [-DAIPsecEncryptionType \u003cstring\u003e] [-DAIPsecRequired \u003cbool\u003e] [-DANameServers \u003cstring[]\u003e] [-DAProxyServerName \u003cstring\u003e] [-DAProxyType \u003cstring\u003e] [-Comment \u003cstring\u003e] [-DnsSecEnable \u003cbool\u003e] [-DnsSecIPsecEncryptionType \u003cstring\u003e] [-DnsSecIPsecRequired \u003cbool\u003e] [-DnsSecValidationRequired \u003cbool\u003e] [-GpoName \u003cstring\u003e] [-IPsecTrustAuthority \u003cstring\u003e] [-NameEncoding \u003cstring\u003e] [-NameServers \u003cstring[]\u003e] [-Namespace \u003cstring[]\u003e] [-Server \u003cstring\u003e] [-DisplayName \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DnsClientServerAddress", + "CommandType": "Function", + "ParameterSets": "[-InterfaceAlias] \u003cstring[]\u003e [-ServerAddresses \u003cstring[]\u003e] [-Validate] [-ResetServerAddresses] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cuint32[]\u003e [-ServerAddresses \u003cstring[]\u003e] [-Validate] [-ResetServerAddresses] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DNSClientServerAddress[]\u003e [-ServerAddresses \u003cstring[]\u003e] [-Validate] [-ResetServerAddresses] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resolve-DnsName", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [[-Type] \u003cRecordType\u003e] [-Server \u003cstring[]\u003e] [-DnsOnly] [-CacheOnly] [-DnssecOk] [-DnssecCd] [-NoHostsFile] [-LlmnrNetbiosOnly] [-LlmnrFallback] [-LlmnrOnly] [-NetbiosFallback] [-NoIdn] [-NoRecursion] [-QuickTimeout] [-TcpOnly] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "International", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WinAcceptLanguageFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinCultureFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinDefaultInputMethodOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinHomeLocation", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinLanguageBarOption", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinSystemLocale", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinUILanguageOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinUserLanguageList", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WinUserLanguageList", + "CommandType": "Cmdlet", + "ParameterSets": "[-Language] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Culture", + "CommandType": "Cmdlet", + "ParameterSets": "[-CultureInfo] \u003ccultureinfo\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinAcceptLanguageFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[-OptOut] \u003cbool\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinCultureFromLanguageListOptOut", + "CommandType": "Cmdlet", + "ParameterSets": "[-OptOut] \u003cbool\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinDefaultInputMethodOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[[-InputTip] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinHomeLocation", + "CommandType": "Cmdlet", + "ParameterSets": "[-GeoId] \u003cint\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinLanguageBarOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-UseLegacySwitchMode] [-UseLegacyLanguageBar] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinSystemLocale", + "CommandType": "Cmdlet", + "ParameterSets": "[-SystemLocale] \u003ccultureinfo\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinUILanguageOverride", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Language] \u003ccultureinfo\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WinUserLanguageList", + "CommandType": "Cmdlet", + "ParameterSets": "[-LanguageList] \u003cList[WinUserLanguage]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "iSCSI", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Connect-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "-NodeAddress \u003cstring\u003e [-TargetPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-IsDataDigest \u003cbool\u003e] [-IsHeaderDigest \u003cbool\u003e] [-IsPersistent \u003cbool\u003e] [-ReportToPnP \u003cbool\u003e] [-AuthenticationType \u003cstring\u003e] [-IsMultipathEnabled \u003cbool\u003e] [-InitiatorInstanceName \u003cstring\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-TargetPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-IsDataDigest \u003cbool\u003e] [-IsHeaderDigest \u003cbool\u003e] [-ReportToPnP \u003cbool\u003e] [-AuthenticationType \u003cstring\u003e] [-IsMultipathEnabled \u003cbool\u003e] [-InitiatorInstanceName \u003cstring\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress \u003cstring[]\u003e] [-SessionIdentifier \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITarget[]\u003e [-SessionIdentifier \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiConnection", + "CommandType": "Function", + "ParameterSets": "[-ConnectionIdentifier \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorSideIdentifier \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetSideIdentifier \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalAddress \u003cstring[]\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-IscsiTarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-IscsiSession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-iSCSITargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPortalPortNumber \u003cuint16[]\u003e] [-InititorIPAdressListNumber \u003cuint16[]\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiSession", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e] [-SessionIdentifier \u003cstring[]\u003e] [-TargetSideIdentifier \u003cstring[]\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorSideIdentifier \u003cstring[]\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-IscsiTarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-IscsiTargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-NumberOfConnections \u003cuint32[]\u003e] [-IscsiConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IscsiConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IscsiSession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IscsiTargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "[[-TargetPortalAddress] \u003cstring[]\u003e] [-InitiatorPortalAddress \u003cstring[]\u003e] [-InitiatorInstanceName \u003cstring[]\u003e] [-TargetPortalPortNumber \u003cuint16[]\u003e] [-IsHeaderDigest \u003cbool[]\u003e] [-IsDataDigest \u003cbool[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSISession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSIConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSITarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "-TargetPortalAddress \u003cstring\u003e [-TargetPortalPortNumber \u003cuint16\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-IsHeaderDigest \u003cbool\u003e] [-IsDataDigest \u003cbool\u003e] [-AuthenticationType \u003cstring\u003e] [-InitiatorInstanceName \u003cstring\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-IscsiSession", + "CommandType": "Function", + "ParameterSets": "-SessionIdentifier \u003cstring[]\u003e [-IsMultipathEnabled \u003cbool\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSISession[]\u003e [-IsMultipathEnabled \u003cbool\u003e] [-ChapUsername \u003cstring\u003e] [-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "-TargetPortalAddress \u003cstring[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cint\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITargetPortal[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cint\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiChapSecret", + "CommandType": "Function", + "ParameterSets": "[-ChapSecret \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-IscsiSession", + "CommandType": "Function", + "ParameterSets": "-SessionIdentifier \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSISession[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-IscsiTarget", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-IscsiConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-IscsiSession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-IscsiTargetPortal \u003cCimInstance#MSFT_iSCSITargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITarget[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-IscsiTargetPortal", + "CommandType": "Function", + "ParameterSets": "[-TargetPortalAddress] \u003cstring[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_iSCSITargetPortal[]\u003e [-InitiatorInstanceName \u003cstring\u003e] [-InitiatorPortalAddress \u003cstring\u003e] [-TargetPortalPortNumber \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "IscsiTarget", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Expand-IscsiVirtualDisk", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Export-IscsiTargetServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Filename] \u003cstring\u003e [[-ComputerName] \u003cstring\u003e] [[-Credential] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-IscsiTargetServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Filename] \u003cstring\u003e [[-ComputerName] \u003cstring\u003e] [[-Credential] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-IscsiVirtualDiskTargetMapping", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-Path] \u003cstring\u003e [-Lun \u003cint\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Checkpoint-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-OriginalPath] \u003cstring\u003e [-Description \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Convert-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-DestinationPath] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Dismount-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TargetName] \u003cstring\u003e] [-ClusterGroupName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-Path \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-InitiatorId \u003cInitiatorId\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiTargetServerSetting", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-ClusterGroupName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-TargetName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ClusterGroupName \u003cstring\u003e] [-InitiatorId \u003cInitiatorId\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[[-OriginalPath] \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-SnapshotId \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Description \u003cstring\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Mount-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-InitiatorIds \u003cInitiatorId[]\u003e] [-ClusterGroupName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-SizeBytes] \u003cuint64\u003e [-Description \u003cstring\u003e] [-LogicalSectorSizeBytes \u003cuint32\u003e] [-PhysicalSectorSizeBytes \u003cuint32\u003e] [-BlockSizeBytes \u003cuint32\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [[-SizeBytes] \u003cuint64\u003e] -ParentPath \u003cstring\u003e [-Description \u003cstring\u003e] [-PhysicalSectorSizeBytes \u003cuint32\u003e] [-BlockSizeBytes \u003cuint32\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-SizeBytes] \u003cuint64\u003e -UseFixed [-Description \u003cstring\u003e] [-DoNotClearData] [-LogicalSectorSizeBytes \u003cuint32\u003e] [-PhysicalSectorSizeBytes \u003cuint32\u003e] [-BlockSizeBytes \u003cuint32\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiServerTarget\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDisk\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-IscsiVirtualDiskTargetMapping", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-Path] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resize-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Size] \u003cuint64\u003e [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Size] \u003cuint64\u003e -InputObject \u003cIscsiVirtualDisk\u003e [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restore-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiServerTarget", + "CommandType": "Cmdlet", + "ParameterSets": "[-TargetName] \u003cstring\u003e [-TargetIqn \u003cIqn\u003e] [-Description \u003cstring\u003e] [-Enable \u003cbool\u003e] [-EnableChap \u003cbool\u003e] [-Chap \u003cpscredential\u003e] [-EnableReverseChap \u003cbool\u003e] [-ReverseChap \u003cpscredential\u003e] [-MaxReceiveDataSegmentLength \u003cint\u003e] [-FirstBurstLength \u003cint\u003e] [-MaxBurstLength \u003cint\u003e] [-ReceiveBufferCount \u003cint\u003e] [-EnforceIdleTimeoutDetection \u003cbool\u003e] [-InitiatorIds \u003cInitiatorId[]\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiServerTarget\u003e [-TargetIqn \u003cIqn\u003e] [-Description \u003cstring\u003e] [-Enable \u003cbool\u003e] [-EnableChap \u003cbool\u003e] [-Chap \u003cpscredential\u003e] [-EnableReverseChap \u003cbool\u003e] [-ReverseChap \u003cpscredential\u003e] [-MaxReceiveDataSegmentLength \u003cint\u003e] [-FirstBurstLength \u003cint\u003e] [-MaxBurstLength \u003cint\u003e] [-ReceiveBufferCount \u003cint\u003e] [-EnforceIdleTimeoutDetection \u003cbool\u003e] [-InitiatorIds \u003cInitiatorId[]\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiTargetServerSetting", + "CommandType": "Cmdlet", + "ParameterSets": "[-IP] \u003cstring\u003e [-Port \u003cint\u003e] [-Enable \u003cbool\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -DisableRemoteManagement \u003cbool\u003e [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiVirtualDisk", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Description \u003cstring\u003e] [-PassThru] [-Enable \u003cbool\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDisk\u003e [-Description \u003cstring\u003e] [-PassThru] [-Enable \u003cbool\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-IscsiVirtualDiskSnapshot", + "CommandType": "Cmdlet", + "ParameterSets": "[-SnapshotId] \u003cstring\u003e [-Description \u003cstring\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDiskSnapshot\u003e [-Description \u003cstring\u003e] [-PassThru] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-IscsiVirtualDiskOperation", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] -InputObject \u003cIscsiVirtualDisk\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "Expand-IscsiVirtualDisk" + ] + }, + { + "Name": "ISE", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-IseSnippet", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-IseSnippet", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring\u003e [-Recurse] [\u003cCommonParameters\u003e] -Module \u003cstring\u003e [-Recurse] [-ListAvailable] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-IseSnippet", + "CommandType": "Function", + "ParameterSets": "[-Title] \u003cstring\u003e [-Description] \u003cstring\u003e [-Text] \u003cstring\u003e [-Author \u003cstring\u003e] [-CaretOffset \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Kds", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-KdsRootKey", + "CommandType": "Cmdlet", + "ParameterSets": "[[-EffectiveTime] \u003cdatetime\u003e] [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -EffectiveImmediately [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-KdsCache", + "CommandType": "Cmdlet", + "ParameterSets": "[-CacheOwnerSid \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-KdsConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-KdsRootKey", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-KdsConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-LocalTestOnly] [-SecretAgreementPublicKeyLength \u003cint\u003e] [-SecretAgreementPrivateKeyLength \u003cint\u003e] [-SecretAgreementParameters \u003cbyte[]\u003e] [-SecretAgreementAlgorithm \u003cstring\u003e] [-KdfParameters \u003cbyte[]\u003e] [-KdfAlgorithm \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -RevertToDefault [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cKdsServerConfiguration\u003e [-LocalTestOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-KdsRootKey", + "CommandType": "Cmdlet", + "ParameterSets": "[-KeyId] \u003cguid\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Diagnostics", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Export-Counter", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e -InputObject \u003cPerformanceCounterSampleSet[]\u003e [-FileFormat \u003cstring\u003e] [-MaxSize \u003cuint32\u003e] [-Force] [-Circular] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Counter", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Counter] \u003cstring[]\u003e] [-SampleInterval \u003cint\u003e] [-MaxSamples \u003clong\u003e] [-Continuous] [-ComputerName \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-ListSet] \u003cstring[]\u003e [-ComputerName \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WinEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[[-LogName] \u003cstring[]\u003e] [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-FilterXPath \u003cstring\u003e] [-Force] [-Oldest] [\u003cCommonParameters\u003e] [-ListLog] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Force] [\u003cCommonParameters\u003e] [-ListProvider] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-ProviderName] \u003cstring[]\u003e [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-FilterXPath \u003cstring\u003e] [-Force] [-Oldest] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-MaxEvents \u003clong\u003e] [-Credential \u003cpscredential\u003e] [-FilterXPath \u003cstring\u003e] [-Oldest] [\u003cCommonParameters\u003e] [-FilterXml] \u003cxml\u003e [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Oldest] [\u003cCommonParameters\u003e] [-FilterHashtable] \u003chashtable[]\u003e [-MaxEvents \u003clong\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Force] [-Oldest] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Counter", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-StartTime \u003cdatetime\u003e] [-EndTime \u003cdatetime\u003e] [-Counter \u003cstring[]\u003e] [-MaxSamples \u003clong\u003e] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e -ListSet \u003cstring[]\u003e [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Summary] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WinEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-ProviderName] \u003cstring\u003e [-Id] \u003cint\u003e [[-Payload] \u003cObject[]\u003e] [-Version \u003cbyte\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Host", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Start-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-LiteralPath] \u003cstring\u003e] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-OutputDirectory] \u003cstring\u003e] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Transcript", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Management", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "Add-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-DomainName] \u003cstring\u003e -Credential \u003cpscredential\u003e [-ComputerName \u003cstring[]\u003e] [-LocalCredential \u003cpscredential\u003e] [-UnjoinDomainCredential \u003cpscredential\u003e] [-OUPath \u003cstring\u003e] [-Server \u003cstring\u003e] [-Unsecure] [-Options \u003cJoinOptions\u003e] [-Restart] [-PassThru] [-NewName \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-WorkgroupName] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-LocalCredential \u003cpscredential\u003e] [-Credential \u003cpscredential\u003e] [-Restart] [-PassThru] [-NewName \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Value] \u003cObject[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Value] \u003cObject[]\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Checkpoint-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-Description] \u003cstring\u003e [[-RestorePointType] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Complete-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Convert-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Destination] \u003cstring\u003e] [-Container] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Destination] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-Container] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Destination] \u003cstring\u003e [-Name] \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Destination] \u003cstring\u003e [-Name] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Debug-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cProcess[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-ComputerRestore", + "CommandType": "Cmdlet", + "ParameterSets": "[-Drive] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ComputerRestore", + "CommandType": "Cmdlet", + "ParameterSets": "[-Drive] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ChildItem", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-Filter] \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Name] [-UseTransaction] [-Attributes \u003cFlagsExpression[FileAttributes]\u003e] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [\u003cCommonParameters\u003e] [[-Filter] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Name] [-UseTransaction] [-Attributes \u003cFlagsExpression[FileAttributes]\u003e] [-Directory] [-File] [-Hidden] [-ReadOnly] [-System] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ComputerRestorePoint", + "CommandType": "Cmdlet", + "ParameterSets": "[[-RestorePoint] \u003cint[]\u003e] [\u003cCommonParameters\u003e] -LastStatus [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-ReadCount \u003clong\u003e] [-TotalCount \u003clong\u003e] [-Tail \u003cint\u003e] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Delimiter \u003cstring\u003e] [-Wait] [-Raw] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-ReadCount \u003clong\u003e] [-TotalCount \u003clong\u003e] [-Tail \u003cint\u003e] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Delimiter \u003cstring\u003e] [-Wait] [-Raw] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ControlPanelItem", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Category \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -CanonicalName \u003cstring[]\u003e [-Category \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring\u003e [[-InstanceId] \u003clong[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Newest \u003cint\u003e] [-After \u003cdatetime\u003e] [-Before \u003cdatetime\u003e] [-UserName \u003cstring[]\u003e] [-Index \u003cint[]\u003e] [-EntryType \u003cstring[]\u003e] [-Source \u003cstring[]\u003e] [-Message \u003cstring\u003e] [-AsBaseObject] [\u003cCommonParameters\u003e] [-ComputerName \u003cstring[]\u003e] [-List] [-AsString] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-HotFix", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Name] \u003cstring[]\u003e] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PSProvider \u003cstring[]\u003e] [-PSDrive \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Stack] [-StackName \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-Module] [-FileVersionInfo] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -IncludeUserName [\u003cCommonParameters\u003e] -Id \u003cint[]\u003e -IncludeUserName [\u003cCommonParameters\u003e] -Id \u003cint[]\u003e [-ComputerName \u003cstring[]\u003e] [-Module] [-FileVersionInfo] [\u003cCommonParameters\u003e] -InputObject \u003cProcess[]\u003e -IncludeUserName [\u003cCommonParameters\u003e] -InputObject \u003cProcess[]\u003e [-ComputerName \u003cstring[]\u003e] [-Module] [-FileVersionInfo] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-PSProvider \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralName] \u003cstring[]\u003e [-Scope \u003cstring\u003e] [-PSProvider \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSProvider", + "CommandType": "Cmdlet", + "ParameterSets": "[[-PSProvider] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring[]\u003e] [-DependentServices] [-RequiredServices] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-ComputerName \u003cstring[]\u003e] [-DependentServices] [-RequiredServices] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-ComputerName \u003cstring[]\u003e] [-DependentServices] [-RequiredServices] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-InputObject \u003cServiceController[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WmiObject", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [[-Property] \u003cstring[]\u003e] [-Filter \u003cstring\u003e] [-Amended] [-DirectRead] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Class] \u003cstring\u003e] [-Recurse] [-Amended] [-List] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] -Query \u003cstring\u003e [-Amended] [-DirectRead] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Amended] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Amended] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-WmiMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [-Name] \u003cstring\u003e [[-ArgumentList] \u003cObject[]\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -InputObject \u003cwmi\u003e [-ArgumentList \u003cObject[]\u003e] [-AsJob] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Path \u003cstring\u003e [-ArgumentList \u003cObject[]\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Join-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-ChildPath] \u003cstring\u003e [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Limit-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring[]\u003e [-ComputerName \u003cstring[]\u003e] [-RetentionDays \u003cint\u003e] [-OverflowAction \u003cOverflowAction\u003e] [-MaximumSize \u003clong\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Destination] \u003cstring\u003e] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Destination] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Destination] \u003cstring\u003e [-Name] \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Destination] \u003cstring\u003e [-Name] \u003cstring[]\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring\u003e [-Source] \u003cstring[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-CategoryResourceFile \u003cstring\u003e] [-MessageResourceFile \u003cstring\u003e] [-ParameterResourceFile \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-ItemType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] -Name \u003cstring\u003e [-ItemType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring\u003e [-PropertyType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-PropertyType \u003cstring\u003e] [-Value \u003cObject\u003e] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-PSProvider] \u003cstring\u003e [-Root] \u003cstring\u003e [-Description \u003cstring\u003e] [-Scope \u003cstring\u003e] [-Persist] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-BinaryPathName] \u003cstring\u003e [-DisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-StartupType \u003cServiceStartMode\u003e] [-Credential \u003cpscredential\u003e] [-DependsOn \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WebServiceProxy", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] \u003curi\u003e [[-Class] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Uri] \u003curi\u003e [[-Class] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [\u003cCommonParameters\u003e] [-Uri] \u003curi\u003e [[-Class] \u003cstring\u003e] [[-Namespace] \u003cstring\u003e] [-UseDefaultCredential] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Pop-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Push-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralPath \u003cstring\u003e] [-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-WmiEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ComputerName \u003cstring\u003e] [-Timeout \u003clong\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e] [-Query] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-Namespace \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ComputerName \u003cstring\u003e] [-Timeout \u003clong\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-UnjoinDomainCredential] \u003cpscredential\u003e] [-Restart] [-Force] [-PassThru] [-WorkgroupName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UnjoinDomainCredential \u003cpscredential\u003e [-LocalCredential \u003cpscredential\u003e] [-Restart] [-ComputerName \u003cstring[]\u003e] [-Force] [-PassThru] [-WorkgroupName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-Source \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Recurse] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Stream \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -LiteralPath \u003cstring[]\u003e [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSDrive", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PSProvider \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralName] \u003cstring[]\u003e [-PSProvider \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WmiObject", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cwmi\u003e [-AsJob] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-NewName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-PassThru] [-DomainCredential \u003cpscredential\u003e] [-LocalCredential \u003cpscredential\u003e] [-Force] [-Restart] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-NewName] \u003cstring\u003e [-Force] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-NewName] \u003cstring\u003e -LiteralPath \u003cstring\u003e [-Force] [-PassThru] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e -LiteralPath \u003cstring\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-ComputerMachinePassword", + "CommandType": "Cmdlet", + "ParameterSets": "[-Server \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resolve-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Relative] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Relative] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-DcomAuthentication \u003cAuthenticationLevel\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-WsmanAuthentication \u003cstring\u003e] [-Protocol \u003cstring\u003e] [-Force] [-Wait] [-Timeout \u003cint\u003e] [-For \u003cWaitForServiceTypes\u003e] [-Delay \u003cint16\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-AsJob] [-DcomAuthentication \u003cAuthenticationLevel\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-Force] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restore-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[-RestorePoint] \u003cint\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Content", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Value] \u003cObject[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Value] \u003cObject[]\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [-Encoding \u003cFileSystemCmdletProviderEncoding\u003e] [-Stream \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Item", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-Value] \u003cObject\u003e] [-Force] [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [[-Value] \u003cObject\u003e] -LiteralPath \u003cstring[]\u003e [-Force] [-PassThru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ItemProperty", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Name] \u003cstring\u003e [-Value] \u003cObject\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e -InputObject \u003cpsobject\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e -InputObject \u003cpsobject\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-Value] \u003cObject\u003e -LiteralPath \u003cstring[]\u003e [-PassThru] [-Force] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Location", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-PassThru] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e [-PassThru] [-UseTransaction] [\u003cCommonParameters\u003e] [-PassThru] [-StackName \u003cstring\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ComputerName \u003cstring[]\u003e] [-DisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-StartupType \u003cServiceStartMode\u003e] [-Status \u003cstring\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName \u003cstring[]\u003e] [-DisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-StartupType \u003cServiceStartMode\u003e] [-Status \u003cstring\u003e] [-InputObject \u003cServiceController\u003e] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WmiInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-Class] \u003cstring\u003e [[-Arguments] \u003chashtable\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cwmi\u003e [-Arguments \u003chashtable\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-Arguments \u003chashtable\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PutType \u003cPutType\u003e] [-AsJob] [-Impersonation \u003cImpersonationLevel\u003e] [-Authentication \u003cAuthenticationLevel\u003e] [-Locale \u003cstring\u003e] [-EnableAllPrivileges] [-Authority \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-ComputerName \u003cstring[]\u003e] [-Namespace \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-ControlPanelItem", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [\u003cCommonParameters\u003e] -CanonicalName \u003cstring[]\u003e [\u003cCommonParameters\u003e] [[-InputObject] \u003cControlPanelItem[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Split-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Parent] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Qualifier] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-NoQualifier] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Leaf] [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-Resolve] [-IsAbsolute] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Resolve] [-Credential \u003cpscredential\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [[-ArgumentList] \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-WorkingDirectory \u003cstring\u003e] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError \u003cstring\u003e] [-RedirectStandardInput \u003cstring\u003e] [-RedirectStandardOutput \u003cstring\u003e] [-Wait] [-WindowStyle \u003cProcessWindowStyle\u003e] [-UseNewEnvironment] [\u003cCommonParameters\u003e] [-FilePath] \u003cstring\u003e [[-ArgumentList] \u003cstring[]\u003e] [-WorkingDirectory \u003cstring\u003e] [-PassThru] [-Verb \u003cstring\u003e] [-Wait] [-WindowStyle \u003cProcessWindowStyle\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Timeout \u003cint\u003e] [-Independent] [-RollbackPreference \u003cRollbackSeverity\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Computer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [[-Credential] \u003cpscredential\u003e] [-AsJob] [-Authentication \u003cAuthenticationLevel\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-ThrottleLimit \u003cint\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cProcess[]\u003e [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-Force] [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-Service", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cServiceController[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PassThru] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-ComputerSecureChannel", + "CommandType": "Cmdlet", + "ParameterSets": "[-Repair] [-Server \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Connection", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName] \u003cstring[]\u003e [-AsJob] [-Authentication \u003cAuthenticationLevel\u003e] [-BufferSize \u003cint\u003e] [-Count \u003cint\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-ThrottleLimit \u003cint\u003e] [-TimeToLive \u003cint\u003e] [-Delay \u003cint\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-Source] \u003cstring[]\u003e [-AsJob] [-Authentication \u003cAuthenticationLevel\u003e] [-BufferSize \u003cint\u003e] [-Count \u003cint\u003e] [-Credential \u003cpscredential\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-ThrottleLimit \u003cint\u003e] [-TimeToLive \u003cint\u003e] [-Delay \u003cint\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-Authentication \u003cAuthenticationLevel\u003e] [-BufferSize \u003cint\u003e] [-Count \u003cint\u003e] [-Impersonation \u003cImpersonationLevel\u003e] [-TimeToLive \u003cint\u003e] [-Delay \u003cint\u003e] [-Quiet] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PathType \u003cTestPathType\u003e] [-IsValid] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-OlderThan \u003cdatetime\u003e] [-NewerThan \u003cdatetime\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-PathType \u003cTestPathType\u003e] [-IsValid] [-Credential \u003cpscredential\u003e] [-UseTransaction] [-OlderThan \u003cdatetime\u003e] [-NewerThan \u003cdatetime\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Undo-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Use-Transaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-TransactedScript] \u003cscriptblock\u003e [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Wait-Process", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-Timeout] \u003cint\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [[-Timeout] \u003cint\u003e] [\u003cCommonParameters\u003e] [[-Timeout] \u003cint\u003e] -InputObject \u003cProcess[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-EventLog", + "CommandType": "Cmdlet", + "ParameterSets": "[-LogName] \u003cstring\u003e [-Source] \u003cstring\u003e [-EventId] \u003cint\u003e [[-EntryType] \u003cEventLogEntryType\u003e] [-Message] \u003cstring\u003e [-Category \u003cint16\u003e] [-RawData \u003cbyte[]\u003e] [-ComputerName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Security", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "ConvertFrom-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-SecureString] \u003csecurestring\u003e [[-SecureKey] \u003csecurestring\u003e] [\u003cCommonParameters\u003e] [-SecureString] \u003csecurestring\u003e [-Key \u003cbyte[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-SecureString", + "CommandType": "Cmdlet", + "ParameterSets": "[-String] \u003cstring\u003e [[-SecureKey] \u003csecurestring\u003e] [\u003cCommonParameters\u003e] [-String] \u003cstring\u003e [-AsPlainText] [-Force] [\u003cCommonParameters\u003e] [-String] \u003cstring\u003e [-Key \u003cbyte[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Acl", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [-Audit] [-AllCentralAccessPolicies] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] -InputObject \u003cpsobject\u003e [-Audit] [-AllCentralAccessPolicies] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e] [-LiteralPath \u003cstring[]\u003e] [-Audit] [-AllCentralAccessPolicies] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-AuthenticodeSignature", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring[]\u003e [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CmsMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-Content] \u003cstring\u003e [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [\u003cCommonParameters\u003e] [-LiteralPath] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Credential", + "CommandType": "Cmdlet", + "ParameterSets": "[-Credential] \u003cpscredential\u003e [\u003cCommonParameters\u003e] [[-UserName] \u003cstring\u003e] -Message \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Scope] \u003cExecutionPolicyScope\u003e] [-List] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring[]\u003e [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Protect-CmsMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-To] \u003cCmsMessageRecipient[]\u003e [-Content] \u003cpsobject\u003e [[-OutFile] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-To] \u003cCmsMessageRecipient[]\u003e [-Path] \u003cstring\u003e [[-OutFile] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-To] \u003cCmsMessageRecipient[]\u003e [-LiteralPath] \u003cstring\u003e [[-OutFile] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Acl", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-AclObject] \u003cObject\u003e [[-CentralAccessPolicy] \u003cstring\u003e] [-ClearCentralAccessPolicy] [-Passthru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-InputObject] \u003cpsobject\u003e [-AclObject] \u003cObject\u003e [-Passthru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e] [-AclObject] \u003cObject\u003e [[-CentralAccessPolicy] \u003cstring\u003e] -LiteralPath \u003cstring[]\u003e [-ClearCentralAccessPolicy] [-Passthru] [-Filter \u003cstring\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-WhatIf] [-Confirm] [-UseTransaction] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-AuthenticodeSignature", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring[]\u003e [-Certificate] \u003cX509Certificate2\u003e [-IncludeChain \u003cstring\u003e] [-TimestampServer \u003cstring\u003e] [-HashAlgorithm \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Certificate] \u003cX509Certificate2\u003e -LiteralPath \u003cstring[]\u003e [-IncludeChain \u003cstring\u003e] [-TimestampServer \u003cstring\u003e] [-HashAlgorithm \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ExecutionPolicy] \u003cExecutionPolicy\u003e [[-Scope] \u003cExecutionPolicyScope\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unprotect-CmsMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-EventLogRecord] \u003cEventLogRecord\u003e [[-To] \u003cCmsMessageRecipient[]\u003e] [-IncludeContext] [\u003cCommonParameters\u003e] [-Content] \u003cstring\u003e [[-To] \u003cCmsMessageRecipient[]\u003e] [-IncludeContext] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [[-To] \u003cCmsMessageRecipient[]\u003e] [-IncludeContext] [\u003cCommonParameters\u003e] [-LiteralPath] \u003cstring\u003e [[-To] \u003cCmsMessageRecipient[]\u003e] [-IncludeContext] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.PowerShell.Utility", + "Version": "3.1.0.0", + "ExportedCommands": [ + { + "Name": "Get-FileHash", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-Algorithm \u003cstring\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-Algorithm \u003cstring\u003e] [\u003cCommonParameters\u003e] -InputStream \u003cStream\u003e [-Algorithm \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "GetStreamHash", + "CommandType": "Function", + "ParameterSets": "[[-InputStream] \u003cStream\u003e] [[-RelatedPath] \u003cstring\u003e] [[-Hasher] \u003cHashAlgorithm\u003e]" + }, + { + "Name": "Add-Member", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject \u003cpsobject\u003e -TypeName \u003cstring\u003e [-PassThru] [\u003cCommonParameters\u003e] [-NotePropertyMembers] \u003cIDictionary\u003e -InputObject \u003cpsobject\u003e [-TypeName \u003cstring\u003e] [-Force] [-PassThru] [\u003cCommonParameters\u003e] [-MemberType] \u003cPSMemberTypes\u003e [-Name] \u003cstring\u003e [[-Value] \u003cObject\u003e] [[-SecondValue] \u003cObject\u003e] -InputObject \u003cpsobject\u003e [-TypeName \u003cstring\u003e] [-Force] [-PassThru] [\u003cCommonParameters\u003e] [-NotePropertyName] \u003cstring\u003e [-NotePropertyValue] \u003cObject\u003e -InputObject \u003cpsobject\u003e [-TypeName \u003cstring\u003e] [-Force] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-Type", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeDefinition] \u003cstring\u003e [-Language \u003cLanguage\u003e] [-ReferencedAssemblies \u003cstring[]\u003e] [-CodeDomProvider \u003cCodeDomProvider\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-MemberDefinition] \u003cstring[]\u003e [-Namespace \u003cstring\u003e] [-UsingNamespace \u003cstring[]\u003e] [-Language \u003cLanguage\u003e] [-ReferencedAssemblies \u003cstring[]\u003e] [-CodeDomProvider \u003cCodeDomProvider\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [-ReferencedAssemblies \u003cstring[]\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-ReferencedAssemblies \u003cstring[]\u003e] [-CompilerParameters \u003cCompilerParameters\u003e] [-OutputAssembly \u003cstring\u003e] [-OutputType \u003cOutputAssemblyType\u003e] [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e] -AssemblyName \u003cstring[]\u003e [-PassThru] [-IgnoreWarnings] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-PassThru] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Compare-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-ReferenceObject] \u003cpsobject[]\u003e [-DifferenceObject] \u003cpsobject[]\u003e [-SyncWindow \u003cint\u003e] [-Property \u003cObject[]\u003e] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Culture \u003cstring\u003e] [-CaseSensitive] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertFrom-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject[]\u003e [[-Delimiter] \u003cchar\u003e] [-Header \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cpsobject[]\u003e -UseCulture [-Header \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertFrom-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertFrom-StringData", + "CommandType": "Cmdlet", + "ParameterSets": "[-StringData] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject\u003e [[-Delimiter] \u003cchar\u003e] [-NoTypeInformation] [\u003cCommonParameters\u003e] [-InputObject] \u003cpsobject\u003e [-UseCulture] [-NoTypeInformation] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Html", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [[-Head] \u003cstring[]\u003e] [[-Title] \u003cstring\u003e] [[-Body] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-As \u003cstring\u003e] [-CssUri \u003curi\u003e] [-PostContent \u003cstring[]\u003e] [-PreContent \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Property] \u003cObject[]\u003e] [-InputObject \u003cpsobject\u003e] [-As \u003cstring\u003e] [-Fragment] [-PostContent \u003cstring[]\u003e] [-PreContent \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Json", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cObject\u003e [-Depth \u003cint\u003e] [-Compress] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject\u003e [-Depth \u003cint\u003e] [-NoTypeInformation] [-As \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] \u003cBreakpoint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Breakpoint] \u003cBreakpoint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [[-Name] \u003cstring[]\u003e] [-PassThru] [-As \u003cExportAliasFormat\u003e] [-Append] [-Force] [-NoClobber] [-Description \u003cstring\u003e] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -LiteralPath \u003cstring\u003e [-PassThru] [-As \u003cExportAliasFormat\u003e] [-Append] [-Force] [-NoClobber] [-Description \u003cstring\u003e] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e -InputObject \u003cpsobject\u003e [-Depth \u003cint\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e -InputObject \u003cpsobject\u003e [-Depth \u003cint\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [[-Delimiter] \u003cchar\u003e] -InputObject \u003cpsobject\u003e [-LiteralPath \u003cstring\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-Append] [-NoTypeInformation] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Path] \u003cstring\u003e] -InputObject \u003cpsobject\u003e [-LiteralPath \u003cstring\u003e] [-Force] [-NoClobber] [-Encoding \u003cstring\u003e] [-Append] [-UseCulture] [-NoTypeInformation] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "-InputObject \u003cExtendedTypeDefinition[]\u003e -Path \u003cstring\u003e [-Force] [-NoClobber] [-IncludeScriptBlock] [\u003cCommonParameters\u003e] -InputObject \u003cExtendedTypeDefinition[]\u003e -LiteralPath \u003cstring\u003e [-Force] [-NoClobber] [-IncludeScriptBlock] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession\u003e [-OutputModule] \u003cstring\u003e [[-CommandName] \u003cstring[]\u003e] [[-FormatTypeName] \u003cstring[]\u003e] [-Force] [-Encoding \u003cstring\u003e] [-AllowClobber] [-ArgumentList \u003cObject[]\u003e] [-CommandType \u003cCommandTypes\u003e] [-Module \u003cstring[]\u003e] [-Certificate \u003cX509Certificate2\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Custom", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-Depth \u003cint\u003e] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-List", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Table", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Wide", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject\u003e] [-AutoSize] [-Column \u003cint\u003e] [-GroupBy \u003cObject\u003e] [-View \u003cstring\u003e] [-ShowError] [-DisplayError] [-Force] [-Expand \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Exclude \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [-Definition \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Culture", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Date] \u003cdatetime\u003e] [-Year \u003cint\u003e] [-Month \u003cint\u003e] [-Day \u003cint\u003e] [-Hour \u003cint\u003e] [-Minute \u003cint\u003e] [-Second \u003cint\u003e] [-Millisecond \u003cint\u003e] [-DisplayHint \u003cDisplayHintType\u003e] [-Format \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Date] \u003cdatetime\u003e] [-Year \u003cint\u003e] [-Month \u003cint\u003e] [-Day \u003cint\u003e] [-Hour \u003cint\u003e] [-Minute \u003cint\u003e] [-Second \u003cint\u003e] [-Millisecond \u003cint\u003e] [-DisplayHint \u003cDisplayHintType\u003e] [-UFormat \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-EventIdentifier] \u003cint\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-EventSubscriber", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e] [-SubscriptionId] \u003cint\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Member", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-MemberType \u003cPSMemberTypes\u003e] [-View \u003cPSMemberViewTypes\u003e] [-Static] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Script] \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Type] \u003cBreakpointType[]\u003e [-Script \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -Command \u003cstring[]\u003e [-Script \u003cstring[]\u003e] [\u003cCommonParameters\u003e] -Variable \u003cstring[]\u003e [-Script \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSCallStack", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Random", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Maximum] \u003cObject\u003e] [-SetSeed \u003cint\u003e] [-Minimum \u003cObject\u003e] [\u003cCommonParameters\u003e] [-InputObject] \u003cObject[]\u003e [-SetSeed \u003cint\u003e] [-Count \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-TypeName] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UICulture", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Unique", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject \u003cpsobject\u003e] [-AsString] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-OnType] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ValueOnly] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Group-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-NoElement] [-AsHashTable] [-AsString] [-InputObject \u003cpsobject\u003e] [-Culture \u003cstring\u003e] [-CaseSensitive] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-Scope \u003cstring\u003e] [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e [-Scope \u003cstring\u003e] [-PassThru] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Clixml", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-IncludeTotalCount] [-Skip \u003cuint64\u003e] [-First \u003cuint64\u003e] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-IncludeTotalCount] [-Skip \u003cuint64\u003e] [-First \u003cuint64\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Csv", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-Delimiter] \u003cchar\u003e] [-LiteralPath \u003cstring[]\u003e] [-Header \u003cstring[]\u003e] [-Encoding \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] -UseCulture [-LiteralPath \u003cstring[]\u003e] [-Header \u003cstring[]\u003e] [-Encoding \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-LocalizedData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-BindingVariable] \u003cstring\u003e] [[-UICulture] \u003cstring\u003e] [-BaseDirectory \u003cstring\u003e] [-FileName \u003cstring\u003e] [-SupportedCommand \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession\u003e [[-CommandName] \u003cstring[]\u003e] [[-FormatTypeName] \u003cstring[]\u003e] [-Prefix \u003cstring\u003e] [-DisableNameChecking] [-AllowClobber] [-ArgumentList \u003cObject[]\u003e] [-CommandType \u003cCommandTypes\u003e] [-Module \u003cstring[]\u003e] [-Certificate \u003cX509Certificate2\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-Expression", + "CommandType": "Cmdlet", + "ParameterSets": "[-Command] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-RestMethod", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] \u003curi\u003e [-Method \u003cWebRequestMethod\u003e] [-WebSession \u003cWebRequestSession\u003e] [-SessionVariable \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-CertificateThumbprint \u003cstring\u003e] [-Certificate \u003cX509Certificate\u003e] [-UserAgent \u003cstring\u003e] [-DisableKeepAlive] [-TimeoutSec \u003cint\u003e] [-Headers \u003cIDictionary\u003e] [-MaximumRedirection \u003cint\u003e] [-Proxy \u003curi\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyUseDefaultCredentials] [-Body \u003cObject\u003e] [-ContentType \u003cstring\u003e] [-TransferEncoding \u003cstring\u003e] [-InFile \u003cstring\u003e] [-OutFile \u003cstring\u003e] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-WebRequest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Uri] \u003curi\u003e [-UseBasicParsing] [-WebSession \u003cWebRequestSession\u003e] [-SessionVariable \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-CertificateThumbprint \u003cstring\u003e] [-Certificate \u003cX509Certificate\u003e] [-UserAgent \u003cstring\u003e] [-DisableKeepAlive] [-TimeoutSec \u003cint\u003e] [-Headers \u003cIDictionary\u003e] [-MaximumRedirection \u003cint\u003e] [-Method \u003cWebRequestMethod\u003e] [-Proxy \u003curi\u003e] [-ProxyCredential \u003cpscredential\u003e] [-ProxyUseDefaultCredentials] [-Body \u003cObject\u003e] [-ContentType \u003cstring\u003e] [-TransferEncoding \u003cstring\u003e] [-InFile \u003cstring\u003e] [-OutFile \u003cstring\u003e] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Measure-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Expression] \u003cscriptblock\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Measure-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-Sum] [-Average] [-Maximum] [-Minimum] [\u003cCommonParameters\u003e] [[-Property] \u003cstring[]\u003e] [-InputObject \u003cpsobject\u003e] [-Line] [-Word] [-Character] [-IgnoreWhiteSpace] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-Value] \u003cstring\u003e [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-PassThru] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [[-Sender] \u003cpsobject\u003e] [[-EventArguments] \u003cpsobject[]\u003e] [[-MessageData] \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-TypeName] \u003cstring\u003e [[-ArgumentList] \u003cObject[]\u003e] [-Property \u003cIDictionary\u003e] [\u003cCommonParameters\u003e] [-ComObject] \u003cstring\u003e [-Strict] [-Property \u003cIDictionary\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-TimeSpan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Start] \u003cdatetime\u003e] [[-End] \u003cdatetime\u003e] [\u003cCommonParameters\u003e] [-Days \u003cint\u003e] [-Hours \u003cint\u003e] [-Minutes \u003cint\u003e] [-Seconds \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [[-Value] \u003cObject\u003e] [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-Visibility \u003cSessionStateEntryVisibility\u003e] [-Force] [-PassThru] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [[-Encoding] \u003cstring\u003e] [-Append] [-Force] [-NoClobber] [-Width \u003cint\u003e] [-InputObject \u003cpsobject\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Encoding] \u003cstring\u003e] -LiteralPath \u003cstring\u003e [-Append] [-Force] [-NoClobber] [-Width \u003cint\u003e] [-InputObject \u003cpsobject\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-GridView", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject \u003cpsobject\u003e] [-Title \u003cstring\u003e] [-PassThru] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-Title \u003cstring\u003e] [-Wait] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-Title \u003cstring\u003e] [-OutputMode \u003cOutputModeOption\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Printer", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Stream] [-Width \u003cint\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Read-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Prompt] \u003cObject\u003e] [-AsSecureString] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-EngineEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [[-Action] \u003cscriptblock\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ObjectEvent", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject\u003e [-EventName] \u003cstring\u003e [[-SourceIdentifier] \u003cstring\u003e] [[-Action] \u003cscriptblock\u003e] [-MessageData \u003cpsobject\u003e] [-SupportEvent] [-Forward] [-MaxTriggerCount \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-EventIdentifier] \u003cint\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Breakpoint] \u003cBreakpoint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "-TypeData \u003cTypeData\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TypeName] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Force] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Select-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-InputObject \u003cpsobject\u003e] [-ExcludeProperty \u003cstring[]\u003e] [-ExpandProperty \u003cstring\u003e] [-Unique] [-Last \u003cint\u003e] [-First \u003cint\u003e] [-Skip \u003cint\u003e] [-Wait] [\u003cCommonParameters\u003e] [-InputObject \u003cpsobject\u003e] [-Unique] [-Wait] [-Index \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Select-String", + "CommandType": "Cmdlet", + "ParameterSets": "[-Pattern] \u003cstring[]\u003e [-Path] \u003cstring[]\u003e [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-NotMatch] [-AllMatches] [-Encoding \u003cstring\u003e] [-Context \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Pattern] \u003cstring[]\u003e -InputObject \u003cpsobject\u003e [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-NotMatch] [-AllMatches] [-Encoding \u003cstring\u003e] [-Context \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Pattern] \u003cstring[]\u003e -LiteralPath \u003cstring[]\u003e [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-NotMatch] [-AllMatches] [-Encoding \u003cstring\u003e] [-Context \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Select-Xml", + "CommandType": "Cmdlet", + "ParameterSets": "[-XPath] \u003cstring\u003e [-Xml] \u003cXmlNode[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e] [-XPath] \u003cstring\u003e [-Path] \u003cstring[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e] [-XPath] \u003cstring\u003e -LiteralPath \u003cstring[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e] [-XPath] \u003cstring\u003e -Content \u003cstring[]\u003e [-Namespace \u003chashtable\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Send-MailMessage", + "CommandType": "Cmdlet", + "ParameterSets": "[-To] \u003cstring[]\u003e [-Subject] \u003cstring\u003e [[-Body] \u003cstring\u003e] [[-SmtpServer] \u003cstring\u003e] -From \u003cstring\u003e [-Attachments \u003cstring[]\u003e] [-Bcc \u003cstring[]\u003e] [-BodyAsHtml] [-Encoding \u003cEncoding\u003e] [-Cc \u003cstring[]\u003e] [-DeliveryNotificationOption \u003cDeliveryNotificationOptions\u003e] [-Priority \u003cMailPriority\u003e] [-Credential \u003cpscredential\u003e] [-UseSsl] [-Port \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Alias", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-Value] \u003cstring\u003e [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-PassThru] [-Scope \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Date", + "CommandType": "Cmdlet", + "ParameterSets": "[-Date] \u003cdatetime\u003e [-DisplayHint \u003cDisplayHintType\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Adjust] \u003ctimespan\u003e [-DisplayHint \u003cDisplayHintType\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PSBreakpoint", + "CommandType": "Cmdlet", + "ParameterSets": "[-Script] \u003cstring[]\u003e [-Line] \u003cint[]\u003e [[-Column] \u003cint\u003e] [-Action \u003cscriptblock\u003e] [\u003cCommonParameters\u003e] [[-Script] \u003cstring[]\u003e] -Command \u003cstring[]\u003e [-Action \u003cscriptblock\u003e] [\u003cCommonParameters\u003e] [[-Script] \u003cstring[]\u003e] -Variable \u003cstring[]\u003e [-Action \u003cscriptblock\u003e] [-Mode \u003cVariableAccessMode\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-TraceSource", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-Option] \u003cPSTraceSourceOptions\u003e] [-ListenerOption \u003cTraceOptions\u003e] [-FilePath \u003cstring\u003e] [-Force] [-Debugger] [-PSHost] [-PassThru] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-RemoveListener \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-RemoveFileListener \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Variable", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-Value] \u003cObject\u003e] [-Include \u003cstring[]\u003e] [-Exclude \u003cstring[]\u003e] [-Description \u003cstring\u003e] [-Option \u003cScopedItemOptions\u003e] [-Force] [-Visibility \u003cSessionStateEntryVisibility\u003e] [-PassThru] [-Scope \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-Height \u003cdouble\u003e] [-Width \u003cdouble\u003e] [-NoCommonParameter] [-ErrorPopup] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Sort-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cObject[]\u003e] [-Descending] [-Unique] [-InputObject \u003cpsobject\u003e] [-Culture \u003cstring\u003e] [-CaseSensitive] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Sleep", + "CommandType": "Cmdlet", + "ParameterSets": "[-Seconds] \u003cint\u003e [\u003cCommonParameters\u003e] -Milliseconds \u003cint\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Tee-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [-Append] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] -Variable \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Trace-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Expression] \u003cscriptblock\u003e [[-Option] \u003cPSTraceSourceOptions\u003e] [-InputObject \u003cpsobject\u003e] [-ListenerOption \u003cTraceOptions\u003e] [-FilePath \u003cstring\u003e] [-Force] [-Debugger] [-PSHost] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Command] \u003cstring\u003e [[-Option] \u003cPSTraceSourceOptions\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-ListenerOption \u003cTraceOptions\u003e] [-FilePath \u003cstring\u003e] [-Force] [-Debugger] [-PSHost] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unblock-File", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[-SourceIdentifier] \u003cstring\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-SubscriptionId] \u003cint\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-FormatData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] \u003cstring[]\u003e] [-PrependPath \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-List", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Property] \u003cstring\u003e] [-Add \u003cObject[]\u003e] [-Remove \u003cObject[]\u003e] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [[-Property] \u003cstring\u003e] -Replace \u003cObject[]\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-TypeData", + "CommandType": "Cmdlet", + "ParameterSets": "[[-AppendPath] \u003cstring[]\u003e] [-PrependPath \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -TypeName \u003cstring\u003e [-MemberType \u003cPSMemberTypes\u003e] [-MemberName \u003cstring\u003e] [-Value \u003cObject\u003e] [-SecondValue \u003cObject\u003e] [-TypeConverter \u003ctype\u003e] [-TypeAdapter \u003ctype\u003e] [-SerializationMethod \u003cstring\u003e] [-TargetTypeForDeserialization \u003ctype\u003e] [-SerializationDepth \u003cint\u003e] [-DefaultDisplayProperty \u003cstring\u003e] [-InheritPropertySerializationSet \u003cbool\u003e] [-StringSerializationSource \u003cstring\u003e] [-DefaultDisplayPropertySet \u003cstring[]\u003e] [-DefaultKeyPropertySet \u003cstring[]\u003e] [-PropertySerializationSet \u003cstring[]\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TypeData] \u003cTypeData[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Wait-Event", + "CommandType": "Cmdlet", + "ParameterSets": "[[-SourceIdentifier] \u003cstring\u003e] [-Timeout \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Debug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Error", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [-Category \u003cErrorCategory\u003e] [-ErrorId \u003cstring\u003e] [-TargetObject \u003cObject\u003e] [-RecommendedAction \u003cstring\u003e] [-CategoryActivity \u003cstring\u003e] [-CategoryReason \u003cstring\u003e] [-CategoryTargetName \u003cstring\u003e] [-CategoryTargetType \u003cstring\u003e] [\u003cCommonParameters\u003e] -Exception \u003cException\u003e [-Message \u003cstring\u003e] [-Category \u003cErrorCategory\u003e] [-ErrorId \u003cstring\u003e] [-TargetObject \u003cObject\u003e] [-RecommendedAction \u003cstring\u003e] [-CategoryActivity \u003cstring\u003e] [-CategoryReason \u003cstring\u003e] [-CategoryTargetName \u003cstring\u003e] [-CategoryTargetType \u003cstring\u003e] [\u003cCommonParameters\u003e] -ErrorRecord \u003cErrorRecord\u003e [-RecommendedAction \u003cstring\u003e] [-CategoryActivity \u003cstring\u003e] [-CategoryReason \u003cstring\u003e] [-CategoryTargetName \u003cstring\u003e] [-CategoryTargetType \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Object] \u003cObject\u003e] [-NoNewline] [-Separator \u003cObject\u003e] [-ForegroundColor \u003cConsoleColor\u003e] [-BackgroundColor \u003cConsoleColor\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Output", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cpsobject[]\u003e [-NoEnumerate] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Progress", + "CommandType": "Cmdlet", + "ParameterSets": "[-Activity] \u003cstring\u003e [[-Status] \u003cstring\u003e] [[-Id] \u003cint\u003e] [-PercentComplete \u003cint\u003e] [-SecondsRemaining \u003cint\u003e] [-CurrentOperation \u003cstring\u003e] [-ParentId \u003cint\u003e] [-Completed] [-SourceId \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Verbose", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-Warning", + "CommandType": "Cmdlet", + "ParameterSets": "[-Message] \u003cstring\u003e [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Microsoft.WSMan.Management", + "Version": "3.0.0.0", + "ExportedCommands": [ + { + "Name": "Connect-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ConnectionURI \u003curi\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[-Role] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[-Role] \u003cstring\u003e [[-DelegateComputer] \u003cstring[]\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WSManCredSSP", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-ConnectionURI \u003curi\u003e] [-Dialect \u003curi\u003e] [-Fragment \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SelectorSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e -Enumerate [-ApplicationName \u003cstring\u003e] [-BasePropertiesOnly] [-ComputerName \u003cstring\u003e] [-ConnectionURI \u003curi\u003e] [-Dialect \u003curi\u003e] [-Filter \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-Associations] [-ReturnType \u003cstring\u003e] [-SessionOption \u003cSessionOption\u003e] [-Shallow] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-WSManAction", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-Action] \u003cstring\u003e [[-SelectorSet] \u003chashtable\u003e] [-ConnectionURI \u003curi\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [-Action] \u003cstring\u003e [[-SelectorSet] \u003chashtable\u003e] [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ConnectionURI \u003curi\u003e] [-FilePath \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-WSManSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-ProxyAccessType \u003cProxyAccessType\u003e] [-ProxyAuthentication \u003cProxyAuthentication\u003e] [-ProxyCredential \u003cpscredential\u003e] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-SPNPort \u003cint\u003e] [-OperationTimeout \u003cint\u003e] [-NoEncryption] [-UseUTF16] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [-SelectorSet] \u003chashtable\u003e [-ConnectionURI \u003curi\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WSManInstance", + "CommandType": "Cmdlet", + "ParameterSets": "[-ResourceURI] \u003curi\u003e [[-SelectorSet] \u003chashtable\u003e] [-ApplicationName \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Dialect \u003curi\u003e] [-FilePath \u003cstring\u003e] [-Fragment \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-Port \u003cint\u003e] [-SessionOption \u003cSessionOption\u003e] [-UseSSL] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ResourceURI] \u003curi\u003e [[-SelectorSet] \u003chashtable\u003e] [-ConnectionURI \u003curi\u003e] [-Dialect \u003curi\u003e] [-FilePath \u003cstring\u003e] [-Fragment \u003cstring\u003e] [-OptionSet \u003chashtable\u003e] [-SessionOption \u003cSessionOption\u003e] [-ValueSet \u003chashtable\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WSManQuickConfig", + "CommandType": "Cmdlet", + "ParameterSets": "[-UseSSL] [-Force] [-SkipNetworkProfileCheck] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-WSMan", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ApplicationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "MMAgent", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Debug-MMAppPrelaunch", + "CommandType": "Function", + "ParameterSets": "-PackageFullName \u003cstring\u003e -PackageRelativeAppId \u003cstring\u003e [-DisableDebugMode] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-MMAgent", + "CommandType": "Function", + "ParameterSets": "[-ApplicationLaunchPrefetching] [-ApplicationPreLaunch] [-OperationAPI] [-PageCombining] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-MMAgent", + "CommandType": "Function", + "ParameterSets": "[-ApplicationLaunchPrefetching] [-OperationAPI] [-PageCombining] [-ApplicationPreLaunch] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-MMAgent", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-MMAgent", + "CommandType": "Function", + "ParameterSets": "-MaxOperationAPIFiles \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "MsDtc", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e -Local \u003cbool\u003e -Service \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e -Local \u003cbool\u003e -ExecutablePath \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e -ComPlusAppId \u003cstring\u003e -Local \u003cbool\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Dtc", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcAdvancedHostSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcAdvancedSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e [-DtcName \u003cstring\u003e] [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcClusterDefault", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcDefault", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcLog", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcNetworkSetting", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransaction", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransactionsStatistics", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DtcTransactionsTraceSetting", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Install-Dtc", + "CommandType": "Function", + "ParameterSets": "[-LogPath \u003cstring\u003e] [-StartType \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "-All [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-DtcLog", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcAdvancedHostSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -Value \u003cstring\u003e -Type \u003cstring\u003e [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcAdvancedSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -Value \u003cstring\u003e -Type \u003cstring\u003e [-DtcName \u003cstring\u003e] [-Subkey \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcClusterDefault", + "CommandType": "Function", + "ParameterSets": "-DtcResourceName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcClusterTMMapping", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -Service \u003cstring\u003e [-ClusterResourceName \u003cstring\u003e] [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ClusterResourceName \u003cstring\u003e [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -Local \u003cbool\u003e [-ClusterResourceName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ExecutablePath \u003cstring\u003e [-ClusterResourceName \u003cstring\u003e] [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -ComPlusAppId \u003cstring\u003e [-ClusterResourceName \u003cstring\u003e] [-Local \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcDefault", + "CommandType": "Function", + "ParameterSets": "[-ServerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcLog", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-Path \u003cstring\u003e] [-SizeInMB \u003cuint32\u003e] [-MaxSizeInMB \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcNetworkSetting", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-InboundTransactionsEnabled \u003cbool\u003e] [-OutboundTransactionsEnabled \u003cbool\u003e] [-RemoteClientAccessEnabled \u003cbool\u003e] [-RemoteAdministrationAccessEnabled \u003cbool\u003e] [-XATransactionsEnabled \u003cbool\u003e] [-LUTransactionsEnabled \u003cbool\u003e] [-AuthenticationLevel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisableNetworkAccess [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcTransaction", + "CommandType": "Function", + "ParameterSets": "-TransactionId \u003cguid\u003e -Trace [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -TransactionId \u003cguid\u003e -Forget [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -TransactionId \u003cguid\u003e -Commit [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -TransactionId \u003cguid\u003e -Abort [-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "-BufferCount \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DtcTransactionsTraceSetting", + "CommandType": "Function", + "ParameterSets": "-AllTransactionsTracingEnabled \u003cbool\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AbortedTransactionsTracingEnabled \u003cbool\u003e] [-LongLivedTransactionsTracingEnabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Dtc", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Dtc", + "CommandType": "Function", + "ParameterSets": "[-DtcName \u003cstring\u003e] [-Recursive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Dtc", + "CommandType": "Function", + "ParameterSets": "[[-LocalComputerName] \u003cstring\u003e] [[-RemoteComputerName] \u003cstring\u003e] [[-ResourceManagerPort] \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Uninstall-Dtc", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-DtcTransactionsTraceSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Complete-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Join-DtcDiagnosticResourceManager", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [[-ComputerName] \u003cstring\u003e] [[-Port] \u003cint\u003e] [-Volatile] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Timeout] \u003cint\u003e] [[-IsolationLevel] \u003cIsolationLevel\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Receive-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [[-Port] \u003cint\u003e] [[-PropagationMethod] \u003cDtcTransactionPropagation\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Send-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [[-ComputerName] \u003cstring\u003e] [[-Port] \u003cint\u003e] [[-PropagationMethod] \u003cDtcTransactionPropagation\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-DtcDiagnosticResourceManager", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Port] \u003cint\u003e] [[-Name] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-DtcDiagnosticResourceManager", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Job] \u003cDtcDiagnosticResourceManagerJob\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-InstanceId] \u003cguid\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Undo-DtcDiagnosticTransaction", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transaction] \u003cDtcDiagnosticTransaction\u003e [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetAdapter", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterBindingSettingData[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterChecksumOffloadSettingData[]\u003e [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterEncapsulatedPacketTaskOffloadSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterIPsecOffloadV2SettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterLsoSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterPowerManagementSettingData[]\u003e [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterQosSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRdmaSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRscSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRssSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterSriovSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterVmqSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterBindingSettingData[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterChecksumOffloadSettingData[]\u003e [-IpIPv4] [-TcpIPv4] [-TcpIPv6] [-UdpIPv4] [-UdpIPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterEncapsulatedPacketTaskOffloadSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterIPsecOffloadV2SettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterLsoSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterPowerManagementSettingData[]\u003e [-ArpOffload] [-D0PacketCoalescing] [-DeviceSleepOnDisconnect] [-NSOffload] [-RsnRekeyOffload] [-SelectiveSuspend] [-WakeOnMagicPacket] [-WakeOnPattern] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterQosSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRdmaSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRscSettingData[]\u003e [-IPv4] [-IPv6] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRssSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterSriovSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterVmqSettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-Physical] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Physical] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cuint32[]\u003e [-IncludeHidden] [-Physical] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterHardwareInfo", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IPv4OperationalState \u003cbool[]\u003e] [-IPv6OperationalState \u003cbool[]\u003e] [-IPv4FailureReason \u003cFailureReason[]\u003e] [-IPv6FailureReason \u003cFailureReason[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IPv4OperationalState \u003cbool[]\u003e] [-IPv6OperationalState \u003cbool[]\u003e] [-IPv4FailureReason \u003cFailureReason[]\u003e] [-IPv6FailureReason \u003cFailureReason[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterSriovVf", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterStatistics", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterVmqQueue", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Id \u003cuint32[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-Id \u003cuint32[]\u003e] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetAdapterVPort", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-VPortID \u003cuint32[]\u003e] [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-PhysicalFunction] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-VPortID \u003cuint32[]\u003e] [-SwitchID \u003cuint32[]\u003e] [-FunctionID \u003cuint16[]\u003e] [-PhysicalFunction] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e -RegistryKeyword \u003cstring\u003e -RegistryValue \u003cstring[]\u003e [-RegistryDataType \u003cRegDataType\u003e] [-NoRestart] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring\u003e -RegistryKeyword \u003cstring\u003e -RegistryValue \u003cstring[]\u003e [-RegistryDataType \u003cRegDataType\u003e] [-NoRestart] [-IncludeHidden] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -RegistryKeyword \u003cstring[]\u003e [-IncludeHidden] [-AllProperties] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterAdvancedPropertySettingData[]\u003e [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-NewName] \u003cstring\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-NewName] \u003cstring\u003e -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-NewName] \u003cstring\u003e -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e -DisplayName \u003cstring[]\u003e [-IncludeHidden] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterAdvancedPropertySettingData[]\u003e [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-VlanID \u003cuint16\u003e] [-MacAddress \u003cstring\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-VlanID \u003cuint16\u003e] [-MacAddress \u003cstring\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapter[]\u003e [-VlanID \u003cuint16\u003e] [-MacAddress \u003cstring\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterAdvancedProperty", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-RegistryKeyword \u003cstring[]\u003e] [-IncludeHidden] [-AllProperties] [-DisplayValue \u003cstring\u003e] [-RegistryValue \u003cstring[]\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-DisplayName \u003cstring[]\u003e] [-RegistryKeyword \u003cstring[]\u003e] [-IncludeHidden] [-AllProperties] [-DisplayValue \u003cstring\u003e] [-RegistryValue \u003cstring[]\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterAdvancedPropertySettingData[]\u003e [-DisplayValue \u003cstring\u003e] [-RegistryValue \u003cstring[]\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterBinding", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-Enabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-ComponentID \u003cstring[]\u003e] [-DisplayName \u003cstring[]\u003e] [-IncludeHidden] [-AllBindings] [-Enabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterBindingSettingData[]\u003e [-Enabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterChecksumOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4Enabled \u003cDirection\u003e] [-TcpIPv4Enabled \u003cDirection\u003e] [-TcpIPv6Enabled \u003cDirection\u003e] [-UdpIPv4Enabled \u003cDirection\u003e] [-UdpIPv6Enabled \u003cDirection\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IpIPv4Enabled \u003cDirection\u003e] [-TcpIPv4Enabled \u003cDirection\u003e] [-TcpIPv6Enabled \u003cDirection\u003e] [-UdpIPv4Enabled \u003cDirection\u003e] [-UdpIPv6Enabled \u003cDirection\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterChecksumOffloadSettingData[]\u003e [-IpIPv4Enabled \u003cDirection\u003e] [-TcpIPv4Enabled \u003cDirection\u003e] [-TcpIPv6Enabled \u003cDirection\u003e] [-UdpIPv4Enabled \u003cDirection\u003e] [-UdpIPv6Enabled \u003cDirection\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterEncapsulatedPacketTaskOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-EncapsulatedPacketTaskOffloadEnabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-EncapsulatedPacketTaskOffloadEnabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterEncapsulatedPacketTaskOffloadSettingData[]\u003e [-EncapsulatedPacketTaskOffloadEnabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterIPsecOffload", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterIPsecOffloadV2SettingData[]\u003e [-Enabled \u003cbool\u003e] [-NoRestart] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterLso", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-V1IPv4Enabled \u003cbool\u003e] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-V1IPv4Enabled \u003cbool\u003e] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterLsoSettingData[]\u003e [-V1IPv4Enabled \u003cbool\u003e] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterPowerManagement", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload \u003cSetting\u003e] [-D0PacketCoalescing \u003cSetting\u003e] [-DeviceSleepOnDisconnect \u003cSetting\u003e] [-NSOffload \u003cSetting\u003e] [-RsnRekeyOffload \u003cSetting\u003e] [-SelectiveSuspend \u003cSetting\u003e] [-WakeOnMagicPacket \u003cSetting\u003e] [-WakeOnPattern \u003cSetting\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-ArpOffload \u003cSetting\u003e] [-D0PacketCoalescing \u003cSetting\u003e] [-DeviceSleepOnDisconnect \u003cSetting\u003e] [-NSOffload \u003cSetting\u003e] [-RsnRekeyOffload \u003cSetting\u003e] [-SelectiveSuspend \u003cSetting\u003e] [-WakeOnMagicPacket \u003cSetting\u003e] [-WakeOnPattern \u003cSetting\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterPowerManagementSettingData[]\u003e [-ArpOffload \u003cSetting\u003e] [-D0PacketCoalescing \u003cSetting\u003e] [-DeviceSleepOnDisconnect \u003cSetting\u003e] [-NSOffload \u003cSetting\u003e] [-RsnRekeyOffload \u003cSetting\u003e] [-SelectiveSuspend \u003cSetting\u003e] [-WakeOnMagicPacket \u003cSetting\u003e] [-WakeOnPattern \u003cSetting\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterQos", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterQosSettingData[]\u003e [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterRdma", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRdmaSettingData[]\u003e [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterRsc", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRscSettingData[]\u003e [-IPv4Enabled \u003cbool\u003e] [-IPv6Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterRss", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NumberOfReceiveQueues \u003cuint32\u003e] [-Profile \u003cProfile\u003e] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessorGroup \u003cuint16\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NumberOfReceiveQueues \u003cuint32\u003e] [-Profile \u003cProfile\u003e] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessorGroup \u003cuint16\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterRssSettingData[]\u003e [-NumberOfReceiveQueues \u003cuint32\u003e] [-Profile \u003cProfile\u003e] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessorGroup \u003cuint16\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterSriov", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-NumVFs \u003cuint32\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-NumVFs \u003cuint32\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterSriovSettingData[]\u003e [-NumVFs \u003cuint32\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetAdapterVmq", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IncludeHidden] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InterfaceDescription \u003cstring[]\u003e [-IncludeHidden] [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAdapterVmqSettingData[]\u003e [-BaseProcessorGroup \u003cuint16\u003e] [-BaseProcessorNumber \u003cbyte\u003e] [-MaxProcessors \u003cuint32\u003e] [-MaxProcessorNumber \u003cbyte\u003e] [-NumaNode \u003cuint16\u003e] [-Enabled \u003cbool\u003e] [-NoRestart] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetConnection", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-NetConnectionProfile", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-NetworkCategory \u003cNetworkCategory[]\u003e] [-IPv4Connectivity \u003cIPv4Connectivity[]\u003e] [-IPv6Connectivity \u003cIPv6Connectivity[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetConnectionProfile", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-IPv4Connectivity \u003cIPv4Connectivity[]\u003e] [-IPv6Connectivity \u003cIPv6Connectivity[]\u003e] [-NetworkCategory \u003cNetworkCategory\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConnectionProfile[]\u003e [-NetworkCategory \u003cNetworkCategory\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetEventPacketCapture", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetEventNetworkAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-NetEventPacketCaptureProvider", + "CommandType": "Function", + "ParameterSets": "[-SessionName] \u003cstring\u003e [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [[-CaptureType] \u003cCaptureType\u003e] [[-MultiLayer] \u003cbool\u003e] [[-LinkLayerAddress] \u003cstring[]\u003e] [[-EtherType] \u003cuint16[]\u003e] [[-IpAddresses] \u003cstring[]\u003e] [[-IpProtocols] \u003cbyte[]\u003e] [[-TruncationLength] \u003cuint16\u003e] [[-VmCaptureDirection] \u003cVmCaptureDirection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-NetEventProvider", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-SessionName] \u003cstring\u003e [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-NetEventVmNetworkAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-NetEventVmSwitch", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetEventNetworkAdapter", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedPacketCaptureProvider \u003cCimInstance#MSFT_NetEventPacketCaptureProvider\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetEventPacketCaptureProvider", + "CommandType": "Function", + "ParameterSets": "[[-SessionName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedEventSession \u003cCimInstance#MSFT_NetEventSession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedCaptureTarget \u003cCimInstance#MSFT_NetEventPacketCaptureTarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetEventProvider", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedEventSession \u003cCimInstance#MSFT_NetEventSession\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedCaptureTarget \u003cCimInstance#MSFT_NetEventPacketCaptureTarget\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetEventSession", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedEventProvider \u003cCimInstance#MSFT_NetEventProvider\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetEventVmNetworkAdapter", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedPacketCaptureProvider \u003cCimInstance#MSFT_NetEventPacketCaptureProvider\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetEventVmSwitch", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedPacketCaptureProvider \u003cCimInstance#MSFT_NetEventPacketCaptureProvider\u003e] [-ShowInstalled] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetEventSession", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-CaptureMode \u003cCaptureModes\u003e] [-LocalFilePath \u003cstring\u003e] [-MaxFileSize \u003cuint32\u003e] [-MaxNumberOfBuffers \u003cbyte\u003e] [-TraceBufferSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetEventNetworkAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ProviderName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventNetworkAdapter[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetEventPacketCaptureProvider", + "CommandType": "Function", + "ParameterSets": "[-SessionName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventPacketCaptureProvider[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetEventProvider", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventProvider[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetEventSession", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AssociatedEventProvider \u003cCimInstance#MSFT_NetEventProvider\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventSession[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetEventVmNetworkAdapter", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventVmNetworkAdapter[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetEventVmSwitch", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventVmSwitch[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetEventPacketCaptureProvider", + "CommandType": "Function", + "ParameterSets": "[[-SessionName] \u003cstring[]\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [[-CaptureType] \u003cCaptureType\u003e] [[-MultiLayer] \u003cbool\u003e] [[-LinkLayerAddress] \u003cstring[]\u003e] [[-EtherType] \u003cuint16[]\u003e] [[-IpAddresses] \u003cstring[]\u003e] [[-IpProtocols] \u003cbyte[]\u003e] [[-TruncationLength] \u003cuint16\u003e] [[-VmCaptureDirection] \u003cVmCaptureDirection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [[-CaptureType] \u003cCaptureType\u003e] [[-MultiLayer] \u003cbool\u003e] [[-LinkLayerAddress] \u003cstring[]\u003e] [[-EtherType] \u003cuint16[]\u003e] [[-IpAddresses] \u003cstring[]\u003e] [[-IpProtocols] \u003cbyte[]\u003e] [[-TruncationLength] \u003cuint16\u003e] [[-VmCaptureDirection] \u003cVmCaptureDirection\u003e] [-AssociatedEventSession \u003cCimInstance#MSFT_NetEventSession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [[-CaptureType] \u003cCaptureType\u003e] [[-MultiLayer] \u003cbool\u003e] [[-LinkLayerAddress] \u003cstring[]\u003e] [[-EtherType] \u003cuint16[]\u003e] [[-IpAddresses] \u003cstring[]\u003e] [[-IpProtocols] \u003cbyte[]\u003e] [[-TruncationLength] \u003cuint16\u003e] [[-VmCaptureDirection] \u003cVmCaptureDirection\u003e] [-AssociatedCaptureTarget \u003cCimInstance#MSFT_NetEventPacketCaptureTarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [[-CaptureType] \u003cCaptureType\u003e] [[-MultiLayer] \u003cbool\u003e] [[-LinkLayerAddress] \u003cstring[]\u003e] [[-EtherType] \u003cuint16[]\u003e] [[-IpAddresses] \u003cstring[]\u003e] [[-IpProtocols] \u003cbyte[]\u003e] [[-TruncationLength] \u003cuint16\u003e] [[-VmCaptureDirection] \u003cVmCaptureDirection\u003e] -InputObject \u003cCimInstance#MSFT_NetEventPacketCaptureProvider[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetEventProvider", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [-AssociatedEventSession \u003cCimInstance#MSFT_NetEventSession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] [-AssociatedCaptureTarget \u003cCimInstance#MSFT_NetEventPacketCaptureTarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Level] \u003cbyte\u003e] [[-MatchAnyKeyword] \u003cuint64\u003e] [[-MatchAllKeyword] \u003cuint64\u003e] -InputObject \u003cCimInstance#MSFT_NetEventProvider[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetEventSession", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CaptureMode \u003cCaptureModes\u003e] [-LocalFilePath \u003cstring\u003e] [-MaxFileSize \u003cuint32\u003e] [-MaxNumberOfBuffers \u003cbyte\u003e] [-TraceBufferSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-AssociatedEventProvider \u003cCimInstance#MSFT_NetEventProvider\u003e] [-CaptureMode \u003cCaptureModes\u003e] [-LocalFilePath \u003cstring\u003e] [-MaxFileSize \u003cuint32\u003e] [-MaxNumberOfBuffers \u003cbyte\u003e] [-TraceBufferSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventSession[]\u003e [-CaptureMode \u003cCaptureModes\u003e] [-LocalFilePath \u003cstring\u003e] [-MaxFileSize \u003cuint32\u003e] [-MaxNumberOfBuffers \u003cbyte\u003e] [-TraceBufferSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-NetEventSession", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventSession[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-NetEventSession", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetEventSession[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetLbfo", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cWildcardPattern\u003e [-Team] \u003cstring\u003e [[-AdministrativeMode] \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[-Team] \u003cstring\u003e [-VlanID] \u003cuint32\u003e [[-Name] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MemberOfTheTeam \u003cCimInstance#MSFT_NetLbfoTeamMember\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TeamNicForTheTeam \u003cCimInstance#MSFT_NetLbfoTeamNic\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TeamOfTheMember \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TeamOfTheTeamNic \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-TeamMembers] \u003cWildcardPattern[]\u003e [[-TeamNicName] \u003cstring\u003e] [[-TeamingMode] \u003cTeamingModes\u003e] [[-LoadBalancingAlgorithm] \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeam[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Team] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamMember[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[-Team] \u003cstring[]\u003e [-VlanID] \u003cuint32[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamNic[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetLbfoTeam", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MemberOfTheTeam \u003cCimInstance#MSFT_NetLbfoTeamMember\u003e] [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TeamNicForTheTeam \u003cCimInstance#MSFT_NetLbfoTeamNic\u003e] [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeam[]\u003e [-TeamingMode \u003cTeamingModes\u003e] [-LoadBalancingAlgorithm \u003cLBAlgos\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetLbfoTeamMember", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-AdministrativeMode \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TeamOfTheMember \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-AdministrativeMode \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamMember[]\u003e [-AdministrativeMode \u003cAdminModes\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetLbfoTeamNic", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-VlanID \u003cuint32\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TeamOfTheTeamNic \u003cCimInstance#MSFT_NetLbfoTeam\u003e] [-VlanID \u003cuint32\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetLbfoTeamNic[]\u003e [-VlanID \u003cuint32\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetNat", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetNatExternalAddress", + "CommandType": "Function", + "ParameterSets": "[-NatName] \u003cstring\u003e -IPAddress \u003cstring\u003e [-PortStart \u003cuint16\u003e] [-PortEnd \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-NetNatStaticMapping", + "CommandType": "Function", + "ParameterSets": "[-NatName] \u003cstring\u003e -Protocol \u003cProtocol\u003e -ExternalIPAddress \u003cstring\u003e -ExternalPort \u003cuint16\u003e -InternalIPAddress \u003cstring\u003e [-RemoteExternalIPAddressPrefix \u003cstring\u003e] [-InternalPort \u003cuint16\u003e] [-InternalRoutingDomainId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNat", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatExternalAddress", + "CommandType": "Function", + "ParameterSets": "[[-NatName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatGlobal", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatSession", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatStaticMapping", + "CommandType": "Function", + "ParameterSets": "[[-NatName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetNat", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e -ExternalIPInterfaceAddressPrefix \u003cstring\u003e [-InternalRoutingDomainId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetNat", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNat[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetNatExternalAddress", + "CommandType": "Function", + "ParameterSets": "[[-NatName] \u003cstring[]\u003e] [-ExternalAddressID \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatExternalAddress[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetNatStaticMapping", + "CommandType": "Function", + "ParameterSets": "[[-NatName] \u003cstring[]\u003e] [-StaticMappingID \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatStaticMapping[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetNat", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-IcmpQueryTimeout \u003cuint32\u003e] [-TcpEstablishedConnectionTimeout \u003cuint32\u003e] [-TcpTransientConnectionTimeout \u003cuint32\u003e] [-TcpFilteringBehavior \u003cFilteringBehaviorType\u003e] [-UdpFilteringBehavior \u003cFilteringBehaviorType\u003e] [-UdpIdleSessionTimeout \u003cuint32\u003e] [-UdpInboundRefresh \u003cBoolean\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNat[]\u003e [-IcmpQueryTimeout \u003cuint32\u003e] [-TcpEstablishedConnectionTimeout \u003cuint32\u003e] [-TcpTransientConnectionTimeout \u003cuint32\u003e] [-TcpFilteringBehavior \u003cFilteringBehaviorType\u003e] [-UdpFilteringBehavior \u003cFilteringBehaviorType\u003e] [-UdpIdleSessionTimeout \u003cuint32\u003e] [-UdpInboundRefresh \u003cBoolean\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetNatGlobal", + "CommandType": "Function", + "ParameterSets": "-InterRoutingDomainHairpinningMode \u003cInterRoutingDomainHairpinningMode\u003e [-InputObject \u003cCimInstance#MSFT_NetNatGlobal[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetQos", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-IPSrcPrefixMatchCondition \u003cstring\u003e] [-IPSrcPortMatchCondition \u003cuint16\u003e] [-IPSrcPortStartMatchCondition \u003cuint16\u003e] [-IPSrcPortEndMatchCondition \u003cuint16\u003e] [-IPDstPortMatchCondition \u003cuint16\u003e] [-IPDstPortStartMatchCondition \u003cuint16\u003e] [-IPDstPortEndMatchCondition \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -IPPortMatchCondition \u003cuint16\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -PriorityValue8021Action \u003csbyte\u003e -NetDirectPortMatchCondition \u003cuint16\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -URIMatchCondition \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-DSCPAction \u003csbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-URIRecursiveMatchCondition \u003cbool\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Cluster [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -SMB [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -NFS [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -LiveMigration [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -iSCSI [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -PriorityValue8021Action \u003csbyte\u003e -FCOE [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Default [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetQosPolicySettingData[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetQosPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-TemplateMatchCondition \u003cTemplate\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-IPPortMatchCondition \u003cuint16\u003e] [-IPSrcPrefixMatchCondition \u003cstring\u003e] [-IPSrcPortMatchCondition \u003cuint16\u003e] [-IPSrcPortStartMatchCondition \u003cuint16\u003e] [-IPSrcPortEndMatchCondition \u003cuint16\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-IPDstPortMatchCondition \u003cuint16\u003e] [-IPDstPortStartMatchCondition \u003cuint16\u003e] [-IPDstPortEndMatchCondition \u003cuint16\u003e] [-NetDirectPortMatchCondition \u003cuint16\u003e] [-URIMatchCondition \u003cstring\u003e] [-URIRecursiveMatchCondition \u003cbool\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetQosPolicySettingData[]\u003e [-NetworkProfile \u003cNetworkProfile\u003e] [-Precedence \u003cuint32\u003e] [-TemplateMatchCondition \u003cTemplate\u003e] [-UserMatchCondition \u003cstring\u003e] [-AppPathNameMatchCondition \u003cstring\u003e] [-IPProtocolMatchCondition \u003cProtocol\u003e] [-IPPortMatchCondition \u003cuint16\u003e] [-IPSrcPrefixMatchCondition \u003cstring\u003e] [-IPSrcPortMatchCondition \u003cuint16\u003e] [-IPSrcPortStartMatchCondition \u003cuint16\u003e] [-IPSrcPortEndMatchCondition \u003cuint16\u003e] [-IPDstPrefixMatchCondition \u003cstring\u003e] [-IPDstPortMatchCondition \u003cuint16\u003e] [-IPDstPortStartMatchCondition \u003cuint16\u003e] [-IPDstPortEndMatchCondition \u003cuint16\u003e] [-NetDirectPortMatchCondition \u003cuint16\u003e] [-URIMatchCondition \u003cstring\u003e] [-URIRecursiveMatchCondition \u003cbool\u003e] [-PriorityValue8021Action \u003csbyte\u003e] [-DSCPAction \u003csbyte\u003e] [-MinBandwidthWeightAction \u003cbyte\u003e] [-ThrottleRateActionBitsPerSecond \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetSecurity", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Copy-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Copy-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-NewPolicyStore \u003cstring\u003e] [-NewGPOSession \u003cstring\u003e] [-NewName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Find-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "-RemoteAddress \u003cstring\u003e [-LocalAddress \u003cstring\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cuint16\u003e] [-RemotePort \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallAddressFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallApplicationFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Program \u003cstring[]\u003e] [-Package \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallInterfaceFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallInterfaceTypeFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InterfaceType \u003cInterfaceType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallPortFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Protocol \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallProfile", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallSecurityFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Authentication \u003cAuthentication[]\u003e] [-Encryption \u003cEncryption[]\u003e] [-OverrideBlockRules \u003cbool[]\u003e] [-LocalUser \u003cstring[]\u003e] [-RemoteUser \u003cstring[]\u003e] [-RemoteMachine \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallServiceFilter", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Service \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallRule \u003cCimInstance#MSFT_NetFirewallRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetFirewallSetting", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecMainModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeSA \u003cCimInstance#MSFT_NetQuickModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecQuickModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeSA \u003cCimInstance#MSFT_NetMainModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring\u003e -PublicInterfaceAliases \u003cWildcardPattern[]\u003e -PrivateInterfaceAliases \u003cWildcardPattern[]\u003e [-StateIdleTimeoutSeconds \u003cuint32\u003e] [-PerIPRateLimitQueueIdleTimeoutSeconds \u003cuint32\u003e] [-IpV6IPsecUnauthDscp \u003cuint32\u003e] [-IpV6IPsecUnauthRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecUnauthPerIPRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecAuthDscp \u003cuint16\u003e] [-IpV6IPsecAuthRateLimitBytesPerSec \u003cuint32\u003e] [-IcmpV6Dscp \u003cuint16\u003e] [-IcmpV6RateLimitBytesPerSec \u003cuint32\u003e] [-IpV6FilterExemptDscp \u003cuint32\u003e] [-IpV6FilterExemptRateLimitBytesPerSec \u003cuint32\u003e] [-DefBlockExemptDscp \u003cuint16\u003e] [-DefBlockExemptRateLimitBytesPerSec \u003cuint32\u003e] [-MaxStateEntries \u003cuint32\u003e] [-MaxPerIPRateLimitQueues \u003cuint32\u003e] [-EnabledKeyingModules \u003cDospKeyModules\u003e] [-FilteringFlags \u003cDospFlags\u003e] [-PublicV6Address \u003cstring\u003e] [-PrivateV6Address \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e -Proposal \u003cciminstance[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Name \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-Default] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "-DisplayName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-IPsecRuleName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Group \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Open-NetGPO", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore] \u003cstring\u003e [-DomainController \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPsecDoSPSetting[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecMainModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeSA \u003cCimInstance#MSFT_NetQuickModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeSA[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecQuickModeSA", + "CommandType": "Function", + "ParameterSets": "[-All] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeSA \u003cCimInstance#MSFT_NetMainModeSA\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetQuickModeSA[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Direction \u003cDirection[]\u003e] [-Action \u003cAction[]\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal[]\u003e] [-LooseSourceMapping \u003cbool[]\u003e] [-LocalOnlyMapping \u003cbool[]\u003e] [-Owner \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallApplicationFilter \u003cCimInstance#MSFT_NetApplicationFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallSecurityFilter \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallServiceFilter \u003cCimInstance#MSFT_NetServiceFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-MaxMinutes \u003cuint32[]\u003e] [-MaxSessions \u003cuint32[]\u003e] [-ForceDiffieHellman \u003cbool[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-MainModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeCryptoSet \u003cCimInstance#MSFT_NetIKEMMCryptoSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecMainModeRule \u003cCimInstance#MSFT_NetMainModeRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecRule \u003cCimInstance#MSFT_NetConSecRule\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e -NewName \u003cstring\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e -NewName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Save-NetGPO", + "CommandType": "Function", + "ParameterSets": "[-GPOSession] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallAddressFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetAddressFilter[]\u003e [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallApplicationFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetApplicationFilter[]\u003e [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallInterfaceFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetInterfaceFilter[]\u003e [-InterfaceAlias \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallInterfaceTypeFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetInterfaceTypeFilter[]\u003e [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallPortFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetProtocolPortFilter[]\u003e [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallProfile", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Enabled \u003cGpoBoolean\u003e] [-DefaultInboundAction \u003cAction\u003e] [-DefaultOutboundAction \u003cAction\u003e] [-AllowInboundRules \u003cGpoBoolean\u003e] [-AllowLocalFirewallRules \u003cGpoBoolean\u003e] [-AllowLocalIPsecRules \u003cGpoBoolean\u003e] [-AllowUserApps \u003cGpoBoolean\u003e] [-AllowUserPorts \u003cGpoBoolean\u003e] [-AllowUnicastResponseToMulticast \u003cGpoBoolean\u003e] [-NotifyOnListen \u003cGpoBoolean\u003e] [-EnableStealthModeForIPsec \u003cGpoBoolean\u003e] [-LogFileName \u003cstring\u003e] [-LogMaxSizeKilobytes \u003cuint64\u003e] [-LogAllowed \u003cGpoBoolean\u003e] [-LogBlocked \u003cGpoBoolean\u003e] [-LogIgnored \u003cGpoBoolean\u003e] [-DisabledInterfaceAliases \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Enabled \u003cGpoBoolean\u003e] [-DefaultInboundAction \u003cAction\u003e] [-DefaultOutboundAction \u003cAction\u003e] [-AllowInboundRules \u003cGpoBoolean\u003e] [-AllowLocalFirewallRules \u003cGpoBoolean\u003e] [-AllowLocalIPsecRules \u003cGpoBoolean\u003e] [-AllowUserApps \u003cGpoBoolean\u003e] [-AllowUserPorts \u003cGpoBoolean\u003e] [-AllowUnicastResponseToMulticast \u003cGpoBoolean\u003e] [-NotifyOnListen \u003cGpoBoolean\u003e] [-EnableStealthModeForIPsec \u003cGpoBoolean\u003e] [-LogFileName \u003cstring\u003e] [-LogMaxSizeKilobytes \u003cuint64\u003e] [-LogAllowed \u003cGpoBoolean\u003e] [-LogBlocked \u003cGpoBoolean\u003e] [-LogIgnored \u003cGpoBoolean\u003e] [-DisabledInterfaceAliases \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallProfile[]\u003e [-Enabled \u003cGpoBoolean\u003e] [-DefaultInboundAction \u003cAction\u003e] [-DefaultOutboundAction \u003cAction\u003e] [-AllowInboundRules \u003cGpoBoolean\u003e] [-AllowLocalFirewallRules \u003cGpoBoolean\u003e] [-AllowLocalIPsecRules \u003cGpoBoolean\u003e] [-AllowUserApps \u003cGpoBoolean\u003e] [-AllowUserPorts \u003cGpoBoolean\u003e] [-AllowUnicastResponseToMulticast \u003cGpoBoolean\u003e] [-NotifyOnListen \u003cGpoBoolean\u003e] [-EnableStealthModeForIPsec \u003cGpoBoolean\u003e] [-LogFileName \u003cstring\u003e] [-LogMaxSizeKilobytes \u003cuint64\u003e] [-LogAllowed \u003cGpoBoolean\u003e] [-LogBlocked \u003cGpoBoolean\u003e] [-LogIgnored \u003cGpoBoolean\u003e] [-DisabledInterfaceAliases \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetFirewallRule[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Direction \u003cDirection\u003e] [-Action \u003cAction\u003e] [-EdgeTraversalPolicy \u003cEdgeTraversal\u003e] [-LooseSourceMapping \u003cbool\u003e] [-LocalOnlyMapping \u003cbool\u003e] [-Owner \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-IcmpType \u003cstring[]\u003e] [-DynamicTarget \u003cDynamicTransport\u003e] [-Program \u003cstring\u003e] [-Package \u003cstring\u003e] [-Service \u003cstring\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallSecurityFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNetworkLayerSecurityFilter[]\u003e [-Authentication \u003cAuthentication\u003e] [-Encryption \u003cEncryption\u003e] [-OverrideBlockRules \u003cbool\u003e] [-LocalUser \u003cstring\u003e] [-RemoteUser \u003cstring\u003e] [-RemoteMachine \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallServiceFilter", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Service \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetServiceFilter[]\u003e [-Service \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetFirewallSetting", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Exemptions \u003cTrafficExemption\u003e] [-EnableStatefulFtp \u003cGpoBoolean\u003e] [-EnableStatefulPptp \u003cGpoBoolean\u003e] [-RemoteMachineTransportAuthorizationList \u003cstring\u003e] [-RemoteMachineTunnelAuthorizationList \u003cstring\u003e] [-RemoteUserTransportAuthorizationList \u003cstring\u003e] [-RemoteUserTunnelAuthorizationList \u003cstring\u003e] [-RequireFullAuthSupport \u003cGpoBoolean\u003e] [-CertValidationLevel \u003cCRLCheck\u003e] [-AllowIPsecThroughNAT \u003cIPsecThroughNAT\u003e] [-MaxSAIdleTimeSeconds \u003cuint32\u003e] [-KeyEncoding \u003cKeyEncoding\u003e] [-EnablePacketQueuing \u003cPacketQueuing\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetSecuritySettingData[]\u003e [-Exemptions \u003cTrafficExemption\u003e] [-EnableStatefulFtp \u003cGpoBoolean\u003e] [-EnableStatefulPptp \u003cGpoBoolean\u003e] [-RemoteMachineTransportAuthorizationList \u003cstring\u003e] [-RemoteMachineTunnelAuthorizationList \u003cstring\u003e] [-RemoteUserTransportAuthorizationList \u003cstring\u003e] [-RemoteUserTunnelAuthorizationList \u003cstring\u003e] [-RequireFullAuthSupport \u003cGpoBoolean\u003e] [-CertValidationLevel \u003cCRLCheck\u003e] [-AllowIPsecThroughNAT \u003cIPsecThroughNAT\u003e] [-MaxSAIdleTimeSeconds \u003cuint32\u003e] [-KeyEncoding \u003cKeyEncoding\u003e] [-EnablePacketQueuing \u003cPacketQueuing\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecDospSetting", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-StateIdleTimeoutSeconds \u003cuint32\u003e] [-PerIPRateLimitQueueIdleTimeoutSeconds \u003cuint32\u003e] [-IpV6IPsecUnauthDscp \u003cuint32\u003e] [-IpV6IPsecUnauthRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecUnauthPerIPRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecAuthDscp \u003cuint16\u003e] [-IpV6IPsecAuthRateLimitBytesPerSec \u003cuint32\u003e] [-IcmpV6Dscp \u003cuint16\u003e] [-IcmpV6RateLimitBytesPerSec \u003cuint32\u003e] [-IpV6FilterExemptDscp \u003cuint32\u003e] [-IpV6FilterExemptRateLimitBytesPerSec \u003cuint32\u003e] [-DefBlockExemptDscp \u003cuint16\u003e] [-DefBlockExemptRateLimitBytesPerSec \u003cuint32\u003e] [-MaxStateEntries \u003cuint32\u003e] [-MaxPerIPRateLimitQueues \u003cuint32\u003e] [-EnabledKeyingModules \u003cDospKeyModules\u003e] [-FilteringFlags \u003cDospFlags\u003e] [-PublicInterfaceAliases \u003cWildcardPattern[]\u003e] [-PrivateInterfaceAliases \u003cWildcardPattern[]\u003e] [-PublicV6Address \u003cstring\u003e] [-PrivateV6Address \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPsecDoSPSetting[]\u003e [-StateIdleTimeoutSeconds \u003cuint32\u003e] [-PerIPRateLimitQueueIdleTimeoutSeconds \u003cuint32\u003e] [-IpV6IPsecUnauthDscp \u003cuint32\u003e] [-IpV6IPsecUnauthRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecUnauthPerIPRateLimitBytesPerSec \u003cuint32\u003e] [-IpV6IPsecAuthDscp \u003cuint16\u003e] [-IpV6IPsecAuthRateLimitBytesPerSec \u003cuint32\u003e] [-IcmpV6Dscp \u003cuint16\u003e] [-IcmpV6RateLimitBytesPerSec \u003cuint32\u003e] [-IpV6FilterExemptDscp \u003cuint32\u003e] [-IpV6FilterExemptRateLimitBytesPerSec \u003cuint32\u003e] [-DefBlockExemptDscp \u003cuint16\u003e] [-DefBlockExemptRateLimitBytesPerSec \u003cuint32\u003e] [-MaxStateEntries \u003cuint32\u003e] [-MaxPerIPRateLimitQueues \u003cuint32\u003e] [-EnabledKeyingModules \u003cDospKeyModules\u003e] [-FilteringFlags \u003cDospFlags\u003e] [-PublicInterfaceAliases \u003cWildcardPattern[]\u003e] [-PrivateInterfaceAliases \u003cWildcardPattern[]\u003e] [-PublicV6Address \u003cstring\u003e] [-PrivateV6Address \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecMainModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEMMCryptoSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-MaxMinutes \u003cuint32\u003e] [-MaxSessions \u003cuint32\u003e] [-ForceDiffieHellman \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecMainModeRule", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetMainModeRule[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-MainModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecPhase1AuthSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP1AuthSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecPhase2AuthSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEP2AuthSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecQuickModeCryptoSet", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIKEQMCryptoSet[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Proposal \u003cciminstance[]\u003e] [-PerfectForwardSecrecyGroup \u003cDiffieHellmanGroup\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayGroup \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Group \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-NewDisplayName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Enabled \u003cEnabled\u003e] [-Profile \u003cProfile\u003e] [-Platform \u003cstring[]\u003e] [-Mode \u003cIPsecMode\u003e] [-InboundSecurity \u003cSecurityPolicy\u003e] [-OutboundSecurity \u003cSecurityPolicy\u003e] [-QuickModeCryptoSet \u003cstring\u003e] [-Phase1AuthSet \u003cstring\u003e] [-Phase2AuthSet \u003cstring\u003e] [-KeyModule \u003cKeyModule\u003e] [-AllowWatchKey \u003cbool\u003e] [-AllowSetKey \u003cbool\u003e] [-LocalTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelEndpoint \u003cstring[]\u003e] [-RemoteTunnelHostname \u003cstring\u003e] [-ForwardPathLifetime \u003cuint32\u003e] [-EncryptedTunnelBypass \u003cbool\u003e] [-RequireAuthorization \u003cbool\u003e] [-User \u003cstring\u003e] [-Machine \u003cstring\u003e] [-LocalAddress \u003cstring[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-Protocol \u003cstring\u003e] [-LocalPort \u003cstring[]\u003e] [-RemotePort \u003cstring[]\u003e] [-InterfaceAlias \u003cWildcardPattern[]\u003e] [-InterfaceType \u003cInterfaceType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-NetFirewallRule", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Sync-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "[-All] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPsecRuleName] \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DisplayName \u003cstring[]\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Description \u003cstring[]\u003e] [-DisplayGroup \u003cstring[]\u003e] [-Group \u003cstring[]\u003e] [-Enabled \u003cEnabled[]\u003e] [-Mode \u003cIPsecMode[]\u003e] [-InboundSecurity \u003cSecurityPolicy[]\u003e] [-OutboundSecurity \u003cSecurityPolicy[]\u003e] [-QuickModeCryptoSet \u003cstring[]\u003e] [-Phase1AuthSet \u003cstring[]\u003e] [-Phase2AuthSet \u003cstring[]\u003e] [-KeyModule \u003cKeyModule[]\u003e] [-AllowWatchKey \u003cbool[]\u003e] [-AllowSetKey \u003cbool[]\u003e] [-RemoteTunnelHostname \u003cstring[]\u003e] [-ForwardPathLifetime \u003cuint32[]\u003e] [-EncryptedTunnelBypass \u003cbool[]\u003e] [-RequireAuthorization \u003cbool[]\u003e] [-User \u003cstring[]\u003e] [-Machine \u003cstring[]\u003e] [-PrimaryStatus \u003cPrimaryStatus[]\u003e] [-Status \u003cstring[]\u003e] [-PolicyStoreSource \u003cstring[]\u003e] [-PolicyStoreSourceType \u003cPolicyStoreType[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallAddressFilter \u003cCimInstance#MSFT_NetAddressFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceFilter \u003cCimInstance#MSFT_NetInterfaceFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallInterfaceTypeFilter \u003cCimInstance#MSFT_NetInterfaceTypeFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallPortFilter \u003cCimInstance#MSFT_NetProtocolPortFilter\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetFirewallProfile \u003cCimInstance#MSFT_NetFirewallProfile\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase2AuthSet \u003cCimInstance#MSFT_NetIKEP2AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecPhase1AuthSet \u003cCimInstance#MSFT_NetIKEP1AuthSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -AssociatedNetIPsecQuickModeCryptoSet \u003cCimInstance#MSFT_NetIKEQMCryptoSet\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-TracePolicyStore] [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e [-Servers \u003cstring[]\u003e] [-Domains \u003cstring[]\u003e] [-EndpointType \u003cEndpointType\u003e] [-AddressType \u003cAddressVersion\u003e] [-DnsServers \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-NetIPsecRule", + "CommandType": "Function", + "ParameterSets": "-IPsecRuleName \u003cstring[]\u003e -Action \u003cChangeAction\u003e -EndpointType \u003cEndpointType\u003e [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-IPv6Addresses \u003cstring[]\u003e] [-IPv4Addresses \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetConSecRule[]\u003e -Action \u003cChangeAction\u003e -EndpointType \u003cEndpointType\u003e [-IPv6Addresses \u003cstring[]\u003e] [-IPv4Addresses \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DAPolicyChange", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Servers] \u003cstring[]\u003e] [[-Domains] \u003cstring[]\u003e] [-DisplayName] \u003cstring\u003e [[-PolicyStore] \u003cstring\u003e] [-PSLocation] \u003cstring\u003e [-EndpointType] \u003cstring\u003e [[-DnsServers] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecAuthProposal", + "CommandType": "Cmdlet", + "ParameterSets": "-User -Cert -Authority \u003cstring\u003e [-AccountMapping] [-AuthorityType \u003cCertificateAuthorityType\u003e] [-ExtendedKeyUsage \u003cstring[]\u003e] [-ExcludeCAName] [-FollowRenewal] [-SelectionCriteria] [-Signing \u003cCertificateSigningAlgorithm\u003e] [-SubjectName \u003cstring\u003e] [-SubjectNameType \u003cCertificateSubjectType\u003e] [-Thumbprint \u003cstring\u003e] [-ValidationCriteria] [\u003cCommonParameters\u003e] -Machine [-Health] -Cert -Authority \u003cstring\u003e [-AccountMapping] [-AuthorityType \u003cCertificateAuthorityType\u003e] [-ExtendedKeyUsage \u003cstring[]\u003e] [-ExcludeCAName] [-FollowRenewal] [-SelectionCriteria] [-Signing \u003cCertificateSigningAlgorithm\u003e] [-SubjectName \u003cstring\u003e] [-SubjectNameType \u003cCertificateSubjectType\u003e] [-Thumbprint \u003cstring\u003e] [-ValidationCriteria] [\u003cCommonParameters\u003e] -Anonymous [\u003cCommonParameters\u003e] -Machine -Kerberos [-Proxy \u003cstring\u003e] [\u003cCommonParameters\u003e] -User -Kerberos [-Proxy \u003cstring\u003e] [\u003cCommonParameters\u003e] -Machine [-PreSharedKey] \u003cstring\u003e [\u003cCommonParameters\u003e] -Machine -Ntlm [\u003cCommonParameters\u003e] -User -Ntlm [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecMainModeCryptoProposal", + "CommandType": "Cmdlet", + "ParameterSets": "[-Encryption \u003cEncryptionAlgorithm\u003e] [-KeyExchange \u003cDiffieHellmanGroup\u003e] [-Hash \u003cHashAlgorithm\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPsecQuickModeCryptoProposal", + "CommandType": "Cmdlet", + "ParameterSets": "[-Encryption \u003cEncryptionAlgorithm\u003e] [-AHHash \u003cHashAlgorithm\u003e] [-ESPHash \u003cHashAlgorithm\u003e] [-MaxKiloBytes \u003cuint64\u003e] [-MaxMinutes \u003cuint64\u003e] [-Encapsulation \u003cIPsecEncapsulation\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetSwitchTeam", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetSwitchTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Team] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Member \u003cCimInstance#MSFT_NetSwitchTeamMember\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetSwitchTeamMember", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-Team] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-TeamMembers] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetSwitchTeam[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetSwitchTeamMember", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Team] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetSwitchTeam", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetTCPIP", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Find-NetRoute", + "CommandType": "Function", + "ParameterSets": "-RemoteIPAddress \u003cstring\u003e [-InterfaceIndex \u003cuint32\u003e] [-LocalIPAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetCompartment", + "CommandType": "Function", + "ParameterSets": "[-CompartmentId \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Type \u003cType[]\u003e] [-PrefixLength \u003cbyte[]\u003e] [-PrefixOrigin \u003cPrefixOrigin[]\u003e] [-SuffixOrigin \u003cSuffixOrigin[]\u003e] [-AddressState \u003cAddressState[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-SkipAsSource \u003cbool[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring\u003e] [-Detailed] [-CimSession \u003cCimSession\u003e] [\u003cCommonParameters\u003e] -InterfaceIndex \u003cint\u003e [-Detailed] [-CimSession \u003cCimSession\u003e] [\u003cCommonParameters\u003e] -All [-Detailed] [-CimSession \u003cCimSession\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPInterface", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Forwarding \u003cForwarding[]\u003e] [-Advertising \u003cAdvertising[]\u003e] [-NlMtuBytes \u003cuint32[]\u003e] [-InterfaceMetric \u003cuint32[]\u003e] [-NeighborUnreachabilityDetection \u003cNeighborUnreachabilityDetection[]\u003e] [-BaseReachableTimeMs \u003cuint32[]\u003e] [-ReachableTimeMs \u003cuint32[]\u003e] [-RetransmitTimeMs \u003cuint32[]\u003e] [-DadTransmits \u003cuint32[]\u003e] [-DadRetransmitTimeMs \u003cuint32[]\u003e] [-RouterDiscovery \u003cRouterDiscovery[]\u003e] [-ManagedAddressConfiguration \u003cManagedAddressConfiguration[]\u003e] [-OtherStatefulConfiguration \u003cOtherStatefulConfiguration[]\u003e] [-WeakHostSend \u003cWeakHostSend[]\u003e] [-WeakHostReceive \u003cWeakHostReceive[]\u003e] [-IgnoreDefaultRoutes \u003cIgnoreDefaultRoutes[]\u003e] [-AdvertisedRouterLifetime \u003ctimespan[]\u003e] [-AdvertiseDefaultRoute \u003cAdvertiseDefaultRoute[]\u003e] [-CurrentHopLimit \u003cuint32[]\u003e] [-ForceArpNdWolPattern \u003cForceArpNdWolPattern[]\u003e] [-DirectedMacWolPattern \u003cDirectedMacWolPattern[]\u003e] [-EcnMarking \u003cEcnMarking[]\u003e] [-Dhcp \u003cDhcp[]\u003e] [-ConnectionState \u003cConnectionState[]\u003e] [-AutomaticMetric \u003cAutomaticMetric[]\u003e] [-NeighborDiscoverySupported \u003cNeighborDiscoverySupported[]\u003e] [-CompartmentId \u003cuint32[]\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedRoute \u003cCimInstance#MSFT_NetRoute\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedIPAddress \u003cCimInstance#MSFT_NetIPAddress\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedNeighbor \u003cCimInstance#MSFT_NetNeighbor\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AssociatedAdapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPv4Protocol", + "CommandType": "Function", + "ParameterSets": "[-DefaultHopLimit \u003cuint32[]\u003e] [-NeighborCacheLimitEntries \u003cuint32[]\u003e] [-RouteCacheLimitEntries \u003cuint32[]\u003e] [-ReassemblyLimitBytes \u003cuint32[]\u003e] [-IcmpRedirects \u003cIcmpRedirects[]\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior[]\u003e] [-DhcpMediaSense \u003cDhcpMediaSense[]\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog[]\u003e] [-IGMPLevel \u003cMldLevel[]\u003e] [-IGMPVersion \u003cMldVersion[]\u003e] [-MulticastForwarding \u003cMulticastForwarding[]\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments[]\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers[]\u003e] [-AddressMaskReply \u003cAddressMaskReply[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPv6Protocol", + "CommandType": "Function", + "ParameterSets": "[-DefaultHopLimit \u003cuint32[]\u003e] [-NeighborCacheLimitEntries \u003cuint32[]\u003e] [-RouteCacheLimitEntries \u003cuint32[]\u003e] [-ReassemblyLimitBytes \u003cuint32[]\u003e] [-IcmpRedirects \u003cIcmpRedirects[]\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior[]\u003e] [-DhcpMediaSense \u003cDhcpMediaSense[]\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog[]\u003e] [-MldLevel \u003cMldLevel[]\u003e] [-MldVersion \u003cMldVersion[]\u003e] [-MulticastForwarding \u003cMulticastForwarding[]\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments[]\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers[]\u003e] [-AddressMaskReply \u003cAddressMaskReply[]\u003e] [-UseTemporaryAddresses \u003cUseTemporaryAddresses[]\u003e] [-MaxDadAttempts \u003cuint32[]\u003e] [-MaxValidLifetime \u003ctimespan[]\u003e] [-MaxPreferredLifetime \u003ctimespan[]\u003e] [-RegenerateTime \u003ctimespan[]\u003e] [-MaxRandomTime \u003ctimespan[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-LinkLayerAddress \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetOffloadGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-ReceiveSideScaling \u003cEnabledDisabledEnum[]\u003e] [-ReceiveSegmentCoalescing \u003cEnabledDisabledEnum[]\u003e] [-Chimney \u003cChimneyEnum[]\u003e] [-TaskOffload \u003cEnabledDisabledEnum[]\u003e] [-NetworkDirect \u003cEnabledDisabledEnum[]\u003e] [-NetworkDirectAcrossIPSubnets \u003cAllowedBlockedEnum[]\u003e] [-PacketCoalescingFilter \u003cEnabledDisabledEnum[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetPrefixPolicy", + "CommandType": "Function", + "ParameterSets": "[[-Prefix] \u003cstring[]\u003e] [-Precedence \u003cuint32[]\u003e] [-Label \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetRoute", + "CommandType": "Function", + "ParameterSets": "[[-DestinationPrefix] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-NextHop \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Publish \u003cPublish[]\u003e] [-RouteMetric \u003cuint16[]\u003e] [-Protocol \u003cProtocol[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTCPConnection", + "CommandType": "Function", + "ParameterSets": "[[-LocalAddress] \u003cstring[]\u003e] [[-LocalPort] \u003cuint16[]\u003e] [-RemoteAddress \u003cstring[]\u003e] [-RemotePort \u003cuint16[]\u003e] [-State \u003cState[]\u003e] [-AppliedSetting \u003cAppliedSetting[]\u003e] [-OwningProcess \u003cuint32[]\u003e] [-CreationTime \u003cdatetime[]\u003e] [-OffloadState \u003cOffloadState[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTCPSetting", + "CommandType": "Function", + "ParameterSets": "[[-SettingName] \u003cstring[]\u003e] [-MinRtoMs \u003cuint32[]\u003e] [-InitialCongestionWindowMss \u003cuint32[]\u003e] [-CongestionProvider \u003cCongestionProvider[]\u003e] [-CwndRestart \u003cCwndRestart[]\u003e] [-DelayedAckTimeoutMs \u003cuint32[]\u003e] [-DelayedAckFrequency \u003cbyte[]\u003e] [-MemoryPressureProtection \u003cMemoryPressureProtection[]\u003e] [-AutoTuningLevelLocal \u003cAutoTuningLevelLocal[]\u003e] [-AutoTuningLevelGroupPolicy \u003cAutoTuningLevelGroupPolicy[]\u003e] [-AutoTuningLevelEffective \u003cAutoTuningLevelEffective[]\u003e] [-EcnCapability \u003cEcnCapability[]\u003e] [-Timestamps \u003cTimestamps[]\u003e] [-InitialRtoMs \u003cuint32[]\u003e] [-ScalingHeuristics \u003cScalingHeuristics[]\u003e] [-DynamicPortRangeStartPort \u003cuint16[]\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16[]\u003e] [-AutomaticUseCustom \u003cAutomaticUseCustom[]\u003e] [-NonSackRttResiliency \u003cNonSackRttResiliency[]\u003e] [-ForceWS \u003cForceWS[]\u003e] [-MaxSynRetransmissions \u003cbyte[]\u003e] [-AutoReusePortRangeStartPort \u003cuint16[]\u003e] [-AutoReusePortRangeNumberOfPorts \u003cuint16[]\u003e] [-AssociatedTransportFilter \u003cCimInstance#MSFT_NetTransportFilter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTransportFilter", + "CommandType": "Function", + "ParameterSets": "[-SettingName \u003cstring[]\u003e] [-Protocol \u003cProtocol[]\u003e] [-LocalPortStart \u003cuint16[]\u003e] [-LocalPortEnd \u003cuint16[]\u003e] [-RemotePortStart \u003cuint16[]\u003e] [-RemotePortEnd \u003cuint16[]\u003e] [-DestinationPrefix \u003cstring[]\u003e] [-AssociatedTCPSetting \u003cCimInstance#MSFT_NetTCPSetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetUDPEndpoint", + "CommandType": "Function", + "ParameterSets": "[[-LocalAddress] \u003cstring[]\u003e] [[-LocalPort] \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetUDPSetting", + "CommandType": "Function", + "ParameterSets": "[[-DynamicPortRangeStartPort] \u003cuint16[]\u003e] [[-DynamicPortRangeNumberOfPorts] \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[-IPAddress] \u003cstring\u003e -InterfaceAlias \u003cstring\u003e [-DefaultGateway \u003cstring\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-Type \u003cType\u003e] [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPAddress] \u003cstring\u003e -InterfaceIndex \u003cuint32\u003e [-DefaultGateway \u003cstring\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-Type \u003cType\u003e] [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[-IPAddress] \u003cstring\u003e -InterfaceAlias \u003cstring\u003e [-LinkLayerAddress \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-State \u003cState\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-IPAddress] \u003cstring\u003e -InterfaceIndex \u003cuint32\u003e [-LinkLayerAddress \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-State \u003cState\u003e] [-AddressFamily \u003cAddressFamily\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetRoute", + "CommandType": "Function", + "ParameterSets": "[-DestinationPrefix] \u003cstring\u003e -InterfaceAlias \u003cstring\u003e [-AddressFamily \u003cAddressFamily\u003e] [-NextHop \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-Protocol \u003cProtocol\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-DestinationPrefix] \u003cstring\u003e -InterfaceIndex \u003cuint32\u003e [-AddressFamily \u003cAddressFamily\u003e] [-NextHop \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-Protocol \u003cProtocol\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetTransportFilter", + "CommandType": "Function", + "ParameterSets": "-SettingName \u003cstring\u003e [-Protocol \u003cProtocol\u003e] [-LocalPortStart \u003cuint16\u003e] [-LocalPortEnd \u003cuint16\u003e] [-RemotePortStart \u003cuint16\u003e] [-RemotePortEnd \u003cuint16\u003e] [-DestinationPrefix \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Type \u003cType[]\u003e] [-PrefixLength \u003cbyte[]\u003e] [-PrefixOrigin \u003cPrefixOrigin[]\u003e] [-SuffixOrigin \u003cSuffixOrigin[]\u003e] [-AddressState \u003cAddressState[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-SkipAsSource \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-DefaultGateway \u003cstring\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPAddress[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-LinkLayerAddress \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNeighbor[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetRoute", + "CommandType": "Function", + "ParameterSets": "[[-DestinationPrefix] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-NextHop \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Publish \u003cPublish[]\u003e] [-RouteMetric \u003cuint16[]\u003e] [-Protocol \u003cProtocol[]\u003e] [-ValidLifetime \u003ctimespan[]\u003e] [-PreferredLifetime \u003ctimespan[]\u003e] [-AssociatedIPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetRoute[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetTransportFilter", + "CommandType": "Function", + "ParameterSets": "[-SettingName \u003cstring[]\u003e] [-Protocol \u003cProtocol[]\u003e] [-LocalPortStart \u003cuint16[]\u003e] [-LocalPortEnd \u003cuint16[]\u003e] [-RemotePortStart \u003cuint16[]\u003e] [-RemotePortEnd \u003cuint16[]\u003e] [-DestinationPrefix \u003cstring[]\u003e] [-AssociatedTCPSetting \u003cCimInstance#MSFT_NetTCPSetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetTransportFilter[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPAddress", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Type \u003cType[]\u003e] [-PrefixOrigin \u003cPrefixOrigin[]\u003e] [-SuffixOrigin \u003cSuffixOrigin[]\u003e] [-AddressState \u003cAddressState[]\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPAddress[]\u003e [-PrefixLength \u003cbyte\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-SkipAsSource \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPInterface", + "CommandType": "Function", + "ParameterSets": "[[-InterfaceAlias] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-ReachableTime \u003cuint32[]\u003e] [-NeighborDiscoverySupported \u003cNeighborDiscoverySupported[]\u003e] [-CompartmentId \u003cuint32[]\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-Forwarding \u003cForwarding\u003e] [-Advertising \u003cAdvertising\u003e] [-NlMtuBytes \u003cuint32\u003e] [-InterfaceMetric \u003cuint32\u003e] [-NeighborUnreachabilityDetection \u003cNeighborUnreachabilityDetection\u003e] [-BaseReachableTimeMs \u003cuint32\u003e] [-RetransmitTimeMs \u003cuint32\u003e] [-DadTransmits \u003cuint32\u003e] [-DadRetransmitTimeMs \u003cuint32\u003e] [-RouterDiscovery \u003cRouterDiscovery\u003e] [-ManagedAddressConfiguration \u003cManagedAddressConfiguration\u003e] [-OtherStatefulConfiguration \u003cOtherStatefulConfiguration\u003e] [-WeakHostSend \u003cWeakHostSend\u003e] [-WeakHostReceive \u003cWeakHostReceive\u003e] [-IgnoreDefaultRoutes \u003cIgnoreDefaultRoutes\u003e] [-AdvertisedRouterLifetime \u003ctimespan\u003e] [-AdvertiseDefaultRoute \u003cAdvertiseDefaultRoute\u003e] [-CurrentHopLimit \u003cuint32\u003e] [-ForceArpNdWolPattern \u003cForceArpNdWolPattern\u003e] [-DirectedMacWolPattern \u003cDirectedMacWolPattern\u003e] [-EcnMarking \u003cEcnMarking\u003e] [-Dhcp \u003cDhcp\u003e] [-AutomaticMetric \u003cAutomaticMetric\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPInterface[]\u003e [-Forwarding \u003cForwarding\u003e] [-Advertising \u003cAdvertising\u003e] [-NlMtuBytes \u003cuint32\u003e] [-InterfaceMetric \u003cuint32\u003e] [-NeighborUnreachabilityDetection \u003cNeighborUnreachabilityDetection\u003e] [-BaseReachableTimeMs \u003cuint32\u003e] [-RetransmitTimeMs \u003cuint32\u003e] [-DadTransmits \u003cuint32\u003e] [-DadRetransmitTimeMs \u003cuint32\u003e] [-RouterDiscovery \u003cRouterDiscovery\u003e] [-ManagedAddressConfiguration \u003cManagedAddressConfiguration\u003e] [-OtherStatefulConfiguration \u003cOtherStatefulConfiguration\u003e] [-WeakHostSend \u003cWeakHostSend\u003e] [-WeakHostReceive \u003cWeakHostReceive\u003e] [-IgnoreDefaultRoutes \u003cIgnoreDefaultRoutes\u003e] [-AdvertisedRouterLifetime \u003ctimespan\u003e] [-AdvertiseDefaultRoute \u003cAdvertiseDefaultRoute\u003e] [-CurrentHopLimit \u003cuint32\u003e] [-ForceArpNdWolPattern \u003cForceArpNdWolPattern\u003e] [-DirectedMacWolPattern \u003cDirectedMacWolPattern\u003e] [-EcnMarking \u003cEcnMarking\u003e] [-Dhcp \u003cDhcp\u003e] [-AutomaticMetric \u003cAutomaticMetric\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPv4Protocol", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetIPv4Protocol[]\u003e] [-DefaultHopLimit \u003cuint32\u003e] [-NeighborCacheLimitEntries \u003cuint32\u003e] [-RouteCacheLimitEntries \u003cuint32\u003e] [-ReassemblyLimitBytes \u003cuint32\u003e] [-IcmpRedirects \u003cIcmpRedirects\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior\u003e] [-DhcpMediaSense \u003cDhcpMediaSense\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog\u003e] [-IGMPLevel \u003cMldLevel\u003e] [-IGMPVersion \u003cMldVersion\u003e] [-MulticastForwarding \u003cMulticastForwarding\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers\u003e] [-AddressMaskReply \u003cAddressMaskReply\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPv6Protocol", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetIPv6Protocol[]\u003e] [-DefaultHopLimit \u003cuint32\u003e] [-NeighborCacheLimitEntries \u003cuint32\u003e] [-RouteCacheLimitEntries \u003cuint32\u003e] [-ReassemblyLimitBytes \u003cuint32\u003e] [-IcmpRedirects \u003cIcmpRedirects\u003e] [-SourceRoutingBehavior \u003cSourceRoutingBehavior\u003e] [-DhcpMediaSense \u003cDhcpMediaSense\u003e] [-MediaSenseEventLog \u003cMediaSenseEventLog\u003e] [-MldLevel \u003cMldLevel\u003e] [-MldVersion \u003cMldVersion\u003e] [-MulticastForwarding \u003cMulticastForwarding\u003e] [-GroupForwardedFragments \u003cGroupForwardedFragments\u003e] [-RandomizeIdentifiers \u003cRandomizeIdentifiers\u003e] [-AddressMaskReply \u003cAddressMaskReply\u003e] [-UseTemporaryAddresses \u003cUseTemporaryAddresses\u003e] [-MaxDadAttempts \u003cuint32\u003e] [-MaxValidLifetime \u003ctimespan\u003e] [-MaxPreferredLifetime \u003ctimespan\u003e] [-RegenerateTime \u003ctimespan\u003e] [-MaxRandomTime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetNeighbor", + "CommandType": "Function", + "ParameterSets": "[[-IPAddress] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-LinkLayerAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNeighbor[]\u003e [-LinkLayerAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetOffloadGlobalSetting", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetOffloadGlobalSetting[]\u003e] [-ReceiveSideScaling \u003cEnabledDisabledEnum\u003e] [-ReceiveSegmentCoalescing \u003cEnabledDisabledEnum\u003e] [-Chimney \u003cChimneyEnum\u003e] [-TaskOffload \u003cEnabledDisabledEnum\u003e] [-NetworkDirect \u003cEnabledDisabledEnum\u003e] [-NetworkDirectAcrossIPSubnets \u003cAllowedBlockedEnum\u003e] [-PacketCoalescingFilter \u003cEnabledDisabledEnum\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetRoute", + "CommandType": "Function", + "ParameterSets": "[[-DestinationPrefix] \u003cstring[]\u003e] [-InterfaceIndex \u003cuint32[]\u003e] [-InterfaceAlias \u003cstring[]\u003e] [-NextHop \u003cstring[]\u003e] [-AddressFamily \u003cAddressFamily[]\u003e] [-Protocol \u003cProtocol[]\u003e] [-PolicyStore \u003cstring\u003e] [-IncludeAllCompartments] [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetRoute[]\u003e [-Publish \u003cPublish\u003e] [-RouteMetric \u003cuint16\u003e] [-ValidLifetime \u003ctimespan\u003e] [-PreferredLifetime \u003ctimespan\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetTCPSetting", + "CommandType": "Function", + "ParameterSets": "[[-SettingName] \u003cstring[]\u003e] [-MinRtoMs \u003cuint32\u003e] [-InitialCongestionWindowMss \u003cuint32\u003e] [-CongestionProvider \u003cCongestionProvider\u003e] [-CwndRestart \u003cCwndRestart\u003e] [-DelayedAckTimeoutMs \u003cuint32\u003e] [-DelayedAckFrequency \u003cbyte\u003e] [-MemoryPressureProtection \u003cMemoryPressureProtection\u003e] [-AutoTuningLevelLocal \u003cAutoTuningLevelLocal\u003e] [-EcnCapability \u003cEcnCapability\u003e] [-Timestamps \u003cTimestamps\u003e] [-InitialRtoMs \u003cuint32\u003e] [-ScalingHeuristics \u003cScalingHeuristics\u003e] [-DynamicPortRangeStartPort \u003cuint16\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16\u003e] [-AutomaticUseCustom \u003cAutomaticUseCustom\u003e] [-NonSackRttResiliency \u003cNonSackRttResiliency\u003e] [-ForceWS \u003cForceWS\u003e] [-MaxSynRetransmissions \u003cbyte\u003e] [-AutoReusePortRangeStartPort \u003cuint16\u003e] [-AutoReusePortRangeNumberOfPorts \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetTCPSetting[]\u003e [-MinRtoMs \u003cuint32\u003e] [-InitialCongestionWindowMss \u003cuint32\u003e] [-CongestionProvider \u003cCongestionProvider\u003e] [-CwndRestart \u003cCwndRestart\u003e] [-DelayedAckTimeoutMs \u003cuint32\u003e] [-DelayedAckFrequency \u003cbyte\u003e] [-MemoryPressureProtection \u003cMemoryPressureProtection\u003e] [-AutoTuningLevelLocal \u003cAutoTuningLevelLocal\u003e] [-EcnCapability \u003cEcnCapability\u003e] [-Timestamps \u003cTimestamps\u003e] [-InitialRtoMs \u003cuint32\u003e] [-ScalingHeuristics \u003cScalingHeuristics\u003e] [-DynamicPortRangeStartPort \u003cuint16\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16\u003e] [-AutomaticUseCustom \u003cAutomaticUseCustom\u003e] [-NonSackRttResiliency \u003cNonSackRttResiliency\u003e] [-ForceWS \u003cForceWS\u003e] [-MaxSynRetransmissions \u003cbyte\u003e] [-AutoReusePortRangeStartPort \u003cuint16\u003e] [-AutoReusePortRangeNumberOfPorts \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetUDPSetting", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NetUDPSetting[]\u003e] [-DynamicPortRangeStartPort \u003cuint16\u003e] [-DynamicPortRangeNumberOfPorts \u003cuint16\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-NetConnection", + "CommandType": "Function", + "ParameterSets": "[[-ComputerName] \u003cstring\u003e] [-TraceRoute] [-Hops \u003cint\u003e] [-InformationLevel \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring\u003e] [-CommonTCPPort] \u003cstring\u003e [-InformationLevel \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring\u003e] -Port \u003cint\u003e [-InformationLevel \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gip", + "TNC" + ] + }, + { + "Name": "NetworkConnectivityStatus", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-DAConnectionStatus", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NCSIPolicyConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NCSIPolicyConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CorporateDNSProbeHostAddress] [-CorporateDNSProbeHostName] [-CorporateSitePrefixList] [-CorporateWebsiteProbeURL] [-DomainLocationDeterminationURL] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NCSIPolicyConfiguration[]\u003e [-CorporateDNSProbeHostAddress] [-CorporateDNSProbeHostName] [-CorporateSitePrefixList] [-CorporateWebsiteProbeURL] [-DomainLocationDeterminationURL] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NCSIPolicyConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-CorporateDNSProbeHostAddress] \u003cstring\u003e] [[-CorporateDNSProbeHostName] \u003cstring\u003e] [[-CorporateSitePrefixList] \u003cstring[]\u003e] [[-CorporateWebsiteProbeURL] \u003cstring\u003e] [[-DomainLocationDeterminationURL] \u003cstring\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-CorporateDNSProbeHostAddress] \u003cstring\u003e] [[-CorporateDNSProbeHostName] \u003cstring\u003e] [[-CorporateSitePrefixList] \u003cstring[]\u003e] [[-CorporateWebsiteProbeURL] \u003cstring\u003e] [[-DomainLocationDeterminationURL] \u003cstring\u003e] -InputObject \u003cCimInstance#MSFT_NCSIPolicyConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NetworkTransition", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-NetIPHttpsCertBinding", + "CommandType": "Function", + "ParameterSets": "-CertificateHash \u003cstring\u003e -ApplicationId \u003cstring\u003e -IpPort \u003cstring\u003e -CertificateStoreName \u003cstring\u003e -NullEncryption \u003cbool\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetIPHttpsProfile", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetIPHttpsProfile", + "CommandType": "Function", + "ParameterSets": "-Profile \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Net6to4Configuration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetDnsTransitionMonitoring", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIPHttpsState", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetIsatapConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetNatTransitionMonitoring", + "CommandType": "Function", + "ParameterSets": "[-TransportProtocol \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTeredoConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NetTeredoState", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PolicyStore] \u003cstring\u003e -ServerURL \u003cstring\u003e [-Profile \u003cstring\u003e] [-Type \u003cType\u003e] [-State \u003cState\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-GPOSession] \u003cstring\u003e -ServerURL \u003cstring\u003e [-Profile \u003cstring\u003e] [-Type \u003cType\u003e] [-State \u003cState\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "-InstanceName \u003cstring\u003e [-PolicyStore \u003cPolicyStore\u003e] [-State \u003cState\u003e] [-InboundInterface \u003cstring[]\u003e] [-OutboundInterface \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-IPv4AddressPortPool \u003cstring[]\u003e] [-TcpMappingTimeoutSeconds \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPHttpsCertBinding", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "-NewName \u003cstring\u003e [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -NewName \u003cstring\u003e [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e -NewName \u003cstring\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-Net6to4Configuration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-State] [-AutoSharing] [-RelayName] [-RelayState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Net6to4Configuration[]\u003e [-State] [-AutoSharing] [-RelayName] [-RelayState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-State] [-OnlySendAQuery] [-LatencyMilliseconds] [-AlwaysSynthesize] [-AcceptInterface] [-SendInterface] [-ExclusionList] [-PrefixMapping] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-State] [-OnlySendAQuery] [-LatencyMilliseconds] [-AlwaysSynthesize] [-AcceptInterface] [-SendInterface] [-ExclusionList] [-PrefixMapping] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-State] [-AuthMode] [-StrongCRLRequired] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-State] [-AuthMode] [-StrongCRLRequired] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e [-State] [-AuthMode] [-StrongCRLRequired] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetIsatapConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-State] [-Router] [-ResolutionState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetISATAPConfiguration[]\u003e [-State] [-Router] [-ResolutionState] [-ResolutionIntervalSeconds] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NetTeredoConfiguration", + "CommandType": "Function", + "ParameterSets": "[-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-Type] [-ServerName] [-RefreshIntervalSeconds] [-ClientPort] [-ServerVirtualIP] [-DefaultQualified] [-ServerShunt] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetTeredoConfiguration[]\u003e [-Type] [-ServerName] [-RefreshIntervalSeconds] [-ClientPort] [-ServerVirtualIP] [-DefaultQualified] [-ServerShunt] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Net6to4Configuration", + "CommandType": "Function", + "ParameterSets": "[[-State] \u003cState\u003e] [[-AutoSharing] \u003cState\u003e] [[-RelayName] \u003cstring\u003e] [[-RelayState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] [-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-State] \u003cState\u003e] [[-AutoSharing] \u003cState\u003e] [[-RelayName] \u003cstring\u003e] [[-RelayState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] -InputObject \u003cCimInstance#MSFT_Net6to4Configuration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetDnsTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-State \u003cState\u003e] [-OnlySendAQuery \u003cbool\u003e] [-LatencyMilliseconds \u003cuint32\u003e] [-AlwaysSynthesize \u003cbool\u003e] [-AcceptInterface \u003cstring[]\u003e] [-SendInterface \u003cstring[]\u003e] [-ExclusionList \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetDnsTransitionConfiguration[]\u003e [-State \u003cState\u003e] [-OnlySendAQuery \u003cbool\u003e] [-LatencyMilliseconds \u003cuint32\u003e] [-AlwaysSynthesize \u003cbool\u003e] [-AcceptInterface \u003cstring[]\u003e] [-SendInterface \u003cstring[]\u003e] [-ExclusionList \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIPHttpsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-PolicyStore \u003cstring\u003e] [-State \u003cState\u003e] [-Type \u003cType\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-ServerURL \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Profile \u003cstring[]\u003e] [-ProfileActivated \u003cbool[]\u003e] [-GPOSession \u003cstring\u003e] [-State \u003cState\u003e] [-Type \u003cType\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-ServerURL \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetIPHttpsConfiguration[]\u003e [-State \u003cState\u003e] [-Type \u003cType\u003e] [-AuthMode \u003cAuthMode\u003e] [-StrongCRLRequired \u003cbool\u003e] [-ServerURL \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetIsatapConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-State] \u003cState\u003e] [[-Router] \u003cstring\u003e] [[-ResolutionState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] [-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-State] \u003cState\u003e] [[-Router] \u003cstring\u003e] [[-ResolutionState] \u003cState\u003e] [[-ResolutionIntervalSeconds] \u003cuint32\u003e] -InputObject \u003cCimInstance#MSFT_NetISATAPConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetNatTransitionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InstanceName \u003cstring[]\u003e] [-PolicyStore \u003cPolicyStore[]\u003e] [-Adapter \u003cCimInstance#MSFT_NetAdapter\u003e] [-State \u003cState\u003e] [-InboundInterface \u003cstring[]\u003e] [-OutboundInterface \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-IPv4AddressPortPool \u003cstring[]\u003e] [-TcpMappingTimeoutSeconds \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NetNatTransitionConfiguration[]\u003e [-State \u003cState\u003e] [-InboundInterface \u003cstring[]\u003e] [-OutboundInterface \u003cstring[]\u003e] [-PrefixMapping \u003cstring[]\u003e] [-IPv4AddressPortPool \u003cstring[]\u003e] [-TcpMappingTimeoutSeconds \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NetTeredoConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-Type] \u003cType\u003e] [[-ServerName] \u003cstring\u003e] [[-RefreshIntervalSeconds] \u003cuint32\u003e] [[-ClientPort] \u003cuint32\u003e] [[-ServerVirtualIP] \u003cstring\u003e] [[-DefaultQualified] \u003cbool\u003e] [[-ServerShunt] \u003cbool\u003e] [-IPInterface \u003cCimInstance#MSFT_NetIPInterface\u003e] [-PolicyStore \u003cstring\u003e] [-GPOSession \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Type] \u003cType\u003e] [[-ServerName] \u003cstring\u003e] [[-RefreshIntervalSeconds] \u003cuint32\u003e] [[-ClientPort] \u003cuint32\u003e] [[-ServerVirtualIP] \u003cstring\u003e] [[-DefaultQualified] \u003cbool\u003e] [[-ServerShunt] \u003cbool\u003e] -InputObject \u003cCimInstance#MSFT_NetTeredoConfiguration[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "NFS", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Disconnect-NfsSession", + "CommandType": "Function", + "ParameterSets": "[-SessionId] \u003cstring[]\u003e [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsSession[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[[-ClientGroupName] \u003cstring[]\u003e] [-ExcludeName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -LiteralName \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsClientLock", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-LockType] \u003cClientLockType[]\u003e] [[-StateId] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] [[-LockType] \u003cClientLockType[]\u003e] [[-ComputerName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsMappingStore", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsMountedClient", + "CommandType": "Function", + "ParameterSets": "[[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsNetgroupStore", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsOpenFile", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring[]\u003e] [[-StateId] \u003cstring[]\u003e] [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsSession", + "CommandType": "Function", + "ParameterSets": "[[-SessionId] \u003cstring[]\u003e] [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsShare", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-IsClustered] [[-NetworkName] \u003cstring[]\u003e] [-ExcludeName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -LiteralName \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-Path] \u003cstring[]\u003e] [-IsClustered] [[-NetworkName] \u003cstring[]\u003e] [-ExcludePath \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -LiteralPath \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsSharePermission", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-ClientName] \u003cstring\u003e] [[-ClientType] \u003cstring\u003e] [[-Permission] \u003cstring\u003e] [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [[-ClientName] \u003cstring\u003e] [[-ClientType] \u003cstring\u003e] [[-Permission] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsStatistics", + "CommandType": "Function", + "ParameterSets": "[-Protocol \u003cstring[]\u003e] [-Name \u003cstring[]\u003e] [-Version \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Grant-NfsSharePermission", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [[-Permission] \u003cstring\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [[-Permission] \u003cstring\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Path] \u003cstring\u003e [[-NetworkName] \u003cstring\u003e] [[-Authentication] \u003cstring[]\u003e] [[-AnonymousUid] \u003cint\u003e] [[-AnonymousGid] \u003cint\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-EnableAnonymousAccess] \u003cbool\u003e] [[-EnableUnmappedAccess] \u003cbool\u003e] [[-AllowRootAccess] \u003cbool\u003e] [[-Permission] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsClientgroup[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-NetworkName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [[-NetworkName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsShare[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring\u003e [-NewClientGroupName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-NfsStatistics", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resolve-NfsMappedIdentity", + "CommandType": "Function", + "ParameterSets": "[-Id] \u003cuint32\u003e [[-AccountType] \u003cWindowsAccountType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-AccountName] \u003cstring\u003e [[-AccountType] \u003cWindowsAccountType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsClientLock", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-LockType] \u003cClientLockType[]\u003e] [[-StateId] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring[]\u003e [[-LockType] \u003cClientLockType[]\u003e] [[-ComputerName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsClientLock[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsMountedClient", + "CommandType": "Function", + "ParameterSets": "[-ClientId] \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsMountedClient[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsOpenFile", + "CommandType": "Function", + "ParameterSets": "[-Path] \u003cstring[]\u003e [[-StateId] \u003cstring[]\u003e] [[-ClientId] \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_NfsOpenFile[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-NfsSharePermission", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-ClientName] \u003cstring\u003e [-ClientType] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsClientConfig[]\u003e] [-TransportProtocol \u003cstring[]\u003e] [-MountType \u003cstring\u003e] [-CaseSensitiveLookup \u003cbool\u003e] [-MountRetryAttempts \u003cuint32\u003e] [-RpcTimeoutSec \u003cuint32\u003e] [-UseReservedPorts \u003cbool\u003e] [-ReadBufferSize \u003cuint32\u003e] [-WriteBufferSize \u003cuint32\u003e] [-DefaultAccessMode \u003cuint32\u003e] [-Authentication \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsClientgroup", + "CommandType": "Function", + "ParameterSets": "[-ClientGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [[-RemoveMember] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsMappingStore", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsMappingStore[]\u003e] [-EnableUNMLookup \u003cbool\u003e] [-UNMServer \u003cstring\u003e] [-EnableADLookup \u003cbool\u003e] [-ADDomainName \u003cstring\u003e] [-EnableLdapLookup \u003cbool\u003e] [-LdapServer \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsNetgroupStore", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsNetgroupStore[]\u003e] [-NetgroupStoreType \u003cstring\u003e] [-NisServer \u003cstring\u003e] [-NisDomain \u003cstring\u003e] [-LdapServer \u003cstring\u003e] [-LDAPNamingContext \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-InputObject \u003cCimInstance#MSFT_NfsServerConfig[]\u003e] [-PortmapProtocol \u003cstring[]\u003e] [-MountProtocol \u003cstring[]\u003e] [-Nfsprotocol \u003cstring[]\u003e] [-NlmProtocol \u003cstring[]\u003e] [-NsmProtocol \u003cstring[]\u003e] [-MapServerProtocol \u003cstring[]\u003e] [-NisProtocol \u003cstring[]\u003e] [-EnableNFSV2 \u003cbool\u003e] [-EnableNFSV3 \u003cbool\u003e] [-EnableNFSV4 \u003cbool\u003e] [-EnableAuthenticationRenewal \u003cbool\u003e] [-AuthenticationRenewalIntervalSec \u003cuint32\u003e] [-DirectoryCacheSize \u003cuint32\u003e] [-CharacterTranslationFile \u003cstring\u003e] [-HideFilesBeginningInDot \u003cbool\u003e] [-NlmGracePeriodSec \u003cuint32\u003e] [-LogActivity \u003cstring[]\u003e] [-GracePeriodSec \u003cuint32\u003e] [-NetgroupCacheTimeoutSec \u003cuint32\u003e] [-PreserveInheritance \u003cbool\u003e] [-UnmappedUserAccount \u003cstring\u003e] [-WorldAccount \u003cstring\u003e] [-AlwaysOpenByName \u003cbool\u003e] [-LeasePeriodSec \u003cuint32\u003e] [-ClearMappingCache] [-OnlineTimeoutSec \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-Authentication] \u003cstring[]\u003e] [[-EnableAnonymousAccess] \u003cbool\u003e] [[-EnableUnmappedAccess] \u003cbool\u003e] [[-AnonymousGid] \u003cint\u003e] [[-AnonymousUid] \u003cint\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [[-Permission] \u003cstring\u003e] [-NetworkName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [[-Authentication] \u003cstring[]\u003e] [[-EnableAnonymousAccess] \u003cbool\u003e] [[-EnableUnmappedAccess] \u003cbool\u003e] [[-AnonymousGid] \u003cint\u003e] [[-AnonymousUid] \u003cint\u003e] [[-LanguageEncoding] \u003cstring\u003e] [[-AllowRootAccess] \u003cbool\u003e] [[-Permission] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-NfsMappingStore", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-AccountType \u003cAccountType\u003e [-MappingStore \u003cMappingStoreType\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e -AccountType \u003cAccountType\u003e [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e -AccountType \u003cAccountType\u003e [-MapFilesPath \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[[-NetGroupName] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-LdapServer] \u003cstring\u003e [[-LdapNamingContext] \u003cstring\u003e] [-NetGroupName \u003cstring\u003e] [\u003cCommonParameters\u003e] [-NisServer] \u003cstring\u003e [[-NisDomain] \u003cstring\u003e] [-NetGroupName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Install-NfsMappingStore", + "CommandType": "Cmdlet", + "ParameterSets": "[-InstanceName \u003cstring\u003e] [-LdapPort \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-UserName \u003cstring\u003e -UserIdentifier \u003cint\u003e -GroupIdentifier \u003cint\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-Password \u003csecurestring\u003e] [-PrimaryGroup \u003cstring\u003e] [-SupplementaryGroups \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GroupName \u003cstring\u003e -GroupIdentifier \u003cint\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[-NetGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [[-LdapServer] \u003cstring\u003e] [[-LdapNamingContext] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-UserName \u003cstring\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GroupName \u003cstring\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[-NetGroupName] \u003cstring\u003e [[-LdapServer] \u003cstring\u003e] [[-LdapNamingContext] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "-UserName \u003cstring\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -GroupName \u003cstring\u003e -GroupIdentifier \u003cint\u003e [-MappingStore \u003cMappingStoreType\u003e] [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-NfsNetgroup", + "CommandType": "Cmdlet", + "ParameterSets": "[-NetGroupName] \u003cstring\u003e [[-AddMember] \u003cstring[]\u003e] [[-RemoveMember] \u003cstring[]\u003e] [[-LdapServer] \u003cstring\u003e] [[-LdapNamingContext] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-NfsMappedIdentity", + "CommandType": "Cmdlet", + "ParameterSets": "[-MappingStore \u003cMappingStoreType\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [-AccountType \u003cAccountType\u003e] [-SupplementaryGroups \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e [-MapFilesPath \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [-AccountType \u003cAccountType\u003e] [-SupplementaryGroups \u003cstring\u003e] [\u003cCommonParameters\u003e] -MappingStore \u003cMappingStoreType\u003e [-Server \u003cstring\u003e] [-LdapNamingContext \u003cstring\u003e] [-UserIdentifier \u003cint\u003e] [-GroupIdentifier \u003cint\u003e] [-AccountName \u003cstring\u003e] [-AccountType \u003cAccountType\u003e] [-SupplementaryGroups \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PcsvDevice", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-PcsvDevice", + "CommandType": "Function", + "ParameterSets": "[-TargetAddress] \u003cstring\u003e [-Credential] \u003cpscredential\u003e [-ManagementProtocol] \u003cManagementProtocol\u003e [[-Port] \u003cuint16\u003e] [-Authentication \u003cAuthentication\u003e] [-UseSSL] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-TimeoutSec \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-PcsvDevice", + "CommandType": "Function", + "ParameterSets": "-InputObject \u003cCimInstance#MSFT_PCSVDevice[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TargetAddress] \u003cstring\u003e [-Credential] \u003cpscredential\u003e [-ManagementProtocol] \u003cManagementProtocol\u003e [[-Port] \u003cuint16\u003e] [-Authentication \u003cAuthentication\u003e] [-UseSSL] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-TimeoutSec \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PcsvDeviceBootConfiguration", + "CommandType": "Function", + "ParameterSets": "[-OneTimeBootSource] \u003cstring\u003e -InputObject \u003cCimInstance#MSFT_PCSVDevice[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TargetAddress] \u003cstring\u003e [-Credential] \u003cpscredential\u003e [-ManagementProtocol] \u003cManagementProtocol\u003e [[-Port] \u003cuint16\u003e] [-OneTimeBootSource] \u003cstring\u003e [-Authentication \u003cAuthentication\u003e] [-UseSSL] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-TimeoutSec \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-PcsvDevice", + "CommandType": "Function", + "ParameterSets": "-InputObject \u003cCimInstance#MSFT_PCSVDevice[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TargetAddress] \u003cstring\u003e [-Credential] \u003cpscredential\u003e [-ManagementProtocol] \u003cManagementProtocol\u003e [[-Port] \u003cuint16\u003e] [-Authentication \u003cAuthentication\u003e] [-UseSSL] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-TimeoutSec \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-PcsvDevice", + "CommandType": "Function", + "ParameterSets": "-InputObject \u003cCimInstance#MSFT_PCSVDevice[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TargetAddress] \u003cstring\u003e [-Credential] \u003cpscredential\u003e [-ManagementProtocol] \u003cManagementProtocol\u003e [[-Port] \u003cuint16\u003e] [-Authentication \u003cAuthentication\u003e] [-UseSSL] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-TimeoutSec \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PKI", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-CertificateEnrollmentPolicyServer", + "CommandType": "Cmdlet", + "ParameterSets": "-Url \u003curi\u003e -context \u003cContext\u003e [-NoClobber] [-RequireStrongValidation] [-Credential \u003cPkiCredential\u003e] [-AutoEnrollmentEnabled] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "-FilePath \u003cstring\u003e -Cert \u003cCertificate\u003e [-Type \u003cCertType\u003e] [-NoClobber] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-PFXData] \u003cPfxData\u003e [-FilePath] \u003cstring\u003e [-NoProperties] [-NoClobber] [-Force] [-ChainOption \u003cExportChainOption\u003e] [-ProtectTo \u003cstring[]\u003e] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Cert] \u003cCertificate\u003e [-FilePath] \u003cstring\u003e [-NoProperties] [-NoClobber] [-Force] [-ChainOption \u003cExportChainOption\u003e] [-ProtectTo \u003cstring[]\u003e] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "-Template \u003cstring\u003e [-Url \u003curi\u003e] [-SubjectName \u003cstring\u003e] [-DnsName \u003cstring[]\u003e] [-Credential \u003cPkiCredential\u003e] [-CertStoreLocation \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Request \u003cCertificate\u003e [-Credential \u003cPkiCredential\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CertificateAutoEnrollmentPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "-Scope \u003cAutoEnrollmentPolicyScope\u003e -context \u003cContext\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CertificateEnrollmentPolicyServer", + "CommandType": "Cmdlet", + "ParameterSets": "-Scope \u003cEnrollmentPolicyServerScope\u003e -context \u003cContext\u003e [-Url \u003curi\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-CertificateNotificationTask", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PfxData", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [-Password \u003csecurestring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [-CertStoreLocation \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-PfxCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-FilePath] \u003cstring\u003e [[-CertStoreLocation] \u003cstring\u003e] [-Exportable] [-Password \u003csecurestring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-CertificateNotificationTask", + "CommandType": "Cmdlet", + "ParameterSets": "-Type \u003cCertificateNotificationType\u003e -PSScript \u003cstring\u003e -Name \u003cstring\u003e -Channel \u003cNotificationChannel\u003e [-RunTaskForExistingCertificates] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SelfSignedCertificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-DnsName \u003cstring[]\u003e] [-CloneCert \u003cCertificate\u003e] [-CertStoreLocation \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CertificateEnrollmentPolicyServer", + "CommandType": "Cmdlet", + "ParameterSets": "[-Url] \u003curi\u003e -context \u003cContext\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-CertificateNotificationTask", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-CertificateAutoEnrollmentPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "-PolicyState \u003cPolicySetting\u003e -context \u003cContext\u003e [-StoreName \u003cstring[]\u003e] [-ExpirationPercentage \u003cint\u003e] [-EnableTemplateCheck] [-EnableMyStoreManagement] [-EnableBalloonNotifications] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -EnableAll -context \u003cContext\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Switch-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-OldCert] \u003cCertificate\u003e [-NewCert] \u003cCertificate\u003e [-NotifyOnly] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-Certificate", + "CommandType": "Cmdlet", + "ParameterSets": "[-Cert] \u003cCertificate\u003e [-Policy \u003cTestCertificatePolicy\u003e] [-User] [-EKU \u003cstring[]\u003e] [-DNSName \u003cstring\u003e] [-AllowUntrustedRoot] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PrintManagement", + "Version": "1.1", + "ExportedCommands": [ + { + "Name": "Add-Printer", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs] [-Location \u003cstring\u003e] [-SeparatorPageFile \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Shared] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-PermissionSDDL \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published] [-RenderingMode \u003cRenderingModeEnum\u003e] [-DisableBranchOfficeLogging] [-BranchOfficeOfflineLogSizeMB \u003cuint32\u003e] [-DeviceURL \u003cstring\u003e] [-DeviceUUID \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-DriverName] \u003cstring\u003e -PortName \u003cstring\u003e [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs] [-Location \u003cstring\u003e] [-SeparatorPageFile \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Shared] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-PermissionSDDL \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published] [-RenderingMode \u003cRenderingModeEnum\u003e] [-DisableBranchOfficeLogging] [-BranchOfficeOfflineLogSizeMB \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PrinterDriver", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-InfPath] \u003cstring\u003e] [-PrinterEnvironment \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PrinterPort", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-LprHostAddress] \u003cstring\u003e [-LprQueueName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-SNMP \u003cuint32\u003e] [-SNMPCommunity \u003cstring\u003e] [-LprByteCounting] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PrinterHostAddress] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-PortNumber \u003cuint32\u003e] [-SNMP \u003cuint32\u003e] [-SNMPCommunity \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-HostName] \u003cstring\u003e [-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrintConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Printer", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Full] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrinterDriver", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-PrinterEnvironment \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrinterPort", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrinterProperty", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [[-PropertyName] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-ID \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Read-PrinterNfcTag", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Printer", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Printer[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PrinterDriver", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-PrinterEnvironment] \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-RemoveFromDriverStore] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PrinterDriver[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PrinterPort", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PrinterPort[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-ID] \u003cuint32\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-Printer", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-NewName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_Printer\u003e [-NewName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restart-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-ID] \u003cuint32\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ID] \u003cuint32\u003e [-PrinterName] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PrintConfiguration", + "CommandType": "Function", + "ParameterSets": "[-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-Collate \u003cbool\u003e] [-Color \u003cbool\u003e] [-DuplexingMode \u003cDuplexingModeEnum\u003e] [-PaperSize \u003cPaperSizeEnum\u003e] [-PrintTicketXml \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-Collate \u003cbool\u003e] [-Color \u003cbool\u003e] [-DuplexingMode \u003cDuplexingModeEnum\u003e] [-PaperSize \u003cPaperSizeEnum\u003e] [-PrintTicketXml \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_PrinterConfiguration\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Printer", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-ComputerName \u003cstring\u003e] [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-DriverName \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs \u003cbool\u003e] [-Location \u003cstring\u003e] [-PermissionSDDL \u003cstring\u003e] [-PortName \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published \u003cbool\u003e] [-RenderingMode \u003cRenderingModeEnum\u003e] [-SeparatorPageFile \u003cstring\u003e] [-Shared \u003cbool\u003e] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-DisableBranchOfficeLogging \u003cbool\u003e] [-BranchOfficeOfflineLogSizeMB \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Printer[]\u003e [-Comment \u003cstring\u003e] [-Datatype \u003cstring\u003e] [-DriverName \u003cstring\u003e] [-UntilTime \u003cuint32\u003e] [-KeepPrintedJobs \u003cbool\u003e] [-Location \u003cstring\u003e] [-PermissionSDDL \u003cstring\u003e] [-PortName \u003cstring\u003e] [-PrintProcessor \u003cstring\u003e] [-Priority \u003cuint32\u003e] [-Published \u003cbool\u003e] [-RenderingMode \u003cRenderingModeEnum\u003e] [-SeparatorPageFile \u003cstring\u003e] [-Shared \u003cbool\u003e] [-ShareName \u003cstring\u003e] [-StartTime \u003cuint32\u003e] [-DisableBranchOfficeLogging \u003cbool\u003e] [-BranchOfficeOfflineLogSizeMB \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PrinterProperty", + "CommandType": "Function", + "ParameterSets": "[-PrinterName] \u003cstring\u003e [-PropertyName] \u003cstring\u003e [-Value] \u003cstring\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-PropertyName] \u003cstring\u003e [-Value] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_PrinterProperty\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-PrintJob", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_PrintJob\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterName] \u003cstring\u003e [-ID] \u003cuint32\u003e [-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-PrinterObject] \u003cCimInstance#MSFT_Printer\u003e [-ID] \u003cuint32\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-PrinterNfcTag", + "CommandType": "Function", + "ParameterSets": "[[-SharePath] \u003cstring[]\u003e] [[-WsdAddress] \u003cstring[]\u003e] [-Lock] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_PrinterNfcTag\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PSDesiredStateConfiguration", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Configuration", + "CommandType": "Function", + "ParameterSets": "[[-ModuleDefinition] \u003cObject\u003e] [[-ResourceDefinition] \u003cObject\u003e] [[-OutputPath] \u003cObject\u003e] [[-Name] \u003cObject\u003e] [[-Body] \u003cscriptblock\u003e] [[-ArgsToBody] \u003chashtable\u003e] [[-ConfigurationData] \u003chashtable\u003e] [[-InstanceName] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DscConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DscLocalConfigurationManager", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DscResource", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Syntax] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-DSCCheckSum", + "CommandType": "Function", + "ParameterSets": "[-ConfigurationPath] \u003cstring[]\u003e [[-OutPath] \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-DscConfigurationDocument", + "CommandType": "Function", + "ParameterSets": "-Stage \u003cStage\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Restore-DscConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-DscConfiguration", + "CommandType": "Function", + "ParameterSets": "[-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-DscConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DscLocalConfigurationManager", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [[-ComputerName] \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-DscConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [[-ComputerName] \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-Wait] [-Force] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] -UseExisting [-Credential \u003cpscredential\u003e] [-ThrottleLimit \u003cint\u003e] [-Wait] [-Force] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -CimSession \u003cCimSession[]\u003e -UseExisting [-ThrottleLimit \u003cint\u003e] [-Wait] [-Force] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e -CimSession \u003cCimSession[]\u003e [-ThrottleLimit \u003cint\u003e] [-Wait] [-Force] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-DscConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Wait] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -CimSession \u003cCimSession[]\u003e [-Wait] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "sacfg", + "upcfg", + "tcfg", + "gcfg", + "rtcfg", + "glcm", + "slcm" + ] + }, + { + "Name": "PSDiagnostics", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-PSTrace", + "CommandType": "Function", + "ParameterSets": "[-AnalyticOnly]" + }, + { + "Name": "Disable-PSWSManCombinedTrace", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Disable-WSManTrace", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Enable-PSTrace", + "CommandType": "Function", + "ParameterSets": "[-Force] [-AnalyticOnly]" + }, + { + "Name": "Enable-PSWSManCombinedTrace", + "CommandType": "Function", + "ParameterSets": "[-DoNotOverwriteExistingTrace]" + }, + { + "Name": "Enable-WSManTrace", + "CommandType": "Function", + "ParameterSets": "" + }, + { + "Name": "Get-LogProperties", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cObject\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-LogProperties", + "CommandType": "Function", + "ParameterSets": "[-LogDetails] \u003cLogDetails\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Trace", + "CommandType": "Function", + "ParameterSets": "[-SessionName] \u003cstring\u003e [[-OutputFilePath] \u003cstring\u003e] [[-ProviderFilePath] \u003cstring\u003e] [-ETS] [-Format \u003cObject\u003e] [-MinBuffers \u003cint\u003e] [-MaxBuffers \u003cint\u003e] [-BufferSizeInKB \u003cint\u003e] [-MaxLogFileSizeInMB \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Trace", + "CommandType": "Function", + "ParameterSets": "[-SessionName] \u003cObject\u003e [-ETS] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PSScheduledJob", + "Version": "1.1.0.0", + "ExportedCommands": [ + { + "Name": "Add-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition[]\u003e [-Trigger] \u003cScheduledJobTrigger[]\u003e [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Trigger] \u003cScheduledJobTrigger[]\u003e [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-Trigger] \u003cScheduledJobTrigger[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobTrigger[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobTrigger[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [[-TriggerId] \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [[-TriggerId] \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [[-TriggerId] \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledJobOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "-Once -At \u003cdatetime\u003e [-RandomDelay \u003ctimespan\u003e] [-RepetitionInterval \u003ctimespan\u003e] [-RepetitionDuration \u003ctimespan\u003e] [-RepeatIndefinitely] [\u003cCommonParameters\u003e] -Daily -At \u003cdatetime\u003e [-DaysInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -Weekly -At \u003cdatetime\u003e -DaysOfWeek \u003cDayOfWeek[]\u003e [-WeeksInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -AtLogOn [-RandomDelay \u003ctimespan\u003e] [-User \u003cstring\u003e] [\u003cCommonParameters\u003e] -AtStartup [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledJobOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-RunElevated] [-HideInTaskScheduler] [-RestartOnIdleResume] [-MultipleInstancePolicy \u003cTaskMultipleInstancePolicy\u003e] [-DoNotAllowDemandStart] [-RequireNetwork] [-StopIfGoingOffIdle] [-WakeToRun] [-ContinueIfGoingOnBattery] [-StartIfOnBattery] [-IdleTimeout \u003ctimespan\u003e] [-IdleDuration \u003ctimespan\u003e] [-StartIfIdle] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ScriptBlock] \u003cscriptblock\u003e [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-ArgumentList \u003cObject[]\u003e] [-MaxResultCount \u003cint\u003e] [-RunNow] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-FilePath] \u003cstring\u003e [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-ArgumentList \u003cObject[]\u003e] [-MaxResultCount \u003cint\u003e] [-RunNow] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition[]\u003e [-TriggerId \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-TriggerId \u003cint[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-TriggerId \u003cint[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-JobTrigger", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobTrigger[]\u003e [-DaysInterval \u003cint\u003e] [-WeeksInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [-At \u003cdatetime\u003e] [-User \u003cstring\u003e] [-DaysOfWeek \u003cDayOfWeek[]\u003e] [-AtStartup] [-AtLogOn] [-Once] [-RepetitionInterval \u003ctimespan\u003e] [-RepetitionDuration \u003ctimespan\u003e] [-RepeatIndefinitely] [-Daily] [-Weekly] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition\u003e [-Name \u003cstring\u003e] [-ScriptBlock \u003cscriptblock\u003e] [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-MaxResultCount \u003cint\u003e] [-PassThru] [-ArgumentList \u003cObject[]\u003e] [-RunNow] [\u003cCommonParameters\u003e] [-InputObject] \u003cScheduledJobDefinition\u003e [-Name \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-Trigger \u003cScheduledJobTrigger[]\u003e] [-InitializationScript \u003cscriptblock\u003e] [-RunAs32] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-ScheduledJobOption \u003cScheduledJobOptions\u003e] [-MaxResultCount \u003cint\u003e] [-PassThru] [-ArgumentList \u003cObject[]\u003e] [-RunNow] [\u003cCommonParameters\u003e] [-InputObject] \u003cScheduledJobDefinition\u003e [-ClearExecutionHistory] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ScheduledJobOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobOptions\u003e [-PassThru] [-RunElevated] [-HideInTaskScheduler] [-RestartOnIdleResume] [-MultipleInstancePolicy \u003cTaskMultipleInstancePolicy\u003e] [-DoNotAllowDemandStart] [-RequireNetwork] [-StopIfGoingOffIdle] [-WakeToRun] [-ContinueIfGoingOnBattery] [-StartIfOnBattery] [-IdleTimeout \u003ctimespan\u003e] [-IdleDuration \u003ctimespan\u003e] [-StartIfIdle] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-ScheduledJob", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject] \u003cScheduledJobDefinition[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "PSWorkflow", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "New-PSWorkflowSession", + "CommandType": "Function", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [-Credential \u003cObject\u003e] [-Name \u003cstring[]\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-EnableNetworkAccess] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSWorkflowExecutionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-PersistencePath \u003cstring\u003e] [-MaxPersistenceStoreSizeGB \u003clong\u003e] [-PersistWithEncryption] [-MaxRunningWorkflows \u003cint\u003e] [-AllowedActivity \u003cstring[]\u003e] [-OutOfProcessActivity \u003cstring[]\u003e] [-EnableValidation] [-MaxDisconnectedSessions \u003cint\u003e] [-MaxConnectedSessions \u003cint\u003e] [-MaxSessionsPerWorkflow \u003cint\u003e] [-MaxSessionsPerRemoteNode \u003cint\u003e] [-MaxActivityProcesses \u003cint\u003e] [-ActivityProcessIdleTimeoutSec \u003cint\u003e] [-RemoteNodeSessionIdleTimeoutSec \u003cint\u003e] [-SessionThrottleLimit \u003cint\u003e] [-WorkflowShutdownTimeoutMSec \u003cint\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "nwsn" + ] + }, + { + "Name": "PSWorkflowUtility", + "Version": "1.0.0.0", + "ExportedCommands": { + "Name": "Invoke-AsWorkflow", + "CommandType": "Workflow", + "ParameterSets": [ + "[-CommandName \u003cstring\u003e] [-Parameter \u003chashtable\u003e] [-PSParameterCollection \u003chashtable[]\u003e] [-PSComputerName \u003cstring[]\u003e] [-PSCredential \u003cObject\u003e] [-PSConnectionRetryCount \u003cuint32\u003e] [-PSConnectionRetryIntervalSec \u003cuint32\u003e] [-PSRunningTimeoutSec \u003cuint32\u003e] [-PSElapsedTimeoutSec \u003cuint32\u003e] [-PSPersist \u003cbool\u003e] [-PSAuthentication \u003cAuthenticationMechanism\u003e] [-PSAuthenticationLevel \u003cAuthenticationLevel\u003e] [-PSApplicationName \u003cstring\u003e] [-PSPort \u003cuint32\u003e] [-PSUseSSL] [-PSConfigurationName \u003cstring\u003e] [-PSConnectionURI \u003cstring[]\u003e] [-PSAllowRedirection] [-PSSessionOption \u003cPSSessionOption\u003e] [-PSCertificateThumbprint \u003cstring\u003e] [-PSPrivateMetadata \u003chashtable\u003e] [-AsJob] [-JobName \u003cstring\u003e] [-InputObject \u003cObject\u003e] [\u003cCommonParameters\u003e]", + "[-Expression \u003cstring\u003e] [-PSParameterCollection \u003chashtable[]\u003e] [-PSComputerName \u003cstring[]\u003e] [-PSCredential \u003cObject\u003e] [-PSConnectionRetryCount \u003cuint32\u003e] [-PSConnectionRetryIntervalSec \u003cuint32\u003e] [-PSRunningTimeoutSec \u003cuint32\u003e] [-PSElapsedTimeoutSec \u003cuint32\u003e] [-PSPersist \u003cbool\u003e] [-PSAuthentication \u003cAuthenticationMechanism\u003e] [-PSAuthenticationLevel \u003cAuthenticationLevel\u003e] [-PSApplicationName \u003cstring\u003e] [-PSPort \u003cuint32\u003e] [-PSUseSSL] [-PSConfigurationName \u003cstring\u003e] [-PSConnectionURI \u003cstring[]\u003e] [-PSAllowRedirection] [-PSSessionOption \u003cPSSessionOption\u003e] [-PSCertificateThumbprint \u003cstring\u003e] [-PSPrivateMetadata \u003chashtable\u003e] [-AsJob] [-JobName \u003cstring\u003e] [-InputObject \u003cObject\u003e] [\u003cCommonParameters\u003e]" + ] + }, + "ExportedAliases": [ + + ] + }, + { + "Name": "RemoteDesktop", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-RDServer", + "CommandType": "Function", + "ParameterSets": "[-Server] \u003cstring\u003e [-Role] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [[-GatewayExternalFqdn] \u003cstring\u003e] [-CreateVirtualSwitch] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -SessionHost \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-RDVirtualDesktopToCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e [-VirtualDesktopTemplateName \u003cstring\u003e] [-VirtualDesktopTemplateHostServer \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-RDVirtualDesktopADMachineAccountReuse", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-RDUser", + "CommandType": "Function", + "ParameterSets": "[-HostServer] \u003cstring\u003e [-UnifiedSessionID] \u003cint\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-RDVirtualDesktopADMachineAccountReuse", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Path \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDAvailableApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDCertificate", + "CommandType": "Function", + "ParameterSets": "[[-Role] \u003cRDCertificateRole\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDConnectionBrokerHighAvailability", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDDeploymentGatewayConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDFileTypeAssociation", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [-AppAlias \u003cstring\u003e] [-AppDisplayName \u003cstring[]\u003e] [-FileExtension \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDLicenseConfiguration", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -User \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[[-VirtualDesktopName] \u003cstring\u003e] [[-ID] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [[-Alias] \u003cstring\u003e] [-DisplayName \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDRemoteDesktop", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDServer", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [[-Role] \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDSessionCollection", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDSessionCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserGroup [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Connection [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserProfileDisk [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Security [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -LoadBalancing [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Client [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDUserSession", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring[]\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktop", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[[-CollectionName] \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopConfiguration [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserGroups [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Client [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -UserProfileDisks [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopCollectionJobStatus", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopConcurrency", + "CommandType": "Function", + "ParameterSets": "[[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopIdleCount", + "CommandType": "Function", + "ParameterSets": "[[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDVirtualDesktopTemplateExportPath", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-RDWorkspace", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Grant-RDOUAccess", + "CommandType": "Function", + "ParameterSets": "[[-Domain] \u003cstring\u003e] [-OU] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Path \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-RDUserLogoff", + "CommandType": "Function", + "ParameterSets": "[-HostServer] \u003cstring\u003e [-UnifiedSessionID] \u003cint\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-RDVirtualDesktop", + "CommandType": "Function", + "ParameterSets": "[-SourceHost] \u003cstring\u003e [-DestinationHost] \u003cstring\u003e [-Name] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [[-Credential] \u003cpscredential\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDCertificate", + "CommandType": "Function", + "ParameterSets": "[-Role] \u003cRDCertificateRole\u003e -DnsName \u003cstring\u003e -Password \u003csecurestring\u003e [-ExportPath \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[-VirtualDesktopName] \u003cstring\u003e [[-ID] \u003cstring\u003e] [[-Context] \u003cbyte[]\u003e] [[-Deadline] \u003cdatetime\u003e] [[-StartTime] \u003cdatetime\u003e] [[-EndTime] \u003cdatetime\u003e] [[-Label] \u003cstring\u003e] [[-Plugin] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -DisplayName \u003cstring\u003e -FilePath \u003cstring\u003e [-Alias \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -DisplayName \u003cstring\u003e -FilePath \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-Alias \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDSessionCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -SessionHost \u003cstring[]\u003e [-CollectionDescription \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDSessionDeployment", + "CommandType": "Function", + "ParameterSets": "[-ConnectionBroker] \u003cstring\u003e [-SessionHost] \u003cstring[]\u003e [[-WebAccessServer] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -PooledManaged -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e -StorageType \u003cVirtualDesktopStorageType\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-CentralStoragePath \u003cstring\u003e] [-LocalStoragePath \u003cstring\u003e] [-VirtualDesktopTemplateStoragePath \u003cstring\u003e] [-Domain \u003cstring\u003e] [-OU \u003cstring\u003e] [-CustomSysprepUnattendFilePath \u003cstring\u003e] [-VirtualDesktopNamePrefix \u003cstring\u003e] [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-UserProfileDiskPath \u003cstring\u003e] [-MaxUserProfileDiskSizeGB \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -PersonalManaged -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -VirtualDesktopAllocation \u003chashtable\u003e -StorageType \u003cVirtualDesktopStorageType\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-CentralStoragePath \u003cstring\u003e] [-LocalStoragePath \u003cstring\u003e] [-Domain \u003cstring\u003e] [-OU \u003cstring\u003e] [-CustomSysprepUnattendFilePath \u003cstring\u003e] [-VirtualDesktopNamePrefix \u003cstring\u003e] [-AutoAssignPersonalVirtualDesktopToUser] [-GrantAdministrativePrivilege] [-Force] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -PooledUnmanaged -VirtualDesktopName \u003cstring[]\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-UserProfileDiskPath \u003cstring\u003e] [-MaxUserProfileDiskSizeGB \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -PersonalUnmanaged -VirtualDesktopName \u003cstring[]\u003e [-Description \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [-AutoAssignPersonalVirtualDesktopToUser] [-GrantAdministrativePrivilege] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-RDVirtualDesktopDeployment", + "CommandType": "Function", + "ParameterSets": "[-ConnectionBroker] \u003cstring\u003e [-VirtualizationHost] \u003cstring[]\u003e [[-WebAccessServer] \u003cstring\u003e] [-CreateVirtualSwitch] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-User] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e [-VirtualDesktopName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[[-VirtualDesktopName] \u003cstring\u003e] [[-ID] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Alias \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDServer", + "CommandType": "Function", + "ParameterSets": "[-Server] \u003cstring\u003e [-Role] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDSessionCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-SessionHost] \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-RDVirtualDesktopFromCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -VirtualDesktopName \u003cstring[]\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Send-RDUserMessage", + "CommandType": "Function", + "ParameterSets": "[-HostServer] \u003cstring\u003e [-UnifiedSessionID] \u003cint\u003e [-MessageTitle] \u003cstring\u003e [-MessageBody] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDActiveManagementServer", + "CommandType": "Function", + "ParameterSets": "[-ManagementServer] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDCertificate", + "CommandType": "Function", + "ParameterSets": "[-Role] \u003cRDCertificateRole\u003e [-Password \u003csecurestring\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e] [-Role] \u003cRDCertificateRole\u003e [-ImportPath \u003cstring\u003e] [-Password \u003csecurestring\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDClientAccessName", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [-ClientAccessName] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDConnectionBrokerHighAvailability", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [-DatabaseConnectionString] \u003cstring\u003e [-DatabaseFilePath] \u003cstring\u003e [-ClientAccessName] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDDatabaseConnectionString", + "CommandType": "Function", + "ParameterSets": "[-DatabaseConnectionString] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDDeploymentGatewayConfiguration", + "CommandType": "Function", + "ParameterSets": "[-GatewayMode] \u003cGatewayUsage\u003e [[-GatewayExternalFqdn] \u003cstring\u003e] [[-LogonMethod] \u003cGatewayAuthMode\u003e] [[-UseCachedCredentials] \u003cbool\u003e] [[-BypassLocal] \u003cbool\u003e] [[-ConnectionBroker] \u003cstring\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDFileTypeAssociation", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -AppAlias \u003cstring\u003e -FileExtension \u003cstring\u003e -IsPublished \u003cbool\u003e [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -AppAlias \u003cstring\u003e -FileExtension \u003cstring\u003e -IsPublished \u003cbool\u003e -VirtualDesktopName \u003cstring\u003e [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDLicenseConfiguration", + "CommandType": "Function", + "ParameterSets": "-Mode \u003cLicensingMode\u003e [-Force] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] -Mode \u003cLicensingMode\u003e -LicenseServer \u003cstring[]\u003e [-Force] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] -LicenseServer \u003cstring[]\u003e [-Force] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDPersonalVirtualDesktopAssignment", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -User \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDPersonalVirtualDesktopPatchSchedule", + "CommandType": "Function", + "ParameterSets": "[-VirtualDesktopName] \u003cstring\u003e [-ID] \u003cstring\u003e [[-Context] \u003cbyte[]\u003e] [[-Deadline] \u003cdatetime\u003e] [[-StartTime] \u003cdatetime\u003e] [[-EndTime] \u003cdatetime\u003e] [[-Label] \u003cstring\u003e] [[-Plugin] \u003cstring\u003e] [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDRemoteApp", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -Alias \u003cstring\u003e [-DisplayName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -Alias \u003cstring\u003e -VirtualDesktopName \u003cstring\u003e [-DisplayName \u003cstring\u003e] [-FilePath \u003cstring\u003e] [-FileVirtualPath \u003cstring\u003e] [-ShowInWebAccess \u003cbool\u003e] [-FolderName \u003cstring\u003e] [-CommandLineSetting \u003cCommandLineSettingValue\u003e] [-RequiredCommandLine \u003cstring\u003e] [-UserGroups \u003cstring[]\u003e] [-IconPath \u003cstring\u003e] [-IconIndex \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDRemoteDesktop", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ShowInWebAccess] \u003cbool\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDSessionCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-CollectionDescription \u003cstring\u003e] [-UserGroup \u003cstring[]\u003e] [-ClientDeviceRedirectionOptions \u003cRDClientDeviceRedirectionOptions\u003e] [-MaxRedirectedMonitors \u003cint\u003e] [-ClientPrinterRedirected \u003cbool\u003e] [-RDEasyPrintDriverEnabled \u003cbool\u003e] [-ClientPrinterAsDefault \u003cbool\u003e] [-TemporaryFoldersPerSession \u003cbool\u003e] [-BrokenConnectionAction \u003cRDBrokenConnectionAction\u003e] [-TemporaryFoldersDeletedOnExit \u003cbool\u003e] [-AutomaticReconnectionEnabled \u003cbool\u003e] [-ActiveSessionLimitMin \u003cint\u003e] [-DisconnectedSessionLimitMin \u003cint\u003e] [-IdleSessionLimitMin \u003cint\u003e] [-AuthenticateUsingNLA \u003cbool\u003e] [-EncryptionLevel \u003cRDEncryptionLevel\u003e] [-SecurityLayer \u003cRDSecurityLayer\u003e] [-LoadBalancing \u003cRDSessionHostCollectionLoadBalancingInstance[]\u003e] [-CustomRdpProperty \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -DisableUserProfileDisk [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -EnableUserProfileDisk -MaxUserProfileDiskSizeGB \u003cint\u003e -DiskPath \u003cstring\u003e [-IncludeFolderPath \u003cstring[]\u003e] [-ExcludeFolderPath \u003cstring[]\u003e] [-IncludeFilePath \u003cstring[]\u003e] [-ExcludeFilePath \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDSessionHost", + "CommandType": "Function", + "ParameterSets": "[-SessionHost] \u003cstring[]\u003e [-NewConnectionAllowed] \u003cRDServerNewConnectionAllowed\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopCollectionConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-CollectionDescription \u003cstring\u003e] [-ClientDeviceRedirectionOptions \u003cRDClientDeviceRedirectionOptions\u003e] [-RedirectAllMonitors \u003cbool\u003e] [-RedirectClientPrinter \u003cbool\u003e] [-SaveDelayMinutes \u003cint\u003e] [-UserGroups \u003cstring[]\u003e] [-AutoAssignPersonalVirtualDesktopToUser \u003cbool\u003e] [-GrantAdministrativePrivilege \u003cbool\u003e] [-CustomRdpProperty \u003cstring\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -DisableUserProfileDisks [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -EnableUserProfileDisks -MaxUserProfileDiskSizeGB \u003cint\u003e -DiskPath \u003cstring\u003e [-IncludeFolderPath \u003cstring[]\u003e] [-ExcludeFolderPath \u003cstring[]\u003e] [-IncludeFilePath \u003cstring[]\u003e] [-ExcludeFilePath \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopConcurrency", + "CommandType": "Function", + "ParameterSets": "[-ConcurrencyFactor] \u003cint\u003e [[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Allocation] \u003chashtable\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopIdleCount", + "CommandType": "Function", + "ParameterSets": "[-IdleCount] \u003cint\u003e [[-HostServer] \u003cstring[]\u003e] [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Allocation] \u003chashtable\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDVirtualDesktopTemplateExportPath", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [-Path] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-RDWorkspace", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-RDVirtualDesktopCollectionJob", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-RDOUAccess", + "CommandType": "Function", + "ParameterSets": "[[-Domain] \u003cstring\u003e] [-OU] \u003cstring\u003e [[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-RDVirtualDesktopADMachineAccountReuse", + "CommandType": "Function", + "ParameterSets": "[[-ConnectionBroker] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-RDVirtualDesktopCollection", + "CommandType": "Function", + "ParameterSets": "[-CollectionName] \u003cstring\u003e -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -StartTime \u003cdatetime\u003e -ForceLogoffTime \u003cdatetime\u003e [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-CollectionName] \u003cstring\u003e -VirtualDesktopTemplateName \u003cstring\u003e -VirtualDesktopTemplateHostServer \u003cstring\u003e -ForceLogoffTime \u003cdatetime\u003e [-DisableVirtualDesktopRollback] [-VirtualDesktopPasswordAge \u003cint\u003e] [-ConnectionBroker \u003cstring\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "ScheduledTasks", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring\u003e] [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring\u003e] [[-Cluster] \u003cstring\u003e] [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring[]\u003e] [[-TaskPath] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ScheduledTaskInfo", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Principal] \u003cCimInstance#MSFT_TaskPrincipal\u003e] [[-Description] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskAction", + "CommandType": "Function", + "ParameterSets": "[-Execute] \u003cstring\u003e [[-Argument] \u003cstring\u003e] [[-WorkingDirectory] \u003cstring\u003e] [-Id \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskPrincipal", + "CommandType": "Function", + "ParameterSets": "[-UserId] \u003cstring\u003e [[-LogonType] \u003cLogonTypeEnum\u003e] [[-RunLevel] \u003cRunLevelEnum\u003e] [[-ProcessTokenSidType] \u003cProcessTokenSidTypeEnum\u003e] [[-RequiredPrivilege] \u003cstring[]\u003e] [[-Id] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-GroupId] \u003cstring\u003e [[-RunLevel] \u003cRunLevelEnum\u003e] [[-ProcessTokenSidType] \u003cProcessTokenSidTypeEnum\u003e] [[-RequiredPrivilege] \u003cstring[]\u003e] [[-Id] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskSettingsSet", + "CommandType": "Function", + "ParameterSets": "[-DisallowDemandStart] [-DisallowHardTerminate] [-Compatibility \u003cCompatibilityEnum\u003e] [-DeleteExpiredTaskAfter \u003ctimespan\u003e] [-AllowStartIfOnBatteries] [-Disable] [-MaintenanceExclusive] [-Hidden] [-RunOnlyIfIdle] [-IdleWaitTimeout \u003ctimespan\u003e] [-NetworkId \u003cstring\u003e] [-NetworkName \u003cstring\u003e] [-DisallowStartOnRemoteAppSession] [-MaintenancePeriod \u003ctimespan\u003e] [-MaintenanceDeadline \u003ctimespan\u003e] [-StartWhenAvailable] [-DontStopIfGoingOnBatteries] [-WakeToRun] [-IdleDuration \u003ctimespan\u003e] [-RestartOnIdle] [-DontStopOnIdleEnd] [-ExecutionTimeLimit \u003ctimespan\u003e] [-MultipleInstances \u003cMultipleInstancesEnum\u003e] [-Priority \u003cint\u003e] [-RestartCount \u003cint\u003e] [-RestartInterval \u003ctimespan\u003e] [-RunOnlyIfNetworkAvailable] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ScheduledTaskTrigger", + "CommandType": "Function", + "ParameterSets": "-Once -At \u003cdatetime\u003e [-RandomDelay \u003ctimespan\u003e] [-RepetitionInterval \u003ctimespan\u003e] [-RepetitionDuration \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -Daily -At \u003cdatetime\u003e [-DaysInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -Weekly -At \u003cdatetime\u003e -DaysOfWeek \u003cDayOfWeek[]\u003e [-WeeksInterval \u003cint\u003e] [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -AtStartup [-RandomDelay \u003ctimespan\u003e] [\u003cCommonParameters\u003e] -AtLogOn [-RandomDelay \u003ctimespan\u003e] [-User \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-Cluster] \u003cstring\u003e] [[-Resource] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-Xml] \u003cstring\u003e [[-Cluster] \u003cstring\u003e] [[-Resource] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskType] \u003cClusterTaskTypeEnum\u003e] [-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Description] \u003cstring\u003e] [[-Cluster] \u003cstring\u003e] [[-Resource] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [[-RunLevel] \u003cRunLevelEnum\u003e] [[-Description] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-Xml] \u003cstring\u003e [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Principal] \u003cCimInstance#MSFT_TaskPrincipal\u003e] [[-Description] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-TaskName] \u003cstring\u003e] [[-TaskPath] \u003cstring\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [-Xml] \u003cstring\u003e [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Description] \u003cstring\u003e] [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-User] \u003cstring\u003e] [[-Password] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [[-Password] \u003cstring\u003e] [[-User] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [[-Action] \u003cCimInstance#MSFT_TaskAction[]\u003e] [[-Trigger] \u003cCimInstance#MSFT_TaskTrigger[]\u003e] [[-Settings] \u003cCimInstance#MSFT_TaskSettings\u003e] [[-Principal] \u003cCimInstance#MSFT_TaskPrincipal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-TaskPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cCimInstance#MSFT_ScheduledTask\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-ClusteredScheduledTask", + "CommandType": "Function", + "ParameterSets": "[-TaskName] \u003cstring\u003e [[-Cluster] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-InputObject] \u003cCimInstance#MSFT_ClusteredScheduledTask\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-ScheduledTask", + "CommandType": "Function", + "ParameterSets": "[[-TaskName] \u003cstring[]\u003e] [[-TaskPath] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_ScheduledTask[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "SecureBoot", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Confirm-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "-Name \u003cstring\u003e -SignatureOwner \u003cguid\u003e -CertificateFilePath \u003cstring[]\u003e [-FormatWithCert] [-SignableFilePath \u003cstring\u003e] [-Time \u003cstring\u003e] [-AppendWrite] [-ContentFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -SignatureOwner \u003cguid\u003e -Hash \u003cstring[]\u003e -Algorithm \u003cstring\u003e [-SignableFilePath \u003cstring\u003e] [-Time \u003cstring\u003e] [-AppendWrite] [-ContentFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -Delete [-SignableFilePath \u003cstring\u003e] [-Time \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SecureBootPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-OutputFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SecureBootUEFI", + "CommandType": "Cmdlet", + "ParameterSets": "-Name \u003cstring\u003e -Time \u003cstring\u003e [-ContentFilePath \u003cstring\u003e] [-SignedFilePath \u003cstring\u003e] [-AppendWrite] [-OutputFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e -Time \u003cstring\u003e [-Content \u003cbyte[]\u003e] [-SignedFilePath \u003cstring\u003e] [-AppendWrite] [-OutputFilePath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "ServerCore", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-DisplayResolution", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-DisplayResolution", + "CommandType": "Function", + "ParameterSets": "[-Width] \u003cObject\u003e [-Height] \u003cObject\u003e [-Force] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "ServerManager", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-WindowsFeature", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Remove-WindowsFeature", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Disable-ServerManagerStandardUserRemoting", + "CommandType": "Function", + "ParameterSets": "[-User] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-ServerManagerStandardUserRemoting", + "CommandType": "Function", + "ParameterSets": "[-User] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsFeature", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Vhd \u003cstring\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Install-WindowsFeature", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cFeature[]\u003e [-Restart] [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cFeature[]\u003e -Vhd \u003cstring\u003e [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ConfigurationFilePath \u003cstring\u003e [-Vhd \u003cstring\u003e] [-Restart] [-Source \u003cstring[]\u003e] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Uninstall-WindowsFeature", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cFeature[]\u003e [-Restart] [-IncludeManagementTools] [-Remove] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cFeature[]\u003e [-Vhd \u003cstring\u003e] [-IncludeManagementTools] [-Remove] [-ComputerName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-LogPath \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "Add-WindowsFeature", + "Remove-WindowsFeature" + ] + }, + { + "Name": "ServerManagerTasks", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-SMCounterSample", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e -CounterPath \u003cstring[]\u003e [-BatchSize \u003cuint32\u003e] [-StartTime \u003cdatetime\u003e] [-EndTime \u003cdatetime\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -CollectorName \u003cstring\u003e -CounterPath \u003cstring[]\u003e -Timestamp \u003cdatetime[]\u003e [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMPerformanceCollector", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerBpaResult", + "CommandType": "Function", + "ParameterSets": "-BpaXPath \u003cstring[]\u003e [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerClusterName", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerEvent", + "CommandType": "Function", + "ParameterSets": "[-Log \u003cstring[]\u003e] [-Level \u003cEventLevelFlag[]\u003e] [-StartTime \u003cuint64[]\u003e] [-EndTime \u003cuint64[]\u003e] [-BatchSize \u003cuint32\u003e] [-QueryFile \u003cstring[]\u003e] [-QueryFileId \u003cint[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerFeature", + "CommandType": "Function", + "ParameterSets": "[-FilterFlag \u003cFeatureFilterFlag\u003e] [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerInventory", + "CommandType": "Function", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SMServerService", + "CommandType": "Function", + "ParameterSets": "[-Service \u003cstring[]\u003e] [-BatchSize \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SMServerPerformanceLog", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-ThresholdMSec \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-SMPerformanceCollector", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-SMPerformanceCollector", + "CommandType": "Function", + "ParameterSets": "-CollectorName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "SmbShare", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Block-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Close-SmbOpenFile", + "CommandType": "Function", + "ParameterSets": "[[-FileId] \u003cuint64[]\u003e] [-SessionId \u003cuint64[]\u003e] [-ClientComputerName \u003cstring[]\u003e] [-ClientUserName \u003cstring[]\u003e] [-ScopeName \u003cstring[]\u003e] [-ClusterNodeName \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBOpenFile[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Close-SmbSession", + "CommandType": "Function", + "ParameterSets": "[[-SessionId] \u003cuint64[]\u003e] [-ClientComputerName \u003cstring[]\u003e] [-ClientUserName \u003cstring[]\u003e] [-ScopeName \u003cstring[]\u003e] [-ClusterNodeName \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBSession[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-SmbDelegation", + "CommandType": "Function", + "ParameterSets": "[[-SmbClient] \u003cstring\u003e] [-SmbServer] \u003cstring\u003e [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-SmbDelegation", + "CommandType": "Function", + "ParameterSets": "[-SmbClient] \u003cstring\u003e [-SmbServer] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbBandwidthLimit", + "CommandType": "Function", + "ParameterSets": "[[-Category] \u003cBandwidthLimitCategory[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbClientNetworkInterface", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbConnection", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring[]\u003e] [[-UserName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbDelegation", + "CommandType": "Function", + "ParameterSets": "[-SmbServer] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbMapping", + "CommandType": "Function", + "ParameterSets": "[[-LocalPath] \u003cstring[]\u003e] [[-RemotePath] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbMultichannelConnection", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring[]\u003e] [-IncludeNotSelected] [-SmbInstance \u003cSmbInstance\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbMultichannelConstraint", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbOpenFile", + "CommandType": "Function", + "ParameterSets": "[[-FileId] \u003cuint64[]\u003e] [[-SessionId] \u003cuint64[]\u003e] [[-ClientComputerName] \u003cstring[]\u003e] [[-ClientUserName] \u003cstring[]\u003e] [[-ScopeName] \u003cstring[]\u003e] [[-ClusterNodeName] \u003cstring[]\u003e] [-IncludeHidden] [-SmbInstance \u003cSmbInstance\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbServerNetworkInterface", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbSession", + "CommandType": "Function", + "ParameterSets": "[[-SessionId] \u003cuint64[]\u003e] [[-ClientComputerName] \u003cstring[]\u003e] [[-ClientUserName] \u003cstring[]\u003e] [[-ScopeName] \u003cstring[]\u003e] [[-ClusterNodeName] \u003cstring[]\u003e] [-IncludeHidden] [-SmbInstance \u003cSmbInstance\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbShare", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [[-ScopeName] \u003cstring[]\u003e] [-Scoped \u003cbool[]\u003e] [-Special \u003cbool[]\u003e] [-ContinuouslyAvailable \u003cbool[]\u003e] [-ShareState \u003cShareState[]\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode[]\u003e] [-CachingMode \u003cCachingMode[]\u003e] [-ConcurrentUserLimit \u003cuint32[]\u003e] [-AvailabilityType \u003cAvailabilityType[]\u003e] [-CaTimeout \u003cuint32[]\u003e] [-EncryptData \u003cbool[]\u003e] [-IncludeHidden] [-SmbInstance \u003cSmbInstance\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Grant-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-AccountName \u003cstring[]\u003e] [-AccessRight \u003cShareAccessRight\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-AccessRight \u003cShareAccessRight\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SmbMapping", + "CommandType": "Function", + "ParameterSets": "[[-LocalPath] \u003cstring\u003e] [[-RemotePath] \u003cstring\u003e] [-UserName \u003cstring\u003e] [-Password \u003cstring\u003e] [-Persistent \u003cbool\u003e] [-SaveCredentials] [-HomeFolder] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SmbMultichannelConstraint", + "CommandType": "Function", + "ParameterSets": "[-ServerName] \u003cstring\u003e [-InterfaceIndex] \u003cuint32[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ServerName] \u003cstring\u003e [-InterfaceAlias] \u003cstring[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-SmbShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-Path] \u003cstring\u003e [[-ScopeName] \u003cstring\u003e] [-Temporary] [-ContinuouslyAvailable \u003cbool\u003e] [-Description \u003cstring\u003e] [-ConcurrentUserLimit \u003cuint32\u003e] [-CATimeout \u003cuint32\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode\u003e] [-CachingMode \u003cCachingMode\u003e] [-FullAccess \u003cstring[]\u003e] [-ChangeAccess \u003cstring[]\u003e] [-ReadAccess \u003cstring[]\u003e] [-NoAccess \u003cstring[]\u003e] [-SecurityDescriptor \u003cstring\u003e] [-EncryptData \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SmbBandwidthLimit", + "CommandType": "Function", + "ParameterSets": "[[-Category] \u003cBandwidthLimitCategory[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SmbBandwidthLimit[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SmbMapping", + "CommandType": "Function", + "ParameterSets": "[[-LocalPath] \u003cstring[]\u003e] [[-RemotePath] \u003cstring[]\u003e] [-UpdateProfile] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SmbMapping[]\u003e [-UpdateProfile] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SmbMultichannelConstraint", + "CommandType": "Function", + "ParameterSets": "[-ServerName] \u003cstring[]\u003e [[-InterfaceIndex] \u003cuint32[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ServerName] \u003cstring[]\u003e [[-InterfaceAlias] \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SmbMultichannelConstraint[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-SmbShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Revoke-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbBandwidthLimit", + "CommandType": "Function", + "ParameterSets": "-Category \u003cBandwidthLimitCategory\u003e -BytesPerSecond \u003cuint64\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbClientConfiguration", + "CommandType": "Function", + "ParameterSets": "[-ConnectionCountPerRssNetworkInterface \u003cuint32\u003e] [-DirectoryCacheEntriesMax \u003cuint32\u003e] [-DirectoryCacheEntrySizeMax \u003cuint32\u003e] [-DirectoryCacheLifetime \u003cuint32\u003e] [-EnableBandwidthThrottling \u003cbool\u003e] [-EnableByteRangeLockingOnReadOnlyFiles \u003cbool\u003e] [-EnableLargeMtu \u003cbool\u003e] [-EnableMultiChannel \u003cbool\u003e] [-DormantFileLimit \u003cuint32\u003e] [-EnableSecuritySignature \u003cbool\u003e] [-ExtendedSessionTimeout \u003cuint32\u003e] [-FileInfoCacheEntriesMax \u003cuint32\u003e] [-FileInfoCacheLifetime \u003cuint32\u003e] [-FileNotFoundCacheEntriesMax \u003cuint32\u003e] [-FileNotFoundCacheLifetime \u003cuint32\u003e] [-KeepConn \u003cuint32\u003e] [-MaxCmds \u003cuint32\u003e] [-MaximumConnectionCountPerServer \u003cuint32\u003e] [-OplocksDisabled \u003cbool\u003e] [-RequireSecuritySignature \u003cbool\u003e] [-SessionTimeout \u003cuint32\u003e] [-UseOpportunisticLocking \u003cbool\u003e] [-WindowSizeThreshold \u003cuint32\u003e] [-EnableLoadBalanceScaleOut \u003cbool\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbPathAcl", + "CommandType": "Function", + "ParameterSets": "[-ShareName] \u003cstring\u003e [[-ScopeName] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbServerConfiguration", + "CommandType": "Function", + "ParameterSets": "[-AnnounceServer \u003cbool\u003e] [-AsynchronousCredits \u003cuint32\u003e] [-AutoShareServer \u003cbool\u003e] [-AutoShareWorkstation \u003cbool\u003e] [-CachedOpenLimit \u003cuint32\u003e] [-AnnounceComment \u003cstring\u003e] [-EnableDownlevelTimewarp \u003cbool\u003e] [-EnableLeasing \u003cbool\u003e] [-EnableMultiChannel \u003cbool\u003e] [-EnableStrictNameChecking \u003cbool\u003e] [-AutoDisconnectTimeout \u003cuint32\u003e] [-DurableHandleV2TimeoutInSeconds \u003cuint32\u003e] [-EnableAuthenticateUserSharing \u003cbool\u003e] [-EnableForcedLogoff \u003cbool\u003e] [-EnableOplocks \u003cbool\u003e] [-EnableSecuritySignature \u003cbool\u003e] [-ServerHidden \u003cbool\u003e] [-IrpStackSize \u003cuint32\u003e] [-KeepAliveTime \u003cuint32\u003e] [-MaxChannelPerSession \u003cuint32\u003e] [-MaxMpxCount \u003cuint32\u003e] [-MaxSessionPerConnection \u003cuint32\u003e] [-MaxThreadsPerQueue \u003cuint32\u003e] [-MaxWorkItems \u003cuint32\u003e] [-NullSessionPipes \u003cstring\u003e] [-NullSessionShares \u003cstring\u003e] [-OplockBreakWait \u003cuint32\u003e] [-PendingClientTimeoutInSeconds \u003cuint32\u003e] [-RequireSecuritySignature \u003cbool\u003e] [-EnableSMB1Protocol \u003cbool\u003e] [-EnableSMB2Protocol \u003cbool\u003e] [-Smb2CreditsMax \u003cuint32\u003e] [-Smb2CreditsMin \u003cuint32\u003e] [-SmbServerNameHardeningLevel \u003cuint32\u003e] [-TreatHostAsStableStorage \u003cbool\u003e] [-ValidateAliasNotCircular \u003cbool\u003e] [-ValidateShareScope \u003cbool\u003e] [-ValidateShareScopeNotAliased \u003cbool\u003e] [-ValidateTargetName \u003cbool\u003e] [-EncryptData \u003cbool\u003e] [-RejectUnencryptedAccess \u003cbool\u003e] [-AuditSmb1Access \u003cbool\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SmbShare", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-Description \u003cstring\u003e] [-ConcurrentUserLimit \u003cuint32\u003e] [-CATimeout \u003cuint32\u003e] [-ContinuouslyAvailable \u003cbool\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode\u003e] [-CachingMode \u003cCachingMode\u003e] [-SecurityDescriptor \u003cstring\u003e] [-EncryptData \u003cbool\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-Description \u003cstring\u003e] [-ConcurrentUserLimit \u003cuint32\u003e] [-CATimeout \u003cuint32\u003e] [-ContinuouslyAvailable \u003cbool\u003e] [-FolderEnumerationMode \u003cFolderEnumerationMode\u003e] [-CachingMode \u003cCachingMode\u003e] [-SecurityDescriptor \u003cstring\u003e] [-EncryptData \u003cbool\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unblock-SmbShareAccess", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [[-ScopeName] \u003cstring[]\u003e] [-SmbInstance \u003cSmbInstance\u003e] [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_SMBShare[]\u003e [-AccountName \u003cstring[]\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-SmbMultichannelConnection", + "CommandType": "Function", + "ParameterSets": "[[-ServerName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gsmbs", + "nsmbs", + "rsmbs", + "ssmbs", + "gsmba", + "grsmba", + "rksmba", + "blsmba", + "ulsmba", + "gsmbse", + "cssmbse", + "gsmbo", + "cssmbo", + "gsmbsc", + "ssmbsc", + "gsmbcc", + "ssmbcc", + "gsmbc", + "gsmbm", + "nsmbm", + "rsmbm", + "gsmbcn", + "gsmbsn", + "gsmbmc", + "udsmbmc", + "gsmbt", + "nsmbt", + "rsmbt", + "ssmbp", + "gsmbb", + "ssmbb", + "rsmbb", + "gsmbd", + "esmbd", + "dsmbd" + ] + }, + { + "Name": "SmbWitness", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Move-SmbClient", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Get-SmbWitnessClient", + "CommandType": "Function", + "ParameterSets": "[[-ClientName] \u003cstring[]\u003e] [-State \u003cState[]\u003e] [-Flags \u003cFlags[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Move-SmbWitnessClient", + "CommandType": "Function", + "ParameterSets": "[-ClientName] \u003cstring\u003e [-DestinationNode] \u003cstring\u003e [[-NetworkName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "gsmbw", + "msmbw", + "Move-SmbClient" + ] + }, + { + "Name": "SoftwareInventoryLogging", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-SilComputer", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SilComputerIdentity", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SilData", + "CommandType": "Function", + "ParameterSets": "[[-FileName] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SilLogging", + "CommandType": "Function", + "ParameterSets": "[[-CimSession] \u003cCimSession[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SilSoftware", + "CommandType": "Function", + "ParameterSets": "[[-ID] \u003cstring[]\u003e] [-Name \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SilUalAccess", + "CommandType": "Function", + "ParameterSets": "[[-RoleGuid] \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SilWindowsUpdate", + "CommandType": "Function", + "ParameterSets": "[[-ID] \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Publish-SilData", + "CommandType": "Function", + "ParameterSets": "[[-FileName] \u003cstring\u003e] [-CheckCollectionHistory] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UseCacheOnly] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-SilLogging", + "CommandType": "Function", + "ParameterSets": "-TimeOfDay \u003cdatetime\u003e [-CimSession \u003cCimSession[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-TimeOfDay \u003cdatetime\u003e] [-TargetUri \u003cstring\u003e] [-CertificateThumbprint \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-SilLogging", + "CommandType": "Function", + "ParameterSets": "[[-CimSession] \u003cCimSession[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-SilLogging", + "CommandType": "Function", + "ParameterSets": "[[-CimSession] \u003cCimSession[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "StartScreen", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-StartApps", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cObject\u003e]" + }, + { + "Name": "Export-StartLayout", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-LiteralPath] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-StartLayout", + "CommandType": "Cmdlet", + "ParameterSets": "[-LayoutPath] \u003cstring\u003e [-MountPath] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-LayoutLiteralPath] \u003cstring\u003e [-MountLiteralPath] \u003cstring\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Storage", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Flush-Volume", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Get-PhysicalDiskSNV", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Initialize-Volume", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Write-FileSystemCache", + "CommandType": "Alias", + "ParameterSets": null + }, + { + "Name": "Add-InitiatorIdToMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PartitionAccessPath", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [[-AccessPath] \u003cstring\u003e] [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DriveLetter \u003cchar[]\u003e [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-AssignDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[[-StoragePool] \u003cCimInstance#MSFT_StoragePool\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-StoragePoolFriendlyName \u003cstring\u003e] [-StoragePoolName \u003cstring\u003e] [-StoragePoolUniqueId \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-VirtualDisk] \u003cCimInstance#MSFT_VirtualDisk\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-VirtualDiskFriendlyName \u003cstring\u003e] [-VirtualDiskName \u003cstring\u003e] [-VirtualDiskUniqueId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-TargetPortToMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-VirtualDiskToMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-VirtualDisknames \u003cstring[]\u003e] [-DeviceNumbers \u003cuint16[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-VirtualDisknames \u003cstring[]\u003e] [-DeviceNumbers \u003cuint16[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-VirtualDisknames \u003cstring[]\u003e] [-DeviceNumbers \u003cuint16[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-RemoveData] [-RemoveOEM] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-FileStorageTier", + "CommandType": "Function", + "ParameterSets": "-FilePath \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-StorageDiagnosticInfo", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Connect-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PhysicalDiskIndication", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PhysicalDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-StorageEnclosureIdentification", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-SlotNumbers \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-SlotNumbers \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageEnclosure[]\u003e [-SlotNumbers \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-StorageNodeName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Dismount-DiskImage", + "CommandType": "Function", + "ParameterSets": "[-ImagePath] \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DevicePath \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DiskImage[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PhysicalDiskIndication", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PhysicalDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-StorageEnclosureIdentification", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-SlotNumbers \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-SlotNumbers \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageEnclosure[]\u003e [-SlotNumbers \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Format-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-DisableHeatGathering] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-DisableHeatGathering] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-DisableHeatGathering] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-DisableHeatGathering] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Partition \u003cCimInstance#MSFT_Partition\u003e] [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-DisableHeatGathering] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-FileSystem \u003cstring\u003e] [-NewFileSystemLabel \u003cstring\u003e] [-AllocationUnitSize \u003cuint32\u003e] [-Full] [-Force] [-Compress] [-ShortFileNameSupport \u003cbool\u003e] [-SetIntegrityStreams \u003cbool\u003e] [-UseLargeFRS] [-DisableHeatGathering] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Disk", + "CommandType": "Function", + "ParameterSets": "[[-Number] \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Path \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Partition \u003cCimInstance#MSFT_Partition\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSISession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSIConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-DiskImage", + "CommandType": "Function", + "ParameterSets": "[-ImagePath] \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Volume \u003cCimInstance#MSFT_Volume\u003e] [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DevicePath \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-FileIntegrity", + "CommandType": "Function", + "ParameterSets": "[-FileName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-FileStorageTier", + "CommandType": "Function", + "ParameterSets": "-VolumeDriveLetter \u003cchar\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -VolumePath \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Volume \u003cciminstance\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FilePath \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-InitiatorId", + "CommandType": "Function", + "ParameterSets": "[[-InitiatorAddress] \u003cstring[]\u003e] [-HostType \u003cHostType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-InitiatorPort", + "CommandType": "Function", + "ParameterSets": "[[-NodeAddress] \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-ObjectId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InstanceName \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSISession \u003cCimInstance#MSFT_iSCSISession\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSIConnection \u003cCimInstance#MSFT_iSCSIConnection\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-iSCSITarget \u003cCimInstance#MSFT_iSCSITarget\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-HostType \u003cHostType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InitiatorId \u003cCimInstance#MSFT_InitiatorId\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OffloadDataTransferSetting", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Partition", + "CommandType": "Function", + "ParameterSets": "[[-DiskNumber] \u003cuint32[]\u003e] [[-PartitionNumber] \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskId \u003cstring[]\u003e] [-Offset \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DriveLetter \u003cchar[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Volume \u003cCimInstance#MSFT_Volume\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PartitionSupportedSize", + "CommandType": "Function", + "ParameterSets": "[[-DiskNumber] \u003cuint32[]\u003e] [[-PartitionNumber] \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskId \u003cstring[]\u003e] [-Offset \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DriveLetter \u003cchar[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[-UniqueId \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-ObjectId \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-FriendlyName] \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-VirtualRangeMin \u003cuint64\u003e] [-VirtualRangeMax \u003cuint64\u003e] [-HasAllocations \u003cbool\u003e] [-SelectedForUse \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageNode \u003cCimInstance#MSFT_StorageNode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageEnclosure \u003cCimInstance#MSFT_StorageEnclosure\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-Description \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CanPool \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PhysicalDiskStorageNodeView", + "CommandType": "Function", + "ParameterSets": "[[-StorageNode] \u003cCimInstance#MSFT_StorageNode\u003e] [[-PhysicalDisk] \u003cCimInstance#MSFT_PhysicalDisk\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-ResiliencySetting", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageDiagnosticInfo", + "CommandType": "Function", + "ParameterSets": "-InputObject \u003cCimInstance#MSFT_StorageSubSystem\u003e -DestinationPath \u003cstring\u003e [-TimeSpan \u003cuint32\u003e] [-ActivityId \u003cstring\u003e] [-ExcludeOperationalLog] [-ExcludeDiagnosticLog] [-IncludeLiveDump] [-CimSession \u003cCimSession\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystemFriendlyName] \u003cstring\u003e -DestinationPath \u003cstring\u003e [-TimeSpan \u003cuint32\u003e] [-ActivityId \u003cstring\u003e] [-ExcludeOperationalLog] [-ExcludeDiagnosticLog] [-IncludeLiveDump] [-CimSession \u003cCimSession\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring\u003e -DestinationPath \u003cstring\u003e [-TimeSpan \u003cuint32\u003e] [-ActivityId \u003cstring\u003e] [-ExcludeOperationalLog] [-ExcludeDiagnosticLog] [-IncludeLiveDump] [-CimSession \u003cCimSession\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring\u003e -DestinationPath \u003cstring\u003e [-TimeSpan \u003cuint32\u003e] [-ActivityId \u003cstring\u003e] [-ExcludeOperationalLog] [-ExcludeDiagnosticLog] [-IncludeLiveDump] [-CimSession \u003cCimSession\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageEnclosure", + "CommandType": "Function", + "ParameterSets": "[-UniqueId \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [[-FriendlyName] \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageNode \u003cCimInstance#MSFT_StorageNode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageEnclosureVendorData", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e -PageNumber \u003cuint16\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e -PageNumber \u003cuint16\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageEnclosure[]\u003e -PageNumber \u003cuint16\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageJob", + "CommandType": "Function", + "ParameterSets": "[\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-JobState \u003cJobState[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-JobState \u003cJobState[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-JobState \u003cJobState[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-JobState \u003cJobState[]\u003e] [-StorageSubsystem \u003cCimInstance#MSFT_StorageSubsystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageNode", + "CommandType": "Function", + "ParameterSets": "[-Name \u003cstring[]\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-ObjectId \u003cstring[]\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-StorageEnclosure \u003cCimInstance#MSFT_StorageEnclosure\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-OperationalStatus \u003cOperationalStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StoragePool", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageJob \u003cCimInstance#MSFT_StorageJob\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageTier \u003cCimInstance#MSFT_StorageTier\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-ResiliencySetting \u003cCimInstance#MSFT_ResiliencySetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageNode \u003cCimInstance#MSFT_StorageNode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IsPrimordial \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageProvider", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Manufacturer \u003cstring[]\u003e] [-URI \u003curi[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageReliabilityCounter", + "CommandType": "Function", + "ParameterSets": "-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Disk \u003cCimInstance#MSFT_Disk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageSetting", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageSubSystem", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-OffloadDataTransferSetting \u003cCimInstance#MSFT_OffloadDataTransferSetting\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-InitiatorId \u003cCimInstance#MSFT_InitiatorId\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-TargetPortal \u003cCimInstance#MSFT_TargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-StorageNode \u003cCimInstance#MSFT_StorageNode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-StorageEnclosure \u003cCimInstance#MSFT_StorageEnclosure\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-Model \u003cstring[]\u003e] [-StorageProvider \u003cCimInstance#MSFT_StorageProvider\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageTier", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-MediaType \u003cMediaType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-MediaType \u003cMediaType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MediaType \u003cMediaType[]\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MediaType \u003cMediaType[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-StorageTierSupportedSize", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageTier[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SupportedClusterSizes", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-FileSystem \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-SupportedFileSystems", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TargetPort", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-PortAddress \u003cstring[]\u003e] [-ConnectionType \u003cConnectionType[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetPortal \u003cCimInstance#MSFT_TargetPortal\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TargetPortal", + "CommandType": "Function", + "ParameterSets": "[-UniqueId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IPv4Address \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-IPv6Address \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-StorageSubsystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[[-FriendlyName] \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Name \u003cstring[]\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageJob \u003cCimInstance#MSFT_StorageJob\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-TargetVirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-SourceVirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-TargetPort \u003cCimInstance#MSFT_TargetPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-InitiatorId \u003cCimInstance#MSFT_InitiatorId\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-MaskingSet \u003cCimInstance#MSFT_MaskingSet\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-InitiatorPort \u003cCimInstance#MSFT_InitiatorPort\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-Disk \u003cCimInstance#MSFT_Disk\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageTier \u003cCimInstance#MSFT_StorageTier\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e] [-PhysicalRangeMin \u003cuint64\u003e] [-PhysicalRangeMax \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StoragePool \u003cCimInstance#MSFT_StoragePool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageNode \u003cCimInstance#MSFT_StorageNode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Usage \u003cUsage[]\u003e] [-OtherUsageDescription \u003cstring[]\u003e] [-IsSnapshot \u003cbool[]\u003e] [-HealthStatus \u003cHealthStatus[]\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VirtualDiskSupportedSize", + "CommandType": "Function", + "ParameterSets": "[-StoragePoolFriendlyName] \u003cstring[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolUniqueId \u003cstring[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolName \u003cstring[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e [-ResiliencySettingName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Volume", + "CommandType": "Function", + "ParameterSets": "[[-DriveLetter] \u003cchar[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-ObjectId \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Path \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FileSystemLabel \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Partition \u003cCimInstance#MSFT_Partition\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskImage \u003cCimInstance#MSFT_DiskImage\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FilePath \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VolumeCorruptionCount", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VolumeScrubPolicy", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Hide-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Initialize-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-VirtualDisk \u003cCimInstance#MSFT_VirtualDisk\u003e] [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Mount-DiskImage", + "CommandType": "Function", + "ParameterSets": "[-ImagePath] \u003cstring[]\u003e [-StorageType \u003cStorageType\u003e] [-Access \u003cAccess\u003e] [-NoDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_DiskImage[]\u003e [-Access \u003cAccess\u003e] [-NoDriveLetter] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-FriendlyName \u003cstring\u003e] [-VirtualDiskNames \u003cstring[]\u003e] [-InitiatorAddresses \u003cstring[]\u003e] [-TargetPortAddresses \u003cstring[]\u003e] [-DeviceNumbers \u003cstring[]\u003e] [-DeviceAccesses \u003cDeviceAccess[]\u003e] [-HostType \u003cHostMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Partition", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskPath \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Offset \u003cuint64\u003e] [-Alignment \u003cuint32\u003e] [-DriveLetter \u003cchar\u003e] [-AssignDriveLetter] [-MbrType \u003cMbrType\u003e] [-GptType \u003cstring\u003e] [-IsHidden] [-IsActive] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-StoragePool", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e -FriendlyName \u003cstring\u003e -PhysicalDisks \u003cciminstance[]\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-LogicalSectorSizeDefault \u003cuint64\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-StorageSubsystemVirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-FriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-Interleave \u003cuint64\u003e] [-NumberOfColumns \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-ParityLayout \u003cParityLayout\u003e] [-RequestNoSinglePointOfFailure \u003cbool\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-StorageTier", + "CommandType": "Function", + "ParameterSets": "[-StoragePoolFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -MediaType \u003cMediaType\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -MediaType \u003cMediaType\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -MediaType \u003cMediaType\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e -FriendlyName \u003cstring\u003e -MediaType \u003cMediaType\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-StoragePoolFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-WriteCacheSize \u003cuint64\u003e] [-AutoWriteCacheSize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-WriteCacheSize \u003cuint64\u003e] [-AutoWriteCacheSize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-WriteCacheSize \u003cuint64\u003e] [-AutoWriteCacheSize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e -FriendlyName \u003cstring\u003e [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-Size \u003cuint64\u003e] [-UseMaximumSize] [-ProvisioningType \u003cProvisioningType\u003e] [-IsEnclosureAware \u003cbool\u003e] [-PhysicalDisksToUse \u003cciminstance[]\u003e] [-NumberOfDataCopies \u003cuint16\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-AutoNumberOfColumns] [-Interleave \u003cuint64\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-WriteCacheSize \u003cuint64\u003e] [-AutoWriteCacheSize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-VirtualDiskClone", + "CommandType": "Function", + "ParameterSets": "-VirtualDiskUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDiskFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -VirtualDiskName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-VirtualDiskSnapshot", + "CommandType": "Function", + "ParameterSets": "-VirtualDiskUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-VirtualDiskFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -VirtualDiskName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e -FriendlyName \u003cstring\u003e [-TargetStoragePoolName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Volume", + "CommandType": "Function", + "ParameterSets": "[-StoragePoolFriendlyName] \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -FileSystem \u003cFileSystem\u003e [-Size \u003cuint64\u003e] [-AccessPath \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolUniqueId \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -FileSystem \u003cFileSystem\u003e [-Size \u003cuint64\u003e] [-AccessPath \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -StoragePoolName \u003cstring[]\u003e -FriendlyName \u003cstring\u003e -FileSystem \u003cFileSystem\u003e [-Size \u003cuint64\u003e] [-AccessPath \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e -FriendlyName \u003cstring\u003e -FileSystem \u003cFileSystem\u003e [-Size \u003cuint64\u003e] [-AccessPath \u003cstring\u003e] [-ResiliencySettingName \u003cstring\u003e] [-ProvisioningType \u003cProvisioningType\u003e] [-PhysicalDiskRedundancy \u003cuint16\u003e] [-NumberOfColumns \u003cuint16\u003e] [-StorageTiers \u003cciminstance[]\u003e] [-StorageTierSizes \u003cuint64[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Optimize-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-TierOptimize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-TierOptimize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-TierOptimize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-TierOptimize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-ReTrim] [-Analyze] [-Defrag] [-SlabConsolidate] [-TierOptimize] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-StorageSubsystem", + "CommandType": "Function", + "ParameterSets": "[-ProviderName] \u003cstring[]\u003e -ComputerName \u003cstring\u003e [-Credential \u003cpscredential\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -ProviderUniqueId \u003cstring[]\u003e -ComputerName \u003cstring\u003e [-Credential \u003cpscredential\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageProvider[]\u003e -ComputerName \u003cstring\u003e [-Credential \u003cpscredential\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-InitiatorId", + "CommandType": "Function", + "ParameterSets": "[-InitiatorAddress] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_InitiatorId[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-InitiatorIdFromMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-InitiatorIds \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Partition", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PartitionAccessPath", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [[-AccessPath] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -DriveLetter \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-AccessPath] \u003cstring\u003e] -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[[-StoragePool] \u003cCimInstance#MSFT_StoragePool\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-StoragePoolFriendlyName \u003cstring\u003e] [-StoragePoolName \u003cstring\u003e] [-StoragePoolUniqueId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-VirtualDisk] \u003cCimInstance#MSFT_VirtualDisk\u003e] -PhysicalDisks \u003cciminstance[]\u003e [-VirtualDiskFriendlyName \u003cstring\u003e] [-VirtualDiskName \u003cstring\u003e] [-VirtualDiskUniqueId \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-StoragePool", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-StorageTier", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageTier[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-TargetPortFromMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VirtualDiskFromMaskingSet", + "CommandType": "Function", + "ParameterSets": "[-MaskingSetFriendlyName] \u003cstring[]\u003e [-VirtualDiskNames \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -MaskingSetUniqueId \u003cstring[]\u003e [-VirtualDiskNames \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e [-VirtualDiskNames \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Rename-MaskingSet", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e -NewFriendlyName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e -NewFriendlyName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_MaskingSet[]\u003e -NewFriendlyName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-FileIntegrity", + "CommandType": "Function", + "ParameterSets": "[-FileName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Repair-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-OfflineScanAndFix] [-SpotFix] [-Scan] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_PhysicalDisk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Reset-StorageReliabilityCounter", + "CommandType": "Function", + "ParameterSets": "-PhysicalDisk \u003cCimInstance#MSFT_PhysicalDisk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Disk \u003cCimInstance#MSFT_Disk\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageReliabilityCounter[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resize-Partition", + "CommandType": "Function", + "ParameterSets": "[-Size] \u003cuint64\u003e -DiskId \u003cstring[]\u003e -Offset \u003cuint64[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-DiskNumber] \u003cuint32[]\u003e [-PartitionNumber] \u003cuint32[]\u003e [-Size] \u003cuint64\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Size] \u003cuint64\u003e -DriveLetter \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Size] \u003cuint64\u003e -InputObject \u003cCimInstance#MSFT_Partition[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resize-StorageTier", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageTier[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resize-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-Size \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Number] \u003cuint32\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-PartitionStyle \u003cPartitionStyle\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-Signature \u003cuint32\u003e] [-Guid \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Path \u003cstring\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-Number] \u003cuint32\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-FileIntegrity", + "CommandType": "Function", + "ParameterSets": "[-FileName] \u003cstring\u003e [[-Enable] \u003cbool\u003e] [-Enforce \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-FileStorageTier", + "CommandType": "Function", + "ParameterSets": "-FilePath \u003cstring\u003e -DesiredStorageTierFriendlyName \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FilePath \u003cstring\u003e -DesiredStorageTier \u003cciminstance\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FilePath \u003cstring\u003e -DesiredStorageTierUniqueId \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-InitiatorPort", + "CommandType": "Function", + "ParameterSets": "[-NodeAddress] \u003cstring[]\u003e -NewNodeAddress \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e -NewNodeAddress \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_InitiatorPort[]\u003e -NewNodeAddress \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Partition", + "CommandType": "Function", + "ParameterSets": "[-DiskNumber] \u003cuint32\u003e [-PartitionNumber] \u003cuint32\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring\u003e -Offset \u003cuint64\u003e [-IsReadOnly \u003cbool\u003e] [-NoDefaultDriveLetter \u003cbool\u003e] [-IsActive \u003cbool\u003e] [-IsHidden \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring\u003e -Offset \u003cuint64\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DiskId \u003cstring\u003e -Offset \u003cuint64\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -DriveLetter \u003cchar\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskNumber] \u003cuint32\u003e [-PartitionNumber] \u003cuint32\u003e [-NewDriveLetter \u003cchar\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-DiskNumber] \u003cuint32\u003e [-PartitionNumber] \u003cuint32\u003e [-IsOffline \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PhysicalDisk", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-MediaType \u003cMediaType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-NewFriendlyName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-MediaType \u003cMediaType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Description \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-MediaType \u003cMediaType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-ResiliencySetting", + "CommandType": "Function", + "ParameterSets": "-Name \u003cstring[]\u003e -StoragePool \u003cCimInstance#MSFT_StoragePool\u003e [-NumberOfDataCopiesDefault \u003cuint16\u003e] [-PhysicalDiskRedundancyDefault \u003cuint16\u003e] [-NumberOfColumnsDefault \u003cuint16\u003e] [-AutoNumberOfColumns] [-InterleaveDefault \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-NumberOfDataCopiesDefault \u003cuint16\u003e] [-PhysicalDiskRedundancyDefault \u003cuint16\u003e] [-NumberOfColumnsDefault \u003cuint16\u003e] [-AutoNumberOfColumns] [-InterleaveDefault \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_ResiliencySetting[]\u003e [-NumberOfDataCopiesDefault \u003cuint16\u003e] [-PhysicalDiskRedundancyDefault \u003cuint16\u003e] [-NumberOfColumnsDefault \u003cuint16\u003e] [-AutoNumberOfColumns] [-InterleaveDefault \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StoragePool", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RepairPolicy \u003cRepairPolicy\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RepairPolicy \u003cRepairPolicy\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RepairPolicy \u003cRepairPolicy\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-ClearOnDeallocate \u003cbool\u003e] [-IsPowerProtected \u003cbool\u003e] [-RepairPolicy \u003cRepairPolicy\u003e] [-RetireMissingPhysicalDisks \u003cRetireMissingPhysicalDisks\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-ThinProvisioningAlertThresholds \u003cuint16[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-IsReadOnly \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-ProvisioningTypeDefault \u003cProvisioningType\u003e] [-ResiliencySettingNameDefault \u003cstring\u003e] [-EnclosureAwareDefault \u003cbool\u003e] [-WriteCacheSizeDefault \u003cuint64\u003e] [-AutoWriteCacheSize \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StorageProvider", + "CommandType": "Function", + "ParameterSets": "[-ProviderName] \u003cstring[]\u003e [-RemoteSubsystemCacheMode \u003cRemoteSubsystemCacheMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -ProviderUniqueId \u003cstring[]\u003e [-RemoteSubsystemCacheMode \u003cRemoteSubsystemCacheMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageProvider[]\u003e [-RemoteSubsystemCacheMode \u003cRemoteSubsystemCacheMode\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StorageSetting", + "CommandType": "Function", + "ParameterSets": "[-NewDiskPolicy \u003cNewDiskPolicy\u003e] [-ScrubPolicy \u003cScrubPolicy\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StorageSubSystem", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-AutomaticClusteringEnabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-AutomaticClusteringEnabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-AutomaticClusteringEnabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-AutomaticClusteringEnabled \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StorageTier", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-MediaType \u003cMediaType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -InputObject \u003cciminstance[]\u003e [-NewFriendlyName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-MediaType \u003cMediaType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-MediaType \u003cMediaType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-Description \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "-UniqueId \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-IsManualAttach \u003cbool\u003e] [-StorageNodeName \u003cstring\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-InputObject] \u003cciminstance[]\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-NewFriendlyName \u003cstring\u003e] [-Usage \u003cUsage\u003e] [-OtherUsageDescription \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -UniqueId \u003cstring\u003e [-IsManualAttach \u003cbool\u003e] [-StorageNodeName \u003cstring\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] [-FriendlyName] \u003cstring\u003e [-IsManualAttach \u003cbool\u003e] [-StorageNodeName \u003cstring\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Name \u003cstring\u003e [-IsManualAttach \u003cbool\u003e] [-StorageNodeName \u003cstring\u003e] [-Access \u003cAccess\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-Volume", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-NewFileSystemLabel \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VolumeScrubPolicy", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [[-Enable] \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [[-Enable] \u003cbool\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-VirtualDisk", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_VirtualDisk[]\u003e [-TargetPortAddresses \u003cstring[]\u003e] [-InitiatorAddress \u003cstring\u003e] [-HostType \u003cHostType\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-StorageDiagnosticLog", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e [-Level \u003cLevel\u003e] [-MaxLogSize \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e [-Level \u003cLevel\u003e] [-MaxLogSize \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e [-Level \u003cLevel\u003e] [-MaxLogSize \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-Level \u003cLevel\u003e] [-MaxLogSize \u003cuint64\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-StorageDiagnosticLog", + "CommandType": "Function", + "ParameterSets": "[-StorageSubSystemFriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -StorageSubSystemUniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -StorageSubSystemName \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageSubSystem[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-StorageSubsystem", + "CommandType": "Function", + "ParameterSets": "[-ProviderName] \u003cstring[]\u003e [-StorageSubSystemUniqueId \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -ProviderUniqueId \u003cstring[]\u003e [-StorageSubSystemUniqueId \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageProvider[]\u003e [-StorageSubSystemUniqueId \u003cstring\u003e] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-Disk", + "CommandType": "Function", + "ParameterSets": "[-Number] \u003cuint32[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-FriendlyName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Disk[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-HostStorageCache", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-StoragePool", + "CommandType": "Function", + "ParameterSets": "[-FriendlyName] \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -UniqueId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StoragePool[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-StorageProviderCache", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Manufacturer \u003cstring[]\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-UniqueId \u003cstring[]\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-Manufacturer \u003cstring[]\u003e] [-URI \u003curi[]\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] [-StorageSubSystem \u003cCimInstance#MSFT_StorageSubSystem\u003e] [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_StorageProvider[]\u003e [-DiscoveryLevel \u003cDiscoveryLevel\u003e] [-RootObject \u003cref\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Write-VolumeCache", + "CommandType": "Function", + "ParameterSets": "[-DriveLetter] \u003cchar[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -ObjectId \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -Path \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -FileSystemLabel \u003cstring[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e] -InputObject \u003cCimInstance#MSFT_Volume[]\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-PassThru] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "Flush-Volume", + "Initialize-Volume", + "Write-FileSystemCache", + "Get-PhysicalDiskSNV" + ] + }, + { + "Name": "TLS", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-TlsSessionTicketKey", + "CommandType": "Cmdlet", + "ParameterSets": "[-ServiceAccountName] \u003cNTAccount\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-TlsSessionTicketKey", + "CommandType": "Cmdlet", + "ParameterSets": "[-Password] \u003csecurestring\u003e [-Path] \u003cstring\u003e [-ServiceAccountName] \u003cNTAccount\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-TlsSessionTicketKey", + "CommandType": "Cmdlet", + "ParameterSets": "[-Password] \u003csecurestring\u003e [[-Path] \u003cstring\u003e] [-ServiceAccountName] \u003cNTAccount\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-TlsSessionTicketKey", + "CommandType": "Cmdlet", + "ParameterSets": "[-Password] \u003csecurestring\u003e [[-Path] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "TroubleshootingPack", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-TroubleshootingPack", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-AnswerFile \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-TroubleshootingPack", + "CommandType": "Cmdlet", + "ParameterSets": "[-Pack] \u003cDiagPack\u003e [-AnswerFile \u003cstring\u003e] [-Result \u003cstring\u003e] [-Unattended] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "TrustedPlatformModule", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Clear-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[[-OwnerAuthorization] \u003cstring\u003e] [\u003cCommonParameters\u003e] -File \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "ConvertTo-TpmOwnerAuth", + "CommandType": "Cmdlet", + "ParameterSets": "[-PassPhrase] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-TpmAutoProvisioning", + "CommandType": "Cmdlet", + "ParameterSets": "[-OnlyForNextRestart] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-TpmAutoProvisioning", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TpmEndorsementKeyInfo", + "CommandType": "Cmdlet", + "ParameterSets": "[[-HashAlgorithm] \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-TpmSupportedFeature", + "CommandType": "Cmdlet", + "ParameterSets": "[[-FeatureList] \u003cStringCollection\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-TpmOwnerAuth", + "CommandType": "Cmdlet", + "ParameterSets": "-File \u003cstring\u003e [\u003cCommonParameters\u003e] [-OwnerAuthorization] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Initialize-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[-AllowClear] [-AllowPhysicalPresence] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-TpmOwnerAuth", + "CommandType": "Cmdlet", + "ParameterSets": "-File \u003cstring\u003e -NewFile \u003cstring\u003e [\u003cCommonParameters\u003e] -File \u003cstring\u003e -NewOwnerAuthorization \u003cstring\u003e [\u003cCommonParameters\u003e] [[-OwnerAuthorization] \u003cstring\u003e] -NewOwnerAuthorization \u003cstring\u003e [\u003cCommonParameters\u003e] [[-OwnerAuthorization] \u003cstring\u003e] -NewFile \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unblock-Tpm", + "CommandType": "Cmdlet", + "ParameterSets": "[[-OwnerAuthorization] \u003cstring\u003e] [\u003cCommonParameters\u003e] -File \u003cstring\u003e [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "UserAccessLogging", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Disable-Ual", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-Ual", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Ual", + "CommandType": "Function", + "ParameterSets": "[-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDailyAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-TenantIdentifier \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-AccessDate \u003cdatetime[]\u003e] [-AccessCount \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDailyDeviceAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-AccessDate \u003cdatetime[]\u003e] [-AccessCount \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDailyUserAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-AccessDate \u003cdatetime[]\u003e] [-AccessCount \u003cuint32[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDeviceAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-TenantIdentifier \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalDns", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-HostName \u003cstring[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalHyperV", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-UUID \u003cstring[]\u003e] [-ChassisSerialNumber \u003cstring[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalOverview", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-GUID \u003cstring[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalServerDevice", + "CommandType": "Function", + "ParameterSets": "[-ChassisSerialNumber \u003cstring[]\u003e] [-UUID \u003cstring[]\u003e] [-IPAddress \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalServerUser", + "CommandType": "Function", + "ParameterSets": "[-ChassisSerialNumber \u003cstring[]\u003e] [-UUID \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalSystemId", + "CommandType": "Function", + "ParameterSets": "[-PhysicalProcessorCount \u003cuint32[]\u003e] [-CoresPerPhysicalProcessor \u003cuint32[]\u003e] [-LogicalProcessorsPerPhysicalProcessor \u003cuint32[]\u003e] [-OSMajor \u003cuint32[]\u003e] [-OSMinor \u003cuint32[]\u003e] [-OSBuildNumber \u003cuint32[]\u003e] [-OSPlatformId \u003cuint32[]\u003e] [-ServicePackMajor \u003cuint32[]\u003e] [-ServicePackMinor \u003cuint32[]\u003e] [-OSSuiteMask \u003cuint32[]\u003e] [-OSProductType \u003cuint32[]\u003e] [-OSSerialNumber \u003cstring[]\u003e] [-OSCountryCode \u003cstring[]\u003e] [-OSCurrentTimeZone \u003cint16[]\u003e] [-OSDaylightInEffect \u003cbool[]\u003e] [-OSLastBootUpTime \u003cdatetime[]\u003e] [-MaximumMemory \u003cuint64[]\u003e] [-SystemSMBIOSUUID \u003cstring[]\u003e] [-SystemSerialNumber \u003cstring[]\u003e] [-SystemDNSHostName \u003cstring[]\u003e] [-SystemDomainName \u003cstring[]\u003e] [-CreationTime \u003cdatetime[]\u003e] [-SystemManufacturer \u003cstring[]\u003e] [-SystemProductName \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-UalUserAccess", + "CommandType": "Function", + "ParameterSets": "[-ProductName \u003cstring[]\u003e] [-RoleName \u003cstring[]\u003e] [-RoleGuid \u003cstring[]\u003e] [-TenantIdentifier \u003cstring[]\u003e] [-Username \u003cstring[]\u003e] [-ActivityCount \u003cuint32[]\u003e] [-FirstSeen \u003cdatetime[]\u003e] [-LastSeen \u003cdatetime[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "VpnClient", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [-ServerAddress] \u003cstring\u003e [-SplitTunneling] [-RememberCredential] [-PlugInApplicationID] \u003cstring\u003e -CustomConfiguration \u003cxml\u003e [-Force] [-PassThru] [-ServerList \u003cCimInstance#VpnServerAddress[]\u003e] [-DnsSuffix \u003cstring\u003e] [-IdleDisconnectSeconds \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-ServerAddress] \u003cstring\u003e [[-TunnelType] \u003cstring\u003e] [[-EncryptionLevel] \u003cstring\u003e] [[-AuthenticationMethod] \u003cstring[]\u003e] [-SplitTunneling] [-AllUserConnection] [[-L2tpPsk] \u003cstring\u003e] [-RememberCredential] [-UseWinlogonCredential] [[-EapConfigXmlStream] \u003cxml\u003e] [-Force] [-PassThru] [-ServerList \u003cCimInstance#VpnServerAddress[]\u003e] [-DnsSuffix \u003cstring\u003e] [-IdleDisconnectSeconds \u003cuint32\u003e] [-MachineCertificateIssuerFilter \u003cX509Certificate2\u003e] [-MachineCertificateEKUFilter \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-VpnConnectionRoute", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-DestinationPrefix] \u003cstring\u003e [[-RouteMetric] \u003cuint32\u003e] [-AllUserConnection] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-VpnConnectionTriggerApplication", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-ApplicationID] \u003cstring[]\u003e [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-VpnConnectionTriggerDnsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-DnsSuffix] \u003cstring\u003e [[-DnsIPAddress] \u003cstring[]\u003e] [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-VpnConnectionTriggerTrustedNetwork", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-DnsSuffix] \u003cstring[]\u003e [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-AllUserConnection] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-VpnConnectionTrigger", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-EapConfiguration", + "CommandType": "Function", + "ParameterSets": "[-UseWinlogonCredential] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Ttls [-UseWinlogonCredential] [-TunnledNonEapAuthMethod \u003cstring\u003e] [-TunnledEapAuthMethod \u003cxml\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Tls [-VerifyServerIdentity] [-UserCertificate] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Peap [-VerifyServerIdentity] [[-TunnledEapAuthMethod] \u003cxml\u003e] [-EnableNap] [-FastReconnect \u003cbool\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-VpnServerAddress", + "CommandType": "Function", + "ParameterSets": "[-ServerAddress] \u003cstring\u003e [-FriendlyName] \u003cstring\u003e [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Force] [-PassThru] [-AllUserConnection] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VpnConnectionRoute", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-DestinationPrefix] \u003cstring\u003e [-AllUserConnection] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VpnConnectionTriggerApplication", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-ApplicationID] \u003cstring[]\u003e [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VpnConnectionTriggerDnsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-DnsSuffix] \u003cstring[]\u003e [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-VpnConnectionTriggerTrustedNetwork", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-DnsSuffix] \u003cstring[]\u003e [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VpnConnection", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e [[-ServerAddress] \u003cstring\u003e] [[-TunnelType] \u003cstring\u003e] [[-EncryptionLevel] \u003cstring\u003e] [[-AuthenticationMethod] \u003cstring[]\u003e] [[-SplitTunneling] \u003cbool\u003e] [-AllUserConnection] [[-L2tpPsk] \u003cstring\u003e] [[-RememberCredential] \u003cbool\u003e] [[-UseWinlogonCredential] \u003cbool\u003e] [[-EapConfigXmlStream] \u003cxml\u003e] [-PassThru] [-Force] [-MachineCertificateEKUFilter \u003cstring[]\u003e] [-MachineCertificateIssuerFilter \u003cX509Certificate2\u003e] [-ServerList \u003cCimInstance#VpnServerAddress[]\u003e] [-IdleDisconnectSeconds \u003cuint32\u003e] [-DnsSuffix \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [[-ServerAddress] \u003cstring\u003e] [-ThirdPartyVpn] [[-SplitTunneling] \u003cbool\u003e] [[-RememberCredential] \u003cbool\u003e] [[-PlugInApplicationID] \u003cstring\u003e] [-PassThru] [-Force] [-ServerList \u003cCimInstance#VpnServerAddress[]\u003e] [-IdleDisconnectSeconds \u003cuint32\u003e] [-DnsSuffix \u003cstring\u003e] [-CustomConfiguration \u003cxml\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VpnConnectionIPsecConfiguration", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e -RevertToDefault [-Force] [-AllUserConnection] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionName] \u003cstring\u003e [-AuthenticationTransformConstants] \u003cAuthenticationTransformConstants\u003e [-CipherTransformConstants] \u003cCipherTransformConstants\u003e [-DHGroup] \u003cDHGroup\u003e [-EncryptionMethod] \u003cEncryptionMethod\u003e [-IntegrityCheckMethod] \u003cIntegrityCheckMethod\u003e [-PfsGroup] \u003cPfsGroup\u003e [-PassThru] [-Force] [-AllUserConnection] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VpnConnectionProxy", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [-AutoDetect] [-AutoConfigurationScript \u003cstring\u003e] [-ProxyServer \u003cstring\u003e] [-BypassProxyForLocal] [-ExceptionPrefix \u003cstring[]\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VpnConnectionTriggerDnsConfiguration", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e [[-DnsSuffix] \u003cstring\u003e] [[-DnsIPAddress] \u003cstring[]\u003e] [[-DnsSuffixSearchList] \u003cstring[]\u003e] [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-VpnConnectionTriggerTrustedNetwork", + "CommandType": "Function", + "ParameterSets": "[-ConnectionName] \u003cstring\u003e -DefaultDnsSuffixes [-PassThru] [-Force] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Wdac", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Add-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[-Name] \u003cstring\u003e -DriverName \u003cstring\u003e -DsnType \u003cstring\u003e [-SetPropertyValue \u003cstring[]\u003e] [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-OdbcPerfCounter", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcPerfCounter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Platform] \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-WdacBidTrace", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_WdacBidTrace[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-ProcessId \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Folder \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -IncludeAllApplications [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-OdbcPerfCounter", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcPerfCounter[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Platform] \u003cstring\u003e] [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WdacBidTrace", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_WdacBidTrace[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Path] \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-ProcessId \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Folder \u003cstring\u003e [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -IncludeAllApplications [-PassThru] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OdbcDriver", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-DriverName \u003cstring\u003e] [-Platform \u003cstring\u003e] [-DsnType \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-OdbcPerfCounter", + "CommandType": "Function", + "ParameterSets": "[[-Platform] \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WdacBidTrace", + "CommandType": "Function", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-Platform \u003cstring\u003e] [-ProcessId \u003cuint32\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -Folder \u003cstring\u003e [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e] -IncludeAllApplications [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcDsn[]\u003e [-PassThru] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -DsnType \u003cstring\u003e [-PassThru] [-DriverName \u003cstring\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-OdbcDriver", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcDriver[]\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-OdbcDsn", + "CommandType": "Function", + "ParameterSets": "[-InputObject] \u003cCimInstance#MSFT_OdbcDsn[]\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -DsnType \u003cstring\u003e [-PassThru] [-SetPropertyValue \u003cstring[]\u003e] [-RemovePropertyValue \u003cstring[]\u003e] [-DriverName \u003cstring\u003e] [-Platform \u003cstring\u003e] [-CimSession \u003cCimSession[]\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "Whea", + "Version": "2.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WheaMemoryPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WheaMemoryPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName \u003cstring\u003e] [-DisableOffline \u003cbool\u003e] [-DisablePFA \u003cbool\u003e] [-PersistMemoryOffline \u003cbool\u003e] [-PFAPageCount \u003cuint32\u003e] [-PFAErrorThreshold \u003cuint32\u003e] [-PFATimeout \u003cuint32\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "WindowsDeveloperLicense", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WindowsDeveloperLicense", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Show-WindowsDeveloperLicenseRegistration", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-WindowsDeveloperLicense", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "WindowsErrorReporting", + "Version": "1.0", + "ExportedCommands": [ + { + "Name": "Disable-WindowsErrorReporting", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-WindowsErrorReporting", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-WindowsErrorReporting", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Name": "WindowsSearch", + "Version": "1.0.0.0", + "ExportedCommands": [ + { + "Name": "Get-WindowsSearchSetting", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-WindowsSearchSetting", + "CommandType": "Cmdlet", + "ParameterSets": "[-EnableWebResultsSetting \u003cbool\u003e] [-EnableMeteredWebResultsSetting \u003cbool\u003e] [-SearchExperienceSetting \u003cstring\u003e] [-SafeSearchSetting \u003cstring\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + + ] + }, + { + "Version": "4.0", + "Name": "Microsoft.PowerShell.Core", + "ExportedCommands": [ + { + "Name": "Add-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-InputObject] \u003cpsobject[]\u003e] [-Passthru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Add-PSSnapin", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PassThru] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Clear-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cint[]\u003e] [[-Count] \u003cint\u003e] [-Newest] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [[-Count] \u003cint\u003e] [-CommandLine \u003cstring[]\u003e] [-Newest] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Connect-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "-Name \u003cstring[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Session] \u003cPSSession[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -ComputerName \u003cstring[]\u003e -InstanceId \u003cguid[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e -InstanceId \u003cguid[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PSRemoting", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disable-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Disconnect-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ThrottleLimit \u003cint\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PSRemoting", + "CommandType": "Cmdlet", + "ParameterSets": "[-Force] [-SkipNetworkProfileCheck] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enable-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Force] [-SecurityDescriptorSddl \u003cstring\u003e] [-SkipNetworkProfileCheck] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Enter-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-ComputerName] \u003cstring\u003e [-EnableNetworkAccess] [-Credential \u003cpscredential\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession\u003e] [\u003cCommonParameters\u003e] [[-ConnectionUri] \u003curi\u003e] [-EnableNetworkAccess] [-Credential \u003cpscredential\u003e] [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-InstanceId \u003cguid\u003e] [\u003cCommonParameters\u003e] [[-Id] \u003cint\u003e] [\u003cCommonParameters\u003e] [-Name \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Exit-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-Console", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Path] \u003cstring\u003e] [-Force] [-NoClobber] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Export-ModuleMember", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Function] \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "ForEach-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Process] \u003cscriptblock[]\u003e [-InputObject \u003cpsobject\u003e] [-Begin \u003cscriptblock\u003e] [-End \u003cscriptblock\u003e] [-RemainingScripts \u003cscriptblock[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-MemberName] \u003cstring\u003e [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ArgumentList] \u003cObject[]\u003e] [-Verb \u003cstring[]\u003e] [-Noun \u003cstring[]\u003e] [-Module \u003cstring[]\u003e] [-TotalCount \u003cint\u003e] [-Syntax] [-All] [-ListImported] [-ParameterName \u003cstring[]\u003e] [-ParameterType \u003cPSTypeName[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] [[-ArgumentList] \u003cObject[]\u003e] [-Module \u003cstring[]\u003e] [-CommandType \u003cCommandTypes\u003e] [-TotalCount \u003cint\u003e] [-Syntax] [-All] [-ListImported] [-ParameterName \u003cstring[]\u003e] [-ParameterType \u003cPSTypeName[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring\u003e] [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [-Full] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Detailed [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Examples [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Parameter \u003cstring\u003e [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -Online [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring\u003e] -ShowWindow [-Path \u003cstring\u003e] [-Category \u003cstring[]\u003e] [-Component \u003cstring[]\u003e] [-Functionality \u003cstring[]\u003e] [-Role \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003clong[]\u003e] [[-Count] \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cint[]\u003e] [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [-Command \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-IncludeChildJob] [-ChildJobState \u003cJobState\u003e] [-HasMoreData \u003cbool\u003e] [-Before \u003cdatetime\u003e] [-After \u003cdatetime\u003e] [-Newest \u003cint\u003e] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-FullyQualifiedName \u003cModuleSpecification[]\u003e] [-All] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -CimSession \u003cCimSession\u003e [-FullyQualifiedName \u003cModuleSpecification[]\u003e] [-ListAvailable] [-Refresh] [-CimResourceUri \u003curi\u003e] [-CimNamespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -PSSession \u003cPSSession\u003e [-FullyQualifiedName \u003cModuleSpecification[]\u003e] [-ListAvailable] [-Refresh] [\u003cCommonParameters\u003e] [[-Name] \u003cstring[]\u003e] -ListAvailable [-FullyQualifiedName \u003cModuleSpecification[]\u003e] [-All] [-Refresh] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name \u003cstring[]\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e -InstanceId \u003cguid[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Name \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e -InstanceId \u003cguid[]\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-State \u003cSessionFilterState\u003e] [-SessionOption \u003cPSSessionOption\u003e] [\u003cCommonParameters\u003e] [-InstanceId \u003cguid[]\u003e] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Get-PSSnapin", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Name] \u003cstring[]\u003e] [-Registered] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Import-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion \u003cversion\u003e] [-RequiredVersion \u003cversion\u003e] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -PSSession \u003cPSSession\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion \u003cversion\u003e] [-RequiredVersion \u003cversion\u003e] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e -CimSession \u003cCimSession\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-MinimumVersion \u003cversion\u003e] [-RequiredVersion \u003cversion\u003e] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [-CimResourceUri \u003curi\u003e] [-CimNamespace \u003cstring\u003e] [\u003cCommonParameters\u003e] [-Assembly] \u003cAssembly[]\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ModuleInfo] \u003cpsmoduleinfo[]\u003e [-Global] [-Prefix \u003cstring\u003e] [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-Variable \u003cstring[]\u003e] [-Alias \u003cstring[]\u003e] [-Force] [-PassThru] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [-DisableNameChecking] [-NoClobber] [-Scope \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-Command", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] \u003cscriptblock\u003e [-NoNewScope] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession[]\u003e] [-FilePath] \u003cstring\u003e [-ThrottleLimit \u003cint\u003e] [-AsJob] [-HideComputerName] [-JobName \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession[]\u003e] [-ScriptBlock] \u003cscriptblock\u003e [-ThrottleLimit \u003cint\u003e] [-AsJob] [-HideComputerName] [-JobName \u003cstring\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-FilePath] \u003cstring\u003e [-Credential \u003cpscredential\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-SessionName \u003cstring[]\u003e] [-HideComputerName] [-JobName \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-ComputerName] \u003cstring[]\u003e] [-ScriptBlock] \u003cscriptblock\u003e [-Credential \u003cpscredential\u003e] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-SessionName \u003cstring[]\u003e] [-HideComputerName] [-JobName \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-ConnectionUri] \u003curi[]\u003e] [-FilePath] \u003cstring\u003e [-Credential \u003cpscredential\u003e] [-ConfigurationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName \u003cstring\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-ConnectionUri] \u003curi[]\u003e] [-ScriptBlock] \u003cscriptblock\u003e [-Credential \u003cpscredential\u003e] [-ConfigurationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName \u003cstring\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-EnableNetworkAccess] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Invoke-History", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Id] \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] \u003cscriptblock\u003e [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-ReturnResult] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-ScriptBlock] \u003cscriptblock\u003e [-Function \u003cstring[]\u003e] [-Cmdlet \u003cstring[]\u003e] [-ReturnResult] [-AsCustomObject] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-NestedModules \u003cObject[]\u003e] [-Guid \u003cguid\u003e] [-Author \u003cstring\u003e] [-CompanyName \u003cstring\u003e] [-Copyright \u003cstring\u003e] [-RootModule \u003cstring\u003e] [-ModuleVersion \u003cversion\u003e] [-Description \u003cstring\u003e] [-ProcessorArchitecture \u003cProcessorArchitecture\u003e] [-PowerShellVersion \u003cversion\u003e] [-ClrVersion \u003cversion\u003e] [-DotNetFrameworkVersion \u003cversion\u003e] [-PowerShellHostName \u003cstring\u003e] [-PowerShellHostVersion \u003cversion\u003e] [-RequiredModules \u003cObject[]\u003e] [-TypesToProcess \u003cstring[]\u003e] [-FormatsToProcess \u003cstring[]\u003e] [-ScriptsToProcess \u003cstring[]\u003e] [-RequiredAssemblies \u003cstring[]\u003e] [-FileList \u003cstring[]\u003e] [-ModuleList \u003cObject[]\u003e] [-FunctionsToExport \u003cstring[]\u003e] [-AliasesToExport \u003cstring[]\u003e] [-VariablesToExport \u003cstring[]\u003e] [-CmdletsToExport \u003cstring[]\u003e] [-PrivateData \u003cObject\u003e] [-HelpInfoUri \u003cstring\u003e] [-PassThru] [-DefaultCommandPrefix \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[[-ComputerName] \u003cstring[]\u003e] [-Credential \u003cpscredential\u003e] [-Name \u003cstring[]\u003e] [-EnableNetworkAccess] [-Port \u003cint\u003e] [-UseSSL] [-ConfigurationName \u003cstring\u003e] [-ApplicationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi[]\u003e [-Credential \u003cpscredential\u003e] [-Name \u003cstring[]\u003e] [-EnableNetworkAccess] [-ConfigurationName \u003cstring\u003e] [-ThrottleLimit \u003cint\u003e] [-AllowRedirection] [-SessionOption \u003cPSSessionOption\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [\u003cCommonParameters\u003e] [[-Session] \u003cPSSession[]\u003e] [-Name \u003cstring[]\u003e] [-EnableNetworkAccess] [-ThrottleLimit \u003cint\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSSessionConfigurationFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [-SchemaVersion \u003cversion\u003e] [-Guid \u003cguid\u003e] [-Author \u003cstring\u003e] [-CompanyName \u003cstring\u003e] [-Copyright \u003cstring\u003e] [-Description \u003cstring\u003e] [-PowerShellVersion \u003cversion\u003e] [-SessionType \u003cSessionType\u003e] [-ModulesToImport \u003cObject[]\u003e] [-AssembliesToLoad \u003cstring[]\u003e] [-VisibleAliases \u003cstring[]\u003e] [-VisibleCmdlets \u003cstring[]\u003e] [-VisibleFunctions \u003cstring[]\u003e] [-VisibleProviders \u003cstring[]\u003e] [-AliasDefinitions \u003chashtable[]\u003e] [-FunctionDefinitions \u003chashtable[]\u003e] [-VariableDefinitions \u003cObject\u003e] [-EnvironmentVariables \u003cObject\u003e] [-TypesToProcess \u003cstring[]\u003e] [-FormatsToProcess \u003cstring[]\u003e] [-LanguageMode \u003cPSLanguageMode\u003e] [-ExecutionPolicy \u003cExecutionPolicy\u003e] [-ScriptsToProcess \u003cstring[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSSessionOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaximumRedirection \u003cint\u003e] [-NoCompression] [-NoMachineProfile] [-Culture \u003ccultureinfo\u003e] [-UICulture \u003ccultureinfo\u003e] [-MaximumReceivedDataSizePerCommand \u003cint\u003e] [-MaximumReceivedObjectSize \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [-ApplicationArguments \u003cpsprimitivedictionary\u003e] [-OpenTimeout \u003cint\u003e] [-CancelTimeout \u003cint\u003e] [-IdleTimeout \u003cint\u003e] [-ProxyAccessType \u003cProxyAccessType\u003e] [-ProxyAuthentication \u003cAuthenticationMechanism\u003e] [-ProxyCredential \u003cpscredential\u003e] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-OperationTimeout \u003cint\u003e] [-NoEncryption] [-UseUTF16] [-IncludePortInSPN] [\u003cCommonParameters\u003e]" + }, + { + "Name": "New-PSTransportOption", + "CommandType": "Cmdlet", + "ParameterSets": "[-MaxIdleTimeoutSec \u003cint\u003e] [-ProcessIdleTimeoutSec \u003cint\u003e] [-MaxSessions \u003cint\u003e] [-MaxConcurrentCommandsPerSession \u003cint\u003e] [-MaxSessionsPerUser \u003cint\u003e] [-MaxMemoryPerSessionMB \u003cint\u003e] [-MaxProcessesPerSession \u003cint\u003e] [-MaxConcurrentUsers \u003cint\u003e] [-IdleTimeoutSec \u003cint\u003e] [-OutputBufferingMode \u003cOutputBufferingMode\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Default", + "CommandType": "Cmdlet", + "ParameterSets": "[-Transcript] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Host", + "CommandType": "Cmdlet", + "ParameterSets": "[-Paging] [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Out-Null", + "CommandType": "Cmdlet", + "ParameterSets": "[-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Receive-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Job] \u003cJob[]\u003e [[-Location] \u003cstring[]\u003e] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [[-ComputerName] \u003cstring[]\u003e] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [[-Session] \u003cPSSession[]\u003e] [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e] [-Id] \u003cint[]\u003e [-Keep] [-NoRecurse] [-Force] [-Wait] [-AutoRemoveJob] [-WriteEvents] [-WriteJobInResults] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Receive-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Session] \u003cPSSession\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Id] \u003cint\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring\u003e -Name \u003cstring\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring\u003e -InstanceId \u003cguid\u003e [-ApplicationName \u003cstring\u003e] [-ConfigurationName \u003cstring\u003e] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-Port \u003cint\u003e] [-UseSSL] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi\u003e -Name \u003cstring\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ConnectionUri] \u003curi\u003e -InstanceId \u003cguid\u003e [-ConfigurationName \u003cstring\u003e] [-AllowRedirection] [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-CertificateThumbprint \u003cstring\u003e] [-SessionOption \u003cPSSessionOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-OutTarget \u003cOutTarget\u003e] [-JobName \u003cstring\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Register-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ProcessorArchitecture \u003cstring\u003e] [-SessionType \u003cPSSessionType\u003e] [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AssemblyName] \u003cstring\u003e [-ConfigurationTypeName] \u003cstring\u003e [-ProcessorArchitecture \u003cstring\u003e] [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Path \u003cstring\u003e [-ProcessorArchitecture \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption \u003cPSTransportOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Command \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-Module", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ModuleInfo] \u003cpsmoduleinfo[]\u003e [-Force] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSSession", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Session] \u003cPSSession[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -InstanceId \u003cguid[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] -Name \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-ComputerName] \u003cstring[]\u003e [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Remove-PSSnapin", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Resume-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Save-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[-DestinationPath] \u003cstring[]\u003e [[-Module] \u003cpsmoduleinfo[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e] [[-Module] \u003cpsmoduleinfo[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] -LiteralPath \u003cstring[]\u003e [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PSDebug", + "CommandType": "Cmdlet", + "ParameterSets": "[-Trace \u003cint\u003e] [-Step] [-Strict] [\u003cCommonParameters\u003e] [-Off] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e [-AssemblyName] \u003cstring\u003e [-ConfigurationTypeName] \u003cstring\u003e [-ApplicationBase \u003cstring\u003e] [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-PSVersion \u003cversion\u003e] [-SessionTypeOption \u003cPSSessionTypeOption\u003e] [-TransportOption \u003cPSTransportOption\u003e] [-ModulesToImport \u003cstring[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring\u003e -Path \u003cstring\u003e [-RunAsCredential \u003cpscredential\u003e] [-ThreadApartmentState \u003cApartmentState\u003e] [-ThreadOptions \u003cPSThreadOptions\u003e] [-AccessMode \u003cPSSessionConfigurationAccessMode\u003e] [-UseSharedProcess] [-StartupScript \u003cstring\u003e] [-MaximumReceivedDataSizePerCommandMB \u003cdouble\u003e] [-MaximumReceivedObjectSizeMB \u003cdouble\u003e] [-SecurityDescriptorSddl \u003cstring\u003e] [-ShowSecurityDescriptorUI] [-Force] [-NoServiceRestart] [-TransportOption \u003cPSTransportOption\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Set-StrictMode", + "CommandType": "Cmdlet", + "ParameterSets": "-Version \u003cversion\u003e [\u003cCommonParameters\u003e] -Off [\u003cCommonParameters\u003e]" + }, + { + "Name": "Start-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-ScriptBlock] \u003cscriptblock\u003e [[-InitializationScript] \u003cscriptblock\u003e] [-Name \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-RunAs32] [-PSVersion \u003cversion\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [-DefinitionName] \u003cstring\u003e [[-DefinitionPath] \u003cstring\u003e] [[-Type] \u003cstring\u003e] [\u003cCommonParameters\u003e] [-FilePath] \u003cstring\u003e [[-InitializationScript] \u003cscriptblock\u003e] [-Name \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-RunAs32] [-PSVersion \u003cversion\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e] [[-InitializationScript] \u003cscriptblock\u003e] -LiteralPath \u003cstring\u003e [-Name \u003cstring\u003e] [-Credential \u003cpscredential\u003e] [-Authentication \u003cAuthenticationMechanism\u003e] [-RunAs32] [-PSVersion \u003cversion\u003e] [-InputObject \u003cpsobject\u003e] [-ArgumentList \u003cObject[]\u003e] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Stop-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-PassThru] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Suspend-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Force] [-Wait] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-ModuleManifest", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Test-PSSessionConfigurationFile", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] \u003cstring\u003e [\u003cCommonParameters\u003e]" + }, + { + "Name": "Unregister-PSSessionConfiguration", + "CommandType": "Cmdlet", + "ParameterSets": "[-Name] \u003cstring\u003e [-Force] [-NoServiceRestart] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Update-Help", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Module] \u003cstring[]\u003e] [[-SourcePath] \u003cstring[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] [-Recurse] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e] [[-Module] \u003cstring[]\u003e] [[-UICulture] \u003ccultureinfo[]\u003e] [-LiteralPath \u003cstring[]\u003e] [-Recurse] [-Credential \u003cpscredential\u003e] [-UseDefaultCredentials] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Wait-Job", + "CommandType": "Cmdlet", + "ParameterSets": "[-Id] \u003cint[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-Job] \u003cJob[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-Name] \u003cstring[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-InstanceId] \u003cguid[]\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-State] \u003cJobState\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e] [-Filter] \u003chashtable\u003e [-Any] [-Timeout \u003cint\u003e] [-Force] [\u003cCommonParameters\u003e]" + }, + { + "Name": "Where-Object", + "CommandType": "Cmdlet", + "ParameterSets": "[-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] [-InputObject \u003cpsobject\u003e] [-EQ] [\u003cCommonParameters\u003e] [-FilterScript] \u003cscriptblock\u003e [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CLT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -LE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotContains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotContains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CLE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -In [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CIn [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotIn [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotIn [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Is [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Like [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CEQ [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -GT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CGT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Match [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CLike [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CMatch [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -IsNot [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotLike [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotMatch [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -Contains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CContains [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -LT [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CNotLike [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -NotMatch [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -GE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e] [-Property] \u003cstring\u003e [[-Value] \u003cObject\u003e] -CGE [-InputObject \u003cpsobject\u003e] [\u003cCommonParameters\u003e]" + } + ], + "ExportedAliases": [ + "%", + "?", + "asnp", + "clhy", + "cnsn", + "dnsn", + "etsn", + "exsn", + "foreach", + "gcm", + "ghy", + "gjb", + "gmo", + "gsn", + "gsnp", + "h", + "history", + "icm", + "ihy", + "ipmo", + "nmo", + "npssc", + "nsn", + "oh", + "r", + "rcjb", + "rcsn", + "rjb", + "rmo", + "rsn", + "rsnp", + "rujb", + "sajb", + "spjb", + "sujb", + "where", + "wjb" + ] + } + ], + "SchemaVersion": "0.0.1" +} diff --git a/RuleDocumentation/UseCompatibleCmdlets.md b/RuleDocumentation/UseCompatibleCmdlets.md index 429b85a61..62a2076a0 100644 --- a/RuleDocumentation/UseCompatibleCmdlets.md +++ b/RuleDocumentation/UseCompatibleCmdlets.md @@ -4,15 +4,16 @@ ## Description -This rule flags cmdlets that are not available in a given Edition/Version of PowerShell on a given Operating System. It works by comparing a cmdlet against a set of whitelists which ship with PSScriptAnalyzer. They can be found at `/path/to/PSScriptAnalyzerModule/Settings`. These files are of the form, `PSEDITION-PSVERSION-OS.json` where `PSEDITION` can be either `core` or `desktop`, `OS` can be either `windows`, `linux` or `osx`, and `version` is the PowerShell version. To enable the rule to check if your script is compatible on PowerShell Core on windows, put the following your settings file: +This rule flags cmdlets that are not available in a given Edition/Version of PowerShell on a given Operating System. It works by comparing a cmdlet against a set of whitelists which ship with PSScriptAnalyzer. They can be found at `/path/to/PSScriptAnalyzerModule/Settings`. These files are of the form, `PSEDITION-PSVERSION-OS.json` where `PSEDITION` can be either `Core` or `Desktop`, `OS` can be either `Windows`, `Linux` or `MacOS`, and `Version` is the PowerShell version. To enable the rule to check if your script is compatible on PowerShell Core on windows, put the following your settings file: + ```PowerShell @{ 'Rules' = @{ 'PSUseCompatibleCmdlets' = @{ - 'compatibility' = @("core-6.0.0-alpha-windows") + 'compatibility' = @("core-6.0.2-windows") } } } ``` -The parameter `compatibility` is a list that contain any of the following `{core-6.0.0-alpha-windows, core-6.0.0-alpha-linux, core-6.0.0-alpha-osx}`. +The parameter `compatibility` is a list that contain any of the following `{desktop-3.0-windows, desktop-4.0-windows, desktop-5.1.14393.206-windows, core-6.0.2-windows, core-6.0.2-linux, core-6.0.2-macos}`. diff --git a/Rules/UseCompatibleCmdlets.cs b/Rules/UseCompatibleCmdlets.cs index f74061b76..ea96334da 100644 --- a/Rules/UseCompatibleCmdlets.cs +++ b/Rules/UseCompatibleCmdlets.cs @@ -395,7 +395,7 @@ private bool GetVersionInfoFromPlatformString( psedition = null; psversion = null; os = null; - const string pattern = @"^(?core|desktop)-(?[\S]+)-(?windows|linux|osx)$"; + const string pattern = @"^(?core|desktop)-(?[\S]+)-(?windows|linux|macos)$"; var match = Regex.Match(fileName, pattern, RegexOptions.IgnoreCase); if (match == Match.Empty) { diff --git a/Tests/Rules/UseCompatibleCmdlets.tests.ps1 b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 index 60911ff1a..62d1e903b 100644 --- a/Tests/Rules/UseCompatibleCmdlets.tests.ps1 +++ b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 @@ -33,7 +33,7 @@ Describe "UseCompatibleCmdlets" { } } - $settings = @{rules=@{PSUseCompatibleCmdlets=@{compatibility=@("core-6.0.0-alpha-windows")}}} + $settings = @{rules=@{PSUseCompatibleCmdlets=@{compatibility=@("core-6.0.2-windows")}}} Context "Microsoft.PowerShell.Core" { @('Enter-PSSession', 'Foreach-Object', 'Get-Command') | ` diff --git a/Tests/Rules/UseCompatibleCmdlets/PSScriptAnalyzerSettings.psd1 b/Tests/Rules/UseCompatibleCmdlets/PSScriptAnalyzerSettings.psd1 index b12acd2c6..1c3e48084 100644 --- a/Tests/Rules/UseCompatibleCmdlets/PSScriptAnalyzerSettings.psd1 +++ b/Tests/Rules/UseCompatibleCmdlets/PSScriptAnalyzerSettings.psd1 @@ -1,7 +1,7 @@ @{ 'Rules' = @{ 'PSUseCompatibleCmdlets' = @{ - 'compatibility' = @("core-6.0.0-alpha-windows") + 'compatibility' = @("core-6.0.2-windows") } } } \ No newline at end of file diff --git a/Utils/New-CommandDataFile.ps1 b/Utils/New-CommandDataFile.ps1 index 4f986ef55..a1dce934b 100644 --- a/Utils/New-CommandDataFile.ps1 +++ b/Utils/New-CommandDataFile.ps1 @@ -5,7 +5,7 @@ .EXAMPLE C:\PS> ./New-CommandDataFile.ps1 - Suppose this file is run on the following version of PowerShell: PSVersion = 6.0.0-aplha, PSEdition = Core, and Windows 10 operating system. Then this script will create a file named core-6.0.0-alpha-windows.json that contains a JSON object of the following form: + Suppose this file is run on the following version of PowerShell: PSVersion = 6.0.2, PSEdition = Core, and Windows 10 operating system. Then this script will create a file named core-6.0.2-windows.json that contains a JSON object of the following form: { "Modules" : [ "Module1" : { From e5ae9dff862aa12c4c6f49a21d6b84bf35161e2e Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Thu, 17 May 2018 23:22:09 +0100 Subject: [PATCH 116/120] Support SuggestedCorrections property on DiagnosticRecord for script based rules (#1000) * Populate SuggestedCorrections when using scriptule and make it public for easier construction in PowerShell * add documentation and test * use [Type]::new() constructor instead of new-object * Revert "use [Type]::new() constructor instead of new-object" Reason: this was only introduced in PowerShell v5 and therefore fails the PS v4 build and we should not give examples that do not work on any supported version This reverts commit aa90ea3113161de9bbbff56f95afb923fcc2900b. --- Engine/Generic/DiagnosticRecord.cs | 5 +++-- Engine/ScriptAnalyzer.cs | 4 +++- ScriptRuleDocumentation.md | 23 ++++++++++++++++++++++- Tests/Engine/CustomizedRule.tests.ps1 | 13 +++++++++++++ Tests/Engine/samplerule/samplerule.psm1 | 9 ++++++--- 5 files changed, 47 insertions(+), 7 deletions(-) diff --git a/Engine/Generic/DiagnosticRecord.cs b/Engine/Generic/DiagnosticRecord.cs index ca3c3c882..28d0e87bd 100644 --- a/Engine/Generic/DiagnosticRecord.cs +++ b/Engine/Generic/DiagnosticRecord.cs @@ -18,7 +18,7 @@ public class DiagnosticRecord private DiagnosticSeverity severity; private string scriptPath; private string ruleSuppressionId; - private List suggestedCorrections; + private IEnumerable suggestedCorrections; /// /// Represents a string from the rule about why this diagnostic was created. @@ -89,6 +89,7 @@ public string RuleSuppressionID public IEnumerable SuggestedCorrections { get { return suggestedCorrections; } + set { suggestedCorrections = value; } } /// @@ -108,7 +109,7 @@ public DiagnosticRecord() /// The severity of this diagnostic /// The full path of the script file being analyzed /// The correction suggested by the rule to replace the extent text - public DiagnosticRecord(string message, IScriptExtent extent, string ruleName, DiagnosticSeverity severity, string scriptPath, string ruleId = null, List suggestedCorrections = null) + public DiagnosticRecord(string message, IScriptExtent extent, string ruleName, DiagnosticSeverity severity, string scriptPath, string ruleId = null, IEnumerable suggestedCorrections = null) { Message = message; RuleName = ruleName; diff --git a/Engine/ScriptAnalyzer.cs b/Engine/ScriptAnalyzer.cs index 1c6a64fff..ae6e22255 100644 --- a/Engine/ScriptAnalyzer.cs +++ b/Engine/ScriptAnalyzer.cs @@ -1267,6 +1267,7 @@ internal IEnumerable GetExternalRecord(Ast ast, Token[] token, IScriptExtent extent; string message = string.Empty; string ruleName = string.Empty; + IEnumerable suggestedCorrections; if (psobject != null && psobject.ImmediateBaseObject != null) { @@ -1286,6 +1287,7 @@ internal IEnumerable GetExternalRecord(Ast ast, Token[] token, message = psobject.Properties["Message"].Value.ToString(); extent = (IScriptExtent)psobject.Properties["Extent"].Value; ruleName = psobject.Properties["RuleName"].Value.ToString(); + suggestedCorrections = (IEnumerable)psobject.Properties["SuggestedCorrections"].Value; } catch (Exception ex) { @@ -1295,7 +1297,7 @@ internal IEnumerable GetExternalRecord(Ast ast, Token[] token, if (!string.IsNullOrEmpty(message)) { - diagnostics.Add(new DiagnosticRecord(message, extent, ruleName, severity, filePath)); + diagnostics.Add(new DiagnosticRecord(message, extent, ruleName, severity, filePath) { SuggestedCorrections = suggestedCorrections }); } } } diff --git a/ScriptRuleDocumentation.md b/ScriptRuleDocumentation.md index dca9151e8..45e558ef7 100644 --- a/ScriptRuleDocumentation.md +++ b/ScriptRuleDocumentation.md @@ -51,7 +51,7 @@ Param ) ``` -- DiagnosticRecord should have four properties: Message, Extent, RuleName and Severity +- DiagnosticRecord should have at least four properties: Message, Extent, RuleName and Severity ``` PowerShell $result = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord[]]@{ @@ -61,6 +61,27 @@ $result = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord[ "Severity" = "Warning" } ``` +Optionally, since version 1.17.0, a `SuggestedCorrections` property of type `IEnumerable` can also be added in script rules but care must be taken that the type is correct, an example is: +```powershell +[int]$startLineNumber = $ast.Extent.StartLineNumber +[int]$endLineNumber = $ast.Extent.EndLineNumber +[int]$startColumnNumber = $ast.Extent.StartColumnNumber +[int]$endColumnNumber = $ast.Extent.EndColumnNumber +[string]$correction = 'Correct text that replaces Extent text' +[string]$file = $MyInvocation.MyCommand.Definition +[string]$optionalDescription = 'Useful but optional description text' +$correctionExtent = New-Object 'Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.CorrectionExtent' $startLineNumber,$endLineNumber,$startColumnNumber,$endColumnNumber,$correction,$description +$suggestedCorrections = New-Object System.Collections.ObjectModel.Collection['Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.CorrectionExtent'] +$suggestedCorrections.add($correctionExtent) | out-null + +[Microsoft.Windows.Powershell.ScriptAnalyzer.Generic.DiagnosticRecord]@{ + "Message" = "This is a rule with a suggested correction" + "Extent" = $ast.Extent + "RuleName" = $PSCmdlet.MyInvocation.InvocationName + "Severity" = "Warning" + "SuggestedCorrections" = $suggestedCorrections +} +``` - Make sure you export the function(s) at the end of the script using Export-ModuleMember diff --git a/Tests/Engine/CustomizedRule.tests.ps1 b/Tests/Engine/CustomizedRule.tests.ps1 index 3ad6225ad..2062f995a 100644 --- a/Tests/Engine/CustomizedRule.tests.ps1 +++ b/Tests/Engine/CustomizedRule.tests.ps1 @@ -149,6 +149,19 @@ Describe "Test importing correct customized rules" { $violations[0].ScriptPath | Should -Be $expectedScriptPath } + It "will set SuggestedCorrections" { + $violations = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomizedRulePath $directory\samplerule + $expectedScriptPath = Join-Path $directory 'TestScript.ps1' + $violations[0].SuggestedCorrections | Should -Not -BeNullOrEmpty + $violations[0].SuggestedCorrections.StartLineNumber | Should -Be 1 + $violations[0].SuggestedCorrections.EndLineNumber | Should -Be 2 + $violations[0].SuggestedCorrections.StartColumnNumber | Should -Be 3 + $violations[0].SuggestedCorrections.EndColumnNumber | Should -Be 4 + $violations[0].SuggestedCorrections.Text | Should -Be 'text' + $violations[0].SuggestedCorrections.File | Should -Be 'filePath' + $violations[0].SuggestedCorrections.Description | Should -Be 'description' + } + if (!$testingLibraryUsage) { It "will show the custom rule in the results when given a rule folder path with trailing backslash" { diff --git a/Tests/Engine/samplerule/samplerule.psm1 b/Tests/Engine/samplerule/samplerule.psm1 index d3cc6516d..6cf0ea1fd 100644 --- a/Tests/Engine/samplerule/samplerule.psm1 +++ b/Tests/Engine/samplerule/samplerule.psm1 @@ -28,9 +28,12 @@ function Measure-RequiresRunAsAdministrator [System.Management.Automation.Language.ScriptBlockAst] $testAst ) - $dr = New-Object ` + $l=(new-object System.Collections.ObjectModel.Collection["Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.CorrectionExtent"]) + $c = (new-object Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.CorrectionExtent 1,2,3,4,'text','filePath','description') + $l.Add($c) + $dr = New-Object ` -Typename "Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord" ` - -ArgumentList "This is help",$ast.Extent,$PSCmdlet.MyInvocation.InvocationName,Warning,$null - return @($dr) + -ArgumentList "This is help",$ast.Extent,$PSCmdlet.MyInvocation.InvocationName,Warning,$null,$null,$l + return $dr } Export-ModuleMember -Function Measure* \ No newline at end of file From a22fd0ff01d28d8ff16218fa861cac7c73a69cd1 Mon Sep 17 00:00:00 2001 From: Keith Hill Date: Tue, 5 Jun 2018 01:02:07 -0600 Subject: [PATCH 117/120] Fix table to refer to existing md files, add col for Configurable (#988) * Fix table to refer to existing md files, add col for Configurable * Remove deprecated rules, rename to match actual rule sans PS prefix * Add Pester tests for rule doc files, add back UseSingularNouns.md file * Add Pester tests for verifying rule doc README.md file * fix typo in documentation folder, remove redundant ipmo call new tests in CI and add to docs * Add rules that will be present in 1.17 and fix typo in md file name * remove redundant import of PSScriptAnalyzerTestHelper test helper module in documentation test * Fix doc tests for PS v4 and PS Core This commit removes rules that aren't available on these versions * Remove leftovers from deprecated rules AvoidUsingFilePath, AvoidUninitializedVariable and AvoidTrapStatement in code and documentation. Fix markdown in PowerShellBestPractices.md and tidy up * added remarks about rules not being available in certain powershell versions * Add superscript/footnote on rules not available everywhere * Update test to strip off the optional superscript markdown --- Engine/Settings/PSGallery.psd1 | 1 - Engine/Settings/ScriptSecurity.psd1 | 3 +- PowerShellBestPractices.md | 265 +++++++++--------- README.md | 12 +- RuleDocumentation/AvoidGlobalAliases.md | 5 +- RuleDocumentation/AvoidTrapStatement.md | 48 ---- .../AvoidUninitializedVariable.md | 34 --- RuleDocumentation/AvoidUsingFilePath.md | 47 ---- ...lesPresent.md => DSCDscExamplesPresent.md} | 0 ...cTestsPresent.md => DSCDscTestsPresent.md} | 0 ...> DSCReturnCorrectTypesForDSCFunctions.md} | 0 ...d => DSCStandardDSCFunctionsInResource.md} | 0 ...CUseIdenticalMandatoryParametersForDSC.md} | 0 ....md => DSCUseIdenticalParametersForDSC.md} | 0 ...d => DSCUseVerboseMessageInDSCResource.md} | 0 ...ibleIncorrectUsageOfAssignmentOperator.md} | 0 RuleDocumentation/README.md | 63 +++++ RuleDocumentation/UseSingularNouns.md | 6 +- Rules/Strings.Designer.cs | 112 +------- Rules/Strings.resx | 36 --- .../Documentation/RuleDocumentation.tests.ps1 | 68 +++++ Tests/Engine/Profile.ps1 | 6 +- Tests/Engine/WrongProfile.ps1 | 3 +- .../AvoidGlobalOrUnitializedVars.tests.ps1 | 83 ------ Tests/Rules/AvoidGlobalVars.tests.ps1 | 42 +++ tools/appveyor.psm1 | 2 +- 26 files changed, 330 insertions(+), 506 deletions(-) delete mode 100644 RuleDocumentation/AvoidTrapStatement.md delete mode 100644 RuleDocumentation/AvoidUninitializedVariable.md delete mode 100644 RuleDocumentation/AvoidUsingFilePath.md rename RuleDocumentation/{DscExamplesPresent.md => DSCDscExamplesPresent.md} (100%) rename RuleDocumentation/{DscTestsPresent.md => DSCDscTestsPresent.md} (100%) rename RuleDocumentation/{ReturnCorrectTypesForDSCFunctions.md => DSCReturnCorrectTypesForDSCFunctions.md} (100%) rename RuleDocumentation/{StandardDSCFunctionsInResource.md => DSCStandardDSCFunctionsInResource.md} (100%) rename RuleDocumentation/{UseIdenticalMandatoryParametersForDSC.md => DSCUseIdenticalMandatoryParametersForDSC.md} (100%) rename RuleDocumentation/{UseIdenticalParametersForDSC.md => DSCUseIdenticalParametersForDSC.md} (100%) rename RuleDocumentation/{UseVerboseMessageInDSCResource.md => DSCUseVerboseMessageInDSCResource.md} (100%) rename RuleDocumentation/{PossibleIncorrectUsageOAssignmentOperator.md => PossibleIncorrectUsageOfAssignmentOperator.md} (100%) create mode 100644 RuleDocumentation/README.md create mode 100644 Tests/Documentation/RuleDocumentation.tests.ps1 delete mode 100644 Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 create mode 100644 Tests/Rules/AvoidGlobalVars.tests.ps1 diff --git a/Engine/Settings/PSGallery.psd1 b/Engine/Settings/PSGallery.psd1 index 8064ba84e..8152ea7c7 100644 --- a/Engine/Settings/PSGallery.psd1 +++ b/Engine/Settings/PSGallery.psd1 @@ -21,7 +21,6 @@ 'PSAvoidUsingConvertToSecureStringWithPlainText', 'PSUsePSCredentialType', 'PSAvoidUsingUserNameAndPasswordParams', - 'PSAvoidUsingFilePath', 'PSDSC*' ) } diff --git a/Engine/Settings/ScriptSecurity.psd1 b/Engine/Settings/ScriptSecurity.psd1 index 3be041013..5e71037c2 100644 --- a/Engine/Settings/ScriptSecurity.psd1 +++ b/Engine/Settings/ScriptSecurity.psd1 @@ -3,6 +3,5 @@ 'PSAvoidUsingComputerNameHardcoded', 'PSAvoidUsingConvertToSecureStringWithPlainText', 'PSUsePSCredentialType', - 'PSAvoidUsingUserNameAndPasswordParams', - 'PSAvoidUsingFilePath') + 'PSAvoidUsingUserNameAndPasswordParams') } \ No newline at end of file diff --git a/PowerShellBestPractices.md b/PowerShellBestPractices.md index 81bc3e00c..717810394 100644 --- a/PowerShellBestPractices.md +++ b/PowerShellBestPractices.md @@ -1,129 +1,144 @@ -#PowerShell Best Practices - -The following guidelines come from a combined effort from both the PowerShell team and the community. We will use this guideline to define rules for PSScriptAnalyzer. Please feel free to propose additional guidelines and rules for PSScriptAnalyzer. -**Note: The hyperlink next to each guidelines will redirect to documentation page for the rule that is already implemented. - -##Cmdlet Design Rules -###Severity: Error - -###Severity: Warning - - Use Only Approved Verbs [UseApprovedVerbs](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseApprovedVerbs.md) - - Cmdlets Names: Characters that cannot be Used [AvoidReservedCharInCmdlet](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidReservedCharInCmdlet.md) - - Parameter Names that cannot be Used [AvoidReservedParams](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidReservedParams.md) - - Support Confirmation Requests [UseShouldProcessCorrectly](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseShouldProcessCorrectly.md) and [UseShouldProcessForStateChangingFunctions](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseShouldProcessForStateChangingFunctions.md) - - Nouns should be singular [UseSingularNouns](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseSingularNouns.md) - - Module Manifest Fields [MissingModuleManifestField](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/MissingModuleManifestField.md) - - Version - - Author - - Description - - LicenseUri (for PowerShell Gallery) - - Must call ShouldProcess when ShouldProcess attribute is present and vice versa.[UseShouldProcessCorrectly](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseShouldProcessCorrectly.md) - - Switch parameters should not default to true  [AvoidDefaultTrueValueSwtichParameter](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidDefaultTrueValueSwitchParameter.md) - -###Severity: Information - -###Severity: TBD - - Support Force Parameter for Interactive Session - - If your cmdlet is used interactively, always provide a Force parameter to override the interactive actions, such as prompts or reading lines of input). This is important because it allows your cmdlet to be used in non-interactive scripts and hosts. The following methods can be implemented by an interactive host. - - Document Output Objects - - Module must be loadable - - No syntax errors - - Unresolved dependencies are an error - - Derive from the Cmdlet or PSCmdlet Classes - - Specify the Cmdlet Attribute - - Override an Input Processing Method - - Specify the OutputType Attribute - - Write Single Records to the Pipeline - - Make Cmdlets Case-Insensitive and Case-Preserving - -##Script Functions -###Severity: Error - -###Severity: Warning - - Avoid using alias [AvoidAlias](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidAlias.md) - - Avoid using deprecated WMI cmdlets [AvoidUsingWMICmdlet](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingWMICmdlet.md) - - Empty catch block should not be used [AvoidEmptyCatchBlock](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidEmptyCatchBlock.md) - - Invoke existing cmdlet with correct parameters [UseCmdletCorrectly](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseCmdletCorrectly.md) - - Cmdlets should have ShouldProcess/ShouldContinue and Force param if certain system-modding verbs are present (Update, Set, Remove, New)[UseShouldProcessForStateChangingFunctions](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseShouldProcessForStateChangingFunctions.md) - - Positional parameters should be avoided [AvoidUsingPositionalParameters](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingPositionalParameters.md) - - Non-global variables must be initialized. Those that are supposed to be global and not initialized must have “global:” (includes for loop initializations)[AvoidUninitializedVariable](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUninitializedVariable.md) - - Global variables should be avoided. [AvoidGlobalVars](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidGlobalVars.md) - - Declared variables must be used in more than just their assignment. [UseDeclaredVarsMoreThanAssignments](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseDeclaredVarsMoreThanAssignments.md) - - No trap statments should be used [AvoidTrapStatement](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidTrapStatement.md) - - No Invoke-Expression [AvoidUsingInvokeExpression](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingInvokeExpression.md) - -###Severity: Information - -###Severity: TBD - - Clear-Host should not be used - - File paths should not be used (UNC) - - Error Handling - - Use -ErrorAction Stop when calling cmdlets - - Use $ErrorActionPreference = 'Stop'/' Continue' when calling non-cmdlets - - Avoid using flags to handle errors - - Avoid using $? - - Avoid testing for a null variable as an error condition - - Copy $Error[0] to your own variable - - Avoid using pipelines in scripts - - If a return type is declared, the cmdlet must return that type. If a type is returned, a return type must be declared. - -##Scripting Style -###Severity: Error - -###Severity: Warning - - Don't use write-host unless writing to the host is all you want to do [AvoidUsingWriteHost](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingWriteHost.md) - -###Severity: Information - - Write comment-based help [ProvideCommentHelp](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ProvideCommentHelp.md) - - Use write-verbose to give information to someone running your script [ProvideVerboseMessage](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ProvideVerboseMessage.md) -###Severity: TBD - - Provide usage Examples - - Use the Notes section for detail on how the tool work - - Should have help on every exported command (including parameter documentation - - Document the version of PowerShell that script was written for - - Indent your code - - Avoid backticks - - -##Script Security -###Severity: Error - - Password should be secure string [AvoidUsingPlainTextForPassword](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingPlainTextForPassword.md)- Should never have both -Username and -Password parameters (should take credentials)[UsePSCredentialType](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UsePSCredentialType.md) - - -ComputerName hardcoded should not be used (information disclosure)[AvoidUsingComputerNameHardcoded](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingComputerNameHardcoded.md) - - ConvertTo-SecureString with plaintext should not be used (information disclosure) [AvoidUsingConvertToSecureStringWithPlainText](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingConvertToSecureStringWithPlainText.md) - -###Severity: Warning +# PowerShell Best Practices + +The following guidelines come from a combined effort from both the PowerShell team and the community. We will use this guideline to define rules for `PSScriptAnalyzer`. Please feel free to propose additional guidelines and rules for `PSScriptAnalyzer`. +**Note**: The hyperlink next to each guidelines will redirect to documentation page for the rule that is already implemented. + +## Cmdlet Design Rules + +### Severity: Error + +### Severity: Warning + +- Use Only Approved Verbs [UseApprovedVerbs](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseApprovedVerbs.md) +- Cmdlets Names: Characters that cannot be Used [AvoidReservedCharInCmdlet](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ReservedCmdletChar.md) +- Parameter Names that cannot be Used [AvoidReservedParams](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ReservedParams.md) +- Support Confirmation Requests [UseShouldProcessForStateChangingFunctions](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseShouldProcessForStateChangingFunctions.md) and [UseShouldProcessForStateChangingFunctions](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseShouldProcessForStateChangingFunctions.md) +- Must call ShouldProcess when ShouldProcess attribute is present and vice versa.[UseShouldProcess](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ShouldProcess.md) +- Nouns should be singular [UseSingularNouns](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseSingularNouns.md) +- Module Manifest Fields [MissingModuleManifestField](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/MissingModuleManifestField.md) + - Version + - Author + - Description + - LicenseUri (for PowerShell Gallery) +- Switch parameters should not default to true  [AvoidDefaultValueSwitchParameter](https://github.com/PowetrShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidDefaultValueSwitchParameter.md) + +### Severity: Information + +### Severity: TBD + +- Support Force Parameter for Interactive Session +- If your cmdlet is used interactively, always provide a Force parameter to override the interactive actions, such as prompts or reading lines of input). This is important because it allows your cmdlet to be used in non-interactive scripts and hosts. The following methods can be implemented by an interactive host. +- Document Output Objects +- Module must be loadable +- No syntax errors +- Unresolved dependencies are an error +- Derive from the Cmdlet or PSCmdlet Classes +- Specify the Cmdlet Attribute +- Override an Input Processing Method +- Specify the OutputType Attribute +- Write Single Records to the Pipeline +- Make Cmdlets Case-Insensitive and Case-Preserving + +## Script Functions + +### Severity: Error + +### Severity: Warning + +- Avoid using alias [AvoidUsingCmdletAliases](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingCmdletAliases.md) +- Avoid using deprecated WMI cmdlets [AvoidUsingWMICmdlet](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingWMICmdlet.md) +- Empty catch block should not be used [AvoidUsingEmptyCatchBlock](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingEmptyCatchBlock.md) +- Invoke existing cmdlet with correct parameters [UseCmdletCorrectly](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseCmdletCorrectly.md) +- Cmdlets should have ShouldProcess/ShouldContinue and Force param if certain system-modding verbs are present (Update, Set, Remove, New): [UseShouldProcessForStateChangingFunctions](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseShouldProcessForStateChangingFunctions.md) +- Positional parameters should be avoided [AvoidUsingPositionalParameters](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingPositionalParameters.md) +- Global variables should be avoided. [AvoidGlobalVars](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidGlobalVars.md) +- Declared variables must be used in more than just their assignment. [UseDeclaredVarsMoreThanAssignments](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseDeclaredVarsMoreThanAssignments.md) +- No Invoke-Expression [AvoidUsingInvokeExpression](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingInvokeExpression.md) + +### Severity: Information + +### Severity: TBD + +- `Clear-Host` should not be used +- File paths should not be used (UNC) +- Error Handling + - Use `-ErrorAction Stop` when calling cmdlets + - Use $ErrorActionPreference = 'Stop'/' Continue' when calling non-cmdlets + - Avoid using flags to handle errors + - Avoid using `$?` + - Avoid testing for a null variable as an error condition + - Copy `$Error[0]` to your own variable +- Avoid using pipelines in scripts +- If a return type is declared, the cmdlet must return that type. If a type is returned, a return type must be declared. + +## Scripting Style + +### Severity: Error + +### Severity: Warning + +- Don't use `Write-Host` unless writing to the host is all you want to do [AvoidUsingWriteHost](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingWriteHost.md) + +### Severity: Information + +- Write comment-based help [ProvideCommentHelp](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ProvideCommentHelp.md) + +### Severity: TBD + +- Provide usage Examples +- Use the Notes section for detail on how the tool work +- Should have help on every exported command (including parameter documentation +- Document the version of PowerShell that script was written for +- Indent your code +- Avoid backticks + +## Script Security + +### Severity: Error + +- Password should be secure string [AvoidUsingPlainTextForPassword](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingPlainTextForPassword.md)- Should never have both -Username and -Password parameters (should take credentials): [UsePSCredentialType](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UsePSCredentialType.md) +- `-ComputerName` Parameter argument hardcoded should not be used (information disclosure): [AvoidUsingComputerNameHardcoded](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingComputerNameHardcoded.md) +- ConvertTo-SecureString with plaintext should not be used (information disclosure): [AvoidUsingConvertToSecureStringWithPlainText](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingConvertToSecureStringWithPlainText.md) + +### Severity: Warning + - Password = 'string' should not be used. (information disclosure) [AvoidUsingUsernameAndPasswordParams](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingUsernameAndPasswordParams.md) -- Internal URLs should not be used (information disclosure)[AvoidUsingFilePath](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingFilePath.md) - -###Severity: Information - -###Severity: TBD - - APIKey and Credentials variables that are initialized (information disclosure) - -##DSC Related Rules -###Severity: Error - - Use standard DSC methods [UseStandardDSCFunctionsInResource](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseStandardDSC FunctionsInResource.md) - - Use identical mandatory parameters for all DSC methods [UseIdenticalMandatoryParametersDSC](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseIdenticalMandatoryParametersDSC.md) - - Use identical parameters for Set and Test DSC methods [UseIdenticalParametersDSC](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseIdenticalParametersDSC.md) - -###Severity: Warning - -###Severity: Information - - All of the following three rule are grouped by: [ReturnCorrectTypeDSCFunctions](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ReturnCorrectTypeDSCFunctions.md) - - Avoid return any object from a Set-TargetResource or Set (Class Based) function - - Returning a Boolean object from a Test-TargetResource or Test (Class Based) function - - Returning an object from a Get-TargetResource or Get (Class Based) function - - DSC resources should have DSC tests [DSCTestsPresent](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/DscTestsPresent.md) - - DSC resources should have DSC examples [DSCExamplesPresent](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/DscExamplesPresent.md) - -###Severity: TBD - - For PowerShell V4: Resource module contains .psd1 file and schema.mof for every resource - - MOF has description for each element [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/131) - - Resource module must contain .psd1 file (always) and schema.mof (for non-class resource). [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/116) - - Use ShouldProcess for a Set DSC method - - Resource module contains DscResources folder which contains the resources [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/130) - -###Reference: + +### Severity: Information + +### Severity: TBD + +- APIKey and Credentials variables that are initialized (information disclosure) + +## DSC Related Rules + +### Severity: Error + +- Use standard DSC methods [StandardDSCFunctionsInResource](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/StandardDSCFunctionsInResource.md) +- Use identical mandatory parameters for all DSC methods [UseIdenticalMandatoryParametersForDSC](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseIdenticalMandatoryParametersForDSC.md) +- Use identical parameters for Set and Test DSC methods [UseIdenticalParametersForDSC](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseIdenticalParametersForDSC.md) + +### Severity: Warning + +### Severity: Information + +- All of the following three rule are grouped by: [ReturnCorrectTypesForDSCFunctions](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/ReturnCorrectTypesForDSCFunctions.md) +- Avoid return any object from a `Set-TargetResource` or Set (Class Based) function +- Returning a Boolean object from a `Test-TargetResource` or Test (Class Based) function +- Returning an object from a `Get-TargetResource` or Get (Class Based) function +- DSC resources should have DSC tests [DSCTestsPresent](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/DscTestsPresent.md) +- DSC resources should have DSC examples [DSCExamplesPresent](https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/DscExamplesPresent.md) + +### Severity: TBD + +- For PowerShell V4: Resource module contains `.psd1` file and `schema.mof` for every resource +- MOF has description for each element [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/131) +- Resource module must contain .psd1 file (always) and schema.mof (for non-class resource). [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/116) +- Use ShouldProcess for a Set DSC method +- Resource module contains DscResources folder which contains the resources [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/130) + +### Reference + * Cmdlet Development Guidelines from MSDN site (Cmdlet Development Guidelines): https://msdn.microsoft.com/en-us/library/ms714657(v=vs.85).aspx * The Community Book of PowerShell Practices (Compiled by Don Jones and Matt Penny and the Windows PowerShell Community): https://powershell.org/community-book-of-powershell-practices/ * PowerShell DSC Resource Design and Testing Checklist: https://blogs.msdn.com/b/powershell/archive/2014/11/18/powershell-dsc-resource-design-and-testing-checklist.aspx diff --git a/README.md b/README.md index 19feea818..355c28375 100644 --- a/README.md +++ b/README.md @@ -158,16 +158,10 @@ Pester-based ScriptAnalyzer Tests are located in `path/to/PSScriptAnalyzer/Tests * Ensure [Pester 4.3.1](https://www.powershellgallery.com/packages/Pester/4.3.1) is installed * Copy `path/to/PSScriptAnalyzer/out/PSScriptAnalyzer` to a folder in `PSModulePath` -* Go the Tests folder in your local repository -* Run Engine Tests: +* In the root folder of your local repository, run: ``` PowerShell -cd /path/to/PSScriptAnalyzer/Tests/Engine -Invoke-Pester -``` -* Run Tests for Built-in rules: -``` PowerShell -cd /path/to/PSScriptAnalyzer/Tests/Rules -Invoke-Pester +$testScripts = ".\Tests\Engine",".\Tests\Rules",".\Tests\Documentation" +Invoke-Pester -Script $testScripts ``` [Back to ToC](#table-of-contents) diff --git a/RuleDocumentation/AvoidGlobalAliases.md b/RuleDocumentation/AvoidGlobalAliases.md index d0c02e1aa..dd4bd3807 100644 --- a/RuleDocumentation/AvoidGlobalAliases.md +++ b/RuleDocumentation/AvoidGlobalAliases.md @@ -4,11 +4,12 @@ ## Description -Globally scoped aliases override existing aliases within the sessions with matching names. This name collision can cause difficult to debug issues for consumers of modules and scripts. - +Globally scoped aliases override existing aliases within the sessions with matching names. This name collision can cause difficult to debug issues for consumers of modules and scripts. To understand more about scoping, see ```Get-Help about_Scopes```. +**NOTE** This rule is not available in PowerShell version 3 and 4 due to the `StaticParameterBinder.BindCommand` API that the rule uses internally. + ## How Use other scope modifiers for new aliases. diff --git a/RuleDocumentation/AvoidTrapStatement.md b/RuleDocumentation/AvoidTrapStatement.md deleted file mode 100644 index 69f5d694d..000000000 --- a/RuleDocumentation/AvoidTrapStatement.md +++ /dev/null @@ -1,48 +0,0 @@ -# AvoidTrapStatement - -**Severity Level: Warning** - -## Description - -The `Trap` keyword specifies a list of statements to run when a terminating error occurs. - -Trap statements handle the terminating errors and allow execution of the script or function to continue instead of stopping. - -Traps are intended for the use of administrators and not for script and cmdlet developers. PowerShell scripts and cmdlets should make use -of `try{} catch{} finally{}` statements. - -## How - -Replace `Trap` statements with `try{} catch{} finally{}` statements. - -## Example - -### Wrong - -``` PowerShell -function Test-Trap -{ - trap {"Error found: $_"} -} -``` - -### Correct - -``` PowerShell -function Test-Trap -{ - try - { - $a = New-Object "NonExistentObjectType" - $a | Get-Member - } - catch [System.Exception] - { - "Found error" - } - finally - { - "End the script" - } - } - ``` diff --git a/RuleDocumentation/AvoidUninitializedVariable.md b/RuleDocumentation/AvoidUninitializedVariable.md deleted file mode 100644 index 8150f006a..000000000 --- a/RuleDocumentation/AvoidUninitializedVariable.md +++ /dev/null @@ -1,34 +0,0 @@ -# AvoidUninitializedVariable - -**Severity Level: Warning** - -## Description - -A variable is a unit of memory in which values are stored. Windows PowerShell controls access to variables, functions, aliases, and drives through a mechanism known as scoping. - -All non-global variables must be initialized, otherwise potential bugs could be introduced. - -## How - -Initialize non-global variables. - -## Example - -### Wrong - -``` PowerShell -function NotGlobal { - $localVars = "Localization?" - $uninitialized - Write-Output $uninitialized -} -``` - -### Correct - -``` PowerShell -function NotGlobal { - $localVars = "Localization?" - Write-Output $localVars -} -``` diff --git a/RuleDocumentation/AvoidUsingFilePath.md b/RuleDocumentation/AvoidUsingFilePath.md deleted file mode 100644 index 1cb13aa16..000000000 --- a/RuleDocumentation/AvoidUsingFilePath.md +++ /dev/null @@ -1,47 +0,0 @@ -# AvoidUsingFilePath - -**Severity Level: Error** - -## Description - -If a file path is used in a script that refers to a file on the computer or on the shared network, this could expose sensitive information or result in availability issues. - -Care should be taken to ensure that no computer or network paths are hard coded, instead non-rooted paths should be used. - -## How - -Ensure that no network paths are hard coded and that file paths are non-rooted. - -## Example - -### Wrong - -``` PowerShell -Function Get-MyCSVFile -{ - $FileContents = Get-FileContents -Path "\\scratch2\scratch\" - ... -} - -Function Write-Documentation -{ - Write-Warning "E:\Code" - ... -} -``` - -### Correct - -``` PowerShell -Function Get-MyCSVFile ($NetworkPath) -{ - $FileContents = Get-FileContents -Path $NetworkPath - ... -} - -Function Write-Documentation -{ - Write-Warning "..\Code" - ... -} -``` diff --git a/RuleDocumentation/DscExamplesPresent.md b/RuleDocumentation/DSCDscExamplesPresent.md similarity index 100% rename from RuleDocumentation/DscExamplesPresent.md rename to RuleDocumentation/DSCDscExamplesPresent.md diff --git a/RuleDocumentation/DscTestsPresent.md b/RuleDocumentation/DSCDscTestsPresent.md similarity index 100% rename from RuleDocumentation/DscTestsPresent.md rename to RuleDocumentation/DSCDscTestsPresent.md diff --git a/RuleDocumentation/ReturnCorrectTypesForDSCFunctions.md b/RuleDocumentation/DSCReturnCorrectTypesForDSCFunctions.md similarity index 100% rename from RuleDocumentation/ReturnCorrectTypesForDSCFunctions.md rename to RuleDocumentation/DSCReturnCorrectTypesForDSCFunctions.md diff --git a/RuleDocumentation/StandardDSCFunctionsInResource.md b/RuleDocumentation/DSCStandardDSCFunctionsInResource.md similarity index 100% rename from RuleDocumentation/StandardDSCFunctionsInResource.md rename to RuleDocumentation/DSCStandardDSCFunctionsInResource.md diff --git a/RuleDocumentation/UseIdenticalMandatoryParametersForDSC.md b/RuleDocumentation/DSCUseIdenticalMandatoryParametersForDSC.md similarity index 100% rename from RuleDocumentation/UseIdenticalMandatoryParametersForDSC.md rename to RuleDocumentation/DSCUseIdenticalMandatoryParametersForDSC.md diff --git a/RuleDocumentation/UseIdenticalParametersForDSC.md b/RuleDocumentation/DSCUseIdenticalParametersForDSC.md similarity index 100% rename from RuleDocumentation/UseIdenticalParametersForDSC.md rename to RuleDocumentation/DSCUseIdenticalParametersForDSC.md diff --git a/RuleDocumentation/UseVerboseMessageInDSCResource.md b/RuleDocumentation/DSCUseVerboseMessageInDSCResource.md similarity index 100% rename from RuleDocumentation/UseVerboseMessageInDSCResource.md rename to RuleDocumentation/DSCUseVerboseMessageInDSCResource.md diff --git a/RuleDocumentation/PossibleIncorrectUsageOAssignmentOperator.md b/RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md similarity index 100% rename from RuleDocumentation/PossibleIncorrectUsageOAssignmentOperator.md rename to RuleDocumentation/PossibleIncorrectUsageOfAssignmentOperator.md diff --git a/RuleDocumentation/README.md b/RuleDocumentation/README.md new file mode 100644 index 000000000..a8ac87cf1 --- /dev/null +++ b/RuleDocumentation/README.md @@ -0,0 +1,63 @@ +# PSScriptAnalyzer Rules + +## Table of Contents + +| Rule | Severity | Configurable | +|------|----------------------------------|--------------| +|[AlignAssignmentStatement](./AlignAssignmentStatement.md) | Warning | | +|[AvoidAssignmentToAutomaticVariable](./AvoidAssignmentToAutomaticVariable.md) | Warning | | +|[AvoidDefaultValueForMandatoryParameter](./AvoidDefaultValueForMandatoryParameter.md) | Warning | | +|[AvoidDefaultValueSwitchParameter](./AvoidDefaultValueSwitchParameter.md) | Warning | | +|[AvoidGlobalAliases*](./AvoidGlobalAliases.md) | Warning | | +|[AvoidGlobalFunctions](./AvoidGlobalFunctions.md) | Warning | | +|[AvoidGlobalVars](./AvoidGlobalVars.md) | Warning | | +|[AvoidInvokingEmptyMembers](./AvoidInvokingEmptyMembers.md) | Warning | | +|[AvoidNullOrEmptyHelpMessageAttribute](./AvoidNullOrEmptyHelpMessageAttribute.md) | Warning | | +|[AvoidShouldContinueWithoutForce](./AvoidShouldContinueWithoutForce.md) | Warning | | +|[AvoidUsingCmdletAliases](./AvoidUsingCmdletAliases.md) | Warning | Yes | +|[AvoidUsingComputerNameHardcoded](./AvoidUsingComputerNameHardcoded.md) | Error | | +|[AvoidUsingConvertToSecureStringWithPlainText](./AvoidUsingConvertToSecureStringWithPlainText.md) | Error | | +|[AvoidUsingDeprecatedManifestFields](./AvoidUsingDeprecatedManifestFields.md) | Warning | | +|[AvoidUsingEmptyCatchBlock](./AvoidUsingEmptyCatchBlock.md) | Warning | | +|[AvoidUsingInvokeExpression](./AvoidUsingInvokeExpression.md) | Warning | | +|[AvoidUsingPlainTextForPassword](./AvoidUsingPlainTextForPassword.md) | Warning | | +|[AvoidUsingPositionalParameters](./AvoidUsingPositionalParameters.md) | Warning | | +|[AvoidTrailingWhitespace](./AvoidTrailingWhitespace.md) | Warning | | +|[AvoidUsingUsernameAndPasswordParams](./AvoidUsingUsernameAndPasswordParams.md) | Error | | +|[AvoidUsingWMICmdlet](./AvoidUsingWMICmdlet.md) | Warning | | +|[AvoidUsingWriteHost](./AvoidUsingWriteHost.md) | Warning | | +|[DSCDscExamplesPresent](./DSCDscExamplesPresent.md) | Information | | +|[DSCDscTestsPresent](./DSCDscTestsPresent.md) | Information | | +|[DSCReturnCorrectTypesForDSCFunctions](./DSCReturnCorrectTypesForDSCFunctions.md) | Information | | +|[DSCStandardDSCFunctionsInResource](./DSCStandardDSCFunctionsInResource.md) | Error | | +|[DSCUseIdenticalMandatoryParametersForDSC](./DSCUseIdenticalMandatoryParametersForDSC.md) | Error | | +|[DSCUseIdenticalParametersForDSC](./DSCUseIdenticalParametersForDSC.md) | Error | | +|[DSCUseVerboseMessageInDSCResource](./DSCUseVerboseMessageInDSCResource.md) | Error | | +|[MisleadingBacktick](./MisleadingBacktick.md) | Warning | | +|[MissingModuleManifestField](./MissingModuleManifestField.md) | Warning | | +|[PossibleIncorrectComparisonWithNull](./PossibleIncorrectComparisonWithNull.md) | Warning | | +|[PossibleIncorrectUsageOfAssignmentOperator](./PossibleIncorrectUsageOfAssignmentOperator.md) | Warning | | +|[PossibleIncorrectUsageOfRedirectionOperator](./PossibleIncorrectUsageOfRedirectionOperator.md) | Warning | | +|[ProvideCommentHelp](./ProvideCommentHelp.md) | Information | Yes | +|[ReservedCmdletChar](./ReservedCmdletChar.md) | Error | | +|[ReservedParams](./ReservedParams.md) | Error | | +|[ShouldProcess](./ShouldProcess.md) | Error | | +|[UseApprovedVerbs](./UseApprovedVerbs.md) | Warning | | +|[UseBOMForUnicodeEncodedFile](./UseBOMForUnicodeEncodedFile.md) | Warning | | +|[UseCmdletCorrectly](./UseCmdletCorrectly.md) | Warning | | +|[UseDeclaredVarsMoreThanAssignments](./UseDeclaredVarsMoreThanAssignments.md) | Warning | | +|[UseLiteralInitializerForHashtable](./UseLiteralInitializerForHashtable.md) | Warning | | +|[UseOutputTypeCorrectly](./UseOutputTypeCorrectly.md) | Information | | +|[UsePSCredentialType](./UsePSCredentialType.md) | Warning | | +|[UseShouldProcessForStateChangingFunctions](./UseShouldProcessForStateChangingFunctions.md) | Warning | | +|[UseSingularNouns*](./UseSingularNouns.md) | Warning | | +|[UseSupportsShouldProcess](./UseSupportsShouldProcess.md) | Warning | | +|[UseToExportFieldsInManifest](./UseToExportFieldsInManifest.md) | Warning | | +|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning | Yes | +|[PlaceOpenBrace](./PlaceOpenBrace.md) | Warning | Yes | +|[PlaceCloseBrace](./PlaceCloseBrace.md) | Warning | Yes | +|[UseConsistentIndentation](./UseConsistentIndentation.md) | Warning | Yes | +|[UseConsistentWhitespace](./UseConsistentWhitespace.md) | Warning | Yes | +|[UseUTF8EncodingForHelpFile](./UseUTF8EncodingForHelpFile.md) | Warning | | + +* Rule is not available on all PowerShell versions, editions and/or OS platforms. See the rule's documentation for details. diff --git a/RuleDocumentation/UseSingularNouns.md b/RuleDocumentation/UseSingularNouns.md index 1d7c20d31..1966cd2a3 100644 --- a/RuleDocumentation/UseSingularNouns.md +++ b/RuleDocumentation/UseSingularNouns.md @@ -6,6 +6,8 @@ PowerShell team best practices state cmdlets should use singular nouns and not plurals. +**NOTE** This rule is not available in PowerShell Core due to the PluralizationService API that the rule uses internally. + ## How Change plurals to singular. @@ -17,7 +19,7 @@ Change plurals to singular. ``` PowerShell function Get-Files { - ... + ... } ``` @@ -26,6 +28,6 @@ function Get-Files ``` PowerShell function Get-File { - ... + ... } ``` diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index 45439a104..ba1d61a4d 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -537,79 +537,7 @@ internal static string AvoidTrailingWhitespaceName { return ResourceManager.GetString("AvoidTrailingWhitespaceName", resourceCulture); } } - - /// - /// Looks up a localized string similar to No traps in the script.. - /// - internal static string AvoidTrapStatementCommonName { - get { - return ResourceManager.GetString("AvoidTrapStatementCommonName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Avoid using Traps in the script.. - /// - internal static string AvoidTrapStatementDescription { - get { - return ResourceManager.GetString("AvoidTrapStatementDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Trap found.. - /// - internal static string AvoidTrapStatementError { - get { - return ResourceManager.GetString("AvoidTrapStatementError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AvoidTrapStatement. - /// - internal static string AvoidTrapStatementName { - get { - return ResourceManager.GetString("AvoidTrapStatementName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Initializing non-global variables. - /// - internal static string AvoidUninitializedVariableCommonName { - get { - return ResourceManager.GetString("AvoidUninitializedVariableCommonName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Non-global variables must be initialized. To fix a violation of this rule, please initialize non-global variables.. - /// - internal static string AvoidUninitializedVariableDescription { - get { - return ResourceManager.GetString("AvoidUninitializedVariableDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Variable '{0}' is not initialized. Non-global variables must be initialized. To fix a violation of this rule, please initialize non-global variables.. - /// - internal static string AvoidUninitializedVariableError { - get { - return ResourceManager.GetString("AvoidUninitializedVariableError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AvoidUninitializedVariable. - /// - internal static string AvoidUninitializedVariableName { - get { - return ResourceManager.GetString("AvoidUninitializedVariableName", resourceCulture); - } - } - + /// /// Looks up a localized string similar to Module Must Be Loadable. /// @@ -879,43 +807,7 @@ internal static string AvoidUsingEmptyCatchBlockName { return ResourceManager.GetString("AvoidUsingEmptyCatchBlockName", resourceCulture); } } - - /// - /// Looks up a localized string similar to Avoid Using File Path. - /// - internal static string AvoidUsingFilePathCommonName { - get { - return ResourceManager.GetString("AvoidUsingFilePathCommonName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If a rooted file path is used in a script that is published online, this may expose information about your computer. Furthermore, the file path may not work on other computer when they try to use the script.. - /// - internal static string AvoidUsingFilePathDescription { - get { - return ResourceManager.GetString("AvoidUsingFilePathDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file path '{0}' of '{1}' is rooted. This should be avoided if '{1}' is published online.. - /// - internal static string AvoidUsingFilePathError { - get { - return ResourceManager.GetString("AvoidUsingFilePathError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AvoidUsingFilePath. - /// - internal static string AvoidUsingFilePathName { - get { - return ResourceManager.GetString("AvoidUsingFilePathName", resourceCulture); - } - } - + /// /// Looks up a localized string similar to Avoid Using Internal URLs. /// diff --git a/Rules/Strings.resx b/Rules/Strings.resx index facd68c2e..d4ebf259c 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -168,12 +168,6 @@ Extra Variables - - Non-global variables must be initialized. To fix a violation of this rule, please initialize non-global variables. - - - Initializing non-global variables - Checks that global variables are not used. Global variables are strongly discouraged as they can cause errors across different systems. @@ -183,15 +177,6 @@ No Global Variables - - Avoid using Traps in the script. - - - Trap found. - - - No traps in the script. - Checks that $null is on the left side of any equaltiy comparisons (eq, ne, ceq, cne, ieq, ine). When there is an array on the left side of a null equality comparison, PowerShell will check for a $null IN the array rather than if the array is null. If the two sides of the comaprision are switched this is fixed. Therefore, $null should always be on the left side of equality comparisons just in case. @@ -300,15 +285,6 @@ Module Must Be Loadable - - If a rooted file path is used in a script that is published online, this may expose information about your computer. Furthermore, the file path may not work on other computer when they try to use the script. - - - The file path '{0}' of '{1}' is rooted. This should be avoided if '{1}' is published online. - - - Avoid Using File Path - Error Message is Null. @@ -390,12 +366,6 @@ AvoidShouldContinueWithoutForce - - AvoidTrapStatement - - - AvoidUninitializedVariable - AvoidUnloadableModule @@ -408,9 +378,6 @@ AvoidUsingEmptyCatchBlock - - AvoidUsingFilePath - AvoidUsingInvokeExpression @@ -609,9 +576,6 @@ Missing '{0}' function. DSC Class must implement Get, Set and Test functions. - - Variable '{0}' is not initialized. Non-global variables must be initialized. To fix a violation of this rule, please initialize non-global variables. - Use identical mandatory parameters for DSC Get/Test/Set TargetResource functions diff --git a/Tests/Documentation/RuleDocumentation.tests.ps1 b/Tests/Documentation/RuleDocumentation.tests.ps1 new file mode 100644 index 000000000..ca41f4819 --- /dev/null +++ b/Tests/Documentation/RuleDocumentation.tests.ps1 @@ -0,0 +1,68 @@ +$directory = Split-Path -Parent $MyInvocation.MyCommand.Path +$testRootDirectory = Split-Path -Parent $directory +$repoRootDirectory = Split-Path -Parent $testRootDirectory +$ruleDocDirectory = Join-Path $repoRootDirectory RuleDocumentation + +Describe "Validate rule documentation files" { + BeforeAll { + $docs = Get-ChildItem $ruleDocDirectory/*.md -Exclude README.md | + ForEach-Object { "PS" + $_.BaseName} | Sort-Object + + $rules = Get-ScriptAnalyzerRule | ForEach-Object RuleName | Sort-Object + + $readmeLinks = @{} + $readmeRules = Get-Content -LiteralPath $ruleDocDirectory/README.md | + Foreach-Object { if ($_ -match '^\s*\|\s*\[([^]]+)\]\(([^)]+)\)\s*\|') { + $ruleName = $matches[1] -replace '.$', '' + $readmeLinks["$ruleName"] = $matches[2] + "PS${ruleName}" + }} | + Sort-Object + + # Remove rules from the diff list that aren't supported on PSCore + if (($PSVersionTable.PSVersion.Major -ge 6) -and ($PSVersionTable.PSEdition -eq "Core")) + { + $RulesNotSupportedInNetstandard2 = @("PSUseSingularNouns") + $docs = $docs | Where-Object {$RulesNotSupportedInNetstandard2 -notcontains $_} + $readmeRules = $readmeRules | Where-Object { $RulesNotSupportedInNetstandard2 -notcontains $_ } + } + elseif ($PSVersionTable.PSVersion.Major -eq 4) { + $docs = $docs | Where-Object {$_ -notmatch '^PSAvoidGlobalAliases$'} + $readmeRules = $readmeRules | Where-Object { $_ -notmatch '^PSAvoidGlobalAliases$' } + } + + $rulesDocsDiff = Compare-Object -ReferenceObject $rules -DifferenceObject $docs -SyncWindow 25 + $rulesReadmeDiff = Compare-Object -ReferenceObject $rules -DifferenceObject $readmeRules -SyncWindow 25 + } + + It "Every rule must have a rule documentation file" { + $rulesDocsDiff | Where-Object SideIndicator -eq "<=" | Foreach-Object InputObject | Should -BeNullOrEmpty + } + It "Every rule documentation file must have a corresponding rule" { + $rulesDocsDiff | Where-Object SideIndicator -eq "=>" | Foreach-Object InputObject | Should -BeNullOrEmpty + } + + It "Every rule must have an entry in the rule documentation README.md file" { + $rulesReadmeDiff | Where-Object SideIndicator -eq "<=" | Foreach-Object InputObject | Should -BeNullOrEmpty + } + It "Every entry in the rule documentation README.md file must correspond to a rule" { + $rulesReadmeDiff | Where-Object SideIndicator -eq "=>" | Foreach-Object InputObject | Should -BeNullOrEmpty + } + + It "Every entry in the rule documentation README.md file must have a valid link to the documentation file" { + foreach ($key in $readmeLinks.Keys) { + $link = $readmeLinks[$key] + $filePath = Join-Path $ruleDocDirectory $link + $filePath | Should -Exist + } + } + + It "Every rule name in the rule documentation README.md file must match the documentation file's basename" { + foreach ($key in $readmeLinks.Keys) { + $link = $readmeLinks[$key] + $filePath = Join-Path $ruleDocDirectory $link + $fileName = Split-Path $filePath -Leaf + $fileName | Should -BeExactly "${key}.md" + } + } +} diff --git a/Tests/Engine/Profile.ps1 b/Tests/Engine/Profile.ps1 index 8bc4bc7e2..c18253647 100644 --- a/Tests/Engine/Profile.ps1 +++ b/Tests/Engine/Profile.ps1 @@ -2,8 +2,6 @@ Severity='Warning' IncludeRules=@('PSAvoidUsingCmdletAliases', 'PSAvoidUsingPositionalParameters', - 'PSAvoidUsingInternalURLs' - 'PSAvoidUninitializedVariable') - ExcludeRules=@('PSAvoidUsingCmdletAliases' - 'PSAvoidUninitializedVariable') + 'PSAvoidUsingInternalURLs') + ExcludeRules=@('PSAvoidUsingCmdletAliases') } \ No newline at end of file diff --git a/Tests/Engine/WrongProfile.ps1 b/Tests/Engine/WrongProfile.ps1 index b11fbd07b..035e1fac3 100644 --- a/Tests/Engine/WrongProfile.ps1 +++ b/Tests/Engine/WrongProfile.ps1 @@ -2,8 +2,7 @@ Severity='Warning' IncludeRules=@('PSAvoidUsingCmdletAliases', 'PSAvoidUsingPositionalParameters', - 'PSAvoidUsingInternalURLs' - 'PSAvoidUninitializedVariable') + 'PSAvoidUsingInternalURLs') ExcludeRules=@(1) Exclude=@('blah') } \ No newline at end of file diff --git a/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 b/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 deleted file mode 100644 index d1caa053c..000000000 --- a/Tests/Rules/AvoidGlobalOrUnitializedVars.tests.ps1 +++ /dev/null @@ -1,83 +0,0 @@ -$globalMessage = "Found global variable 'Global:1'." -$globalName = "PSAvoidGlobalVars" - -# PSAvoidUninitializedVariable rule has been deprecated -# $nonInitializedName = "PSAvoidUninitializedVariable" - -$nonInitializedMessage = "Variable 'globalVars' is not initialized. Non-global variables must be initialized. To fix a violation of this rule, please initialize non-global variables." -$directory = Split-Path -Parent $MyInvocation.MyCommand.Path -$violations = Invoke-ScriptAnalyzer $directory\AvoidGlobalOrUnitializedVars.ps1 - -# PSAvoidUninitializedVariable rule has been deprecated -# $dscResourceViolations = Invoke-ScriptAnalyzer $directory\DSCResourceModule\DSCResources\MSFT_WaitForAny\MSFT_WaitForAny.psm1 | Where-Object {$_.RuleName -eq $nonInitializedName} - -$globalViolations = $violations | Where-Object {$_.RuleName -eq $globalName} - -# PSAvoidUninitializedVariable rule has been deprecated -# $nonInitializedViolations = $violations | Where-Object {$_.RuleName -eq $nonInitializedName} - -$noViolations = Invoke-ScriptAnalyzer $directory\AvoidGlobalOrUnitializedVarsNoViolations.ps1 -$noGlobalViolations = $noViolations | Where-Object {$_.RuleName -eq $globalName} - -# PSAvoidUninitializedVariable rule has been deprecated -# $noUninitializedViolations = $noViolations | Where-Object {$_.RuleName -eq $nonInitializedName} - -Describe "AvoidGlobalVars" { - Context "When there are violations" { - It "has 1 avoid using global variable violation" { - $globalViolations.Count | Should -Be 1 - } - - <# - # PSAvoidUninitializedVariable rule has been deprecated - It "has 4 violations for dsc resources (not counting the variables in parameters)" { - $dscResourceViolations.Count | Should -Be 4 - } - #> - - - It "has the correct description message" { - $globalViolations[0].Message | Should -Match $globalMessage - } - } - - Context "When there are no violations" { - It "returns no violations" { - $noGlobalViolations.Count | Should -Be 0 - } - } - - Context "When a script contains global:lastexitcode" { - It "returns no violation" { - $def = @' -if ($global:lastexitcode -ne 0) -{ - exit -} -'@ - $local:violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -IncludeRule $globalName - $local:violations.Count | Should -Be 0 - } - } -} - -<# -# PSAvoidUninitializedVariable rule has been deprecated - Hence not a valid test case -Describe "AvoidUnitializedVars" { - Context "When there are violations" { - It "has 5 avoid using unitialized variable violations" { - $nonInitializedViolations.Count | Should -Be 5 - } - - It "has the correct description message" { - $nonInitializedViolations[0].Message | Should -Match $nonInitializedMessage - } - } - - Context "When there are no violations" { - It "returns no violations" { - $noUninitializedViolations.Count | Should -Be 0 - } - } -} -#> diff --git a/Tests/Rules/AvoidGlobalVars.tests.ps1 b/Tests/Rules/AvoidGlobalVars.tests.ps1 new file mode 100644 index 000000000..8a4611e52 --- /dev/null +++ b/Tests/Rules/AvoidGlobalVars.tests.ps1 @@ -0,0 +1,42 @@ +$globalMessage = "Found global variable 'Global:1'." +$globalName = "PSAvoidGlobalVars" + +$nonInitializedMessage = "Variable 'globalVars' is not initialized. Non-global variables must be initialized. To fix a violation of this rule, please initialize non-global variables." +$directory = Split-Path -Parent $MyInvocation.MyCommand.Path +$violations = Invoke-ScriptAnalyzer $directory\AvoidGlobalOrUnitializedVars.ps1 + +$globalViolations = $violations | Where-Object {$_.RuleName -eq $globalName} + +$noViolations = Invoke-ScriptAnalyzer $directory\AvoidGlobalOrUnitializedVarsNoViolations.ps1 +$noGlobalViolations = $noViolations | Where-Object {$_.RuleName -eq $globalName} + +Describe "AvoidGlobalVars" { + Context "When there are violations" { + It "has 1 avoid using global variable violation" { + $globalViolations.Count | Should -Be 1 + } + + It "has the correct description message" { + $globalViolations[0].Message | Should -Match $globalMessage + } + } + + Context "When there are no violations" { + It "returns no violations" { + $noGlobalViolations.Count | Should -Be 0 + } + } + + Context "When a script contains global:lastexitcode" { + It "returns no violation" { + $def = @' +if ($global:lastexitcode -ne 0) +{ + exit +} +'@ + $local:violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -IncludeRule $globalName + $local:violations.Count | Should -Be 0 + } + } +} diff --git a/tools/appveyor.psm1 b/tools/appveyor.psm1 index 0625dea33..146052a55 100644 --- a/tools/appveyor.psm1 +++ b/tools/appveyor.psm1 @@ -78,7 +78,7 @@ function Invoke-AppveyorTest { $modulePath = $env:PSModulePath.Split([System.IO.Path]::PathSeparator) | Where-Object { Test-Path $_} | Select-Object -First 1 Copy-Item "${CheckoutPath}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force $testResultsFile = ".\TestResults.xml" - $testScripts = "${CheckoutPath}\Tests\Engine","${CheckoutPath}\Tests\Rules" + $testScripts = "${CheckoutPath}\Tests\Engine","${CheckoutPath}\Tests\Rules","${CheckoutPath}\Tests\Documentation" $testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile)) if ($testResults.FailedCount -gt 0) { From 23095f621233398eb1ea531ae31ab22233f037fe Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 5 Jun 2018 07:02:28 +0000 Subject: [PATCH 118/120] Fix NullReferenceException in AvoidAssignmentToAutomaticVariable rule when assigning a .Net property and only look at the LHS (#1008) * Fix NullReferenceException in AvoidAssignmentToAutomaticVariable rule when assigning a net property to a .Net property * when variableExpressionAst is null, then continue loop to reduce nesting * fix indentation for cleaner diff * Fix issue #1013 as well by making sure the rule looks only the LHS * Fix issue #1012 as well * Simplify test that checks that PSSA does not throw to address PR review --- Rules/AvoidAssignmentToAutomaticVariable.cs | 5 +++-- .../AvoidAssignmentToAutomaticVariable.tests.ps1 | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Rules/AvoidAssignmentToAutomaticVariable.cs b/Rules/AvoidAssignmentToAutomaticVariable.cs index 6011300ef..e3b69ff57 100644 --- a/Rules/AvoidAssignmentToAutomaticVariable.cs +++ b/Rules/AvoidAssignmentToAutomaticVariable.cs @@ -44,9 +44,10 @@ public IEnumerable AnalyzeScript(Ast ast, string fileName) if (ast == null) throw new ArgumentNullException(Strings.NullAstErrorMessage); IEnumerable assignmentStatementAsts = ast.FindAll(testAst => testAst is AssignmentStatementAst, searchNestedScriptBlocks: true); - foreach (var assignmentStatementAst in assignmentStatementAsts) + foreach (AssignmentStatementAst assignmentStatementAst in assignmentStatementAsts) { - var variableExpressionAst = assignmentStatementAst.Find(testAst => testAst is VariableExpressionAst, searchNestedScriptBlocks: false) as VariableExpressionAst; + var variableExpressionAst = assignmentStatementAst.Left.Find(testAst => testAst is VariableExpressionAst && testAst.Parent == assignmentStatementAst, searchNestedScriptBlocks: false) as VariableExpressionAst; + if (variableExpressionAst == null) { continue; } var variableName = variableExpressionAst.VariablePath.UserPath; if (_readOnlyAutomaticVariables.Contains(variableName, StringComparer.OrdinalIgnoreCase)) { diff --git a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 index 5709244ab..e2a363da5 100644 --- a/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 +++ b/Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1 @@ -63,6 +63,20 @@ Describe "AvoidAssignmentToAutomaticVariables" { $warnings.Count | Should -Be 0 } + It "Does not throw a NullReferenceException when using assigning a .Net property to a .Net property (Bug in 1.17.0 - issue 1007)" { + Invoke-ScriptAnalyzer -ScriptDefinition '[foo]::bar = [baz]::qux' -ErrorAction Stop + } + + It "Does not flag properties of a readonly variable (issue 1012)" { + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition '$Host.PrivateData["ErrorBackgroundColor"] = "Black"' + $warnings.Count | Should -Be 0 + } + + It "Does not flag RHS of variable assignment (Bug in 1.17.0, issue 1013)" { + [System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition '[foo]::bar = $true' + $warnings.Count | Should -Be 0 + } + It "Setting Variable throws exception in applicable PowerShell version to verify the variables is read-only" -TestCases $testCases_ReadOnlyVariables { param ($VariableName, $ExpectedSeverity, $OnlyPresentInCoreClr) From 57879caa1dd0119162ce8d6c0efc31ad6217eeef Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 5 Jun 2018 16:41:59 +0000 Subject: [PATCH 119/120] Merge 1.17.0 branch into development (#1015) * Add PSv4 assemblies to the signing jobs * Remaining release notes and version update to 1.17.0 (#1002) * Update changelog with latest PRs and run New-Release to bump version and add changelog to psd1 Improve issue link Readme to use new multiple issue template * bump version in csproj and fix date in release log * add choco pr and fix table of contents in readme * add new commits * add recent commit * Update PR number --- CHANGELOG.MD | 16 ++++++- Engine/Engine.csproj | 2 +- Engine/PSScriptAnalyzer.psd1 | 82 ++++++++++++++++++++++++++++++++-- README.md | 3 +- Rules/Rules.csproj | 2 +- tools/releaseBuild/signing.xml | 6 ++- 6 files changed, 103 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 463d584e2..0bde69d44 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,4 @@ -## [1.17.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.17.0) - 2018-04-27 +## [1.17.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.17.0) - 2018-05-14 ### New Parameters @@ -15,6 +15,8 @@ ### Fixes and Improvements +- AvoidDefaultValueForMandatoryParameter triggers when the field has specification: Mandatory=value and value!=0 (#969) (by @kalgiz) +- Do not trigger UseDeclaredVarsMoreThanAssignment for variables being used via Get-Variable (#925) (by @bergmeister) - Make UseDeclaredVarsMoreThanAssignments not flag drive qualified variables (#958) (by @bergmeister) - Fix PSUseDeclaredVarsMoreThanAssignments to not give false positives when using += operator (#935) (by @bergmeister) - Tweak UseConsistentWhiteSpace formatting rule to exclude first unary operator when being used in argument (#949) (by @bergmeister) @@ -31,6 +33,12 @@ ### Engine, Building and Testing +- Support `SuggestedCorrections` property on DiagnosticRecord for script based rules #1000 (by @bergmeister) +- Add CommandData files of PowerShell Core 6.0.2 for Windows/Linux/macOS and WMF3/4 that are used by UseCompatibleCmdlets rule (#954) (by @bergmeister) +- If no path is found or when using the -ScriptDefinition parameter set, default to the current location for the directory search of the implicit settings file (#979) (by @bergmeister) +- Allow TypeNotFound parser errors (#957) (by @bergmeister) +- Fix release script by building also for v3 and misc. improvements (#996) (by @bergmeister) +- Scripts needed to build and sign PSSA via MS VSTS so it can be published in the gallery (#983) (by @JamesWTruher) - Move common test code into AppVeyor module (#961) (by @bergmeister) - Remove extraneous import-module commands in tests (#962) (by @JamesWTruher) - Upgrade 'System.Automation.Management' NuGet package of version 6.0.0-alpha13 to version 6.0.2 from powershell-core feed, which requires upgrade to netstandard2.0. NB: This highly improved behavior on WMF3 but also means that the latest patched version (6.0.2) of PowerShell Core should be used. (#919) by @bergmeister) @@ -47,6 +55,12 @@ ### Documentation, Error Messages and miscellaneous Improvements +- Added Chocolatey Install help, which has community support (#999) (Thanks @pauby) +- Finalize Release Logs and bump version to 1.17 (#1002) (by @bergmeister) +- Docker examples: (#987, #990) (by @bergmeister) +- Use multiple GitHub issue templates for bugs, feature requests and support questions (#986) (by @bergmeister +- Fix table of contents (#980) (by @bergmeister) +- Improve documentation, especially about parameter usage and the settings file (#968) (by @bergmeister) - Add base changelog for 1.17.0 (#967) (by @bergmeister) - Remove outdated about_scriptanalyzer help file (#951) (by @bergmeister) - Fixes a typo and enhances the documentation for the parameters required for script rules (#942) (Thanks @MWL88!) diff --git a/Engine/Engine.csproj b/Engine/Engine.csproj index f727116b5..b08d4bc89 100644 --- a/Engine/Engine.csproj +++ b/Engine/Engine.csproj @@ -1,7 +1,7 @@ - 1.16.1 + 1.17.0 netstandard2.0;net451 Microsoft.Windows.PowerShell.ScriptAnalyzer Engine diff --git a/Engine/PSScriptAnalyzer.psd1 b/Engine/PSScriptAnalyzer.psd1 index 75554ffe4..b86337da7 100644 --- a/Engine/PSScriptAnalyzer.psd1 +++ b/Engine/PSScriptAnalyzer.psd1 @@ -11,7 +11,7 @@ Author = 'Microsoft Corporation' RootModule = 'PSScriptAnalyzer.psm1' # Version number of this module. -ModuleVersion = '1.16.1' +ModuleVersion = '1.17.0' # ID used to uniquely identify this module GUID = 'd6245802-193d-4068-a631-8863a4342a18' @@ -87,8 +87,83 @@ PrivateData = @{ ProjectUri = 'https://github.com/PowerShell/PSScriptAnalyzer' IconUri = '' ReleaseNotes = @' -### Fixed -- (#815) Formatter crashes due to invalid extent comparisons +### New Parameters + +- Add `-ReportSummary` switch (#895) (Thanks @StingyJack! for the base work that got finalized by @bergmeister) +- Add `-EnableExit` switch to Invoke-ScriptAnalyzer for exit and return exit code for CI purposes (#842) (by @bergmeister) +- Add `-Fix` switch to `-Path` parameter set of `Invoke-ScriptAnalyzer` (#817, #852) (by @bergmeister) + +### New Rules and Warnings + +- Warn when 'Get-' prefix was omitted in `AvoidAlias` rule. (#927) (by @bergmeister) +- `AvoidAssignmentToAutomaticVariable`. NB: Currently only warns against read-only automatic variables (#864, #917) (by @bergmeister) +- `PossibleIncorrectUsageOfRedirectionOperator` and `PossibleIncorrectUsageOfAssignmentOperator`. (#859, #881) (by @bergmeister) +- Add PSAvoidTrailingWhitespace rule (#820) (Thanks @dlwyatt!) + +### Fixes and Improvements + +- AvoidDefaultValueForMandatoryParameter triggers when the field has specification: Mandatory=value and value!=0 (#969) (by @kalgiz) +- Do not trigger UseDeclaredVarsMoreThanAssignment for variables being used via Get-Variable (#925) (by @bergmeister) +- Make UseDeclaredVarsMoreThanAssignments not flag drive qualified variables (#958) (by @bergmeister) +- Fix PSUseDeclaredVarsMoreThanAssignments to not give false positives when using += operator (#935) (by @bergmeister) +- Tweak UseConsistentWhiteSpace formatting rule to exclude first unary operator when being used in argument (#949) (by @bergmeister) +- Allow -Setting parameter to resolve setting presets as well when object is still a PSObject in BeginProcessing (#928) (by @bergmeister) +- Add macos detection to New-CommandDataFile (#947) (Thanks @GavinEke!) +- Fix PlaceOpenBrace rule correction to take comment at the end of line into account (#929) (by @bergmeister) +- Do not trigger UseShouldProcessForStateChangingFunctions rule for workflows (#923) (by @bergmeister) +- Fix parsing the -Settings object as a path when the path object originates from an expression (#915) (by @bergmeister) +- Allow relative settings path (#909) (by @bergmeister) +- Fix AvoidDefaultValueForMandatoryParameter documentation, rule and tests (#907) (by @bergmeister) +- Fix NullReferenceException in AlignAssignmentStatement rule when CheckHashtable is enabled (#838) (by @bergmeister) +- Fix FixPSUseDeclaredVarsMoreThanAssignments to also detect variables that are strongly typed (#837) (by @bergmeister) +- Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned more than once to still give a warning (#836) (by @bergmeister) + +### Engine, Building and Testing + +- Allow TypeNotFound parser errors (#957) (by @bergmeister) +- Scripts needed to build and sign PSSA via MS VSTS so it can be published in the gallery (#983) (by @JamesWTruher) +- Move common test code into AppVeyor module (#961) (by @bergmeister) +- Remove extraneous import-module commands in tests (#962) (by @JamesWTruher) +- Upgrade 'System.Automation.Management' NuGet package of version 6.0.0-alpha13 to version 6.0.2 from powershell-core feed, which requires upgrade to netstandard2.0. NB: This highly improved behavior on WMF3 but also means that the latest patched version (6.0.2) of PowerShell Core should be used. (#919) by @bergmeister) +- Add Ubuntu Build+Test to Appveyor CI (#940) (by @bergmeister) +- Add PowerShell Core Build+Test to Appveyor CI (#939) (by @bergmeister) +- Update Newtonsoft.Json NuGet package of Rules project from 9.0.1 to 10.0.3 (#937) (by @bergmeister) +- Fix Pester v4 installation for `Visual Studio 2017` image and use Pester v4 assertion operator syntax (#892) (by @bergmeister) +- Have a single point of reference for the .Net Core SDK version (#885) (by @bergmeister) +- Fix regressions introduced by PR 882 (#891) (by @bergmeister) +- Changes to allow tests to be run outside of CI (#882) (by @JamesWTruher) +- Upgrade platyPS from Version 0.5 to 0.9 (#869) (by @bergmeister) +- Build using .Net Core SDK 2.1.101 targeting `netstandard2.0` and `net451` (#853, #854, #870, #899, #912, #936) (by @bergmeister) +- Add instructions to make a release (#843) (by @kapilmb) + +### Documentation, Error Messages and miscellaneous Improvements + +- Added Chocolatey Install help, which has community support (#999) (Thanks @pauby) +- Finalize Release Logs and bump version to 1.17 (#998) (by @bergmeister) +- Docker examples: (#987, #990) (by @bergmeister) +- Use multiple GitHub issue templates for bugs, feature requests and support questions (#986) (by @bergmeister +- Fix table of contents (#980) (by @bergmeister) +- Improve documentation, especially about parameter usage and the settings file (#968) (by @bergmeister) +- Add base changelog for 1.17.0 (#967) (by @bergmeister) +- Remove outdated about_scriptanalyzer help file (#951) (by @bergmeister) +- Fixes a typo and enhances the documentation for the parameters required for script rules (#942) (Thanks @MWL88!) +- Remove unused using statements and sort them (#931) (by @bergmeister) +- Make licence headers consistent across all .cs files by using the recommended header of PsCore (#930) (by @bergmeister) +- Update syntax in ReadMe to be the correct one from get-help (#932) by @bergmeister) +- Remove redundant, out of date Readme of RuleDocumentation folder (#918) (by @bergmeister) +- Shorten contribution section in ReadMe and make it more friendly (#911) (by @bergmeister) +- Update from Pester 4.1.1 to 4.3.1 and use new -BeTrue and -BeFalse operators (#906) (by @bergmeister) +- Fix Markdown in ScriptRuleDocumentation.md so it renders correctly on GitHub web site (#898) (Thanks @MWL88!) +- Fix typo in .Description for Measure-RequiresModules (#888) (Thanks @TimCurwick!) +- Use https links where possible (#873) (by @bergmeister) +- Make documentation of AvoidUsingPositionalParameters match the implementation (#867) (by @bergmeister) +- Fix PSAvoidUsingCmdletAliases warnings of internal build/release scripts in root and Utils folder (#872) (by @bergmeister) +- Add simple GitHub Pull Request template based off the one for PowerShell Core (#866) (by @bergmeister) +- Add a simple GitHub issue template based on the one of PowerShell Core. (#865, #884) (by @bergmeister) +- Fix Example 7 in Invoke-ScriptAnalyzer.md (#862) (Thanks @sethvs!) +- Use the typewriter apostrophe instead the typographic apostrophe (#855) (Thanks @alexandear!) +- Add justification to ReadMe (#848) (Thanks @KevinMarquette!) +- Fix typo in README (#845) (Thanks @misterGF!) '@ } } @@ -114,3 +189,4 @@ PrivateData = @{ + diff --git a/README.md b/README.md index 355c28375..fc6a6684b 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Table of Contents - [Requirements](#requirements) - [Steps](#steps) - [Tests](#tests) + + [From Chocolatey](#from-chocolatey) - [Suppressing Rules](#suppressing-rules) - [Settings Support in ScriptAnalyzer](#settings-support-in-scriptanalyzer) * [Built-in Presets](#built-in-presets) @@ -375,7 +376,7 @@ Contributions are welcome There are many ways to contribute: -1. Open a new bug report, feature request or just ask a question by opening a new issue [here]( https://github.com/PowerShell/PSScriptAnalyzer/issues/new). +1. Open a new bug report, feature request or just ask a question by opening a new issue [here]( https://github.com/PowerShell/PSScriptAnalyzer/issues/new/choose). 2. Participate in the discussions of [issues](https://github.com/PowerShell/PSScriptAnalyzer/issues), [pull requests](https://github.com/PowerShell/PSScriptAnalyzer/pulls) and verify/test fixes or new features. 3. Submit your own fixes or features as a pull request but please discuss it beforehand in an issue if the change is substantial. 4. Submit test cases. diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index ddefe13be..f6e13df1d 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -1,7 +1,7 @@ - 1.16.1 + 1.17.0 netstandard2.0;net451 Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules Rules diff --git a/tools/releaseBuild/signing.xml b/tools/releaseBuild/signing.xml index 6595f3e1e..caab2d1f8 100644 --- a/tools/releaseBuild/signing.xml +++ b/tools/releaseBuild/signing.xml @@ -26,5 +26,9 @@ - + + + + + From 617476b517747228a304e7915fd1b65fab5bc9af Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 5 Jun 2018 21:44:20 +0000 Subject: [PATCH 120/120] Update to 1.17.1 (Update changelog, ran New-Release and updated version number in csproj files (#1017) --- CHANGELOG.MD | 10 ++++- Engine/Engine.csproj | 2 +- Engine/PSScriptAnalyzer.psd1 | 85 +++--------------------------------- Rules/Rules.csproj | 2 +- 4 files changed, 18 insertions(+), 81 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 0bde69d44..26700273d 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,12 @@ -## [1.17.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.17.0) - 2018-05-14 +## [1.17.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.17.1) - 2018-06-06 + +### Fixes + +- Fix signing so `PSScriptAnalyzer` can be installed without the `-SkipPublisherCheck` switch (#1014) +- Issues with rule `PSAvoidAssignmentToAutomaticVariable` were fixed (#1007, #1013, #1014) +- Rule documentation update and cleanup (#988) + +## [1.17.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.17.0) - 2018-06-02 ### New Parameters diff --git a/Engine/Engine.csproj b/Engine/Engine.csproj index b08d4bc89..1517d5a78 100644 --- a/Engine/Engine.csproj +++ b/Engine/Engine.csproj @@ -1,7 +1,7 @@ - 1.17.0 + 1.17.1 netstandard2.0;net451 Microsoft.Windows.PowerShell.ScriptAnalyzer Engine diff --git a/Engine/PSScriptAnalyzer.psd1 b/Engine/PSScriptAnalyzer.psd1 index b86337da7..91803ccaa 100644 --- a/Engine/PSScriptAnalyzer.psd1 +++ b/Engine/PSScriptAnalyzer.psd1 @@ -11,7 +11,7 @@ Author = 'Microsoft Corporation' RootModule = 'PSScriptAnalyzer.psm1' # Version number of this module. -ModuleVersion = '1.17.0' +ModuleVersion = '1.17.1' # ID used to uniquely identify this module GUID = 'd6245802-193d-4068-a631-8863a4342a18' @@ -87,83 +87,11 @@ PrivateData = @{ ProjectUri = 'https://github.com/PowerShell/PSScriptAnalyzer' IconUri = '' ReleaseNotes = @' -### New Parameters - -- Add `-ReportSummary` switch (#895) (Thanks @StingyJack! for the base work that got finalized by @bergmeister) -- Add `-EnableExit` switch to Invoke-ScriptAnalyzer for exit and return exit code for CI purposes (#842) (by @bergmeister) -- Add `-Fix` switch to `-Path` parameter set of `Invoke-ScriptAnalyzer` (#817, #852) (by @bergmeister) - -### New Rules and Warnings - -- Warn when 'Get-' prefix was omitted in `AvoidAlias` rule. (#927) (by @bergmeister) -- `AvoidAssignmentToAutomaticVariable`. NB: Currently only warns against read-only automatic variables (#864, #917) (by @bergmeister) -- `PossibleIncorrectUsageOfRedirectionOperator` and `PossibleIncorrectUsageOfAssignmentOperator`. (#859, #881) (by @bergmeister) -- Add PSAvoidTrailingWhitespace rule (#820) (Thanks @dlwyatt!) - -### Fixes and Improvements - -- AvoidDefaultValueForMandatoryParameter triggers when the field has specification: Mandatory=value and value!=0 (#969) (by @kalgiz) -- Do not trigger UseDeclaredVarsMoreThanAssignment for variables being used via Get-Variable (#925) (by @bergmeister) -- Make UseDeclaredVarsMoreThanAssignments not flag drive qualified variables (#958) (by @bergmeister) -- Fix PSUseDeclaredVarsMoreThanAssignments to not give false positives when using += operator (#935) (by @bergmeister) -- Tweak UseConsistentWhiteSpace formatting rule to exclude first unary operator when being used in argument (#949) (by @bergmeister) -- Allow -Setting parameter to resolve setting presets as well when object is still a PSObject in BeginProcessing (#928) (by @bergmeister) -- Add macos detection to New-CommandDataFile (#947) (Thanks @GavinEke!) -- Fix PlaceOpenBrace rule correction to take comment at the end of line into account (#929) (by @bergmeister) -- Do not trigger UseShouldProcessForStateChangingFunctions rule for workflows (#923) (by @bergmeister) -- Fix parsing the -Settings object as a path when the path object originates from an expression (#915) (by @bergmeister) -- Allow relative settings path (#909) (by @bergmeister) -- Fix AvoidDefaultValueForMandatoryParameter documentation, rule and tests (#907) (by @bergmeister) -- Fix NullReferenceException in AlignAssignmentStatement rule when CheckHashtable is enabled (#838) (by @bergmeister) -- Fix FixPSUseDeclaredVarsMoreThanAssignments to also detect variables that are strongly typed (#837) (by @bergmeister) -- Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned more than once to still give a warning (#836) (by @bergmeister) - -### Engine, Building and Testing - -- Allow TypeNotFound parser errors (#957) (by @bergmeister) -- Scripts needed to build and sign PSSA via MS VSTS so it can be published in the gallery (#983) (by @JamesWTruher) -- Move common test code into AppVeyor module (#961) (by @bergmeister) -- Remove extraneous import-module commands in tests (#962) (by @JamesWTruher) -- Upgrade 'System.Automation.Management' NuGet package of version 6.0.0-alpha13 to version 6.0.2 from powershell-core feed, which requires upgrade to netstandard2.0. NB: This highly improved behavior on WMF3 but also means that the latest patched version (6.0.2) of PowerShell Core should be used. (#919) by @bergmeister) -- Add Ubuntu Build+Test to Appveyor CI (#940) (by @bergmeister) -- Add PowerShell Core Build+Test to Appveyor CI (#939) (by @bergmeister) -- Update Newtonsoft.Json NuGet package of Rules project from 9.0.1 to 10.0.3 (#937) (by @bergmeister) -- Fix Pester v4 installation for `Visual Studio 2017` image and use Pester v4 assertion operator syntax (#892) (by @bergmeister) -- Have a single point of reference for the .Net Core SDK version (#885) (by @bergmeister) -- Fix regressions introduced by PR 882 (#891) (by @bergmeister) -- Changes to allow tests to be run outside of CI (#882) (by @JamesWTruher) -- Upgrade platyPS from Version 0.5 to 0.9 (#869) (by @bergmeister) -- Build using .Net Core SDK 2.1.101 targeting `netstandard2.0` and `net451` (#853, #854, #870, #899, #912, #936) (by @bergmeister) -- Add instructions to make a release (#843) (by @kapilmb) - -### Documentation, Error Messages and miscellaneous Improvements - -- Added Chocolatey Install help, which has community support (#999) (Thanks @pauby) -- Finalize Release Logs and bump version to 1.17 (#998) (by @bergmeister) -- Docker examples: (#987, #990) (by @bergmeister) -- Use multiple GitHub issue templates for bugs, feature requests and support questions (#986) (by @bergmeister -- Fix table of contents (#980) (by @bergmeister) -- Improve documentation, especially about parameter usage and the settings file (#968) (by @bergmeister) -- Add base changelog for 1.17.0 (#967) (by @bergmeister) -- Remove outdated about_scriptanalyzer help file (#951) (by @bergmeister) -- Fixes a typo and enhances the documentation for the parameters required for script rules (#942) (Thanks @MWL88!) -- Remove unused using statements and sort them (#931) (by @bergmeister) -- Make licence headers consistent across all .cs files by using the recommended header of PsCore (#930) (by @bergmeister) -- Update syntax in ReadMe to be the correct one from get-help (#932) by @bergmeister) -- Remove redundant, out of date Readme of RuleDocumentation folder (#918) (by @bergmeister) -- Shorten contribution section in ReadMe and make it more friendly (#911) (by @bergmeister) -- Update from Pester 4.1.1 to 4.3.1 and use new -BeTrue and -BeFalse operators (#906) (by @bergmeister) -- Fix Markdown in ScriptRuleDocumentation.md so it renders correctly on GitHub web site (#898) (Thanks @MWL88!) -- Fix typo in .Description for Measure-RequiresModules (#888) (Thanks @TimCurwick!) -- Use https links where possible (#873) (by @bergmeister) -- Make documentation of AvoidUsingPositionalParameters match the implementation (#867) (by @bergmeister) -- Fix PSAvoidUsingCmdletAliases warnings of internal build/release scripts in root and Utils folder (#872) (by @bergmeister) -- Add simple GitHub Pull Request template based off the one for PowerShell Core (#866) (by @bergmeister) -- Add a simple GitHub issue template based on the one of PowerShell Core. (#865, #884) (by @bergmeister) -- Fix Example 7 in Invoke-ScriptAnalyzer.md (#862) (Thanks @sethvs!) -- Use the typewriter apostrophe instead the typographic apostrophe (#855) (Thanks @alexandear!) -- Add justification to ReadMe (#848) (Thanks @KevinMarquette!) -- Fix typo in README (#845) (Thanks @misterGF!) +### Fixes + +- Fix signing so `PSScriptAnalyzer` can be installed without the `-SkipPublisherCheck` switch (#1014) +- Issues with rule `PSAvoidAssignmentToAutomaticVariable` were fixed (#1007, #1013, #1014) +- Rule documentation update and cleanup (#988) '@ } } @@ -190,3 +118,4 @@ PrivateData = @{ + diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index f6e13df1d..9587a75dd 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -1,7 +1,7 @@ - 1.17.0 + 1.17.1 netstandard2.0;net451 Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules Rules