diff --git a/Engine/Helper.cs b/Engine/Helper.cs index ae21638e6..1135bf120 100644 --- a/Engine/Helper.cs +++ b/Engine/Helper.cs @@ -806,7 +806,7 @@ public IScriptExtent GetScriptExtentForFunctionName(FunctionDefinitionAst functi /// /// /// True or False - private bool ContainsExtent(IScriptExtent set, IScriptExtent subset) + public static bool ContainsExtent(IScriptExtent set, IScriptExtent subset) { if (set == null || subset == null) { diff --git a/Engine/Settings/core-6.0.0-alpha-linux.json b/Engine/Settings/core-6.0.0-alpha-linux.json new file mode 100644 index 000000000..c0443f0ed --- /dev/null +++ b/Engine/Settings/core-6.0.0-alpha-linux.json @@ -0,0 +1,1465 @@ +{ + "SchemaVersion": "0.0.1", + "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] []" + } + ] + }, + { + "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": "[]" + } + ] + }, + { + "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 -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] [] [-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": "Split-Path", + "CommandType": "Cmdlet", + "ParameterSets": "[-Path] [-Parent] [-Resolve] [-Credential ] [] [-Path] [-NoQualifier] [-Resolve] [-Credential ] [] [-Path] [-Leaf] [-Resolve] [-Credential ] [] [-Path] [-Qualifier] [-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] []" + }, + { + "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 []" + } + ] + }, + { + "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 []" + }, + { + "Name": "Get-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Scope] ] [-List] []" + }, + { + "Name": "Set-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" + } + ] + }, + { + "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] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -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-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] [] [-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] [-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] []" + } + ] + }, + { + "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 ] []" + } + ] + }, + { + "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": "" + } + ] + }, + { + "Name": "PowerShellGet", + "Version": "1.0.0.1", + "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] []" + } + ] + }, + { + "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] []" + } + ] + }, + { + "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] ] []" + } + ] + } + ] +} diff --git a/Engine/Settings/core-6.0.0-alpha-osx.json b/Engine/Settings/core-6.0.0-alpha-osx.json new file mode 100644 index 000000000..a05a6cd60 --- /dev/null +++ b/Engine/Settings/core-6.0.0-alpha-osx.json @@ -0,0 +1,1465 @@ +{ + "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] []" + } + ] + }, + { + "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": "[]" + } + ] + }, + { + "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] [] [-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": "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] []" + }, + { + "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 []" + } + ] + }, + { + "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 []" + }, + { + "Name": "Get-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[[-Scope] ] [-List] []" + }, + { + "Name": "Set-ExecutionPolicy", + "CommandType": "Cmdlet", + "ParameterSets": "[-ExecutionPolicy] [[-Scope] ] [-Force] [-WhatIf] [-Confirm] []" + } + ] + }, + { + "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-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] []" + } + ] + }, + { + "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 ] []" + } + ] + }, + { + "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": "" + } + ] + }, + { + "Name": "PowerShellGet", + "Version": "1.0.0.1", + "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] []" + } + ] + }, + { + "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] []" + } + ] + }, + { + "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] ] []" + } + ] + } + ], + "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 new file mode 100644 index 000000000..9b992b95c --- /dev/null +++ b/Engine/Settings/core-6.0.0-alpha-windows.json @@ -0,0 +1,1840 @@ +{ + "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 -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] []" + } + ] + }, + { + "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] []" + } + ] + }, + { + "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 ] []" + } + ] + }, + { + "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": "[]" + } + ] + }, + { + "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] []" + } + ] + }, + { + "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 -IncludeUserName [] -Id [-ComputerName ] [-Module] [-FileVersionInfo] [] -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": "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] [-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] []" + }, + { + "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 []" + } + ] + }, + { + "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 []" + }, + { + "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] []" + } + ] + }, + { + "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] [] [-NotePropertyName] [-NotePropertyValue] -InputObject [-TypeName ] [-Force] [-PassThru] [] [-MemberType] [-Name] [[-Value] ] [[-SecondValue] ] -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-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": "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] []" + } + ] + }, + { + "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 ] []" + } + ] + }, + { + "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 ] []" + } + ] + }, + { + "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": "" + } + ] + }, + { + "Name": "PowerShellGet", + "Version": "1.0.0.1", + "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] []" + } + ] + }, + { + "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] ]" + } + ] + }, + { + "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] []" + } + ] + }, + { + "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] ] []" + } + ] + } + ] +} diff --git a/Engine/project.json b/Engine/project.json index b6ec92d72..ddeb1a846 100644 --- a/Engine/project.json +++ b/Engine/project.json @@ -2,7 +2,7 @@ "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer", "version": "1.7.0", "dependencies": { -"System.Management.Automation": "1.0.0-alpha.9.4808" +"System.Management.Automation": "1.0.0-alpha10" }, "frameworks": { "net451": { diff --git a/NuGet.Config b/NuGet.Config new file mode 100644 index 000000000..1dc373452 --- /dev/null +++ b/NuGet.Config @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/RuleDocumentation/README.md b/RuleDocumentation/README.md index f219f2a93..3e33dc54c 100644 --- a/RuleDocumentation/README.md +++ b/RuleDocumentation/README.md @@ -45,4 +45,5 @@ |[UseShouldProcessForStateChangingFunctions](./UseShouldProcessForStateChangingFunctions.md) | Warning| |[UseSingularNouns](./UseSingularNouns.md) | Warning| |[UseStandardDSCFunctionsInResource](./UseStandardDSCFunctionsInResource.md) | Error | -|[UseToExportFieldsInManifest](./UseToExportFieldsInManifest.md) | Warning| \ No newline at end of file +|[UseToExportFieldsInManifest](./UseToExportFieldsInManifest.md) | Warning| +|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning| \ No newline at end of file diff --git a/RuleDocumentation/UseCompatibleCmdlets.md b/RuleDocumentation/UseCompatibleCmdlets.md new file mode 100644 index 000000000..4fbcc78b7 --- /dev/null +++ b/RuleDocumentation/UseCompatibleCmdlets.md @@ -0,0 +1,16 @@ +# UseCompatibleCmdlets +**Severity Level: Warning** + +## 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: +```PowerShell +@{ + 'Rules' = @{ + 'PSUseCompatibleCmdlets' = @{ + 'compatibility' = @("core-6.0.0-alpha-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}`. \ No newline at end of file diff --git a/Rules/ScriptAnalyzerBuiltinRules.csproj b/Rules/ScriptAnalyzerBuiltinRules.csproj index 504f683e5..7b02e3b84 100644 --- a/Rules/ScriptAnalyzerBuiltinRules.csproj +++ b/Rules/ScriptAnalyzerBuiltinRules.csproj @@ -114,6 +114,7 @@ + diff --git a/Rules/Strings.Designer.cs b/Rules/Strings.Designer.cs index 9987fb8b8..199f88278 100644 --- a/Rules/Strings.Designer.cs +++ b/Rules/Strings.Designer.cs @@ -1716,6 +1716,42 @@ internal static string UseCmdletCorrectlyName { } } + /// + /// Looks up a localized string similar to Use compatible cmdlets. + /// + internal static string UseCompatibleCmdletsCommonName { + get { + return ResourceManager.GetString("UseCompatibleCmdletsCommonName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use cmdlets compatible with the given PowerShell version and edition and operating system. + /// + internal static string UseCompatibleCmdletsDescription { + get { + return ResourceManager.GetString("UseCompatibleCmdletsDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to '{0}' is not compatible with PowerShell edition '{1}', version '{2}' and OS '{3}'. + /// + internal static string UseCompatibleCmdletsError { + get { + return ResourceManager.GetString("UseCompatibleCmdletsError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UseCompatibleCmdlets. + /// + internal static string UseCompatibleCmdletsName { + get { + return ResourceManager.GetString("UseCompatibleCmdletsName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Extra Variables. /// @@ -1834,7 +1870,7 @@ internal static string UseLiteralInitilializerForHashtableCommonName { } /// - /// Looks up a localized string similar to Use literal initializer, \@\{\}, for creating a hashtable as they are case-insensitive by default. + /// Looks up a localized string similar to Use literal initializer, @{{}}, for creating a hashtable as they are case-insensitive by default. /// internal static string UseLiteralInitilializerForHashtableDescription { get { diff --git a/Rules/Strings.resx b/Rules/Strings.resx index 345f5367e..67a7efdf1 100644 --- a/Rules/Strings.resx +++ b/Rules/Strings.resx @@ -834,4 +834,16 @@ UseLiteralInitializerForHashtable + + UseCompatibleCmdlets + + + Use compatible cmdlets + + + Use cmdlets compatible with the given PowerShell version and edition and operating system + + + '{0}' is not compatible with PowerShell edition '{1}', version '{2}' and OS '{3}' + \ No newline at end of file diff --git a/Rules/UseCompatibleCmdlets.cs b/Rules/UseCompatibleCmdlets.cs new file mode 100644 index 000000000..97a542595 --- /dev/null +++ b/Rules/UseCompatibleCmdlets.cs @@ -0,0 +1,495 @@ +// 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; +#if !CORECLR +using System.ComponentModel.Composition; +#endif +using System.Globalization; +using System.IO; +using System.Linq; +using System.Management.Automation.Language; +using System.Reflection; +using System.Text.RegularExpressions; +using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; + +using Newtonsoft.Json.Linq; + +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 + [Export(typeof(IScriptRule))] +#endif + public class UseCompatibleCmdlets : AstVisitor, IScriptRule + { + private List diagnosticRecords; + private Dictionary> psCmdletMap; + private readonly List validParameters; + private CommandAst curCmdletAst; + private Dictionary curCmdletCompatibilityMap; + private Dictionary platformSpecMap; + private string scriptPath; + private bool IsInitialized; + + public UseCompatibleCmdlets() + { + validParameters = new List { "mode", "uri", "compatibility" }; + IsInitialized = false; + } + + /// + /// Retrieves the common name of this rule. + /// + public string GetCommonName() + { + return string.Format(CultureInfo.CurrentCulture, Strings.UseCompatibleCmdletsCommonName); + } + + /// + /// Retrieves the description of this rule. + /// + public string GetDescription() + { + return string.Format(CultureInfo.CurrentCulture, Strings.UseCompatibleCmdletsDescription); + } + + /// + /// Retrieves the name of this rule. + /// + public string GetName() + { + return string.Format( + CultureInfo.CurrentCulture, + Strings.NameSpaceFormat, + GetSourceName(), + Strings.UseCompatibleCmdletsName); + } + + /// + /// Retrieves the severity of the rule: error, warning or information. + /// + public RuleSeverity GetSeverity() + { + return RuleSeverity.Warning; + } + + /// + /// Gets the severity of the returned diagnostic record: error, warning, or information. + /// + /// + public DiagnosticSeverity GetDiagnosticSeverity() + { + return DiagnosticSeverity.Warning; + } + + /// + /// 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; + } + + /// + /// Analyzes the given ast to find the [violation] + /// + /// 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) + { + // we do not want to initialize the data structures if the rule is not being used for analysis + // hence we initialize when this method is called for the first time + if (!IsInitialized) + { + Initialize(); + } + + if (ast == null) + { + throw new ArgumentNullException("ast"); + } + + scriptPath = fileName; + diagnosticRecords.Clear(); + ast.Visit(this); + foreach (var dr in diagnosticRecords) + { + yield return dr; + } + } + + + /// + /// Visits the CommandAst type node in an AST + /// + /// CommandAst node + public override AstVisitAction VisitCommand(CommandAst commandAst) + { + if (commandAst == null) + { + return AstVisitAction.SkipChildren; + } + + var commandName = commandAst.GetCommandName(); + if (commandName == null) + { + return AstVisitAction.SkipChildren; + } + + curCmdletAst = commandAst; + ResetCurCmdletCompatibilityMap(); + CheckCompatibility(); + GenerateDiagnosticRecords(); + return AstVisitAction.Continue; + } + + /// + /// Create an instance of DiagnosticRecord and add it to a list + /// + private void GenerateDiagnosticRecords() + { + foreach (var curCmdletCompat in curCmdletCompatibilityMap) + { + if (!curCmdletCompat.Value) + { + var cmdletName = curCmdletAst.GetCommandName(); + var platformInfo = platformSpecMap[curCmdletCompat.Key]; + var funcNameTokens = Helper.Instance.Tokens.Where( + token => + Helper.ContainsExtent(curCmdletAst.Extent, token.Extent) + && token.Text.Equals(cmdletName)); + var funcNameToken = funcNameTokens.FirstOrDefault(); + var extent = funcNameToken == null ? null : funcNameToken.Extent; + diagnosticRecords.Add(new DiagnosticRecord( + String.Format( + Strings.UseCompatibleCmdletsError, + cmdletName, + platformInfo.PSEdition, + platformInfo.PSVersion, + platformInfo.OS), + extent, + GetName(), + GetDiagnosticSeverity(), + scriptPath, + null, + null)); + } + } + } + + /// + /// Initialize data structures need to check cmdlet compatibility + /// + private void Initialize() + { + diagnosticRecords = new List(); + psCmdletMap = new Dictionary>(); + curCmdletCompatibilityMap = new Dictionary(StringComparer.OrdinalIgnoreCase); + platformSpecMap = new Dictionary(StringComparer.OrdinalIgnoreCase); + SetupCmdletsDictionary(); + IsInitialized = true; + } + + /// + /// Sets up a dictionaries indexed by PowerShell version/edition and OS + /// + private void SetupCmdletsDictionary() + { + Dictionary ruleArgs = Helper.Instance.GetRuleArguments(GetName()); + if (ruleArgs == null) + { + return; + } + + if (!RuleParamsValid(ruleArgs)) + { + return; + } + + var compatibilityObjectArr = ruleArgs["compatibility"] as object[]; + var compatibilityList = new List(); + if (compatibilityObjectArr == null) + { + compatibilityList = ruleArgs["compatibility"] as List; + if (compatibilityList == null) + { + return; + } + } + else + { + foreach (var compatItem in compatibilityObjectArr) + { + var compatString = compatItem as string; + if (compatString == null) + { + // ignore (warn) non-string invalid entries + continue; + } + + compatibilityList.Add(compatString); + } + } + + foreach (var compat in compatibilityList) + { + string psedition, psversion, os; + + // ignore (warn) invalid entries + if (GetVersionInfoFromPlatformString(compat, out psedition, out psversion, out os)) + { + platformSpecMap.Add(compat, new { PSEdition = psedition, PSVersion = psversion, OS = os }); + curCmdletCompatibilityMap.Add(compat, true); + } + } + + object modeObject; + if (ruleArgs.TryGetValue("mode", out modeObject)) + { + // This is for testing only. User should not be specifying mode! + var mode = GetStringArgFromListStringArg(modeObject); + switch (mode) + { + case "offline": + ProcessOfflineModeArgs(ruleArgs); + break; + + case "online": // not implemented yet. + case null: + default: + break; + } + + return; + } + + var settingsPath = GetSettingsDirectory(); + if (settingsPath == null) + { + return; + } + + ProcessDirectory(settingsPath); + } + + /// + /// Resets the values in curCmdletCompatibilityMap to true + /// + private void ResetCurCmdletCompatibilityMap() + { + // cannot iterate over collection and change the values, hence the conversion to list + foreach(var key in curCmdletCompatibilityMap.Keys.ToList()) + { + curCmdletCompatibilityMap[key] = true; + } + } + + /// + /// Retrieves the Settings directory from the Module directory structure + /// + private string GetSettingsDirectory() + { + // Find the compatibility files in Settings folder + var path = this.GetType().GetTypeInfo().Assembly.Location; + if (String.IsNullOrWhiteSpace(path)) + { + return null; + } + + var settingsPath = Path.Combine(Path.GetDirectoryName(path), "Settings"); + if (!Directory.Exists(settingsPath)) + { + // try one level down as the PSScriptAnalyzer module structure is not consistent + // CORECLR binaries are in PSScriptAnalyzer/coreclr/, PowerShell v3 binaries are in PSScriptAnalyzer/PSv3/ + // and PowerShell v5 binaries are in PSScriptAnalyzer/ + settingsPath = Path.Combine(Path.GetDirectoryName(Path.GetDirectoryName(path)), "Settings"); + if (!Directory.Exists(settingsPath)) + { + return null; + } + } + + return settingsPath; + } + + /// + /// Gets PowerShell Edition, Version and OS from input string + /// + /// True if it can retrieve information from string, otherwise, False + private bool GetVersionInfoFromPlatformString( + string fileName, + out string psedition, + out string psversion, + out string os) + { + psedition = null; + psversion = null; + os = null; + const string pattern = @"^(?core|desktop)-(?[\S]+)-(?windows|linux|osx)$"; + var match = Regex.Match(fileName, pattern, RegexOptions.IgnoreCase); + if (match == Match.Empty) + { + return false; + } + psedition = match.Groups["psedition"].Value; + psversion = match.Groups["psversion"].Value; + os = match.Groups["os"].Value; + return true; + } + + /// + /// Gets the string from a one element string array + /// + private string GetStringArgFromListStringArg(object arg) + { + if (arg == null) + { + return null; + } + var strList = arg as List; + if (strList == null + || strList.Count != 1) + { + return null; + } + return strList[0]; + } + + /// + /// Process arguments when 'offline' mode is specified + /// + private void ProcessOfflineModeArgs(Dictionary ruleArgs) + { + var uri = GetStringArgFromListStringArg(ruleArgs["uri"]); + if (uri == null) + { + // TODO: log this + return; + } + if (!Directory.Exists(uri)) + { + // TODO: log this + return; + } + + ProcessDirectory(uri); + } + + /// + /// Search a directory for files of form [PSEdition]-[PSVersion]-[OS].json + /// + private void ProcessDirectory(string path) + { + foreach (var filePath in Directory.EnumerateFiles(path)) + { + var extension = Path.GetExtension(filePath); + if (String.IsNullOrWhiteSpace(extension) + || !extension.Equals(".json", StringComparison.OrdinalIgnoreCase)) + { + continue; + } + + var fileNameWithoutExt = Path.GetFileNameWithoutExtension(filePath); + if (!platformSpecMap.ContainsKey(fileNameWithoutExt)) + { + continue; + } + + psCmdletMap[fileNameWithoutExt] = GetCmdletsFromData(JObject.Parse(File.ReadAllText(filePath))); + } + + RemoveUnavailableKeys(); + } + + /// + /// Remove keys that are not present in psCmdletMap but present in platformSpecMap and curCmdletCompatibilityMap + /// + private void RemoveUnavailableKeys() + { + var keysToRemove = new List(); + foreach (var key in platformSpecMap.Keys) + { + if (!psCmdletMap.ContainsKey(key)) + { + keysToRemove.Add(key); + } + } + + foreach (var key in keysToRemove) + { + platformSpecMap.Remove(key); + curCmdletCompatibilityMap.Remove(key); + } + } + + /// + /// Get a hashset of cmdlet names from a deserialized json file + /// + /// + /// + private HashSet GetCmdletsFromData(dynamic deserializedObject) + { + var cmdlets = new HashSet(StringComparer.OrdinalIgnoreCase); + dynamic modules = deserializedObject.Modules; + foreach (var module in modules) + { + foreach (var cmdlet in module.ExportedCommands) + { + var name = cmdlet.Name.Value as string; + cmdlets.Add(name); + } + } + + return cmdlets; + } + + /// + /// Check if rule arguments are valid + /// + private bool RuleParamsValid(Dictionary ruleArgs) + { + return ruleArgs.Keys.All( + key => validParameters.Any(x => x.Equals(key, StringComparison.OrdinalIgnoreCase))); + } + + /// + /// Check if current command is present in the whitelists + /// If not, flag the corresponding value in curCmdletCompatibilityMap + /// + private void CheckCompatibility() + { + string commandName = curCmdletAst.GetCommandName(); + foreach (var platformSpec in psCmdletMap) + { + if (platformSpec.Value.Contains(commandName)) + { + curCmdletCompatibilityMap[platformSpec.Key] = true; + } + else + { + curCmdletCompatibilityMap[platformSpec.Key] = false; + } + } + } + } +} diff --git a/Rules/project.json b/Rules/project.json index 0201c25be..c0536d520 100644 --- a/Rules/project.json +++ b/Rules/project.json @@ -2,8 +2,9 @@ "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules", "version": "1.7.0", "dependencies": { - "System.Management.Automation": "1.0.0-alpha.9.4808", - "Engine": "1.7.0" + "System.Management.Automation": "1.0.0-alpha10", + "Engine": "1.7.0", + "Newtonsoft.Json": "9.0.1" }, "frameworks": { "net451": { diff --git a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 index d06ad73f0..39e0c02b5 100644 --- a/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 +++ b/Tests/Engine/GetScriptAnalyzerRule.tests.ps1 @@ -61,10 +61,10 @@ Describe "Test Name parameters" { It "get Rules with no parameters supplied" { $defaultRules = Get-ScriptAnalyzerRule - $expectedNumRules = 42 + $expectedNumRules = 43 if ((Test-PSEditionCoreClr)) { - $expectedNumRules = 41 + $expectedNumRules = 42 } $defaultRules.Count | Should be $expectedNumRules } diff --git a/Tests/Rules/UseCompatibleCmdlets.tests.ps1 b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 new file mode 100644 index 000000000..2860de83b --- /dev/null +++ b/Tests/Rules/UseCompatibleCmdlets.tests.ps1 @@ -0,0 +1,15 @@ +Import-Module PSScriptAnalyzer +$ruleName = "PSUseCompatibleCmdlets" +$directory = Split-Path $MyInvocation.MyCommand.Path -Parent +$ruleTestDirectory = Join-Path $directory 'UseCompatibleCmdlets' + +Describe "UseCompatibleCmdlets" { + Context "script has violation" { + It "detects violation" { + $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 + } + } +} diff --git a/Tests/Rules/UseCompatibleCmdlets/PSScriptAnalyzerSettings.psd1 b/Tests/Rules/UseCompatibleCmdlets/PSScriptAnalyzerSettings.psd1 new file mode 100644 index 000000000..b12acd2c6 --- /dev/null +++ b/Tests/Rules/UseCompatibleCmdlets/PSScriptAnalyzerSettings.psd1 @@ -0,0 +1,7 @@ +@{ + 'Rules' = @{ + 'PSUseCompatibleCmdlets' = @{ + 'compatibility' = @("core-6.0.0-alpha-windows") + } + } +} \ No newline at end of file diff --git a/Tests/Rules/UseCompatibleCmdlets/ScriptWithViolation.ps1 b/Tests/Rules/UseCompatibleCmdlets/ScriptWithViolation.ps1 new file mode 100644 index 000000000..7c86512b7 --- /dev/null +++ b/Tests/Rules/UseCompatibleCmdlets/ScriptWithViolation.ps1 @@ -0,0 +1 @@ +Add-Computer \ No newline at end of file diff --git a/Tests/Rules/UseCompatibleCmdlets/core-6.0.0-alpha-windows.json b/Tests/Rules/UseCompatibleCmdlets/core-6.0.0-alpha-windows.json new file mode 100644 index 000000000..1092ca24c Binary files /dev/null and b/Tests/Rules/UseCompatibleCmdlets/core-6.0.0-alpha-windows.json differ diff --git a/Utils/New-CommandDataFile.ps1 b/Utils/New-CommandDataFile.ps1 new file mode 100644 index 000000000..ec7c0cd1d --- /dev/null +++ b/Utils/New-CommandDataFile.ps1 @@ -0,0 +1,91 @@ +<# +.SYNOPSIS + Create a JSON file containing module found in $pshome and their corresponding exported commands + +.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: + { + "Modules" : [ + "Module1" : { + "Name" : "Module1" + . + . + "ExportedCommands" : {...} + } + . + . + . + ] + "JsonVersion" : "0.0.1" + } + +.INPUTS + None + +.OUTPUTS + None + +#> + +$jsonVersion = "0.0.1" +$builtinModulePath = Join-Path $pshome 'Modules' +if (-not (Test-Path $builtinModulePath)) +{ + throw new "$builtinModulePath does not exist! Cannot create command data file." +} + +Function IsPSEditionDesktop +{ + $edition = Get-Variable -Name PSEdition -ErrorAction Ignore + ($edition -eq $null) -or ($edition -eq 'Desktop') +} + +Function Get-CmdletDataFileName +{ + $edition = 'core' + $os = 'windows' + if ((IsPSEditionDesktop)) + { + $edition = 'desktop' + } + else + { + if ($IsLinux) + { + $os = 'linux' + } + elseif ($IsOSX) + { + $os = 'osx' + } + # else it is windows, which is already set + } + $sb = New-Object 'System.Text.StringBuilder' + $sb.Append($edition) | Out-Null + $sb.Append('-') | Out-Null + $sb.Append($PSVersionTable.PSVersion.ToString()) | Out-Null + $sb.Append('-') | Out-Null + $sb.Append($os) | Out-Null + $sb.Append('.json') | Out-Null + $sb.ToString() +} + +$jsonData = @{} +$jsonData['SchemaVersion'] = $jsonVersion +$shortModuleInfos = Get-ChildItem -Path $builtinModulePath ` +| Where-Object {($_ -is [System.IO.DirectoryInfo]) -and (Get-Module $_.Name -ListAvailable)} ` +| ForEach-Object { + $modules = Get-Module $_.Name -ListAvailable + $modules | ForEach-Object { + $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()}} + Add-Member -InputObject $shortModuleInfo -NotePropertyName 'ExportedCommands' -NotePropertyValue $shortCommands -PassThru + } +} +$jsonData['Modules'] = $shortModuleInfos +$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding utf8 \ No newline at end of file diff --git a/Utils/RuleMaker.psm1 b/Utils/RuleMaker.psm1 new file mode 100644 index 000000000..a754cff08 --- /dev/null +++ b/Utils/RuleMaker.psm1 @@ -0,0 +1,486 @@ +Function New-RuleObject +{ + param( + [string] $Name, + [string] $Severity, + [string] $CommonName, + [string] $Description, + [string] $Error) + + New-Object -TypeName 'PSObject' -Property @{ + Name = $Name + Severity = $Severity + CommonName = $CommonName + Description = $Description + Error = $Error + SourceFileName = $Name + ".cs" + } +} + +Function Get-SolutionRoot +{ + $PSModule = $ExecutionContext.SessionState.Module + $path = $PSModule.ModuleBase + $root = Split-Path -Path $path -Parent + $solutionFilename = 'psscriptanalyzer.sln' + if (-not (Test-Path (Join-Path $root $solutionFilename))) + { + return $null + } + $root +} + +Function Get-RuleProjectRoot +{ + $slnRoot = Get-SolutionRoot + if ($slnRoot -eq $null) + { + return $null + } + Join-Path $slnRoot "Rules" +} + +Function Get-RuleProjectFile +{ + $prjRoot = Get-RuleProjectRoot + if ($prjRoot -eq $null) + { + return $null + } + Join-Path $prjRoot "ScriptAnalyzerBuiltinRules.csproj" +} + +Function Get-RuleSourcePath($Rule) +{ + $ruleRoot = Get-RuleProjectRoot + Join-Path $ruleRoot $Rule.SourceFileName +} + +Function Get-RuleTemplate +{ + $ruleTemplate = @' +// 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; +#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 + class {0} : IScriptRule + {{ + /// + /// Analyzes the given ast to find the [violation] + /// + /// 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"); + }} + + // your code goes here + yield return new DiagnosticRecord(); + }} + + /// + /// Retrieves the common name of this rule. + /// + public string GetCommonName() + {{ + return string.Format(CultureInfo.CurrentCulture, Strings.{0}CommonName); + }} + + /// + /// Retrieves the description of this rule. + /// + public string GetDescription() + {{ + return string.Format(CultureInfo.CurrentCulture, Strings.{0}Description); + }} + + /// + /// Retrieves the name of this rule. + /// + public string GetName() + {{ + return string.Format( + CultureInfo.CurrentCulture, + Strings.NameSpaceFormat, + GetSourceName(), + Strings.{0}Name); + }} + + /// + /// Retrieves the severity of the rule: error, warning or information. + /// + public RuleSeverity GetSeverity() + {{ + return RuleSeverity.{1}; + }} + + /// + /// Gets the severity of the returned diagnostic record: error, warning, or information. + /// + /// + public DiagnosticSeverity GetDiagnosticSeverity() + {{ + return DiagnosticSeverity.{1}; + }} + + /// + /// 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; + }} + }} +}} +'@ + $ruleTemplate +} + +Function Get-RuleSource($Rule) +{ + $source = (Get-RuleTemplate) -f $Rule.Name,$Rule.Severity + $source +} + +Function Add-RuleSource($Rule) +{ + $ruleSourceFilepath = Get-RuleSourcePath $Rule + $ruleSource = Get-RuleSource $Rule + New-Item -Path $ruleSourceFilepath -ItemType File + Set-Content -Path $ruleSourceFilepath -Value $ruleSource -Encoding UTF8 +} + +Function Remove-RuleSource($Rule) +{ + $ruleSourceFilePath = Get-RuleSourcePath $Rule + if (Test-Path $ruleSourceFilePath) + { + Remove-Item $ruleSourceFilePath + } +} + +Function Get-RuleDocumentationPath($Rule) +{ + $root = Get-SolutionRoot + $ruleDocDir = Join-Path $root 'RuleDocumentation' + $ruleDocPath = Join-Path $ruleDocDir ($Rule.Name + ".md") + $ruleDocPath +} + +Function Add-RuleDocumentation($Rule) +{ + $ruleDocTemplate = @" +# {0} +**Severity Level: {1}** + +## Description + +## How to Fix + +## Example +### Wrong: +``````PowerShell + +`````` + +### Correct: +``````PowerShell + +`````` +"@ + $ruleDoc = $ruleDocTemplate -f $Rule.Name,$Rule.Severity + $ruleDocPath = Get-RuleDocumentationPath $Rule + Set-Content -Path $ruleDocPath -Value $ruleDoc -Encoding UTF8 +} + +Function Remove-RuleDocumentation($Rule) +{ + $ruleDocPath = Get-RuleDocumentationPath $Rule + Remove-Item $ruleDocPath +} + +Function Get-RuleStringsPath +{ + $ruleRoot = Get-RuleProjectRoot + $stringsFilepath = Join-Path $ruleRoot 'Strings.resx' + $stringsFilepath +} + +Function Get-RuleStrings +{ + $stringsFilepath = Get-RuleStringsPath + [xml]$stringsXml = New-Object xml + $stringsXml.Load($stringsFilepath) + $stringsXml +} + +Function Set-RuleStrings +{ + param([xml]$stringsXml) + $stringsFilepath = Get-RuleStringsPath + $stringsXml.Save($stringsFilepath) +} + +Function Add-RuleStrings($Rule) +{ + $stringsXml = Get-RuleStrings $Rule + + Function Add-Node($nodeName, $nodeValue) + { + $dataNode = $stringsXml.CreateElement("data") + $nameAttr = $stringsXml.CreateAttribute("name") + $nameAttr.Value = $nodeName + $xmlspaceAttr = $stringsXml.CreateAttribute("xml:space") + $xmlspaceAttr.Value = "preserve" + $valueElem = $stringsXml.CreateElement("value") + $valueElem.InnerText = $nodeValue + $dataNode.Attributes.Append($nameAttr) + $dataNode.Attributes.Append($xmlspaceAttr) + $dataNode.AppendChild($valueElem) + $stringsXml.root.AppendChild($dataNode) + } + + Add-Node ($Rule.Name + 'Name') $Rule.Name + Add-Node ($Rule.Name + 'CommonName') $Rule.CommonName + Add-Node ($Rule.Name + 'Description') $Rule.Description + Add-Node ($Rule.Name + 'Error') $Rule.Error + Set-RuleStrings $stringsXml +} + +Function Remove-RuleStrings($Rule) +{ + $stringsXml = Get-RuleStrings $Rule + $nodesToRemove = $stringsXml.root.GetElementsByTagName("data") | ? {$_.name -match $Rule.Name} + $nodesToRemove | Foreach-Object { $stringsXml.root.RemoveChild($_) } + Set-RuleStrings $stringsXml +} + +Function Get-RuleProjectXml +{ + $ruleProject = Get-RuleProjectFile + $projectXml = New-Object -TypeName 'xml' + $projectXml.Load($ruleProject) + $projectXml +} + +Function Set-RuleProjectXml($projectXml) +{ + $ruleProjectFilepath = Get-RuleProjectFile + $projectXml.Save($ruleProjectFilepath) +} + +Function Get-CompileTargetGroup($projectXml) +{ + $projectXml.Project.ItemGroup | ? {$_.Compile -ne $null} +} + +Function Add-RuleToProject($Rule) +{ + $projectXml = Get-RuleProjectXml + $compileItemgroup = Get-CompileTargetGroup $projectXml + $compileElement = $compileItemgroup.Compile.Item(0).Clone() + $compileElement.Include = $Rule.SourceFileName + $compileItemgroup.AppendChild($compileElement) + Set-RuleProjectXml $projectXml +} + +Function Remove-RuleFromProject($Rule) +{ + $projectXml = Get-RuleProjectXml + $compileItemgroup = Get-CompileTargetGroup $projectXml + $itemToRemove = $compileItemgroup.Compile | ? {$_.Include -eq $Rule.SourceFileName} + $compileItemgroup.RemoveChild($itemToRemove) + Set-RuleProjectXml $projectXml +} + +Function Get-RuleTestFilePath($Rule) +{ + $testRoot = Join-Path (Get-SolutionRoot) 'Tests' + $ruleTestRoot = Join-Path $testRoot 'Rules' + $ruleTestFileName = $Rule.Name + ".tests.ps1" + $ruleTestFilePath = Join-Path $ruleTestRoot $ruleTestFileName + $ruleTestFilePath +} + + +Function Add-RuleTest($Rule) +{ + $ruleTestFilePath = Get-RuleTestFilePath $Rule + New-Item -Path $ruleTestFilePath -ItemType File + $ruleTestTemplate = @' +Import-Module PSScriptAnalyzer +$ruleName = "{0}" + +Describe "{0}" {{ + Context "" {{ + It "" {{ + }} + }} +}} +'@ + $ruleTestSource = $ruleTestTemplate -f $Rule.Name + Set-Content -Path $ruleTestFilePath -Value $ruleTestSource -Encoding UTF8 +} + +Function Remove-RuleTest($Rule) +{ + $ruleTestFilePath = Get-RuleTestFilePath $Rule + Remove-Item -Path $ruleTestFilePath +} + +<# +.SYNOPSIS + Adds a C# based builtin rule to Rules project in PSScriptAnalyzer solution +.EXAMPLE + C:\PS> Add-Rule -Name UseCompatibleCmdlets -Severity Warning -CommonName 'Use Compatible Cmdlets' -Description 'Checks if a cmdlet is compatible with a given PowerShell version, edition and os combination' -Error '{0} command is not compatible with PowerShell version {1}, edition {2} and OS {3}' + + This will result in the following. + - create {PScriptAnalyzerSolutionRoot}/Rules/UseCompatibleCmdlets.cs + - create {PScriptAnalyzerSolutionRoot}/Tests/Rules/UseCompatibleCmdlets.tests.ps1 + - create {PScriptAnalyzerSolutionRoot}/RuleDocumentation/UseCompatibleCmdlets.md + - update {PScriptAnalyzerSolutionRoot}/Rules/Strings.resx + - update {PScriptAnalyzerSolutionRoot}/Rules/ScriptAnalyzerBuiltinRules.csproj + +.PARAMETER Name + Rule name. An entry in Strings.resx is created for this value. + +.PARAMETER Severity + Severity of the rule from on the following values: {Information, Warning, Error} + +.PARAMETER CommonName + A somewhat verbose name of of the rule. An entry in Strings.resx is created for this value. + +.PARAMETER Description + Rule description. An entry in Strings.resx is created for this value. + +.PARAMETER Error + Error message. An entry in Strings.resx is created for this value. + +.INPUTS + None + +.OUTPUTS + None +#> +Function Add-Rule +{ + param( + [Parameter(Mandatory=$true)] + [string] $Name, + + [Parameter(Mandatory=$true)] + [ValidateSet("Error", "Warning", "Information")] + [string] $Severity, + + [Parameter(Mandatory=$true)] + [string] $CommonName, + + [Parameter(Mandatory=$true)] + [string] $Description, + + [Parameter(Mandatory=$true)] + [string] $Error) + + $rule = New-RuleObject -Name $Name -Severity $Severity -CommonName $CommonName -Description $Description -Error $Error + $undoStack = New-Object 'System.Collections.Stack' + $success = $false + try { + Add-RuleDocumentation $rule + $undoStack.Push((Get-Item -Path Function:\Remove-RuleDocumentation)) + + Add-RuleTest $rule + $undoStack.Push((Get-Item -Path Function:\Remove-RuleTest)) + + Add-RuleSource $rule + $undoStack.Push((Get-Item -Path Function:\Remove-RuleSource)) + + Add-RuleStrings $rule + $undoStack.Push((Get-Item -Path Function:\Remove-RuleStrings)) + + Add-RuleToProject $rule + $undoStack.Push((Get-Item -Path Function:\Remove-RuleFromProject)) + + $success = $true + } + finally { + if (-not $success) + { + while ($undoStack.Count -ne 0) + { + & ($undoStack.Pop()) $rule + } + } + } +} + +<# +.SYNOPSIS + Removes a rule from builtin rules + +.EXAMPLE + C:\PS> Remove-Rule -Name UseCompatibleCmdlets + + This will result in the following. + - remove {PScriptAnalyzerSolutionRoot}/Rules/UseCompatibleCmdlets.cs + - remove {PScriptAnalyzerSolutionRoot}/Tests/Rules/UseCompatibleCmdlets.tests.ps1 + - remove {PScriptAnalyzerSolutionRoot}/RuleDocumentation/UseCompatibleCmdlets.md + - remove UseCompatibleCmdlets entries from {PScriptAnalyzerSolutionRoot}/Rules/Strings.resx + - remove UseCompatibleCmdlets entries from {PScriptAnalyzerSolutionRoot}/Rules/ScriptAnalyzerBuiltinRules.csproj + +.INPUTS + None + +.OUTPUTS + None +#> +Function Remove-Rule +{ + param( + [string] $Name + ) + $rule = New-RuleObject -Name $Name + Remove-RuleFromProject $rule + Remove-RuleStrings $rule + Remove-RuleSource $rule + Remove-RuleTest $rule + Remove-RuleDocumentation $rule +} + +Export-ModuleMember -Function Add-Rule +Export-ModuleMember -Function Remove-Rule \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 03278fec7..f5e27c7a5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,11 +1,13 @@ os: - - "WMF 5" - "Visual Studio 2015" - - "Windows Server 2012" # clone directory clone_folder: c:\projects\psscriptanalyzer +# cache nuget packages +cache: + - '%USERPROFILE%\.nuget\packages -> **\project.json' + # Install Pester install: - cinst -y pester --version 3.4.0 @@ -13,13 +15,11 @@ install: build_script: - ps: | - $buildConfig = 'Release' - if ($PSVersionTable.PSVersion -lt [Version]'5.0') - { - $buildConfig = 'PSV3 Release' - } - & 'C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe' 'C:\projects\psscriptanalyzer\PSScriptAnalyzer.sln' /P:Configuration=$buildConfig /logger:'C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll' + Push-Location C:\projects\psscriptanalyzer + dotnet restore + C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build C:\projects\psscriptanalyzer\build.ps1 -BuildDocs + Pop-Location # branches to build branches: diff --git a/buildCoreClr.ps1 b/buildCoreClr.ps1 index 6d46a7f3e..d6bace3c0 100644 --- a/buildCoreClr.ps1 +++ b/buildCoreClr.ps1 @@ -32,13 +32,14 @@ $itemsToCopyCommon = @("$solutionDir\Engine\PSScriptAnalyzer.psd1", "$solutionDir\Engine\ScriptAnalyzer.format.ps1xml", "$solutionDir\Engine\ScriptAnalyzer.types.ps1xml") -$destinationDir = "$solutionDir/out/PSScriptAnalyzer" -$destinationDirBinaries = "$destinationDir" +$destinationDir = "$solutionDir\out\PSScriptAnalyzer" +$destinationDirBinaries = $destinationDir if ($Framework -eq "netstandard1.6") { - $destinationDirBinaries = "$destinationDir/coreclr" + $destinationDirBinaries = "$destinationDir\coreclr" } + if ($build) { @@ -73,9 +74,16 @@ if ($build) } } CopyToDestinationDir $itemsToCopyCommon $destinationDir - (Get-Content "$destinationDir\PSScriptAnalyzer.psd1") -replace "ModuleVersion = '1.6.0'","ModuleVersion = '0.0.1'" | Out-File "$destinationDir\PSScriptAnalyzer.psd1" -Encoding ascii - CopyToDestinationDir $itemsToCopyBinaries $destinationDirBinaries + + # Copy Settings File + Copy-Item -Path "$solutionDir\Engine\Settings" -Destination $destinationDir -Force -Recurse -Verbose + + # copy newtonsoft dll if net451 framework + if ($Framework -eq "net451") + { + copy-item -path "$solutionDir\Rules\bin\$Configuration\$Framework\Newtonsoft.Json.dll" -Destination $destinationDir -Verbose + } } $modulePath = "$HOME\Documents\WindowsPowerShell\Modules";