Quantcast
Channel: ..::\\ www.christiano.ch //::.. » PowerShell
Browsing all 11 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

PowerShell: Creating large dummy files with .NET

Ok, this one’s is cool i think. Whenever i needed a large dummy file, i opened up notepad, write ASDFASDFASDFA CTRL-A, CTRL-C, CTRL-V,CTRL-V,CTRL-V,CTRL-V. CTRL-A, CTRL-C,...

View Article



Image may be NSFW.
Clik here to view.

Microsoft Exchange 2007 / 2010 – Statistics using Exchange Management Shell...

Using Microsoft Exchange 2007 / 2010 Management Shell (PowerShell with extensions), you can pull out some very exciting statistics. That was never that easy in the pre Exchange 2007 era. Let’s start...

View Article

Image may be NSFW.
Clik here to view.

PowerShell: Sort-Object

You can use Sort-Object to sort simple variable types. Have a look at the following: ‘Tom’, ‘Chris’, ‘Judy’, ‘Alan’ | Sort-Object Input can come from a different command. If you’d like to get seven...

View Article

Image may be NSFW.
Clik here to view.

PowerShell: Generate PC Lists using Foreach-Object and -f Operator

Generate PC Lists One easy way of creating lists of PC names or IP address ranges etc is a simple pipeline like this: 1..40 | Foreach-Object { ‘PC-W7-A{0:000}’ -f $_ } Use the -f operator to format the...

View Article

Image may be NSFW.
Clik here to view.

PowerShell: About SessionConfiguration and how to change them

Remote Access Without Admin Privileges In PowerShell v.2, remote access is available only to users who hold local administrator privileges. So, even if you do have appropriate remote access to a...

View Article


Image may be NSFW.
Clik here to view.

Scan IP range using ping

IP scanner for the poor ones Just open up a cmd.exe and change the ip range.. C:\>FOR /L %x in (1,1,255) do ping -n 1 192.168.2.%x | find /I "reply" >> c:\temp\pingresult.txt The above command...

View Article

Image may be NSFW.
Clik here to view.

Getting registry last write time with PowerShell

All registry keys have a value associated with called the Last Write Time. This is analogous to the last modification time for a file. When ever the registry key or one if its values has been created,...

View Article

Image may be NSFW.
Clik here to view.

Finding process that locks a DLL

You want to replace a dll on a system, but you get access denied, although you’re admin, have the necessary rights.. so which process is locking the particular file/library. I know, there is...

View Article


Image may be NSFW.
Clik here to view.

Use PowerShell to Back Up System State Prior to Making Changes

Did you know you can use PowerShell to back up the system state? Understanding the Computer Restore cmdlets One of the easiest ways to ensure system reliability is to create a restore point prior to...

View Article


Image may be NSFW.
Clik here to view.

PowerShell – Get installed/enabled Windows Features

Sometime you need to ‘clone’ the Windows feature-set of a specific server. That’s a task I’m currently working on. Using PowerShell to enumerate/list all enabled Windows Features is easy… First you...

View Article

Image may be NSFW.
Clik here to view.

Get .NET Framework Version of an assembly (dll/exe) using PowerShell

i just had to find the required framework version for a compiled .NET assembly (just to make sure, that the selected Application Pool in IIS was set to the righte Framework Version). ——– $fileBrowser =...

View Article
Browsing all 11 articles
Browse latest View live




Latest Images