I gave it a shot and it looked good. I do have an issue where one of the servers has a different directory that the other two. Is there a way to add another variable and path for the other server?
ServerA ServerB /export/home/User
ServerC /home/user
SeaCros
I am looking for a quick script to copy single file to 3 servers and then execute a command on the remote servers while displaying output on the server that I am copying the file from.
ex-
1. Create file on local machine (server A)
2. copy the new file to other servers (server b, server c...
Here is what I now get:
[vSphere PowerCLI] C:\> .\scripts\tryThis.ps1
Missing closing '}' in statement block.
At C:\scripts\tryThis.ps1:40 char:7
+ <<<<
+ CategoryInfo : ParserError: (CloseBraceToken:TokenId) [], ParseException
+ FullyQualifiedErrorId : MissingEndCurlyBrace
I copied and pasted this and saved it *.ps1. I get an error when I try to run it. Am i missing something?
{
Connect-VIServer $Global:strVIServer
#
$vmhosts = get-vmhost | Select-Object Name, Id, CustomFields, MoRef, Summary
If ($vmhosts -eq $null)
{
}
Else
{
ForEach($vmhost...
I am looking for a script that I could run to scan my Virtual Center server (database) that would generate the following information:
Host and IP
Guest and IP
Which guest are on which Host
Is this possible?
Thanks
##AIX snmpd
Run snmpv3_ssw -1 (to force the use of SNMP v1
Then modify the snmpd.conf file and replace public with our string
Stop snmpd stopsrc -s snmpd
Start snmpd startsrc -s snmpd
I have a system that has been running Legato for a few years (i inherited this system). I have now been tasked with maintaining this system. I installed sudo on it so i didnt have to give out my root password and not some of my SAP backup jobs are failing.
Can anyone out there give me some...
Is there such a script out there that will Analyze a folder and subfolders, getting file type utilization and file aging. A CSV file will be created with file information File,Size,Date Created,Last Modified,Last Accessed,Extension,File Type,Owner
A Summary report text file will also be created...
I have a SUN Storage Tek that I am trying to get my AIX boxes to talk to. I have one VIO server and one AIX 5.3 server that are attached to the Storage Tek via Fiber Channel.
Thanks
Can someone give me the lowdown on MPIO and getting it configured?
I am new at this and would like to get my hands around this so that I can hopefully get it running on my system.
p520 running AIX 5.3. Fresh install out of the box with defaults selected.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.