Autogenerate the asset number
Hello All,
I'm currently implementing the asset management solution to replace an opensource asset management system.
The open source tool has a feature that allows to autogenerate an asset number.
I would like to recreate this functionality when creating a new asset.
As I'm not used of developing, I was wondering if some of you also already did this and how
Thanks!
Best Answer
-
Ingrid_Glatz Customer Adept IT Monkey ✭✭
Hello Filip
we use a simple Task to generate a so-called FXA number. Share on the Server, text file to increase the asset number.
C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe -ExecutionPolicy Bypass -NonInteractive -File \\servername\fxa$\HardwareAsset.ps1
Part of the file is in German including some variables, but it should be understandable.
Ingrid
6
Answers
Hello Filip
we use a simple Task to generate a so-called FXA number. Share on the Server, text file to increase the asset number.
C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe -ExecutionPolicy Bypass -NonInteractive -File \\servername\fxa$\HardwareAsset.ps1
Part of the file is in German including some variables, but it should be understandable.
Ingrid
Hello Ingrid,
I will try to rework your script today.
Thanks already!