Skip to content
  • Home
  • About
  • Contact
Menu Close
  • Home
  • About
  • Contact

PowerShell

  1. Home>
  2. PowerShell>
  3. Page 3

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

The WinRM client received an HTTP server error status (502)

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

If you get the following error when you try to connect to your WinRM client, try the command below: Connecting to remote server failed with the following error message: The…

Continue ReadingThe WinRM client received an HTTP server error status (502)
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 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