Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monosoul/basic_functions.psm1
Some basic functions for PowerShell that may be used in many scripts
https://github.com/monosoul/basic_functions.psm1
Last synced: about 2 months ago
JSON representation
Some basic functions for PowerShell that may be used in many scripts
- Host: GitHub
- URL: https://github.com/monosoul/basic_functions.psm1
- Owner: monosoul
- Created: 2015-04-20T06:51:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-26T12:05:26.000Z (almost 9 years ago)
- Last Synced: 2023-08-02T22:07:33.995Z (over 1 year ago)
- Language: PowerShell
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# basic_functions.psm1
Some basic functions for PowerShell that may be used in many scripts### How to use
Import-Module "\basic_functions.psm1" -DisableNameChecking
### Functions list#### Remove-File
This function removes file if it's exist.Get-Help Remove-File -Full
#### Convert-DecToSysNum
This function converts decimal to any other system of numeration (up to 36).Get-Help Convert-DecToSysNum -Full
#### Import-ExcelAsCsv
This function imports Excel workbook to PS custom object just like Import-Csv. It could import only one selected worksheet or all of them to a single object.Get-Help Import-ExcelAsCsv -Full
#### Create-ExcelOfCSV
This function creates one Excel workbook out of one or multiple csv files. Worksheets of workbook would be named as csv files.Get-Help Create-ExcelOfCSV -Full
#### Get-ADCredentials
This function would show window for credentials input and would check credentials for validity.Get-Help Get-ADCredentials -Full
#### New-ADComputer-ADSI
This function would create computer object in specified AD OU. Also if AddUserName is specified, then all priviligies on created computer object would be granted to specified user.Get-Help New-ADComputer-ADSI -Full