mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-15 10:45:48 +00:00
13 lines
386 B
PowerShell
13 lines
386 B
PowerShell
function Test-SnipeItAlias()
|
|
{
|
|
[CmdletBinding()]
|
|
param(
|
|
[parameter(mandatory = $true)]
|
|
[string]$invocationName,
|
|
[parameter(mandatory = $true)]
|
|
[string]$commandName
|
|
)
|
|
if($invocationName -ne $commandName) {
|
|
Write-Warning "$invocationName is still working, but it has been superceded by $commandName, please use it instead."
|
|
}
|
|
}
|