Transitioning from cmd to PowerShell
ipconfig
Get-NetIPAddress
Get-NetIPAddress | Select-Object -Property InterfaceAlias,IPAddress
Get-NetIPConfiguration | Select-Object -Property InterfaceAlias,IPv4Address
Local admin rights
# This is the actual PowerShell command, however I have yet to see it run successfully:
Get-LocalGroupMember -Group Administrators
# This is the legacy command that works just fine:
net localgroup administrators
# To add an AzureAD user to the local administrators group:
net localgroup administrators AzureAD\[USERNAME] /add
#end