• Download
  • Dream page
  • [STYLE]
  • Do we get to the other side?

    *cough* *cough* *cough*

    We are experiencing troubles with|in a|the tube(s). Please help us diagnosis this issue by verifying https://dave.thehorners.com/ is responding and displaying properly for you on your device. At this time, the main host is still

    OPERATIONAL,

    https cert is NOT locked on either http(s)! disturbance in the force. USE AT YOUR OWN RISK!

    it should work but lock may not show green and secure; that is expected. If you can't get to secure sites, please use http://dave.thehorners.com/. If your ISP has restrictions to certain sites, consider another provider or another VPN. Life is too short and precious to be controlled and manipulated. I pray for ALL those people who are endure under censor and control; This is the Land of the Free and the Home of The Brave....the always on always connected multi-verse Internet right?! What's your locale like? I hope it's not oppressive. See here, a beautiful view from satellite(s) below. God Speed; and Good Luck.

    .

    Ppl of the Internet. Right now, dave.thehorners.com is unavailable on the *[LTE AT&T network] (outage has been persistent for a long while; last personal report to ATT with no response 11/11/2018)

    I don' t know if it is an outage or what; but please do a tracert from your device and request access to dave.thehorners.com if it doesn't route from your ISP (at this time I only KNOW that LTE ATT is affected if you find otherwise, please post proof in deepdream. I was told 24 hours; but that was days and days ago. I would be interested in the help...frustrating figuring out a routing|sensor|censor problem. I will remove this message from my site when LTE is routing again from my phone. [DOWN NETWORK QUICK ACCESS NOTES] AT&T LTE - Customer service: 1 (800) 331-0500
    Pardon|Thank you|Merci|Gracias


    My current preferred deep dream site(s) are: fibFile dave.thehorners.com My last 3 deep dreams were:(b0caa;5141d;bcab1) the current time is 11/17/2018 at 01:56
    https://q4j2g5j9.stackpathcdn.com/ddg-dream/a9f99e2f09d974fdfc36e91384e18e453e9b0caa.jpg - AT&T
    https://q4j2g5j9.stackpathcdn.com/ddg-dream/01cce5bee4c316e5ae8e1a4f53957b527525141d.jpg
    https://q4j2g5j9.stackpathcdn.com/ddg-dream/70cebfdbcdeb8c09a0d9076a5c669d735cbbcab1.jpg


    If you are reading these bytes and you didn't have to hop around N+1 nodes to anon and make things confusing.....CONGRATULATIONS you're blessed to be free. Thank|Pardon|Garcias someone. It didn't happen by itself.
    and now back to the strange loop perspective of just another.

    Dave Horner's Website - Yet another perspective on things...
    Home Tech Talk Windows OS Powershell - .NET control and automation.
    48 guests
    Rough Hits : 3551819
    moon and stars
    how did u find my site?





     
    this website would be better without ads?!




     
    Did you know heaven/sky has a hex triplet #007BA7?
    -me,myself,I
    1=0.999...

    Powershell - .NET control and automation.

    Sunday, 10 February 2008 15:51
    I'm not yet sure what I think about Powershell. There are some things that are cool in it. I also love that it allows scripting of .NET objects....

    I guess time will tell if I end up using it for tasks...or just use IronPython / C#.

    #Powershell IRC chat on freenode

    Scripting with Windows PowerShell
    Running Windows PowerShell Scripts
    PowerGUI - Administrative Powershell Console :
    Download details: Windows PowerShell 1.0 Installation Package for Windows Vista x64 Edition (KB928439)
    Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0)


    Powershell ExecutionPolicy

    Out of the box, you get Restricted, yup, no running .ps1 files from the cmd line.
    It's like the first thing you have to bump your knee on when developing in powershell.
    Get-ExecutionPolicy
    Set-ExecutionPolicy Unrestricted
    
    Invoking a PowerShell script from cmd.exe (or Start | Run) | Poshoholic
    java - How to run PowerShell script even if Set-ExecutionPolicy is banned? - Stack Overflow
    Oh, and then you can always bypass the execution policy from the command line.
    powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File <script_name>
    


    5 key commands for powershell

    get-help
    get-command
    get-member
    get-alias

    get-command | out-gridview
    measure-command { read-host "press any key" }


    pipe to Out-Null to send things to /dev/null

    PowerShell Tip: Out-Null is to PowerShell What Duct Tape is to Mouth

    PowerShell PowerBoots - PowerBoots makes it easier for scripters to create graphical user interfaces in PowerShell, exposing much of the power of WPF to PowerShell in a simple syntax which supports events, threading, and much, much, more.
    Poshoholic - Totally addicted to PowerShell
    Scripting with Windows PowerShell - MSDN Script Center
    Windows PowerShell Blog
    PowerShell Community Extensions - Home
    O'Reilly Media | Windows PowerShell Cookbook
    Windows PowerShell Cookbook - Hosted By Pavleck.NET
    Windows PowerShell : Hosting PowerShell in a GUI â?? the Movie
    Manning: Windows PowerShell in Action
    PowerShell Basics
    This e-mail address is being protected from spambots. You need JavaScript enabled to view it - Shell Tools Support for Powershell Analyzer and Powershell Plus
    SDM Software Group Policy Freeware - checkout SDM GPMC PowerShell Cmdlets.
    Pash - open source implementation of powershell.
    Redmond | Column: First Look: WinRM & WinRS
    Windows PowerShell : WINRM
    Script everything with PowerShell and IronRuby « IronRuby rocks
    PoshConsole - PoshConsole is a modern graphical PowerShell Console. We aim to have a complete open source implementation of the PSHostUserInterface and PSRawHostUserInterface written in WPF and including a custom ConsoleControl which can be reused for other purposes.
    Show-UI: The PowerShell WPF Toolkit - Show-UI is the merger of PowerBoots and WPK, and it makes it easier for scripters to create graphical user interfaces in PowerShell, exposing much of the power of WPF to PowerShell in a simple syntax which supports events, threading, and much, much, more.


    find which process locks a file using powershell

    Easily Unblock All Files in a Directory Using PowerShell - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs
    Use PowerShell to find out which process locks a file | beam us up scotty
    $lockedFile="yourlockedfile"
    Get-Process | foreach{$processVar = $_;$_.Modules | foreach{if($_.FileName -eq $lockedFile){$processVar.Name + " PID:" + $processVar.id}}}
    


    PowerShell Workflow for Mere Mortals: Part 1 - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs 2 3 4 5


    Hosting powershell from other languages

    Asynchronously Execute PowerShell Scripts from C# - CodeProject


    Powershell and registry

    Powershell access is better than regedit. Learn your tools.
    # get the value of the LSA keys
    Get-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa
    # Set value of the LSA key - disable the loopback check
    New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
    
    Use PowerShell to Enumerate Registry Property Values - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs
    Working with Registry Entries - using powershell of course.


    Powershell and active directory

    @Henning » Sample Domain Data - using powershell import-csv,set-content,foreach,get-random,add-content, and Free First-name and Last-name Databases (CSV and SQL) | The Quiet Affiliate to create sample data for mass sample user creation in AD.
    param([string]$FileName, [string]$adpath)
    Import-Module ActiveDirectory
    function Import-Users([string]$UserFile)
    {
        Import-Csv $UserFile | foreach-object {
            $accountName = $_.Lastname+$_.Firstname.Substring(0,2)
            $displayName=$_.Firstname+" "+$_.LastName
            New-AdUser $accountName -samAccountName $accountName -Company "Acme Corp." -Department $_.Department -DisplayName $displayName -GivenName $_.Firstname -Surname $_.Lastname -OfficePhone $_.Phone -Title $_.Position -CannotChangePassword $true -PasswordNeverExpires $true -Enabled $true -AccountPassword (ConvertTo-SecureString -AsPlainText "demo" -Force) -Path $spou
        }
    }
    $spou = "OU=Acme,$adpath"
    Import-Users $FileName
    
    @Henning » Mass-Updating Active Directory
    @Henning » Creating local users – en mass
    $ComputerName = $env:COMPUTERNAME
    $Computer = [adsi]"WinNT://$ComputerName"
    function Add-User([string]$UserName, [string]$FullName, [string]$Description, [string]$Password)
    {
        $User = $Computer.Create("user", $UserName)
        $User.Put("fullName", $FullName)
        $User.Put("description", $Description)
        $User.SetPassword($Password)
        $User.SetInfo()
    }
    function Import-Users([string]$UserFile)
    {
        Import-Csv $UserFile | foreach-object { Add-User $_.UserName $_.FullName $_.Description $_.Password }
    


    Powershell and SQL

    kwblog: Powershell Listing SQL Table Columns - sqlps


    Powershell Base64

    Under The Stairs: Working with Base64 Strings in PowerShell - extend System.String using powershell Update-TypeData to get FromBase64String and ToBase64String.
    [System.Convert]::ToBase64String([System.Text.Encoding]::Unicode.GetBytes($this)) 
    [System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String($this))
    


    use powershell to enable remote desktop on remote machine

    $remoteComputerName = "my_remote_computer"
    # Connect to another computer and start the remote registry service 
    ( Get-WmiObject -computername $remoteComputerName Win32_Service -filter "Name='RemoteRegistry'").startservice()
    ( Get-WmiObject -computername $remoteComputerName Win32_Service -filter "Name='RemoteAccess'").ChangeStartMode('Manual') 
    ( Get-WmiObject -computername $remoteComputerName Win32_Service -filter "Name='RemoteAccess'").startservice()
    


    use powershell to find zombie process || find and kill running process with commandline arguments

    I like to use powershell to kill zombies. say for instance you have a script that you know runs all the time and locks or becomes unresponsive. using taskmgr is not very programmer of you. try using powershell to quickly find that troublesome process and terminate.
    Get-WmiObject Win32_Process -Filter "name = 'perl.exe'" | where {$_.CommandLine -eq '"C:\strawberry\perl\bin\perl.exe" t/Server_PreFork.t'} | ForEach-Object { Invoke-WmiMethod -Path $_.__Path –Name Terminate }

    windows 7 - How do I find out command line arguments of a running program? - Super User


    WinRM tips

    ? DEVOPS + Chef + Windows at Ancestry.com - YouTube
    Enable-WSManCredSSP -Role server -force
    Set-Item 'WSMAN:\localhost\service\auth\credssp' -Value $true
    Set-Item 'WSMAN:\localhost\Client\TrustedHosts' * -force
    Set-Item 'WSMAN:\localhost\Shell\MaxMemoryPerShellMB' 2048
    Set-Item 'WSMAN:\localhost\MaxTimeoutms' 1800000
    invoke-command -computername $svr -Credential $cred -scriptblock $rsb
    


    JamesKovacs/psake - psake - A build automation tool... now with less XML... syntax inspired by rake (aka make in Ruby) and bake (aka make in Boo) creating a graph of dependent tasks and executing them in the correct order.
    Build Automation with PowerShell and Psake

    quick what's my ip using powershell?

    powershell (gwmi win32_NetworkAdapterConfiguration -Filter 'ipenabled = "true"').ipaddress[0]
    #quick what's my default gateway using powershell?
    powershell (gwmi win32_NetworkAdapterConfiguration -Filter 'ipenabled = "true"').defaultipgateway
    


    Adam Driscoll's Blog github:adamdriscoll (Adam Driscoll)
    adamdriscoll/PoshInternals: A pure script-based PowerShell module that provides deep system analysis and configuration.

    file text replacement using powershell

    (Get-Content file.sql).replace('REPLACETEXT', 'VALUE') | Set-Content file.sql
    


    PowerShell, HTTPS/SSL, and Self-Signed Certificates | The musings of a network engineer - provides some code for ignoring issues with HTTPS certs and powershell.
    Last Updated on Thursday, 24 May 2018 09:42