PowerShell – Dispose()

You may be asking yourself “Why is that one script keeping all my RAMs?!”.

Maybe you should call the .Dispose() method on the variable to clean-up.

Another option is to use Remove-Variable .


Linux Adventures With Debian

1 – Install your distro, I am using Debian NetInst and then adding in some XFCE. A nice Terminal command for some more info:

uname -a && cat /etc/*release

2 – Patch!:

apt-get update && apt-get upgrade -y

3 – Customize your Terminal (bash) prompt:

a. Yours:


(Hidden Path) a.k.a.


b. The “root” account’s is located here:


I used this: http://ezprompt.net/

4. Install some themes:


5. More visuals: conky :

apt-get install conky-all

a. Custom conky files –

Your conky preferences are stored here:


Additional add-on files/scripts can be placed here (?):


6. Adding/editing repos:


PowerShell – Workflows

Reference material:

Import-Module PSWorkflow

workflow Test-WorkflowInline{
        $object = New-Object -TypeName PSObject
        $object | Add-Member -MemberType NoteProperty `
                -Name ExampleProperty `
                -Value 'Hello!'
        $object | Get-Member
    # The $object variable no longer exists at this point as it has left the InlineScript block.
    #The below line fails if uncommented.
    # $object |Get-Member

workflow Test-WorkflowParallel{
    "This line will always run first!"
    parallel {
        "Command One."
        "Command Two."

            "Command Alpha."
            "Command Beta."

# Possible output from Test-WorkflowParallel:
# This line will always run first!
# Command One.
# Command Alpha.
# Command Beta.
# Command Two.