me
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
PowershellScriptHider/.vs/PowershellScriptHider/desktop.ini
Normal file
BIN
PowershellScriptHider/.vs/PowershellScriptHider/desktop.ini
Normal file
Binary file not shown.
BIN
PowershellScriptHider/.vs/PowershellScriptHider/v16/.suo
Normal file
BIN
PowershellScriptHider/.vs/PowershellScriptHider/v16/.suo
Normal file
Binary file not shown.
BIN
PowershellScriptHider/.vs/PowershellScriptHider/v16/desktop.ini
Normal file
BIN
PowershellScriptHider/.vs/PowershellScriptHider/v16/desktop.ini
Normal file
Binary file not shown.
BIN
PowershellScriptHider/.vs/desktop.ini
Normal file
BIN
PowershellScriptHider/.vs/desktop.ini
Normal file
Binary file not shown.
25
PowershellScriptHider/PowershellScriptHider.sln
Normal file
25
PowershellScriptHider/PowershellScriptHider.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31402.337
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowershellScriptHider", "PowershellScriptHider\PowershellScriptHider.csproj", "{6460C143-3C00-4D76-B45A-C09C4ABB71DB}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {C4163471-428C-461F-8685-91A833B0CBFC}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<ApplicationIcon />
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.1.3" />
|
||||
<PackageReference Include="System.Management.Automation" Version="7.1.3" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
21
PowershellScriptHider/PowershellScriptHider/Program.cs
Normal file
21
PowershellScriptHider/PowershellScriptHider/Program.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Microsoft.Management;
|
||||
using Microsoft;
|
||||
|
||||
namespace PowershellScriptHider
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
//args = new string[](){ @"D:\Drive\טוויקים למחשב\סקריפטוש\Powershell\abbyy shortcuts.ps1", ""};
|
||||
System.Management.Automation.PowerShell powerShell = System.Management.Automation.PowerShell.Create();
|
||||
//foreach (var arg in args)
|
||||
//{
|
||||
// powerShell.AddCommand(System.IO.File.ReadAllText(arg));
|
||||
//}
|
||||
string s = System.IO.File.ReadAllText(@"D:\Drive\טוויקים למחשב\סקריפטוש\Powershell\abbyy shortcuts.ps1",System.Text.Encoding.UTF8);
|
||||
powerShell.AddScript(s);
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\סארט\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\סארט\\.nuget\\packages",
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
]
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net5.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user