|
|
Browse by Tags
All Tags » wmi » .NET » PowerShell
-
An other Hey Scripting Guy translation :
How Can I Change the First Two Octets of an IP Address?
for only the IP Part I decided to use a .NET helper this time, just to do it different : $ip = [System.Net.IPAddress]'10.10.1.2'
$b = $ip.GetAddressBytes()
''192.168.$([string]::Join('.',$b[2..3]))''
for the Complete example I also ...
-
This is the first entry, of a series of posts indexing the PowerShell Blogitems on my Old Blog /\/\o\/\/ PowerShelled
I have been asked a couple of times for a list or an index to the Entries on my Old blog as some of the information and examples are bit hard to find.
I often search my old blog on keywords (for example ...
|
|
|