Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "powershell"

Powershell WPF Themes guide step by step

I have wrote many powershell GUI scripts but never thought using any themes on WPF GUI forms, As it is not required for internal organization use and it can be used without any different skin, but as I started sharing my GUI scripts on github.com, adding GUI to it makes more professional and attract…

Read more

Creating a password reset tool with PowerShell GUI

 

One of the my blog reader, came across one of the article written on generating random password gui using powershell by me, and he contacted me as he wanted a small help on creating one GUI utility ADUser reset password. Below are the detailed information he provided in the email what exactly …

Read more

Build a simple email server for home lab using hMailServer and Thunderbird

Since long time I was looking for very small and  lightweight email server for my lab, here I have hMailServer is to my rescue, it is very lightweight, opensource and free. It is just 4 MB of setup file, easy to setup and configure. Setup is available on https://www.hmailserver.com/, there is not m…

Read more

Windows Admin Center (formerly Project Honolulu)

Windows Admin Center is an evolution of Windows Server in-box management tools; it’s a single pane of glass that consolidates all aspects of local and remote server management. Windows Admin Center proposals "elastic, locally-deployed, browser-based management platform and tools". The impression beh…

Read more

Part 3: VMware Powercli: Migrate VMs to another network

Microsoft Powershell: Download a whole folder of files/subfolders from the web directory

One of my friend was seeking my help creating a script to download bulk files and folder from internal office training web portal, just newly created. Folders and files web structure was looking like below. The first url link shows what are the different training material was available, downloading …

Read more

Powershell WPF GUI: ToolBox control Textbox watermark placeholder demo

microsoft powershell, wpf, windows presentation frameworks winforms, textbox control toolbox, visual studio, watermark textbox powershell

In this demo I will be showing how to put PlaceHolder text on textbox control on Powershell WPF (Windows presentation framework) GUI. here I have 3 textboxes. When I launches GUI, all the textboxes shows some default darkgray color watermark text information. When I click on them text will autom…

Read more

Part 3: Create shorter Microsoft Powershell WPF automated clean script

Currently I am working on rewriting all my VBscript and Powershell GUI script using WPF (Windows presentation platform). When building a graphical xaml forms on Visual studio as shown earlier on Part 1: Create WPF XAML powershell GUI form with Visual studio, I had to remove many elements manually b…

Read more

Microsoft Powershell: Export remote registry information to excel

How to force a PowerShell DSC client to refresh configuration from pull server

While testing DSC (Desired State Configuration) Pull method on client, I had to forcefully refresh configuration from pull many times, as I could not wait for 30 Mins of frequency time to apply the changes. Below cmdlet helps to refresh configuration immediately. This command need to run as an Admin…

Read more

Part 3: Configure PowerShell DSC Local configuration manager LCM in pull mode and update configuration

This is last part of configuring individual clients local configuration manager (LCM) in DSC pull mode so they can get and retrieve configuration copy every certain refresh frequency mode. You can treat LCM as an agent and it is by default there in on every system. where at least Poweshell version 4…

Read more

Part 2: Generate target server node config for PowerShell DSC pull server

Part 1: Build your first Microsoft PowerShell DSC pull server

Here in this demo I am writing on how to build and configure basic Powershell DSC http pull server, this is just a simple http server no ssl certificate involved, In my earlier article DSC (DESIRED STATE CONFIGURATION) : DEPLOYING ACTIVE DIRECTORY, where I had explained what is desired state config…

Read more

Powershell PoshGUI: Convert user to SID and vice versa

Here I have wrote this small utility for one of my application developer friend, He required a small GUI utility to convert and show user account to SID and SID to account, viceversa, Although I can write WPF xaml gui form as well, but Here I am using simple winform and this is designed using online…

Read more

Powershell and WPF: Build GUI applications tutorial

Part 1: Create WPF XAML powershell GUI form with Visual studio
Part 2: Powershell and WPF: Build GUI applications tutorial

WPF stands for Windows Presentation Foundation, it is an alternative technology to Windows Forms but not a replacement. In this demo, I am showing how to design a basic Powe…

Read more

Create WPF XAML powershell GUI form with Visual studio

Part 1: Create WPF XAML powershell GUI form with Visual studio
Part 2: Powershell and WPF: Build GUI applications tutorial

Last month in pune, India, I got an opportunity to present a small offline webinar for around 10 to 15 users, I was preparing for this session and couldn't write much on my …

Read more

Get the List of installed softwares on remote computers with PowerShell

I used to use generally win32_product wmi class to fetch installed software list from remote computer systems. But the problem with it is, It only retrieves the installed applications via MSI, However, this WMI class might not list all the installed softwares that show in Add or Remove Programs, ap…

Read more

Microsoft Powershell: Delete registry key or values on remote computer

Microsoft Powershell: remotely write, edit, modify new registry key and data value

Oneliner Microsoft Powershell Script Get members list from active directory group in excel

This is my tiny article on gathering members information from active directory groups using windows PowerShell in very easy, I have used one-liner script earlier for creating bulk ad users, This script will get all the members from group and export it to CSV, This is very handy when providing someon…

Read more

20 Blog Posts

Blog Search

Page Views

1183867

Follow me on Blogarama