-
Hey there - does anyone else do anything with a profile so that it will follow you to all the systems you login to? I'm familiar with setting up a roaming profile in AD, but how can I do a profile for powershell that will have all the items I use on my laptop, so my colors, modules, etc and then...
Posted to
General
(Forum)
by
virtuallynothere
on
03-28-2012
Filed under: PowerShell, PowerShell Plus, Command Line, PoshBoard, Connection History, PowerBoots, powershell 2.0, Powershell GUI
-
We have an extremely locked down environment for kiosk machines. We have restricted their thumb drive access to help with HIPPA requirements. Sometimes the need arises to access an item on a network share. I didn't want to map the drive, but instead give them access during the time they needed it...
-
Hi, I have a Windows 7 64-bit Professional N laptop, on which Powershell 1.0 is installed (The Powershell install path on my system is "C:\Windows\System32\WindowsPowerShell\v1.0", and so I'm assuming it is Version 1.0). I had always heard that Windows 7 comes with Powershell 2.0 already...
-
I have 2 files: One contains email addresses, and the second contains email addresses, as well as additional text in each line containing the email addresses. I am trying to use the first file (list of email addresses) as an array input to search the second file and return each line containing the addresses...
-
I'm writing a cluster resource script that is checking the cluster resources, which node they are on and node online/offline status Right now I'm stuck in the output part, in the pipe I have the following data: clusterresource1 node1 online clusterresource2 node2 online clusterresource3 node3...
-
Hi, When I try to map a drive locally on "Client1", it works fine with this command: New-PSDrive U -PSProvider FileSystem -root \\Server1\C$ but when I try it remotely, it fails ($cred is a previously created credential): Invoke-Command -ComputerName "Client1" -Credential $cred -ScriptBlock...
Posted to
PowerShell Remoting
(Forum)
by
kevsor1
on
07-15-2010
Filed under: Remoting, enter-pssession, Powershell, PowerShell v2, Enable-WSManCredSSP, New-Object, PowerShell 1.0, New-PSDrive, PowerShell 2.0, Remote Commands, Enable-PSRemoting, Get-WSManCredSSP
-
Hi, I 'm looking for a script that'll take all servers from AD and finding their current uptime and how many times they've been rebooted in the past year and output to a xls file. Has anyone written similar? Cheers, Ron
-
$shell = New-Object -ComObject Wscript.Shell Set-ExecutionPolicy Unrestricted | echo $shell.sendkeys("Y`r`n") That's just an exemple on how this method can be used. I think it can be very useful in some situations.
Posted to
PowerShell General
(Forum)
by
Felipe
on
10-15-2010
Filed under: PowerShell, Functions, Execution Policy, power shell, Set-ExecutionPolicy, powershell 1.0, powershell 2.0