Tag Archives: function

Get-SNames

This is the updated version of my old LName function. I changed the name to Get-SNames instead of Get-LNames because ofthat I know that the correct name is not Last Name and It should be Surname instead. I use It … Continue reading

Posted in Functions, PowerShell | Tagged , , | 2 Comments

Get-FNames

Back in 2009 I wrote a Function that took peoples first names from a source in Sweden.It was top 1000 names here in Sweden. I use It in my create AD lab script and in a couple of other scripts … Continue reading

Posted in Functions, PowerShell | Tagged , , | 3 Comments

Get-PingStatus

Over at 2009 I wrote a ping status function. The function can now be downloaded from the Script Center Repository at Microsoft.http://gallery.technet.microsoft.com/Get-PingStatus-Function-e375fec3 I use It in my own scripts and just updated It so I hope others can use It … Continue reading

Posted in Functions, PowerShell | Tagged , , | 2 Comments

Get-ComputerType

I’m working on lots of Active Directory functions at the moment.For a larger Active Directory script. And one of the functions will get the computer type in clear text. What does this have to do with Active Directory management doask … Continue reading

Posted in PowerShell Blogs | Tagged , , , | Leave a comment

Updated functions

I have been away from my computer for a couple of days. And I have been thinking about my code and now are these functions updated. Clean-Temp I have tweaked the code. No need for the same code twice And … Continue reading

Posted in News, PowerShell Blogs | Tagged , , | Leave a comment

I uploaded my first script to Script Center

I uploaded my first script to Microsoft’s Script Center. http://gallery.technet.microsoft.com/ScriptCenter/en-us/c5158ed5-5b82-4243-9654-9106f7ca6663 It was my Get-DotNetInfo function. I like the repository and that you can add comments. Please rate my function and write a comment. Good or bad! Technorati Tags: PowerShell,Function,Script Center

Posted in PowerShell Blogs | Tagged , , | 1 Comment

Get-DotNetInfo function

I made this function back in 2007. But I did only published It in Swedish then. This function helps me a lot when I’m working with PowerShell and Dot Net classes. When I have the Dot Net Class that I … Continue reading

Posted in PowerShell Blogs | Tagged , , , , | Leave a comment

Create Lab AD Functions (Updated)

I wrote a script some years back in VBScript that madeActive Directory Users with “Real Swedish” names. It’s took Firstname from one text file and Lastname fromanother text file, randomly. And made random Passwords as well. So instead of getting … Continue reading

Posted in PowerShell Blogs | Tagged , , | 4 Comments

A Christmas special

It’s soon Christmas and the first snow has landed here in Stockholm.   So I have decided to do a Christmas special. I know, my friend DXter does a Geek special for Christmas. My Christmas special will be a PowerShell … Continue reading

Posted in News, PowerShell Blogs | Tagged , , | Leave a comment

Clean Temp Function (Updated)

This is a small but effective function. It will delete most of the stuff in your temp dir.   Use with close option to close all open programs before you clean the temp dir. It will not delete open/locked files. … Continue reading

Posted in PowerShell Blogs | Tagged , , | Leave a comment