Scripts By Miklos Karasz

  • Out-Temp by Miklos Karasz 21 Apr 2011 09:59 PM UTC
    by 2 users

    Advanced Event 10
    1 Comments

    The Out-Temp function sends output to a temporary file. Displays the content in notepad if -Notepad specified. Character encoding can be altered from the default ASCII. The temporary file will not be deleted if -Keepfile is specified. You can pipe string or objects also.

  • New-LogFile by Miklos Karasz 20 Apr 2011 09:58 PM UTC
    by 3 users

    Advanced Event 9
    1 Comments

    Creates an empty logfile. Existing one will not be overwritten. The filename looks like "<yyyyMMdd>_<Username>.log" as default. Creates the parent directory also when it doesn't exist. The parent directory is HSGLogFiles as default under the current user's MyDocuments special folder.

  • .\ImageResizer.ps1 by Miklos Karasz 20 Apr 2011 01:52 AM UTC
    by 2 users

    Advanced Event 8
    1 Comments

    Removes metadata from selected image files and resizes them to the specified scale. The initial folder setup can be done in a dedicated window with remembering. Resize can be done in another window displaying thumbnail previews and metadata and with ResizeAll button. Destination folder can be browsed or write manually. SHARE_ prefix can be changed as paramater. These will be recorded also. WPK module is required.

  • Get-TwitterUserMapping by Miklos Karasz 14 Apr 2011 11:37 PM UTC
    by 2 users

    Advanced Event 7

    Mapping user's names to Twitter names found in a html source of a web page with a dirty regex solution. A more elegant solution could be the module poshHttp. I'm just getting to know it and seems to be a quite fair solution to managing html strings as structure.

  • Get-TwitterUsername by Miklos Karasz 14 Apr 2011 10:02 PM UTC
    by 2 users

    Advanced Event 6

    Gets Twitter names from a web page.

  • Get-Win7ReadyReport by Miklos Karasz 14 Apr 2011 05:30 AM UTC
    by 2 users

    Advanced Event 5

    Determines if a computer is upgradable to the Windows 7 operating system. Lists the reasons if some requirements not meet. Proposes Win7x64 or Win7x86 if the system meet. Recommends a solution if can't decide.

  • Get-ServiceProcess by Miklos Karasz 12 Apr 2011 10:02 PM UTC
    by 2 users

    Advanced Event 4

    It is intended that i didn't use .PARAMETER in the help because i prefer way i've found in help about_Comment_Based_Help "You can also specify a parameter description by placing a comment in the function or script syntax immediately before the parameter variable name."

  • Advanced3_2011 by Miklos Karasz 10 Apr 2011 09:04 PM UTC
    by 2 users

    Advanced Event 3
    1 Comments

    Returns the most recent events(the last one as default) from each classic event log and ETL log that is enabled and having any events since the specified time(last midnight as default).

  • Get-DepServices by Miklos Karasz 09 Apr 2011 03:12 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    Returns services are running and having dependent services. Returns the main service name and its each dependent services with status.

  • Advanced1_2011.ps1 by Miklos Karasz 09 Apr 2011 10:41 AM UTC
    by 2 users

    Advanced Event 1

    Get-ProcessModule function. Returns version information of specified module used by a specified process on local or remote computers.