Skip to content

Commit

Permalink
Start-Tcping alias
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoNabas committed Sep 1, 2023
1 parent 35dcf5a commit 1899089
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 45 deletions.
2 changes: 1 addition & 1 deletion Tools/PSModule/WindowsUtils.psd1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@{
GUID = 'C5F7B91E-668D-46AC-9F0E-23B0A74ABCBA'
ModuleVersion = '1.8.0'
ModuleVersion = '1.8.1'
RootModule = 'WindowsUtils.dll'
CompatiblePSEditions = @(
'Desktop',
Expand Down
1 change: 1 addition & 0 deletions src/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,7 @@ protected override void ProcessRecord()
/// </summary>
[Cmdlet(VerbsLifecycle.Start, "Tcping")]
[OutputType(typeof(TcpingProbeInfo), typeof(TcpingStatistics))]
[Alias("tcping")]
public class StartTcpingCommand : CoreCommandBase
{
private readonly Wrapper _unwrapper = new();
Expand Down
35 changes: 14 additions & 21 deletions src/obj/WindowsUtils.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"format": 1,
"restore": {
"C:\\LocalRepositories\\.WindowsUtils\\src\\WindowsUtils.csproj": {}
"C:\\LocalRepositories\\WindowsUtils\\src\\WindowsUtils.csproj": {}
},
"projects": {
"C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"restore": {
"projectUniqueName": "C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj",
"projectUniqueName": "C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj",
"projectName": "WuCore",
"projectPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj",
"projectPath": "C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj",
"frameworks": {
"native": {
"projectReferences": {}
Expand All @@ -19,22 +19,18 @@
"native": {}
}
},
"C:\\LocalRepositories\\.WindowsUtils\\src\\WindowsUtils.csproj": {
"C:\\LocalRepositories\\WindowsUtils\\src\\WindowsUtils.csproj": {
"version": "1.7.0",
"restore": {
"projectUniqueName": "C:\\LocalRepositories\\.WindowsUtils\\src\\WindowsUtils.csproj",
"projectUniqueName": "C:\\LocalRepositories\\WindowsUtils\\src\\WindowsUtils.csproj",
"projectName": "WindowsUtils",
"projectPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\WindowsUtils.csproj",
"projectPath": "C:\\LocalRepositories\\WindowsUtils\\src\\WindowsUtils.csproj",
"packagesPath": "C:\\Users\\francisco.nabas\\.nuget\\packages\\",
"outputPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\obj\\",
"outputPath": "C:\\LocalRepositories\\WindowsUtils\\src\\obj\\",
"projectStyle": "PackageReference",
"crossTargeting": true,
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\francisco.nabas\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
Expand All @@ -49,16 +45,16 @@
"net472": {
"targetAlias": "net472",
"projectReferences": {
"C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
"C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
}
}
},
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {
"C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
"C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
}
}
}
Expand All @@ -67,9 +63,6 @@
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "default"
}
},
"frameworks": {
Expand Down Expand Up @@ -111,7 +104,7 @@
"version": "[0.3.0, )"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100-preview.7.23376.3\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
},
"netstandard2.0": {
"targetAlias": "netstandard2.0",
Expand Down Expand Up @@ -168,7 +161,7 @@
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100-preview.7.23376.3\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
}
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/obj/WindowsUtils.csproj.nuget.g.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\francisco.nabas\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\francisco.nabas\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\francisco.nabas\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net472' AND '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgXmlDoc2CmdletDoc Condition=" '$(PkgXmlDoc2CmdletDoc)' == '' ">C:\Users\francisco.nabas\.nuget\packages\xmldoc2cmdletdoc\0.3.0</PkgXmlDoc2CmdletDoc>
Expand Down
28 changes: 10 additions & 18 deletions src/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1515,25 +1515,20 @@
]
},
"packageFolders": {
"C:\\Users\\francisco.nabas\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
"C:\\Users\\francisco.nabas\\.nuget\\packages\\": {}
},
"project": {
"version": "1.7.0",
"restore": {
"projectUniqueName": "C:\\LocalRepositories\\.WindowsUtils\\src\\WindowsUtils.csproj",
"projectUniqueName": "C:\\LocalRepositories\\WindowsUtils\\src\\WindowsUtils.csproj",
"projectName": "WindowsUtils",
"projectPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\WindowsUtils.csproj",
"projectPath": "C:\\LocalRepositories\\WindowsUtils\\src\\WindowsUtils.csproj",
"packagesPath": "C:\\Users\\francisco.nabas\\.nuget\\packages\\",
"outputPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\obj\\",
"outputPath": "C:\\LocalRepositories\\WindowsUtils\\src\\obj\\",
"projectStyle": "PackageReference",
"crossTargeting": true,
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\francisco.nabas\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
Expand All @@ -1548,16 +1543,16 @@
"net472": {
"targetAlias": "net472",
"projectReferences": {
"C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
"C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
}
}
},
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {
"C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\.WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
"C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj": {
"projectPath": "C:\\LocalRepositories\\WindowsUtils\\src\\ClrCore\\WuCore.vcxproj"
}
}
}
Expand All @@ -1566,9 +1561,6 @@
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "default"
}
},
"frameworks": {
Expand Down Expand Up @@ -1610,7 +1602,7 @@
"version": "[0.3.0, )"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100-preview.7.23376.3\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
},
"netstandard2.0": {
"targetAlias": "netstandard2.0",
Expand Down Expand Up @@ -1667,7 +1659,7 @@
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100-preview.7.23376.3\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "lkd+gzFcatV1kFI81eiQAL9tMJ6aSKYj3sgo+GEdYhr+cBeF8XYq1FOLhHRcPQ+3heF5Mf7R51mgBPZNtnwvHQ==",
"dgSpecHash": "sSbVomkR0LHTYsHV7yzTbTgD+cndauDPZ14Xm6VZoTWisS+M0z7Gq0WE221BpZvjgFi5bPx8jVFGLtpjOVoEpA==",
"success": true,
"projectFilePath": "C:\\LocalRepositories\\.WindowsUtils\\src\\WindowsUtils.csproj",
"projectFilePath": "C:\\LocalRepositories\\WindowsUtils\\src\\WindowsUtils.csproj",
"expectedPackageFiles": [
"C:\\Users\\francisco.nabas\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\7.0.0\\microsoft.bcl.asyncinterfaces.7.0.0.nupkg.sha512",
"C:\\Users\\francisco.nabas\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
Expand Down

0 comments on commit 1899089

Please sign in to comment.