mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
18 lines
358 B
PowerShell
18 lines
358 B
PowerShell
<#
|
|
.DESCRIPTION
|
|
Powershell API for SnipeIt Asset Management
|
|
#>
|
|
$scriptRoot = $PSScriptRoot + '\Public'
|
|
|
|
Get-ChildItem $scriptRoot *.ps1 | ForEach-Object {
|
|
Import-Module $_.FullName
|
|
}
|
|
|
|
$scriptRoot = $PSScriptRoot + '\Private'
|
|
|
|
Get-ChildItem $scriptRoot *.ps1 | ForEach-Object {
|
|
Import-Module $_.FullName
|
|
}
|
|
|
|
#Create unprefixed aliases
|
|
Set-SnipeItAlias
|