Skip to content
  • Home
  • About
  • Contact
  • Toggle website search
Menu Close
  • Home
  • About
  • Contact
  • Toggle website search

Powershell

  1. Home>
  2. Powershell>
  3. Page 4

Using PowerShell as the Shell on Windows Server Core

  • Post author:pkhabazi
  • Post published:March 13, 2013
  • Post category:PowerShell
  • Post comments:0 Comments

With PowerShell becoming one of the most important tools in a Windows administrator’s tool bag as well as really becoming the best prompt to use on Windows Server Core, I…

Continue ReadingUsing PowerShell as the Shell on Windows Server Core

Set Computer Name using PowerShell

  • Post author:pkhabazi
  • Post published:December 12, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

Yesterday I faced a problem in which I need to change the computer name using PowerShell. First I was looking for some cmdlet which can do this job for me…

Continue ReadingSet Computer Name using PowerShell

Displaying Balloon Tip

  • Post author:pkhabazi
  • Post published:October 12, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

Let's assume your script wants to share status information via a balloon message in the system tray area. Here is a sample: [system.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | Out-Null $balloon = New-Object System.Windows.Forms.NotifyIcon $path…

Continue ReadingDisplaying Balloon Tip

Export thumbnailphoto from AD to jpg for all users

  • Post author:pkhabazi
  • Post published:September 30, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

For exporting users thumbnail photo from AD to jpg for all users you can use script below: Get-ADUser -Filter * -Properties thumbnailphoto | where {$_.thumbnailphoto} | foreach {$_.thumbnailphoto | Set-Content…

Continue ReadingExport thumbnailphoto from AD to jpg for all users

Ping with PowerShell

  • Post author:pkhabazi
  • Post published:September 20, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

If you want to ping a device trough PowerShell then you can use the script below: $Hostname = "HOSTNAME OR IP" $Ping = New-Object System.Net.NetworkInformation.Ping $Ping.Send($Hostname) -Pouyan

Continue ReadingPing with PowerShell
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Go to the next page

Search

Follow me on Twitter

My Tweets
  • AzSentinel – Version 0.6.13
    AzSentinel – Version 0.6.13
    October 21, 2020/
    0 Comments
  • Deploying and Managing Azure Sentinel – Ninja style
    Deploying and Managing Azure Sentinel – Ninja style
    October 12, 2020/
    2 Comments
  • AzSentinel – Version 0.6.10
    AzSentinel – Version 0.6.10
    October 9, 2020/
    0 Comments

Follow me

  • GitHub
  • Twitter
  • LinkedIn
Copyright (c) 2020 Pouyan Khabazi