Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Microsoft.PowerShell.Commands
///
/// Class that implements the Get-WinEvent cmdlet.
///
[Cmdlet(VerbsCommon.Get, "WinEvent", DefaultParameterSetName = "GetLogSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=138336")]
[Cmdlet(VerbsCommon.Get, "WinEvent", DefaultParameterSetName = "GetLogSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096581")]
public sealed class GetWinEventCommand : PSCmdlet
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.PowerShell.Commands
/// Class that implements the New-WinEvent cmdlet.
/// This cmdlet writes a new Etw event using the provider specified in parameter.
///
[Cmdlet(VerbsCommon.New, "WinEvent", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=217469")]
[Cmdlet(VerbsCommon.New, "WinEvent", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096808")]
public sealed class NewWinEventCommand : PSCmdlet
{
private ProviderMetadata _providerMetadata;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.PowerShell.Commands
/// A command that appends the specified content to the item at the specified path.
/// </summary>
[Cmdlet(VerbsCommon.Add, "Content", DefaultParameterSetName = "Path", SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113278")]
HelpUri = "https://go.microsoft.com/fwlink/?linkid=2096489")]
public class AddContentCommand : WriteContentCommandBase
{
#region protected members
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.PowerShell.Commands
/// A command that appends the specified content to the item at the specified path.
/// </summary>
[Cmdlet(VerbsCommon.Clear, "Content", DefaultParameterSetName = "Path", SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113282")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096807")]
public class ClearContentCommand : ContentCommandBase
{
#region Command code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.PowerShell.Commands
/// A command to clear the value of a property of an item at a specified path.
/// </summary>
[Cmdlet(VerbsCommon.Clear, "ItemProperty", DefaultParameterSetName = "Path", SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113284")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096903")]
public class ClearItemPropertyCommand : PassThroughItemPropertyCommandBase
{
#region Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.PowerShell.Commands
/// A command that adds the parent and child parts of a path together
/// with the appropriate path separator.
/// </summary>
[Cmdlet(VerbsCommon.Join, "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113347")]
[Cmdlet(VerbsCommon.Join, "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096811")]
[OutputType(typeof(string))]
public class JoinPathCommand : CoreCommandWithCredentialsBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public enum WaitForServiceTypes
/// Restarts the computer.
/// </summary>
[Cmdlet(VerbsLifecycle.Restart, "Computer", SupportsShouldProcess = true, DefaultParameterSetName = DefaultParameterSet,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135253", RemotingCapability = RemotingCapability.OwnedByCommand)]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097060", RemotingCapability = RemotingCapability.OwnedByCommand)]
public class RestartComputerCommand : PSCmdlet, IDisposable
{
#region "Parameters and PrivateData"
Expand Down Expand Up @@ -1117,7 +1117,7 @@ protected override void StopProcessing()
/// Cmdlet to stop computer.
/// </summary>
[Cmdlet(VerbsLifecycle.Stop, "Computer", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135263", RemotingCapability = RemotingCapability.SupportedByCommand)]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097151", RemotingCapability = RemotingCapability.SupportedByCommand)]
public sealed class StopComputerCommand : PSCmdlet, IDisposable
{
#region Private Members
Expand Down Expand Up @@ -1277,7 +1277,7 @@ private void ProcessWSManProtocol(object[] flags)
/// </summary>

[Cmdlet(VerbsCommon.Rename, "Computer", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=219990", RemotingCapability = RemotingCapability.SupportedByCommand)]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097054", RemotingCapability = RemotingCapability.SupportedByCommand)]
public class RenameComputerCommand : PSCmdlet
{
#region Private Members
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.PowerShell.Commands
/// a provider internal path.
/// </summary>
[Cmdlet(VerbsData.Convert, "Path", DefaultParameterSetName = "Path", SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113289", RemotingCapability = RemotingCapability.None)]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096588", RemotingCapability = RemotingCapability.None)]
[OutputType(typeof(string))]
public class ConvertPathCommand : CoreCommandBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.PowerShell.Commands
/// A command to copy a property on an item.
/// </summary>
[Cmdlet(VerbsCommon.Copy, "ItemProperty", DefaultParameterSetName = "Path", SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113293")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096589")]
public class CopyItemPropertyCommand : PassThroughItemPropertyCommandBase
{
#region Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.PowerShell.Commands
/// </summary>
/// <remarks>
/// </remarks>
[Cmdlet(VerbsCommon.Get, "ChildItem", DefaultParameterSetName = "Items", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113308")]
[Cmdlet(VerbsCommon.Get, "ChildItem", DefaultParameterSetName = "Items", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096492")]
public class GetChildItemCommand : CoreCommandBase
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Microsoft.PowerShell.Commands
/// about a computer.
/// </summary>
[Cmdlet(VerbsCommon.Get, "ComputerInfo",
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=799466")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=2096810")]
[Alias("gin")]
[OutputType(typeof(ComputerInfo), typeof(PSObject))]
public class GetComputerInfoCommand : PSCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.PowerShell.Commands
/// <summary>
/// A command to get the content of an item at a specified path.
/// </summary>
[Cmdlet(VerbsCommon.Get, "Content", DefaultParameterSetName = "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113310")]
[Cmdlet(VerbsCommon.Get, "Content", DefaultParameterSetName = "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096490")]
public class GetContentCommand : ContentCommandBase
{
#region Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.PowerShell.Commands
/// <summary>
/// A command to get the property of an item at a specified path.
/// </summary>
[Cmdlet(VerbsCommon.Get, "ItemProperty", DefaultParameterSetName = "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113320")]
[Cmdlet(VerbsCommon.Get, "ItemProperty", DefaultParameterSetName = "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096493")]
public class GetItemPropertyCommand : ItemPropertyCommandBase
{
#region Parameters
Expand Down Expand Up @@ -167,7 +167,7 @@ protected override void ProcessRecord()
/// <summary>
/// A command to get the property value of an item at a specified path.
/// </summary>
[Cmdlet(VerbsCommon.Get, "ItemPropertyValue", DefaultParameterSetName = "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkId=389281")]
[Cmdlet(VerbsCommon.Get, "ItemPropertyValue", DefaultParameterSetName = "Path", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkId=2096906")]
public sealed class GetItemPropertyValueCommand : ItemPropertyCommandBase
{
#region Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.PowerShell.Commands
/// A command to move a property on an item to another item.
/// </summary>
[Cmdlet(VerbsCommon.Move, "ItemProperty", SupportsShouldProcess = true, DefaultParameterSetName = "Path", SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113351")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096817")]
public class MoveItemPropertyCommand : PassThroughItemPropertyCommandBase
{
#region Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ internal override CmdletProviderContext CmdletProviderContext
/// </summary>
/// <remarks>
/// </remarks>
[Cmdlet(VerbsCommon.Get, "Location", DefaultParameterSetName = LocationParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113321")]
[Cmdlet(VerbsCommon.Get, "Location", DefaultParameterSetName = LocationParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096495")]
[OutputType(typeof(PathInfo), ParameterSetName = new string[] { LocationParameterSet })]
[OutputType(typeof(PathInfoStack), ParameterSetName = new string[] { StackParameterSet })]
public class GetLocationCommand : DriveMatchingCoreCommandBase
Expand Down Expand Up @@ -633,7 +633,7 @@ protected override void ProcessRecord()
/// The core command for setting/changing location.
/// This is the equivalent of cd command.
/// </summary>
[Cmdlet(VerbsCommon.Set, "Location", DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113397")]
[Cmdlet(VerbsCommon.Set, "Location", DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097049")]
[OutputType(typeof(PathInfo), typeof(PathInfoStack))]
public class SetLocationCommand : CoreCommandBase
{
Expand Down Expand Up @@ -809,7 +809,7 @@ protected override void ProcessRecord()
/// The core command for setting/changing location and pushing it onto a location stack.
/// This is the equivalent of the pushd command.
/// </summary>
[Cmdlet(VerbsCommon.Push, "Location", DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113370")]
[Cmdlet(VerbsCommon.Push, "Location", DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097105")]
public class PushLocationCommand : CoreCommandBase
{
#region Command parameters
Expand Down Expand Up @@ -967,7 +967,7 @@ protected override void ProcessRecord()
/// The core command for pop-location. This is the equivalent of the popd command.
/// It pops a container from the stack and sets the current location to that container.
/// </summary>
[Cmdlet(VerbsCommon.Pop, "Location", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113369")]
[Cmdlet(VerbsCommon.Pop, "Location", SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096907")]
public class PopLocationCommand : CoreCommandBase
{
#region Command parameters
Expand Down Expand Up @@ -1078,7 +1078,7 @@ protected override void ProcessRecord()
/// Mounts a drive in the Monad namespace.
/// </summary>
[Cmdlet(VerbsCommon.New, "PSDrive", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Low,
SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113357")]
SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096815")]
public class NewPSDriveCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -1480,7 +1480,7 @@ internal List<PSDriveInfo> GetMatchingDrives(
/// Removes a drive that is mounted in the Monad namespace.
/// </summary>
[Cmdlet(VerbsCommon.Remove, "PSDrive", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113376")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097050")]
public class RemovePSDriveCommand : DriveMatchingCoreCommandBase
{
#region Command parameters
Expand Down Expand Up @@ -1657,7 +1657,7 @@ protected override void ProcessRecord()
/// Gets a specified or listing of drives that are mounted in the Monad
/// namespace.
/// </summary>
[Cmdlet(VerbsCommon.Get, "PSDrive", DefaultParameterSetName = NameParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113327")]
[Cmdlet(VerbsCommon.Get, "PSDrive", DefaultParameterSetName = NameParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096494")]
[OutputType(typeof(PSDriveInfo))]
public class GetPSDriveCommand : DriveMatchingCoreCommandBase
{
Expand Down Expand Up @@ -1841,7 +1841,7 @@ protected override void ProcessRecord()
/// <summary>
/// Gets the specified item using the namespace providers.
/// </summary>
[Cmdlet(VerbsCommon.Get, "Item", DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113319")]
[Cmdlet(VerbsCommon.Get, "Item", DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096812")]
public class GetItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -2010,7 +2010,7 @@ protected override void ProcessRecord()
/// Creates the specified item using the namespace providers.
/// </summary>
[Cmdlet(VerbsCommon.New, "Item", DefaultParameterSetName = PathParameterSet, SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113353")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096592")]
public class NewItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -2161,7 +2161,7 @@ protected override void ProcessRecord()
/// <summary>
/// Sets the specified item using the namespace providers.
/// </summary>
[Cmdlet(VerbsCommon.Set, "Item", SupportsShouldProcess = true, DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113395")]
[Cmdlet(VerbsCommon.Set, "Item", SupportsShouldProcess = true, DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097055")]
public class SetItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -2364,7 +2364,7 @@ protected override void ProcessRecord()
/// <summary>
/// Removes the specified item using the namespace providers.
/// </summary>
[Cmdlet(VerbsCommon.Remove, "Item", SupportsShouldProcess = true, DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113373")]
[Cmdlet(VerbsCommon.Remove, "Item", SupportsShouldProcess = true, DefaultParameterSetName = PathParameterSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097103")]
public class RemoveItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -2792,7 +2792,7 @@ protected override void ProcessRecord()
/// the namespace providers.
/// </summary>
[Cmdlet(VerbsCommon.Move, "Item", DefaultParameterSetName = PathParameterSet, SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113350")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096591")]
public class MoveItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -3168,7 +3168,7 @@ private void MoveItem(string path, bool literalPath = false)
/// Renames a specified item to a new name using the namespace providers.
/// </summary>
[Cmdlet(VerbsCommon.Rename, "Item", SupportsShouldProcess = true, SupportsTransactions = true, DefaultParameterSetName = ByPathParameterSet,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113382")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097153")]
public class RenameItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -3509,7 +3509,7 @@ private void RenameItem(string path, bool literalPath = false)
/// Copies a specified item to a new location using the namespace providers.
/// </summary>
[Cmdlet(VerbsCommon.Copy, "Item", DefaultParameterSetName = PathParameterSet, SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113292")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096990")]
public class CopyItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -3768,7 +3768,7 @@ protected override void ProcessRecord()
/// Clears an item at the specified location.
/// </summary>
[Cmdlet(VerbsCommon.Clear, "Item", DefaultParameterSetName = PathParameterSet, SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113283")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096491")]
public class ClearItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -3957,7 +3957,7 @@ protected override void ProcessRecord()
/// Invokes an item at the specified location.
/// </summary>
[Cmdlet(VerbsLifecycle.Invoke, "Item", DefaultParameterSetName = PathParameterSet, SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113345")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096590")]
public class InvokeItemCommand : CoreCommandWithCredentialsBase
{
#region Command parameters
Expand Down Expand Up @@ -4124,7 +4124,7 @@ protected override void ProcessRecord()
/// <summary>
/// Gets a core command provider by name.
/// </summary>
[Cmdlet(VerbsCommon.Get, "PSProvider", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113329")]
[Cmdlet(VerbsCommon.Get, "PSProvider", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096816")]
[OutputType(typeof(ProviderInfo))]
public class GetPSProviderCommand : CoreCommandBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.PowerShell.Commands
/// A command to create a new property on an object.
/// </summary>
[Cmdlet(VerbsCommon.New, "ItemProperty", DefaultParameterSetName = "Path", SupportsShouldProcess = true, SupportsTransactions = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113354")]
HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096813")]
public class NewItemPropertyCommand : ItemPropertyCommandBase
{
#region Parameters
Expand Down
Loading