https://github.com/zhaotianff/powershellmanual
Powershell study notes.PowerShell from entry to giving up
https://github.com/zhaotianff/powershellmanual
powershell powershell-script ps1 visual-studio
Last synced: 9 months ago
JSON representation
Powershell study notes.PowerShell from entry to giving up
- Host: GitHub
- URL: https://github.com/zhaotianff/powershellmanual
- Owner: zhaotianff
- License: mit
- Created: 2018-09-18T07:41:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T07:16:23.000Z (over 5 years ago)
- Last Synced: 2025-04-06T05:24:17.460Z (about 1 year ago)
- Topics: powershell, powershell-script, ps1, visual-studio
- Language: PowerShell
- Homepage:
- Size: 219 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PowerShellManual
Basic PowerShell Script Collection
You can run the above script directly in powershell or in Visual Studio. To run in Visual Studio, you need to install PowerShell Tools for Visual Studio extensions.
PowerShell Tools for Visual Studio 2017/2019
https://marketplace.visualstudio.com/items?itemName=AdamRDriscoll.PowerShellToolsforVisualStudio2017-18561
PowerShell Tools for Visual Studio 2015
https://marketplace.visualstudio.com/items?itemName=AdamRDriscoll.PowerShellToolsforVisualStudio2015
PowerShell Tools for Visual Studio 2013
https://marketplace.visualstudio.com/items?itemName=AdamRDriscoll.PowerShellToolsforVisualStudio2013
How to execute script
Visual Studio
Windows Exporer
You'd better execute each commands separately
Check output
Script List
* [1_PowerShellOverview](001_PowerShellOverview.ps1)
* [2_Print HelloWorld](002_HelloWorld.ps1)
* [3_FundamentalOperation](003_FundamentalOperation.ps1)
* [4_Commands](004_Commands.ps1)
* [5_Variable](005_Variable.ps1)
* [6_VariableScope](006_VariableScope.ps1)
* [7_FormatPrint](007_FormatPrint.ps1)
* [8_Pipelines](008_Pipelines.ps1)
* [9_PipelinesFilter](009_PipelineFilter.ps1)
* [10_DotNetObject](010_DotNetObject.ps1)
* [11_DotNetGeneric](011_DotNetGeneric.ps1)
* [12_DotNetSample_ImgViewer](012_DotNetSample_ImgViewer.ps1)
* [13_ConditionalStatement](013_ConditionalStatement.ps1)
* [14_String](014_String.ps1)
* [15_BasicCalculation](015_BasicCalculation.ps1)
* [16_Functions](016_Functions.ps1)
* [17_CodeReuse](017_CodeReuse.ps1)
* [18_CodeReuseExample](018_CodeReuseExample.ps1)
* [19_PipelineOrientedScripts](019_PipelineOrientedScripts.ps1)
* [20_ListAndArray](020_ListAndArray.ps1)
* [21_FilesAndDirectoriesManagement](021_FilesAndDirectoriesManagement.ps1)
* [22_InvokeWinAPI](022_InvokeWinAPI.ps1)
* [23_Processes](023_Processes.ps1)
* [24_Services](024_Services.ps1)
* [25_WindowsRegistry](025_WindowsRegistry.ps1)
* [26_XML](026_XML.ps1)
* [27_UserInteraction](027_UserInteraction.ps1)
* [28_NetworkConfiguration](028_NetworkConfiguration.ps1)
* [Utilities](Utilities.ps1)
## License
Code licensed under the [MIT License](LICENSE).