July 21, 2015 at 8:43 am
fmonsua (7/21/2015)
$wintitle = $CurrentUser.Name + " " + $Host.Name + " " + $Host.Version
Or
$wintitle = "$($CurrentUser.Name) $($Host.Name) $($Host.Version)"
February 9, 2017 at 7:45 am
Thanks a lot for this! I've been looking for the most basic introduction to Powershell so that I can see how it will work for me with SQL Server. It's been tough to wade through what information is available in blogs and videos.
This first article in the series gave me just what I needed to simply get my feet wet and explore just a little bit of PS. My only trip up came when I wasn't completely understanding where the profile file needed to be saved. I figured it out after re-reading the instructions a couple of times.
February 9, 2017 at 8:07 am
That's great. Glad you found it useful.
April 27, 2018 at 9:43 am
dbaduck - Thursday, February 9, 2017 8:07 AMThat's great. Glad you found it useful.
I found it helpful too...Thank you!
February 10, 2020 at 5:20 pm
Anyone else going through this stairway in 2020? I am!!!
December 27, 2021 at 2:27 pm
Hi Ben
Listing 1.1
$wintitle = $CurrentUser.Name + " " + $Host.Name + " " + $Host.Name
Is this line of code correct ?
Thanks
Steve
December 27, 2021 at 4:37 pm
No as illustrated above, instead of $Host.Name on the second one, it was supposed to be $Host.Version.
Good catch.
January 17, 2024 at 10:58 pm
These are excellent articles about SMO written from 2012-2015.
It would be great to have an update to PowerShell Core and SqlServer instead of SQLPS. Many links are to sites that no longer exist (such as codeplex) or are redirected to active sites.
January 17, 2024 at 11:11 pm
Thanks Paul. I am planning an update for all these Stairway Levels. Not sure when though, but it is on my list.
Viewing 9 posts - 31 through 38 (of 38 total)
You must be logged in to reply to this topic. Login to reply