# encoding: ascii
# api: powershell
# title: Invoke-AdvancedFunction.
# description: From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes
# version: 0.1
# type: script
# author: Lee Holmes
# license: CC0
# x-poshcode-id: 2174
# x-archived: 2016-05-17T10:50:45
# x-published: 2011-09-09T21:41:00
#
#
param(
    [Parameter(Mandatory = $true)]
    [ScriptBlock] $Scriptblock
    )

## Invoke the scriptblock supplied by the user.
& $scriptblock
