mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
Get-SnipeItAlias provides this now
This commit is contained in:
parent
3938f360d3
commit
f12e1346db
1 changed files with 0 additions and 38 deletions
|
|
@ -14,43 +14,5 @@ Get-ChildItem $scriptRoot *.ps1 | ForEach-Object {
|
|||
Import-Module $_.FullName
|
||||
}
|
||||
|
||||
|
||||
$SnipeItAliases= @{'Get-Asset' = 'Get-SnipeItAsset';
|
||||
'Get-AssetMaintenance' = 'Get-SnipeItAssetMaintenance';
|
||||
'Get-Category' = 'Get-SnipeItCategory';
|
||||
'Get-Company' = 'Get-SnipeItCompany';
|
||||
'Get-Component' = 'Get-SnipeItCompany';
|
||||
'Get-CustomField' = 'Get-SnipeItCustomField';
|
||||
'Get-Department' = 'Get-SnipeItDepartment';
|
||||
'Get-Fieldset' = 'Get-SnipeItFieldset';
|
||||
'Get-Manufacturer' = 'Get-SnipeItManufacturer';
|
||||
'Get-Model' = 'Get-SnipeItModel';
|
||||
'Get-Status' = 'Get-SnipeItStatus';
|
||||
'Get-Supplier' = 'Get-SnipeItSupplier';
|
||||
'Get-User' = 'Get-SnipeItUser';
|
||||
'New-Asset' = 'New-SnipeItAsset';
|
||||
'New-AssetMaintenance' = 'New-SnipeItAssetMaintenance';
|
||||
'New-Category' = 'New-SnipeItCategory';
|
||||
'New-Component' = 'New-SnipeItComponent';
|
||||
'New-CustomField' = 'New-SnipeItCustomField';
|
||||
'New-Department' = 'New-SnipeItDepartment';
|
||||
'New-License' = 'New-SnipeItLicense';
|
||||
'Set-License' = 'Set-SnipeItLicense';
|
||||
'New-Location' = 'New-SnipeItLocation';
|
||||
'New-Manufacturer' = 'New-SnipeItManufacturer';
|
||||
'New-Model' = 'New-SnipeItModel';
|
||||
'New-User' = 'New-SnipeItUser';
|
||||
'Set-Asset' = 'Set-SnipeItAsset';
|
||||
'Set-AssetOwner' = 'Set-SnipeItAssetOwner';
|
||||
'Set-Component' = 'Set-SnipeItComponent';
|
||||
'Set-Model' = 'Set-SnipeItModel';
|
||||
'Set-Info' = 'Set-SnipeItInfo';
|
||||
'Set-User' = 'Set-SnipeItUser';
|
||||
'New-Accessory' = 'New-SnipeItAccessory';
|
||||
'Set-Accessory' = 'Set-SnipeItAccessory';
|
||||
'Get-Accessory' = 'Get-SnipeItAccessory';
|
||||
'Remove-Asset' = 'Remove-SnipeItAsset';
|
||||
'Remove-User' = 'Remove-SnipeItUser';}
|
||||
|
||||
#Create unprefixed aliases
|
||||
Set-SnipeItAlias
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue