LxLeChat
LxLeChat
Hi, i worked on 2 basic functions [Get-HFMFHostsFile and Get-HFHMHostsFileContent](https://github.com/LxLeChat/Class.HostsManagement/blob/dev/Get-HFMMH.ps1) - Get-HFMHostsfile You specify a computername, default behavior uses localhost, to create and return a new instance of [HostsFile] -...
PR for the 2 functions Working on New-HFMHostsFileEntry & Set-HFMHostsFileEntry
Working on Save-HFMHostFileEntry and New-HFMHostsFileBackup
I implemented the save-hfmhostsfiles code can be found here for tests: [Save-HFMHostsFile](https://github.com/LxLeChat/HostsFileManagement/blob/master/HostsFileManagement/Functions/Public/Save-HFMHostsFile.ps1) But i think i found a small quirk in the class `Get-HFMostsFile | Save-HFMHostsFile` This works great and...
I think we need a Remove-HFMHostsFileEntry Maybe the Removing process should work like this : ```powerhshell $a = Get-HFMHostsFile $b = Get-HFMHostsFileContent Remove-HFHMHostsFileEntry -Entries $b[0..5] #remove 6 first entries ```...
Maybe we can create a Compare-ADSIUserMembership cmdlet `Compare-ADSIUserMembership -Identity UserA -ReferenceIdentity UserB` the main code consisting of fetching both users groups, storing the result in 2 hashtables (fast) and outputting...
I tried this, it works.. pretty slow but it works... :) ` Function Compare-ADSIObject { [CmdletBinding()] PARAM ( [Parameter(Mandatory=$True)] [String]$ReferenceObject , [Parameter(Mandatory=$True)] [String]$DifferenceObject, [Parameter(Mandatory=$False)] [String]$Properties ) ## Begin Block Begin{}...
Hello same problem here. had to change a line in the powershellget.psm1 ... even after installing the powershellget 3.0.0 latest beta version... for me the problem was located in the...
Did someone tested the new v3 ??? I asked on twitter but no one answered... :(
Hi, If we revamp the code from ```Get-LoadedClass``` and maybe create a ```Get-LoadedEnums``` i think we might be able to do want you want! Here is part of the code...