Run command if second disk exist

Antworten
ronin
Beiträge: 20
Registriert: 03 Apr 2018, 13:57

Run command if second disk exist

Beitrag von ronin »

Hello

I'm wondering how to build if statement which will run registry .reg file if second disk exist on client machine and have more than x GB freespace.
Could you give me any tips, directions ?

Thank you ;)
ronin
Beiträge: 20
Registriert: 03 Apr 2018, 13:57

Re: Run command if second disk exist

Beitrag von ronin »

I think I just looking proper variables, and way to call them.
I understand that hw inventory package, should be ran before my package

If there is any clean way to achiev that ?
If no, I will use powershell ;)


But I think there is must be a way to get data from hw package... ;)
Antworten