Skip to content

Commit 3938bd3

Browse files
committed
Added Ep11 PowerShell Functions
1 parent ad389f6 commit 3938bd3

File tree

3 files changed

+468
-0
lines changed

3 files changed

+468
-0
lines changed

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"ms-vscode.PowerShell"
6+
]
7+
}

.vscode/tasks.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// Available variables which can be used inside of strings.
2+
// ${workspaceRoot}: the root folder of the team
3+
// ${file}: the current opened file
4+
// ${relativeFile}: the current opened file relative to workspaceRoot
5+
// ${fileBasename}: the current opened file's basename
6+
// ${fileDirname}: the current opened file's dirname
7+
// ${fileExtname}: the current opened file's extension
8+
// ${cwd}: the current working directory of the spawned process
9+
{
10+
// See https://go.microsoft.com/fwlink/?LinkId=733558
11+
// for the documentation about the tasks.json format
12+
"version": "2.0.0",
13+
// Start PowerShell
14+
"windows": {
15+
"options": {
16+
"shell": {
17+
//"executable": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
18+
// "executable": "C:\\Program Files\\PowerShell\\6\\pwsh.exe",
19+
"executable": "${env:ProgramFiles}/PowerShell/7/pwsh.exe",
20+
"args": [
21+
"-NoProfile",
22+
"-ExecutionPolicy",
23+
"Bypass",
24+
"-Command"
25+
]
26+
}
27+
}
28+
},
29+
"linux": {
30+
"options": {
31+
"shell": {
32+
"executable": "/usr/bin/pwsh",
33+
"args": [
34+
"-NoProfile",
35+
"-Command"
36+
]
37+
}
38+
}
39+
},
40+
"osx": {
41+
"options": {
42+
"shell": {
43+
"executable": "/usr/local/bin/pwsh",
44+
"args": [
45+
"-NoProfile",
46+
"-Command"
47+
]
48+
}
49+
}
50+
}
51+
}

0 commit comments

Comments
 (0)