mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Merge pull request #2046 from xiaoyinl/use-https-links
Use HTTPS links for go.microsoft.com
This commit is contained in:
commit
58a2ba730d
288 files changed
+457
-457
No files matched your search
+3
-3
@@ -16,7 +16,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// Null sink to absorb pipeline output
|
||||
/// </summary>
|
||||
[CmdletAttribute("Out", "Null", SupportsShouldProcess = false,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113366", RemotingCapability = RemotingCapability.None)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113366", RemotingCapability = RemotingCapability.None)]
|
||||
public class OutNullCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
@@ -42,7 +42,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// powershell.exe host at the end of the pipeline as the
|
||||
/// default sink (display to console screen)
|
||||
/// </summary>
|
||||
[Cmdlet("Out", "Default", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113362", RemotingCapability = RemotingCapability.None)]
|
||||
[Cmdlet("Out", "Default", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113362", RemotingCapability = RemotingCapability.None)]
|
||||
public class OutDefaultCommand : FrontEndCommandBase
|
||||
{
|
||||
/// <summary>
|
||||
@@ -157,7 +157,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// implementation for the out-host command
|
||||
/// </summary>
|
||||
[Cmdlet("Out", "Host", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113365", RemotingCapability = RemotingCapability.None)]
|
||||
[Cmdlet("Out", "Host", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113365", RemotingCapability = RemotingCapability.None)]
|
||||
public class OutHostCommand : FrontEndCommandBase
|
||||
{
|
||||
#region Command Line Parameters
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsLifecycle.Register, "ArgumentCompleter", HelpUri = "http://go.microsoft.com/fwlink/?LinkId=528576")]
|
||||
[Cmdlet(VerbsLifecycle.Register, "ArgumentCompleter", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=528576")]
|
||||
public class RegisterArgumentCompleterCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1204,7 +1204,7 @@ end
|
||||
return GetRestrictedCmdlet(
|
||||
"Get-Command",
|
||||
null, // defaultParameterSet
|
||||
"http://go.microsoft.com/fwlink/?LinkID=113309", // helpUri
|
||||
"https://go.microsoft.com/fwlink/?LinkID=113309", // helpUri
|
||||
nameParameter,
|
||||
moduleParameter,
|
||||
argumentListParameter,
|
||||
@@ -1223,7 +1223,7 @@ end
|
||||
typeNameParameter.Attributes.Add(new ValidateLengthAttribute(0, 1000));
|
||||
typeNameParameter.Attributes.Add(new ValidateCountAttribute(0, 1000));
|
||||
|
||||
return GetRestrictedCmdlet("Get-FormatData", null, "http://go.microsoft.com/fwlink/?LinkID=144303", typeNameParameter);
|
||||
return GetRestrictedCmdlet("Get-FormatData", null, "https://go.microsoft.com/fwlink/?LinkID=144303", typeNameParameter);
|
||||
}
|
||||
|
||||
private static CommandMetadata GetRestrictedGetHelp()
|
||||
@@ -1242,7 +1242,7 @@ end
|
||||
categoryParameter.Attributes.Add(new ValidateSetAttribute(Enum.GetNames(typeof(HelpCategory))));
|
||||
categoryParameter.Attributes.Add(new ValidateCountAttribute(0, 1));
|
||||
|
||||
return GetRestrictedCmdlet("Get-Help", null, "http://go.microsoft.com/fwlink/?LinkID=113316", nameParameter, categoryParameter);
|
||||
return GetRestrictedCmdlet("Get-Help", null, "https://go.microsoft.com/fwlink/?LinkID=113316", nameParameter, categoryParameter);
|
||||
}
|
||||
|
||||
private static CommandMetadata GetRestrictedSelectObject()
|
||||
@@ -1268,7 +1268,7 @@ end
|
||||
ParameterSetMetadata.ParameterFlags.ValueFromPipeline | ParameterSetMetadata.ParameterFlags.Mandatory,
|
||||
null)); // no help message
|
||||
|
||||
return GetRestrictedCmdlet("Select-Object", null, "http://go.microsoft.com/fwlink/?LinkID=113387", propertyParameter, inputParameter);
|
||||
return GetRestrictedCmdlet("Select-Object", null, "https://go.microsoft.com/fwlink/?LinkID=113387", propertyParameter, inputParameter);
|
||||
}
|
||||
|
||||
private static CommandMetadata GetRestrictedMeasureObject()
|
||||
@@ -1285,7 +1285,7 @@ end
|
||||
ParameterSetMetadata.ParameterFlags.ValueFromPipeline | ParameterSetMetadata.ParameterFlags.Mandatory,
|
||||
null)); // no help message
|
||||
|
||||
return GetRestrictedCmdlet("Measure-Object", null, "http://go.microsoft.com/fwlink/?LinkID=113349", inputParameter);
|
||||
return GetRestrictedCmdlet("Measure-Object", null, "https://go.microsoft.com/fwlink/?LinkID=113349", inputParameter);
|
||||
}
|
||||
|
||||
private static CommandMetadata GetRestrictedOutDefault()
|
||||
@@ -1301,7 +1301,7 @@ end
|
||||
ParameterSetMetadata.ParameterFlags.ValueFromPipeline | ParameterSetMetadata.ParameterFlags.Mandatory,
|
||||
null)); // no help message
|
||||
|
||||
return GetRestrictedCmdlet("Out-Default", null, "http://go.microsoft.com/fwlink/?LinkID=113362", inputParameter);
|
||||
return GetRestrictedCmdlet("Out-Default", null, "https://go.microsoft.com/fwlink/?LinkID=113362", inputParameter);
|
||||
}
|
||||
|
||||
private static CommandMetadata GetRestrictedExitPSSession()
|
||||
@@ -1309,7 +1309,7 @@ end
|
||||
// remote Exit-PSSession is not called by PowerShell, but is needed so that users
|
||||
// can exit an interactive remoting session
|
||||
|
||||
return GetRestrictedCmdlet("Exit-PSSession", null, "http://go.microsoft.com/fwlink/?LinkID=135210"); // no parameters are used
|
||||
return GetRestrictedCmdlet("Exit-PSSession", null, "https://go.microsoft.com/fwlink/?LinkID=135210"); // no parameters are used
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1472,7 +1472,7 @@ end
|
||||
ParameterMetadata passThruParameter = new ParameterMetadata("PassThru", typeof(SwitchParameter));
|
||||
ParameterMetadata anyParameter = new ParameterMetadata("Any", typeof(SwitchParameter));
|
||||
|
||||
CommandMetadata stopJob = GetRestrictedCmdlet("Stop-Job", JobCmdletBase.SessionIdParameterSet, "http://go.microsoft.com/fwlink/?LinkID=113413", nameParameter,
|
||||
CommandMetadata stopJob = GetRestrictedCmdlet("Stop-Job", JobCmdletBase.SessionIdParameterSet, "https://go.microsoft.com/fwlink/?LinkID=113413", nameParameter,
|
||||
instanceIdParameter, idParameter,
|
||||
stateParameter, filterParameter, jobParameter, passThruParameter);
|
||||
restrictedJobCommands.Add(stopJob);
|
||||
@@ -1481,13 +1481,13 @@ end
|
||||
ParameterMetadata timeoutParameter = new ParameterMetadata("Timeout", typeof(int));
|
||||
timeoutParameter.Attributes.Add(new ValidateRangeAttribute(-1, Int32.MaxValue));
|
||||
|
||||
CommandMetadata waitJob = GetRestrictedCmdlet("Wait-Job", JobCmdletBase.SessionIdParameterSet, "http://go.microsoft.com/fwlink/?LinkID=113422", nameParameter,
|
||||
CommandMetadata waitJob = GetRestrictedCmdlet("Wait-Job", JobCmdletBase.SessionIdParameterSet, "https://go.microsoft.com/fwlink/?LinkID=113422", nameParameter,
|
||||
instanceIdParameter, idParameter,
|
||||
jobParameter, stateParameter, filterParameter, anyParameter, timeoutParameter);
|
||||
restrictedJobCommands.Add(waitJob);
|
||||
|
||||
// Get-Job cmdlet
|
||||
CommandMetadata getJob = GetRestrictedCmdlet("Get-Job", JobCmdletBase.SessionIdParameterSet, "http://go.microsoft.com/fwlink/?LinkID=113328", nameParameter,
|
||||
CommandMetadata getJob = GetRestrictedCmdlet("Get-Job", JobCmdletBase.SessionIdParameterSet, "https://go.microsoft.com/fwlink/?LinkID=113328", nameParameter,
|
||||
instanceIdParameter, idParameter,
|
||||
stateParameter, filterParameter, commandParameter);
|
||||
restrictedJobCommands.Add(getJob);
|
||||
@@ -1520,7 +1520,7 @@ end
|
||||
ParameterMetadata writeJobParameter = new ParameterMetadata("WriteJobInResults", typeof(SwitchParameter));
|
||||
ParameterMetadata autoRemoveParameter = new ParameterMetadata("AutoRemoveJob", typeof(SwitchParameter));
|
||||
|
||||
CommandMetadata receiveJob = GetRestrictedCmdlet("Receive-Job", "Location", "http://go.microsoft.com/fwlink/?LinkID=113372", nameParameter,
|
||||
CommandMetadata receiveJob = GetRestrictedCmdlet("Receive-Job", "Location", "https://go.microsoft.com/fwlink/?LinkID=113372", nameParameter,
|
||||
instanceIdParameter,
|
||||
idParameter, stateParameter, jobParameter2,
|
||||
computerNameParameter, locationParameter,
|
||||
@@ -1531,20 +1531,20 @@ end
|
||||
// Remove-Job cmdlet
|
||||
ParameterMetadata forceParameter = new ParameterMetadata("Force", typeof(SwitchParameter));
|
||||
|
||||
CommandMetadata removeJob = GetRestrictedCmdlet("Remove-Job", JobCmdletBase.SessionIdParameterSet, "http://go.microsoft.com/fwlink/?LinkID=113377",
|
||||
CommandMetadata removeJob = GetRestrictedCmdlet("Remove-Job", JobCmdletBase.SessionIdParameterSet, "https://go.microsoft.com/fwlink/?LinkID=113377",
|
||||
nameParameter, instanceIdParameter,
|
||||
idParameter, stateParameter, filterParameter, jobParameter, forceParameter);
|
||||
|
||||
restrictedJobCommands.Add(removeJob);
|
||||
|
||||
// Suspend-Job cmdlet
|
||||
CommandMetadata suspendJob = GetRestrictedCmdlet("Suspend-Job", JobCmdletBase.SessionIdParameterSet, "http://go.microsoft.com/fwlink/?LinkID=210613",
|
||||
CommandMetadata suspendJob = GetRestrictedCmdlet("Suspend-Job", JobCmdletBase.SessionIdParameterSet, "https://go.microsoft.com/fwlink/?LinkID=210613",
|
||||
nameParameter, instanceIdParameter,
|
||||
idParameter, stateParameter, filterParameter, jobParameter, passThruParameter);
|
||||
restrictedJobCommands.Add(suspendJob);
|
||||
|
||||
// Suspend-Job cmdlet
|
||||
CommandMetadata resumeJob = GetRestrictedCmdlet("Resume-Job", JobCmdletBase.SessionIdParameterSet, "http://go.microsoft.com/fwlink/?LinkID=210611",
|
||||
CommandMetadata resumeJob = GetRestrictedCmdlet("Resume-Job", JobCmdletBase.SessionIdParameterSet, "https://go.microsoft.com/fwlink/?LinkID=210611",
|
||||
nameParameter, instanceIdParameter,
|
||||
idParameter, stateParameter, filterParameter, jobParameter, passThruParameter);
|
||||
restrictedJobCommands.Add(resumeJob);
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// command that is found.
|
||||
/// </summary>
|
||||
///
|
||||
[Cmdlet(VerbsCommon.Get, "Command", DefaultParameterSetName = "CmdletSet", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113309")]
|
||||
[Cmdlet(VerbsCommon.Get, "Command", DefaultParameterSetName = "CmdletSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113309")]
|
||||
[OutputType(typeof(AliasInfo), typeof(ApplicationInfo), typeof(FunctionInfo),
|
||||
typeof(CmdletInfo), typeof(ExternalScriptInfo), typeof(FilterInfo),
|
||||
typeof(WorkflowInfo), typeof(string), typeof(PSObject))]
|
||||
|
||||
@@ -4589,7 +4589,7 @@ $RawUI.SetBufferContents(
|
||||
@{Top = -1; Bottom = -1; Right = -1; Left = -1},
|
||||
@{Character = ' '; ForegroundColor = $rawui.ForegroundColor; BackgroundColor = $rawui.BackgroundColor})
|
||||
# .Link
|
||||
# http://go.microsoft.com/fwlink/?LinkID=225747
|
||||
# https://go.microsoft.com/fwlink/?LinkID=225747
|
||||
# .ExternalHelp System.Management.Automation.dll-help.xml
|
||||
";
|
||||
}
|
||||
@@ -4614,7 +4614,7 @@ $RawUI.SetBufferContents(
|
||||
.FORWARDHELPTARGETNAME Get-Help
|
||||
.FORWARDHELPCATEGORY Cmdlet
|
||||
#>
|
||||
[CmdletBinding(DefaultParameterSetName='AllUsersView', HelpUri='http://go.microsoft.com/fwlink/?LinkID=113316')]
|
||||
[CmdletBinding(DefaultParameterSetName='AllUsersView', HelpUri='https://go.microsoft.com/fwlink/?LinkID=113316')]
|
||||
param(
|
||||
[Parameter(Position=0, ValueFromPipelineByPropertyName=$true)]
|
||||
[string]
|
||||
@@ -4770,7 +4770,7 @@ process {
|
||||
}
|
||||
}
|
||||
# .Link
|
||||
# http://go.microsoft.com/fwlink/?LinkID=160712
|
||||
# https://go.microsoft.com/fwlink/?LinkID=160712
|
||||
# .ExternalHelp System.Management.Automation.dll-help.xml
|
||||
";
|
||||
}
|
||||
@@ -5324,7 +5324,7 @@ end
|
||||
internal const string DefaultPromptFunctionText = @"
|
||||
""PS $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel + 1)) "";
|
||||
# .Link
|
||||
# http://go.microsoft.com/fwlink/?LinkID=225750
|
||||
# https://go.microsoft.com/fwlink/?LinkID=225750
|
||||
# .ExternalHelp System.Management.Automation.dll-help.xml
|
||||
";
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
[SuppressMessage("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")]
|
||||
[Cmdlet("ForEach", "Object", SupportsShouldProcess = true, DefaultParameterSetName = "ScriptBlockSet",
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113300", RemotingCapability = RemotingCapability.None)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113300", RemotingCapability = RemotingCapability.None)]
|
||||
public sealed class ForEachObjectCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
@@ -765,7 +765,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// is passed on, otherwise it is dropped.
|
||||
/// </summary>
|
||||
[Cmdlet("Where", "Object", DefaultParameterSetName = "EqualSet",
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113423", RemotingCapability = RemotingCapability.None)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113423", RemotingCapability = RemotingCapability.None)]
|
||||
public sealed class WhereObjectCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
@@ -1664,7 +1664,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Implements a cmdlet that sets the script debugging options.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Set, "PSDebug", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113398")]
|
||||
[Cmdlet(VerbsCommon.Set, "PSDebug", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113398")]
|
||||
public sealed class SetPSDebugCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
@@ -1755,7 +1755,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// Unlike Set-PSDebug -strict, Set-StrictMode is not engine-wide, and only
|
||||
/// affects the scope it was defined in.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Set, "StrictMode", DefaultParameterSetName = "Version", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113450")]
|
||||
[Cmdlet(VerbsCommon.Set, "StrictMode", DefaultParameterSetName = "Version", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113450")]
|
||||
public class SetStrictModeCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Implements a cmdlet that loads a module
|
||||
/// </summary>
|
||||
[Cmdlet("Export", "ModuleMember", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=141551")]
|
||||
[Cmdlet("Export", "ModuleMember", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=141551")]
|
||||
public sealed class ExportModuleMemberCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// Implements a cmdlet that gets the list of loaded modules...
|
||||
/// </summary>
|
||||
[Cmdlet("Get", "Module", DefaultParameterSetName = ParameterSet_Loaded,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=141552")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=141552")]
|
||||
[OutputType(typeof(PSModuleInfo))]
|
||||
public sealed class GetModuleCommand : ModuleCmdletBase, IDisposable
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Implements a cmdlet that loads a module
|
||||
/// </summary>
|
||||
[Cmdlet("Import", "Module", DefaultParameterSetName = ParameterSet_Name, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=141553")]
|
||||
[Cmdlet("Import", "Module", DefaultParameterSetName = ParameterSet_Name, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=141553")]
|
||||
[OutputType(typeof(PSModuleInfo))]
|
||||
public sealed class ImportModuleCommand : ModuleCmdletBase, IDisposable
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Implements a cmdlet that creates a dynamic module from a scriptblock..
|
||||
/// </summary>
|
||||
[Cmdlet("New", "Module", DefaultParameterSetName = "ScriptBlock", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=141554")]
|
||||
[Cmdlet("New", "Module", DefaultParameterSetName = "ScriptBlock", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=141554")]
|
||||
[OutputType(typeof(PSModuleInfo))]
|
||||
public sealed class NewModuleCommand : ModuleCmdletBase
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Cmdlet to create a new module manifest file.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.New, "ModuleManifest", SupportsShouldProcess = true, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=141555")]
|
||||
[Cmdlet(VerbsCommon.New, "ModuleManifest", SupportsShouldProcess = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=141555")]
|
||||
[OutputType(typeof(string))]
|
||||
public sealed class NewModuleManifestCommand : PSCmdlet
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Implements a cmdlet that gets the list of loaded modules...
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Remove, "Module", SupportsShouldProcess = true, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=141556")]
|
||||
[Cmdlet(VerbsCommon.Remove, "Module", SupportsShouldProcess = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=141556")]
|
||||
public sealed class RemoveModuleCommand : ModuleCmdletBase
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// This cmdlet takes a module manifest and validates the contents...
|
||||
/// </summary>
|
||||
[Cmdlet("Test", "ModuleManifest", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=141557")]
|
||||
[Cmdlet("Test", "ModuleManifest", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=141557")]
|
||||
[OutputType(typeof(PSModuleInfo))]
|
||||
public sealed class TestModuleManifestCommand : ModuleCmdletBase
|
||||
{
|
||||
|
||||
@@ -927,7 +927,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// This class Implements the get-history command
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, "History", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113317")]
|
||||
[Cmdlet(VerbsCommon.Get, "History", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113317")]
|
||||
[OutputType(typeof(HistoryInfo))]
|
||||
public class GetHistoryCommand : PSCmdlet
|
||||
{
|
||||
@@ -1071,7 +1071,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// This class implements the Invoke-History command
|
||||
/// </summary>
|
||||
[Cmdlet("Invoke", "History", SupportsShouldProcess = true, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113344")]
|
||||
[Cmdlet("Invoke", "History", SupportsShouldProcess = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113344")]
|
||||
public class InvokeHistoryCommand : PSCmdlet
|
||||
{
|
||||
#region Parameters
|
||||
@@ -1416,7 +1416,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// This class Implements the add-history command
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Add, "History", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113279")]
|
||||
[Cmdlet(VerbsCommon.Add, "History", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113279")]
|
||||
[OutputType(typeof(HistoryInfo))]
|
||||
public class AddHistoryCommand : PSCmdlet
|
||||
{
|
||||
@@ -1672,7 +1672,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// This Class implements the Clear History cmdlet
|
||||
///</summary>
|
||||
|
||||
[Cmdlet(VerbsCommon.Clear, "History", SupportsShouldProcess = true, DefaultParameterSetName = "IDParameter", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=135199")]
|
||||
[Cmdlet(VerbsCommon.Clear, "History", SupportsShouldProcess = true, DefaultParameterSetName = "IDParameter", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135199")]
|
||||
public class ClearHistoryCommand : PSCmdlet
|
||||
{
|
||||
#region Command Line Parameters
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
[SuppressMessage("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")]
|
||||
[Cmdlet(VerbsCommunications.Connect, "PSSession", SupportsShouldProcess = true, DefaultParameterSetName = ConnectPSSessionCommand.NameParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=210604", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=210604", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
[OutputType(typeof(PSSession))]
|
||||
public class ConnectPSSessionCommand : PSRunspaceCmdlet, IDisposable
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
[Cmdlet(VerbsLifecycle.Register, RemotingConstants.PSSessionConfigurationNoun,
|
||||
DefaultParameterSetName = PSSessionConfigurationCommandBase.NameParameterSetName,
|
||||
SupportsShouldProcess = true,
|
||||
ConfirmImpact = ConfirmImpact.Medium, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144306")]
|
||||
ConfirmImpact = ConfirmImpact.Medium, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144306")]
|
||||
public sealed class RegisterPSSessionConfigurationCommand : PSSessionConfigurationCommandBase
|
||||
{
|
||||
#region Private Data
|
||||
@@ -2449,7 +2449,7 @@ else
|
||||
/// Class implementing Unregister-PSSessionConfiguration
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsLifecycle.Unregister, RemotingConstants.PSSessionConfigurationNoun,
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Low, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144308")]
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Low, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144308")]
|
||||
public sealed class UnregisterPSSessionConfigurationCommand : PSCmdlet
|
||||
{
|
||||
#region Private Data
|
||||
@@ -2670,7 +2670,7 @@ else
|
||||
/// <summary>
|
||||
/// Class implementing Get-PSSessionConfiguration
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, RemotingConstants.PSSessionConfigurationNoun, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144304")]
|
||||
[Cmdlet(VerbsCommon.Get, RemotingConstants.PSSessionConfigurationNoun, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144304")]
|
||||
[OutputType("Microsoft.PowerShell.Commands.PSSessionConfigurationCommands#PSSessionConfiguration")]
|
||||
public sealed class GetPSSessionConfigurationCommand : PSCmdlet
|
||||
{
|
||||
@@ -2909,7 +2909,7 @@ $args[0] | foreach {{
|
||||
[Cmdlet(VerbsCommon.Set, RemotingConstants.PSSessionConfigurationNoun,
|
||||
DefaultParameterSetName = PSSessionConfigurationCommandBase.NameParameterSetName,
|
||||
SupportsShouldProcess = true,
|
||||
ConfirmImpact = ConfirmImpact.Medium, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144307")]
|
||||
ConfirmImpact = ConfirmImpact.Medium, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144307")]
|
||||
public sealed class SetPSSessionConfigurationCommand : PSSessionConfigurationCommandBase
|
||||
{
|
||||
#region Private Data
|
||||
@@ -4037,7 +4037,7 @@ Set-PSSessionConfiguration $args[0] $args[1] $args[2] $args[3] $args[4] $args[5]
|
||||
/// Class implementing Enable-PSSessionConfiguration cmdlet
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsLifecycle.Enable, RemotingConstants.PSSessionConfigurationNoun,
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144301")]
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144301")]
|
||||
public sealed class EnablePSSessionConfigurationCommand : PSCmdlet
|
||||
{
|
||||
#region Private Data
|
||||
@@ -4464,7 +4464,7 @@ $_ | Enable-PSSessionConfiguration -force $args[0] -sddl $args[1] -isSDDLSpecifi
|
||||
///
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsLifecycle.Disable, RemotingConstants.PSSessionConfigurationNoun,
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Low, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144299")]
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Low, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144299")]
|
||||
public sealed class DisablePSSessionConfigurationCommand : PSCmdlet
|
||||
{
|
||||
#region Private Data
|
||||
@@ -4697,7 +4697,7 @@ $_ | Disable-PSSessionConfiguration -force $args[0] -whatif:$args[1] -confirm:$a
|
||||
/// </summary>
|
||||
#if !CORECLR
|
||||
[Cmdlet(VerbsLifecycle.Enable, RemotingConstants.PSRemotingNoun,
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144300")]
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144300")]
|
||||
#endif
|
||||
public sealed class EnablePSRemotingCommand : PSCmdlet
|
||||
{
|
||||
@@ -5047,7 +5047,7 @@ Enable-PSRemoting -force $args[0] -queryForRegisterDefault $args[1] -captionForR
|
||||
/// </summary>
|
||||
#if !CORECLR
|
||||
[Cmdlet(VerbsLifecycle.Disable, RemotingConstants.PSRemotingNoun,
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144298")]
|
||||
SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144298")]
|
||||
#endif
|
||||
public sealed class DisablePSRemotingCommand : PSCmdlet
|
||||
{
|
||||
@@ -5244,7 +5244,7 @@ Disable-PSRemoting -force:$args[0] -queryForSet $args[1] -captionForSet $args[2]
|
||||
/// <summary>
|
||||
/// Gets the capabilities of a constrained endpoint on the local machine for a specific user.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, "PSSessionCapability", HelpUri = "http://go.microsoft.com/fwlink/?LinkId=623709")]
|
||||
[Cmdlet(VerbsCommon.Get, "PSSessionCapability", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=623709")]
|
||||
[OutputType(new Type[] { typeof(System.Management.Automation.CommandInfo), typeof(System.Management.Automation.Runspaces.InitialSessionState) })]
|
||||
public sealed class GetPSSessionCapabilityCommand : PSCmdlet
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
[SuppressMessage("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")]
|
||||
[Cmdlet(VerbsDiagnostic.Debug, "Job", SupportsShouldProcess = true, DefaultParameterSetName = DebugJobCommand.JobParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkId=330208")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=330208")]
|
||||
public sealed class DebugJobCommand : PSCmdlet
|
||||
{
|
||||
#region Strings
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
[SuppressMessage("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")]
|
||||
[Cmdlet(VerbsCommunications.Disconnect, "PSSession", SupportsShouldProcess = true, DefaultParameterSetName = DisconnectPSSessionCommand.SessionParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=210605", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=210605", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
[OutputType(typeof(PSSession))]
|
||||
public class DisconnectPSSessionCommand : PSRunspaceCmdlet, IDisposable
|
||||
{
|
||||
|
||||
+3
-3
@@ -24,7 +24,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// then an error message will result.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Enter, "PSHostProcess", DefaultParameterSetName = EnterPSHostProcessCommand.ProcessIdParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkId=403736")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=403736")]
|
||||
public sealed class EnterPSHostProcessCommand : PSCmdlet
|
||||
{
|
||||
#region Members
|
||||
@@ -354,7 +354,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// This cmdlet exits an interactive session with a local process.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Exit, "PSHostProcess",
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkId=403737")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=403737")]
|
||||
public sealed class ExitPSHostProcessCommand : PSCmdlet
|
||||
{
|
||||
#region Overrides
|
||||
@@ -388,7 +388,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// process and AppDomain name information for processes that have PowerShell loaded.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, "PSHostProcessInfo", DefaultParameterSetName = GetPSHostProcessInfoCommand.ProcessNameParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkId=517012")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=517012")]
|
||||
[OutputType(typeof(PSHostProcessInfo))]
|
||||
public sealed class GetPSHostProcessInfoCommand : PSCmdlet
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Cmdlet to get available list of results
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, "Job", DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113328")]
|
||||
[Cmdlet(VerbsCommon.Get, "Job", DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113328")]
|
||||
[OutputType(typeof(Job))]
|
||||
public class GetJobCommand : JobCmdletBase
|
||||
{
|
||||
|
||||
@@ -123,7 +123,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// "Microsoft.PowerShell" is used.
|
||||
/// </summary>
|
||||
[Cmdlet("Invoke", "Command", DefaultParameterSetName = InvokeCommandCommand.InProcParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=135225", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135225", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
public class InvokeCommandCommand : PSExecutionCmdlet, IDisposable
|
||||
{
|
||||
#region Parameters
|
||||
|
||||
+2
-2
@@ -24,7 +24,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
///
|
||||
/// See Declarative Initial Session State (DISC)
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.New, "PSSessionConfigurationFile", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=217036")]
|
||||
[Cmdlet(VerbsCommon.New, "PSSessionConfigurationFile", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=217036")]
|
||||
public class NewPSSessionConfigurationFileCommand : PSCmdlet
|
||||
{
|
||||
#region Parameters
|
||||
@@ -1074,7 +1074,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
///
|
||||
/// Creates a role capability file suitable for use in a Role Capability (which can be referenced in a Session Configuration file)
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.New, "PSRoleCapabilityFile", HelpUri = "http://go.microsoft.com/fwlink/?LinkId=623708")]
|
||||
[Cmdlet(VerbsCommon.New, "PSRoleCapabilityFile", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=623708")]
|
||||
public class NewPSRoleCapabilityFileCommand : PSCmdlet
|
||||
{
|
||||
#region Parameters
|
||||
|
||||
+1
-1
@@ -401,7 +401,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Command to create an object for WSManConfigurationOption
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.New, "PSTransportOption", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=210608", RemotingCapability = RemotingCapability.None)]
|
||||
[Cmdlet(VerbsCommon.New, "PSTransportOption", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=210608", RemotingCapability = RemotingCapability.None)]
|
||||
[OutputType(typeof(WSManConfigurationOption))]
|
||||
public sealed class NewPSTransportOptionCommand : PSCmdlet
|
||||
{
|
||||
|
||||
+1
-1
@@ -263,7 +263,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// This class implements New-PSSessionOption cmdlet.
|
||||
/// Spec: TBD
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.New, "PSSessionOption", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=144305", RemotingCapability = RemotingCapability.None)]
|
||||
[Cmdlet(VerbsCommon.New, "PSSessionOption", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144305", RemotingCapability = RemotingCapability.None)]
|
||||
[OutputType(typeof(PSSessionOption))]
|
||||
public sealed class NewPSSessionOptionCommand : PSCmdlet
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Exit-PSSession cmdlet.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Exit, "PSSession", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=135212")]
|
||||
[Cmdlet(VerbsCommon.Exit, "PSSession", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135212")]
|
||||
public class ExitPSSessionCommand : PSRemotingCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// Enter-PSSession cmdlet.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Enter, "PSSession", DefaultParameterSetName = "ComputerName",
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=135210", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135210", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
public class EnterPSSessionCommand : PSRemotingBaseCmdlet
|
||||
{
|
||||
#region Strings
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
///
|
||||
/// </summary>
|
||||
[Cmdlet("Receive", "Job", DefaultParameterSetName = ReceiveJobCommand.LocationParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113372", RemotingCapability = RemotingCapability.SupportedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113372", RemotingCapability = RemotingCapability.SupportedByCommand)]
|
||||
public class ReceiveJobCommand : JobCmdletBase, IDisposable
|
||||
{
|
||||
#region Properties
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
[SuppressMessage("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")]
|
||||
[Cmdlet(VerbsCommunications.Receive, "PSSession", SupportsShouldProcess = true, DefaultParameterSetName = ReceivePSSessionCommand.SessionParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=217037", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=217037", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
public class ReceivePSSessionCommand : PSRemotingCmdlet
|
||||
{
|
||||
#region Parameters
|
||||
|
||||
@@ -764,7 +764,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// through get-psjob command.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Remove, "Job", SupportsShouldProcess = true, DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113377")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113377")]
|
||||
[OutputType(typeof(Job), ParameterSetName = new string[] { JobCmdletBase.JobParameterSet })]
|
||||
public class RemoveJobCommand : JobCmdletBase, IDisposable
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
#if !CORECLR
|
||||
[SuppressMessage("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")]
|
||||
[Cmdlet(VerbsLifecycle.Resume, "Job", SupportsShouldProcess = true, DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=210611")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=210611")]
|
||||
#endif
|
||||
[OutputType(typeof(Job))]
|
||||
public class ResumeJobCommand : JobCmdletBase, IDisposable
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// This cmdlet start invocation of jobs in background.
|
||||
/// </summary>
|
||||
[Cmdlet("Start", "Job", DefaultParameterSetName = StartJobCommand.ComputerNameParameterSet, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113405")]
|
||||
[Cmdlet("Start", "Job", DefaultParameterSetName = StartJobCommand.ComputerNameParameterSet, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113405")]
|
||||
[OutputType(typeof(PSRemotingJob))]
|
||||
public class StartJobCommand : PSExecutionCmdlet, IDisposable
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// This cmdlet stops the asynchronously invoked remote operations.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsLifecycle.Stop, "Job", SupportsShouldProcess = true, DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113413")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113413")]
|
||||
[OutputType(typeof(Job))]
|
||||
public class StopJobCommand : JobCmdletBase, IDisposable
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
#if !CORECLR
|
||||
[SuppressMessage("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")]
|
||||
[Cmdlet(VerbsLifecycle.Suspend, "Job", SupportsShouldProcess = true, DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=210613")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=210613")]
|
||||
[OutputType(typeof(Job))]
|
||||
#endif
|
||||
public class SuspendJobCommand : JobCmdletBase, IDisposable
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
///
|
||||
/// See Declarative Initial Session Config (DISC)
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsDiagnostic.Test, "PSSessionConfigurationFile", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=217039")]
|
||||
[Cmdlet(VerbsDiagnostic.Test, "PSSessionConfigurationFile", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=217039")]
|
||||
[OutputType(typeof(bool))]
|
||||
public class TestPSSessionConfigurationFileCommand : PSCmdlet
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// This cmdlet waits for job to complete.
|
||||
/// </summary>
|
||||
[Cmdlet("Wait", "Job", DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113422")]
|
||||
[Cmdlet("Wait", "Job", DefaultParameterSetName = JobCmdletBase.SessionIdParameterSet, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113422")]
|
||||
[OutputType(typeof(Job))]
|
||||
public class WaitJobCommand : JobCmdletBase, IDisposable
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
///
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, "PSSession", DefaultParameterSetName = PSRunspaceCmdlet.NameParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=135219", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135219", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
[OutputType(typeof(PSSession))]
|
||||
public class GetPSSessionCommand : PSRunspaceCmdlet, IDisposable
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
///
|
||||
[Cmdlet(VerbsCommon.New, "PSSession", DefaultParameterSetName = "ComputerName",
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=135237", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135237", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
[OutputType(typeof(PSSession))]
|
||||
public class NewPSSessionCommand : PSRemotingBaseCmdlet, IDisposable
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Remove, "PSSession", SupportsShouldProcess = true,
|
||||
DefaultParameterSetName = RemovePSSessionCommand.IdParameterSet,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=135250", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135250", RemotingCapability = RemotingCapability.OwnedByCommand)]
|
||||
public class RemovePSSessionCommand : PSRunspaceCmdlet
|
||||
{
|
||||
#region Parameters
|
||||
|
||||
@@ -249,7 +249,7 @@ namespace System.Management.Automation
|
||||
if (!System.Uri.IsWellFormedUriString(uriString, UriKind.RelativeOrAbsolute))
|
||||
{
|
||||
// WinBlue: 545315 Online help links are broken with localized help
|
||||
// Example: http://go.microsoft.com/fwlink/?LinkID=113324 (möglicherwei se auf Englisch)
|
||||
// Example: https://go.microsoft.com/fwlink/?LinkID=113324 (möglicherwei se auf Englisch)
|
||||
// Split the string based on <s> (space). We decided to go with this approach as
|
||||
// UX localization authors use spaces. Correctly extracting only the wellformed URI
|
||||
// is out-of-scope for this fix.
|
||||
@@ -316,7 +316,7 @@ namespace System.Management.Automation
|
||||
if (!System.Uri.IsWellFormedUriString(uriString, UriKind.RelativeOrAbsolute))
|
||||
{
|
||||
// WinBlue: 545315 Online help links are broken with localized help
|
||||
// Example: http://go.microsoft.com/fwlink/?LinkID=113324 (möglicherwei se auf Englisch)
|
||||
// Example: https://go.microsoft.com/fwlink/?LinkID=113324 (möglicherwei se auf Englisch)
|
||||
// Split the string based on <s> (space). We decided to go with this approach as
|
||||
// UX localization authors use spaces. Correctly extracting only the wellformed URI
|
||||
// is out-of-scope for this fix.
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// This class implements get-help command
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, "Help", DefaultParameterSetName = "AllUsersView", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113316")]
|
||||
[Cmdlet(VerbsCommon.Get, "Help", DefaultParameterSetName = "AllUsersView", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113316")]
|
||||
public sealed class GetHelpCommand : PSCmdlet
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// This class implements the Save-Help cmdlet
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsData.Save, "Help", DefaultParameterSetName = SaveHelpCommand.PathParameterSetName,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=210612")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=210612")]
|
||||
public sealed class SaveHelpCommand : UpdatableHelpCommandBase
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
@@ -159,13 +159,13 @@ namespace Microsoft.PowerShell.Commands
|
||||
|
||||
// TODO: assign real TechNet addresses
|
||||
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Diagnostics", "http://go.microsoft.com/fwlink/?linkid=390783");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Core", "http://go.microsoft.com/fwlink/?linkid=390782");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Utility", "http://go.microsoft.com/fwlink/?linkid=390787");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Host", "http://go.microsoft.com/fwlink/?linkid=390784");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Management", " http://go.microsoft.com/fwlink/?linkid=390785");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Security", " http://go.microsoft.com/fwlink/?linkid=390786");
|
||||
s_metadataCache.Add("Microsoft.WSMan.Management", "http://go.microsoft.com/fwlink/?linkid=390788");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Diagnostics", "https://go.microsoft.com/fwlink/?linkid=390783");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Core", "https://go.microsoft.com/fwlink/?linkid=390782");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Utility", "https://go.microsoft.com/fwlink/?linkid=390787");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Host", "https://go.microsoft.com/fwlink/?linkid=390784");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Management", " https://go.microsoft.com/fwlink/?linkid=390785");
|
||||
s_metadataCache.Add("Microsoft.PowerShell.Security", " https://go.microsoft.com/fwlink/?linkid=390786");
|
||||
s_metadataCache.Add("Microsoft.WSMan.Management", "https://go.microsoft.com/fwlink/?linkid=390788");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsData.Update, "Help", DefaultParameterSetName = PathParameterSetName,
|
||||
SupportsShouldProcess = true,
|
||||
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=210614")]
|
||||
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=210614")]
|
||||
public sealed class UpdateHelpCommand : UpdatableHelpCommandBase
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
<value>File {0} is published by {1}. This publisher is explicitly not trusted on your system. The script will not run on the system. For more information, run the command "get-help about_signing".</value>
|
||||
</data>
|
||||
<data name="Reason_RestrictedMode" xml:space="preserve">
|
||||
<value>File {0} cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.</value>
|
||||
<value>File {0} cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.</value>
|
||||
</data>
|
||||
<data name="Reason_Unknown" xml:space="preserve">
|
||||
<value>File {0} cannot be loaded. {1}.</value>
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
<value> This cmdlet supports the common parameters: Verbose, Debug,
|
||||
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
|
||||
OutBuffer, PipelineVariable, and OutVariable. For more information, see
|
||||
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). </value>
|
||||
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216). </value>
|
||||
</data>
|
||||
<data name="ParameterRequired" xml:space="preserve">
|
||||
<value>Required? </value>
|
||||
@@ -457,7 +457,7 @@ To update help again, add the Force parameter to your command.</value>
|
||||
PSPrivateMetadata, InputObject,
|
||||
PSParameterCollection, AsJob, PSUseSSL, and PSAllowRedirection.
|
||||
For more information, see about_Workflow_Common_Parameters
|
||||
(http://go.microsoft.com/fwlink/?LinkID=222527).</value>
|
||||
(https://go.microsoft.com/fwlink/?LinkID=222527).</value>
|
||||
</data>
|
||||
<data name="InvalidHelpInfoUriFormat" xml:space="preserve">
|
||||
<value>The HelpInfoURI {0} does not start with HTTP.</value>
|
||||
@@ -466,7 +466,7 @@ To update help again, add the Force parameter to your command.</value>
|
||||
<value>The root level element of the help content must be "helpItems".</value>
|
||||
</data>
|
||||
<data name="UpdateHelpPromptBody" xml:space="preserve">
|
||||
<value>The Update-Help cmdlet downloads the most current Help files for Windows PowerShell modules, and installs them on your computer. For more information about the Update-Help cmdlet, see http://go.microsoft.com/fwlink/?LinkId=210614.</value>
|
||||
<value>The Update-Help cmdlet downloads the most current Help files for Windows PowerShell modules, and installs them on your computer. For more information about the Update-Help cmdlet, see https://go.microsoft.com/fwlink/?LinkId=210614.</value>
|
||||
</data>
|
||||
<data name="UpdateHelpPromptTitle" xml:space="preserve">
|
||||
<value>Do you want to run Update-Help?</value>
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="HelpNotFound" xml:space="preserve">
|
||||
<value>Get-Help could not find {0} in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at http://go.microsoft.com/fwlink/?LinkID=107116.</value>
|
||||
<value>Get-Help could not find {0} in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at https://go.microsoft.com/fwlink/?LinkID=107116.</value>
|
||||
</data>
|
||||
<data name="HelpCategoryInvalid" xml:space="preserve">
|
||||
<value>Cannot process the Help category because "{0}" is not a valid Help category.</value>
|
||||
@@ -133,7 +133,7 @@
|
||||
<value>The Help file "{0}" is not a valid xml document. Details: {1}.</value>
|
||||
</data>
|
||||
<data name="LoadHelpFileForTargetFailed" xml:space="preserve">
|
||||
<value>An error occurred while loading Help content for {0} from file {1}. Details: {2}. To download updated Help topics, run the Update-Help cmdlet. To get help online, search for the Help topic in the TechNet library at http://go.microsoft.com/fwlink/?LinkID=107116.</value>
|
||||
<value>An error occurred while loading Help content for {0} from file {1}. Details: {2}. To download updated Help topics, run the Update-Help cmdlet. To get help online, search for the Help topic in the TechNet library at https://go.microsoft.com/fwlink/?LinkID=107116.</value>
|
||||
</data>
|
||||
<data name="ProviderLoadError" xml:space="preserve">
|
||||
<value>The provider "{0}" cannot be loaded. Details: {1}.</value>
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
<value>Signature verified.</value>
|
||||
</data>
|
||||
<data name="MshSignature_NotSigned" xml:space="preserve">
|
||||
<value>The file {0} is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170</value>
|
||||
<value>The file {0} is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170</value>
|
||||
</data>
|
||||
<data name="MshSignature_HashMismatch" xml:space="preserve">
|
||||
<value>The contents of file {0} might have been changed by an unauthorized user or process, because the hash of the file does not match the hash stored in the digital signature. The script cannot run on the specified system. For more information, run Get-Help about_Signing.</value>
|
||||
|
||||
@@ -238,10 +238,10 @@
|
||||
<value>The binding of default value '{0}' to parameter '{1}' failed: {2}</value>
|
||||
</data>
|
||||
<data name="SingleKeyInBadFormat" xml:space="preserve">
|
||||
<value>The key '{0}' does not have a valid format. For information about the correct format, see about_Parameters_Default_Values at http://go.microsoft.com/fwlink/?LinkId=228266.</value>
|
||||
<value>The key '{0}' does not have a valid format. For information about the correct format, see about_Parameters_Default_Values at https://go.microsoft.com/fwlink/?LinkId=228266.</value>
|
||||
</data>
|
||||
<data name="MultipleKeysInBadFormat" xml:space="preserve">
|
||||
<value>The keys '{0}' do not have valid formats. For information about the correct format, see about_Parameters_Default_Values at http://go.microsoft.com/fwlink/?LinkId=228266.</value>
|
||||
<value>The keys '{0}' do not have valid formats. For information about the correct format, see about_Parameters_Default_Values at https://go.microsoft.com/fwlink/?LinkId=228266.</value>
|
||||
</data>
|
||||
<data name="UseOfDeprecatedParameterWarning" xml:space="preserve">
|
||||
<value>Parameter '{0}' is obsolete. {1}</value>
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Class that implements export-console cmdlet.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsData.Export, "Console", SupportsShouldProcess = true, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113298")]
|
||||
[Cmdlet(VerbsData.Export, "Console", SupportsShouldProcess = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113298")]
|
||||
public sealed class ExportConsoleCommand : ConsoleCmdletsBase
|
||||
{
|
||||
#region Parameters
|
||||
|
||||
@@ -263,7 +263,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Class that implements add-pssnapin cmdlet.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Add, "PSSnapin", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113281")]
|
||||
[Cmdlet(VerbsCommon.Add, "PSSnapin", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113281")]
|
||||
[OutputType(typeof(PSSnapInInfo))]
|
||||
public sealed class AddPSSnapinCommand : PSSnapInCommandBase
|
||||
{
|
||||
@@ -538,7 +538,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Class that implements remove-pssnapin cmdlet.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Remove, "PSSnapin", SupportsShouldProcess = true, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113378")]
|
||||
[Cmdlet(VerbsCommon.Remove, "PSSnapin", SupportsShouldProcess = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113378")]
|
||||
[OutputType(typeof(PSSnapInInfo))]
|
||||
public sealed class RemovePSSnapinCommand : PSSnapInCommandBase
|
||||
{
|
||||
@@ -702,7 +702,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Class that implements get-pssnapin cmdlet.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Get, "PSSnapin", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=113330")]
|
||||
[Cmdlet(VerbsCommon.Get, "PSSnapin", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113330")]
|
||||
[OutputType(typeof(PSSnapInInfo))]
|
||||
public sealed class GetPSSnapinCommand : PSSnapInCommandBase
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user