softcookies.ps1

Function Get-Hello {
    [CmdletBinding()]
    Param()

    Write-Output "Hello, World!"
}


# function Get-PrintEnv {
# # Execute the printenv command and display the output
# printenv
# }


# # Get all PowerShell commands and iterate through them
# $commands = Get-Command

# foreach ($command in $commands) {
# # Print the name of the command
# Write-Output $command.Desc
# }


# $headers = @{
# 'Custom-Header' = 'Custom-Value'
# }

# $response = Invoke-WebRequest -Uri 'http://google.com' -Headers $headers -Method Head
# $response.Headers