Add uuid.ps1
This commit is contained in:
		
							parent
							
								
									1e494849ff
								
							
						
					
					
						commit
						2dc6c5b5d9
					
				
							
								
								
									
										10
									
								
								uuid.ps1
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								uuid.ps1
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| #UUID list | ||||
| #Maakt een Excel lijst met UUID en serienummer | ||||
| cls | ||||
| $UUID = (Get-WmiObject Win32_ComputerSystemProduct).UUID | ||||
| $Serial = (Get-WmiObject Win32_BIOS).SerialNumber | ||||
| $a = New-object PSobject | ||||
| $a | Add-Member NoteProperty "UUID" $UUID | ||||
| $a | Add-Member NoteProperty "Serial" $Serial | ||||
| $a | Format-Table | ||||
| $a | Export-Csv -Path list.csv -Append | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user