Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Rokory/PSToolsAndSamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

PowerShell Tools and Samples

This content of this repository has been moved to various separate repositories.

Scripts

Clone the repository with the following sample scripts from https://github.com/Rokory/PSSamples

Menu.ps1

Example pattern for a text-based menu. Demonstrates Write-Host, Read-Host, loops and switch constructs.

Classes.ps1

This script demonstrates the usage of object-oriented features in PowerShell. It is recommended to run this in debug mode to understand what's going on. The comments will help understanding the concepts.

Setup-CIDatabase.ps1 and Update-CIAssets.ps1

Sample powershell script for retrieving computer inventory data and storing it in a database. Demonstrates working with SQL and error handling.

Modules

BITSDownload

start a synchronous download of a file using BITS. Demonstrates handling of multiple pipeline values and the usage of a progress bar. Clone it from https://github.com/Rokory/BITSDownload.

IpConfiguration

Provides an easy way to set the most common IP configuration settings. Demonstrates parameter sets and comment-based help. Clone it from https://github.com/Rokory/IpConfiguration.

SQLUtility

Cmdlets to download and install SQL Server 2019 Developer or Express editition, as well as connecting, querying and manipulating databases. Demonstrate the support of the -WhatIf parameter. Clone it from https://github.com/Rokory/SQLUtility.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published