powershell-v3.0

Create Blank Access Database Using Powershell

Create Blank Access Database Using Powershell questions : Normally I’d research the topic I need for a day or 2 and then ask here, but I’ve been struggling to find anything at all about this topic. Does anyone know how to use PowerShell (V3) to create a new Access 2010 MDB file, with

[ Read More ]

Powershell 3.0 Importing binary module from remote share

Powershell 3.0 Importing binary module from remote share questions : There are two machines in this scenerio: client.sub.domain.com (client machine PSRemoting to remote server) server.sub.domain.com (remote server that client is PSremoting into) I am using the below commands to start a psremote session using CredSSP to do “second-hop” authentication: $session = New-PSSession -cn

[ Read More ]

PowerShell – ForEach using SQL data input

PowerShell – ForEach using SQL data input questions : I am using powershell code to first connect on a database and from the SELECT I am making, this output is then output : NAME: %SERVERNAME1 NAME: %SERVERNAME2 Now I want to make a “foreach” loop where it will make a “get-childitem” on every

[ Read More ]