Skip to content

Some PowerShell scripts that make my life and work easier.

License

Notifications You must be signed in to change notification settings

pminnebach/PowerShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell

Functions

Transcript

VMware/functions

Get-VmLastPowerdOffDate.ps1

Get-VmMacAddress.ps1

This function gets the mac address from a VM running on an esxi host. The output is structured so that i can easily be piped in the DHCP cmdlets from Windows Server to create static leases.

PS C:\Users\pminnebach> Get-VM | Get-VmMacAddress

Name                         ClientId
----                         --------
VM01                         00-11-22-33-44-55
VM02                         66-77-88-99-a1-a2
VM03                         a3-a4-a5-a6-a7-a8

About

Some PowerShell scripts that make my life and work easier.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published